1 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3 * emacs-lisp/macroexp.el (macroexp--expand-all):
4 Obey byte-compile-warning-enabled-p (bug#12486).
6 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
7 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
9 2012-10-26 Martin Rudalics <rudalics@gmx.at>
11 * mouse.el (mouse-drag-line): Move last form into preceding when
14 * help.el (resize-temp-buffer-window): Fix doc-string.
16 2012-10-25 David Engster <deng@randomsample.de>
18 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
19 Remove. This feature is already integrated in imenu.
21 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
22 always loaded. Require `speedbar' unconditionally.
24 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
26 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
28 * minibuffer.el (minibuffer-force-complete): Fix thinko.
30 * net/ldap.el (ldap-search-internal): The official ldif format starts
31 with a "version: 1" header (bug#12724).
33 * emacs-lisp/package.el (package-installed-p): Warn if not ready
36 2012-10-25 Glenn Morris <rgm@gnu.org>
38 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
40 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
42 * minibuffer.el (minibuffer-force-complete): Use one more marker
43 for the temporary-overlay-map command (bug#12619).
45 2012-10-24 Chong Yidong <cyd@gnu.org>
47 * time.el (display-time-world-mode): Derive from special-mode.
48 (display-time-world): Use display-buffer (Bug#12708).
49 (display-time-world-mode-map): Variable deleted.
50 (display-time-world-display): Wrap the final delete-char inside
53 2012-10-24 Chong Yidong <cyd@gnu.org>
55 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
58 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
60 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
62 * minibuffer.el (completion--all-sorted-completions-location): New var.
63 (completion--cache-all-sorted-completions)
64 (completion--flush-all-sorted-completions): Use it.
65 (completion-in-region, completion-in-region--postch)
66 (completion-at-point, completion-help-at-point): Use markers in
67 completion-in-region--data (bug#12619).
69 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
71 * progmodes/compile.el (compilation-start): Try to handle common
72 quoting of `cd' argument (bug#12640).
74 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
77 2012-10-23 Glenn Morris <rgm@gnu.org>
79 * progmodes/gud.el (gud-menu-map):
80 Check gdb-active-process is bound. (Bug#12358)
82 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
84 * repeat.el (repeat): Set real-this-command (bug#12232).
86 * htmlfontify.el (hfy-post-html-hook):
87 * filesets.el (filesets-cache-fill-content-hook):
88 * arc-mode.el (archive-extract-hook):
89 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
90 * net/rcirc.el (rcirc-sentinel-functions)
91 (rcirc-receive-message-functions, rcirc-activity-functions)
92 (rcirc-print-functions):
93 * net/dbus.el (dbus-event-error-functions):
94 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
95 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
96 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
97 * term/sun.el (sun-raw-prefix-hooks):
98 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
100 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
102 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
103 Set `tramp-chunksize' to 1. This improves the performance.
104 (tramp-smb-wait-for-output): Add timeout to
105 `tramp-accept-process-output' calls.
107 2012-10-23 Chong Yidong <cyd@gnu.org>
109 * faces.el (font-list-limit): Define as an obsolete variable.
111 * startup.el (command-line):
112 * cus-start.el: Don't refer to font-list-limit.
114 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
116 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
118 * subr.el (internal-temp-output-buffer-show): Rename from
119 temp-output-buffer-show, since previously compiled files expect this name.
121 2012-10-23 Glenn Morris <rgm@gnu.org>
123 * image.el (image-type-from-file-name): If multiple types match,
124 return the first one that is supported. (Bug#9045)
126 2012-10-22 Glenn Morris <rgm@gnu.org>
128 * image.el (imagemagick-enabled-types): Doc fix.
130 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
132 * progmodes/which-func.el (which-func-current): The hash-table may have
133 an explicit nil (bug#12338).
135 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
137 * electric.el (electric-pair-delete-selection-self-insert-function):
138 Rename to electric-pair-will-use-region, return a boolean.
139 (electric-pair-mode): Adjust accordingly. Don't require delsel.
141 * delsel.el (delete-selection-helper): Use a function instead of a hook.
142 (delete-selection-pre-hook): Use use-region-p.
143 (delete-selection-self-insert-function): Remove.
144 (self-insert-command): Obey self-insert-uses-region-functions.
145 (self-insert-iso): Revert to previous setting, since we don't actually
146 know what that command does.
147 (delete-selection-self-insert-hooks): Remove.
149 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
151 * delsel.el (delete-selection-helper): New function, extracted from
152 delete-selection-pre-hook.
153 (delete-selection-pre-hook): Use it.
154 (delete-selection-self-insert-function): New function.
155 (delete-selection-self-insert-hooks): New hook.
156 (self-insert-command, self-insert-iso): Use it.
157 * electric.el (electric-pair-syntax): New function, extracted from
158 electric-pair-post-self-insert-function.
159 (electric-pair-post-self-insert-function): Use it.
160 (electric-pair-delete-selection-self-insert-function): New function.
161 (electric-pair-mode): Require delsel and setup
162 delete-selection-self-insert-hooks (bug#11520).
164 2012-10-20 Chong Yidong <cyd@gnu.org>
166 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
167 no changes to show (Bug#12586).
169 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
170 list explicitly (Bug#12571).
172 2012-10-20 Arne Jørgensen <arne@arnested.dk>
174 * progmodes/flymake.el (flymake-create-temp-inplace):
177 2012-10-20 Eli Zaretskii <eliz@gnu.org>
179 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
181 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
183 * calc/calc-units.el (math-extract-units): Properly extract powers
186 2012-10-20 Daniel Colascione <dancol@dancol.org>
188 * frame.el (make-frame): Set x-display-name as we used to in order
189 to unbreak creating an X11 frame from an Emacs daemon started
192 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
194 * minibuffer.el (minibuffer-force-complete): Make the next completion use
195 the same completion-field (bug@12221).
197 2012-10-19 Martin Rudalics <rudalics@gmx.at>
199 * emacs-lisp/debug.el (debug): Record height of debugger window
200 also when debugger will be back (Bug#8789).
202 2012-10-18 Chong Yidong <cyd@gnu.org>
204 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
205 Convert to defcustom.
206 (gdb-get-source-file): Don't bind pop-up-windows.
208 * progmodes/gud.el (gud-display-line): Don't specially re-use
209 other frames for the gdb-mi case (Bug#12648).
211 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
213 * emacs-lisp/advice.el: Clean up commentary a bit.
214 (ad-do-advised-functions, ad-with-originals): Use `declare'.
215 (byte-code-function-p): Never redefine.
217 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
219 2012-10-18 Glenn Morris <rgm@gnu.org>
221 * dired.el (dired-sort-toggle): Some ls implementations only allow
222 a single option string. (Bug#12666)
224 * minibuffer.el (completion-cycle-threshold): Doc fix.
226 2012-10-17 Kenichi Handa <handa@gnu.org>
228 * international/mule.el (set-keyboard-coding-system):
229 Recover input meta mode when the new coding system doesn not use 8-bit.
230 Supply TERMINAL arg to set-input-meta-mode.
232 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de> (tiny change)
234 * wdired.el (wdired-old-marks): New variable.
235 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
236 (wdired-do-renames): Move point with renamed file and don't lose
237 mark status (Bug#11795).
239 2012-10-16 Juri Linkov <juri@jurta.org>
241 * replace.el (query-replace-help): Mention multi-buffer replacement
242 keys in the Help message. (Bug#12655)
244 2012-10-15 Chong Yidong <cyd@gnu.org>
246 * emacs-lisp/byte-run.el (defsubst): Doc fix.
248 2012-10-14 Eli Zaretskii <eliz@gnu.org>
250 * window.el (display-buffer): Doc fix.
252 * progmodes/compile.el (compilation-error-regexp-alist-alist):
253 Adjust the msft regexp to the output of Studio 2010, and move msft
254 before edg-1. See the discussion on emacs-devel,
255 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
258 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
260 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
261 (oset): Move uses of object-class-fast macro after its definition.
263 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
265 2012-10-13 Chong Yidong <cyd@gnu.org>
267 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
268 enabled, re-enable it (Bug#11963).
270 2012-10-13 Martin Rudalics <rudalics@gmx.at>
272 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
273 non-nil, restore window configuration (Bug#12623).
275 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
277 * help-fns.el (describe-variable, describe-function-1):
278 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
280 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
282 2012-10-12 Glenn Morris <rgm@gnu.org>
284 * mail/rmailsum.el (rmail-header-summary):
285 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
287 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
289 * progmodes/python.el (python-mode-map):
290 Replace subtitute-key-definition with proper command remapping.
291 (python-nav--up-list): Fix behavior for blocks on the same level.
293 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
295 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
297 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
298 changes to the format of load-history.
300 * international/mule-cmds.el (read-char-by-name): Move let-binding of
301 completion-ignore-case in case that var is buffer-local (bug#12615).
303 2012-10-11 Kenichi Handa <handa@gnu.org>
305 * international/eucjp-ms.el: Re-generated.
307 2012-10-10 Kenichi Handa <handa@gnu.org>
309 * select.el (xselect--encode-string): If a coding is specified for
310 selection, and that is compatible with COMPOUND_TEXT, use it.
312 2012-10-10 Martin Rudalics <rudalics@gmx.at>
314 * window.el (switch-to-buffer-preserve-window-point): New option.
316 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
318 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
320 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
321 Don't document nil as a useful value (bug#12583).
323 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
325 * net/tramp.el (tramp-debug-message):
326 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
327 (with-tramp-progress-reporter): Rename from
328 `tramp-with-progress-reporter'.
329 (with-tramp-file-property, with-tramp-connection-property):
330 Move from tramp-cache.el, rename from `with-file-property' and
331 `with-connection-property', respectively.
333 * net/tramp-cache.el: Remove `with-file-property' and
334 `with-connection-property'.
339 * net/tramp-smb.el: Adapt callees.
341 * net/trampver.el: Update release number.
343 2012-10-09 Glenn Morris <rgm@gnu.org>
345 * w32-fns.el (set-message-beep):
346 * term/w32-win.el (set-message-beep): Update declarations.
348 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
350 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
351 (mode-line-widen, mode-line-input-method-map)
352 (mode-line-coding-system-map, mode-line-remote)
353 (mode-line-unbury-buffer, mode-line-bury-buffer)
354 (mode-line-next-buffer, mode-line-previous-buffer):
355 Replace save-selected-window+select-window => with-selected-window.
357 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
358 * progmodes/cc-vars.el (bq-process): Remove, unused.
360 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
362 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
364 Implemented `backward-up-list'-like navigation.
365 * progmodes/python.el (python-nav-up-list)
366 (python-nav-backward-up-list): New functions.
367 (python-mode-map): Define substitute key for backward-up-list to
368 python-nav-backward-up-list.
370 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
372 * progmodes/python.el (python-fill-paragraph): Rename from
373 python-fill-paragraph-function. Fixed fill-paragraph for
374 decorators (Bug#12605).
376 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
378 * progmodes/python.el (python-shell-output-filter): Handle extra
379 carriage return in OSX (Bug#12409).
381 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
383 Fix shell handling of unbalanced quotes and parens in output.
384 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
385 (python-syntax-propertize-function): Use it.
386 (python-shell-output-syntax-table): New var.
387 (inferior-python-mode): Prevent unbalanced parens/quotes from
388 previous output mess with current input context.
390 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
392 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
393 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
395 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
397 * ffap.el (ffap-replace-file-component): Support Tramp file name
398 syntax, not only ange-ftp's one.
400 2012-10-08 Glenn Morris <rgm@gnu.org>
402 * cus-start.el (message-log-max): Set :version.
404 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
406 2012-10-08 Martin Rudalics <rudalics@gmx.at>
408 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
409 the minibuffer window (Bug#10851).
411 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
413 Enhancements on forward-sexp movement.
414 * progmodes/python.el (python-nav-beginning-of-statement)
415 (python-nav-end-of-statement): Return point-marker.
416 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
417 (python-info-current-symbol)
418 (python-info-statement-starts-block-p): Rename from
419 python-info-beginning-of-block-p.
420 (python-info-statement-ends-block-p): Rename from
421 python-info-end-of-block-p.
422 (python-info-beginning-of-statement-p)
423 (python-info-end-of-statement-p)
424 (python-info-beginning-of-block-p, python-info-end-of-block-p):
427 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
429 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
430 frame-selected-windows.
432 2012-10-08 Daniel Colascione <dancol@dancol.org>
434 * battery.el (battery-status-function): Check for
435 w32-battery-status itself, not system-time windows-nt.
437 * frame.el: Require cl-lib.
438 (display-format-alist): New variable mapping frame types to
439 functions that initialize them.
440 (window-system-for-display): New function: interprets
441 display-format-alist.
442 (make-frame-on-display): Remove existing display-selection logic
443 and just forward to make-frame, which will now DTRT.
444 (make-frame): Restructure to use window-system-for-display to
445 figure out how to create a frame on a given display.
446 (display-mouse-p): Look for frame-type w32, not a particular
449 * loadup.el: Load w32 lisp code when we have the w32 feature.
451 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
452 system-type windows-nt.
454 * server.el (server-create-window-system-frame): Look for window
456 (server-proces-filter): Only force a window system when windows-nt
457 _and_ w32. Explain why.
459 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
460 of window systems we configure for the mode.
462 * startup.el (command-line): Mark window system is initialized
465 * common-win.el (x-select-text): Look for w32, not windows-nt.
467 * ns-win.el: Require cl-lib. Add ourselves to
468 display-format-alist.
469 (ns-initialize-window-system): Assert we're not initialized twice.
471 * w32-win.el: Enable lexical binding; require cl-lib; add
472 ourselves to display-format-alist.
473 (w32-handle-dropped-file): Convert incoming dropped files from
474 Windows paths to Cygwin ones before passing them on to the rest of
476 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
477 (w32-initialize-window-system): Assert we're not initialized twice.
479 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
480 (x-initialize-window-system): Assert we're not initialized twice.
482 * w32-common-fns.el: New File.
483 (w32-version, w32-using-nt, w32-get-clipboard-data)
484 (w32-set-clipboard-data, x-set-selection, x-get-selection)
485 (w32-charset-info-alist, x-last-selected, text)
486 (x-get-selection-value, x-selection-value): Move here.
488 * w32-fns.el: Require w32-common-fns.
489 (w32-version, w32-using-nt, w32-get-clipboard-data)
490 (w32-set-clipboard-data, x-set-selection, x-get-selection)
491 (w32-charset-info-alist, x-last-selected, text)
492 (x-get-selection-value, x-selection-value): Move to
496 (w32-allow-system-shell, w32-system-shells): Define only in
499 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
501 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
502 (read-passwd): Remove a few more potential sources of leaks.
504 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
506 * progmodes/python.el (inferior-python-mode)
507 (python-shell-make-comint): Fix initialization of local
508 variables copied from parent buffer.
510 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
512 * term/ns-win.el (ns-read-file-name): Update declaration to match
514 (ns-respond-to-change-font): Change fontsize separatly so we are sure
515 it is set when font is acted upon.
517 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
519 Enhancements to indentation.
520 * progmodes/python.el (python-indent-context): Give priority to
521 inside-string context. Make comments indentation markers.
522 (python-indent-region): Do not mess with strings, unless it's the
523 enclosing set of quotes.
525 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
527 * window.el (internal--before-save-selected-window)
528 (internal--after-save-selected-window): New functions extracted from
529 save-selected-window. Make sure we return the `alist' we construct.
530 (save-selected-window): Use them.
532 * textmodes/tex-mode.el (tex-recenter-output-buffer):
533 Use with-selected-window.
535 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
536 forms that define macros (bug#12593).
538 2012-10-07 Kenichi Handa <handa@gnu.org>
540 * international/mule-conf.el (compound-text-with-extensions):
541 Add :mime-charset property as x-ctext.
543 2012-10-07 Stefan Merten <smerten@oekonux.de>
545 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
546 (rst-indent-literal-normal, rst-indent-literal-minimized)
547 (rst-indent-comment): Correct :version tag.
548 (rst-official-cvs-rev): Correct version string.
550 2012-10-07 Glenn Morris <rgm@gnu.org>
552 * mail/rmailmm.el (rmail-mime-process-multipart):
553 Do not confuse a multipart message with an epilogue
554 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
556 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
558 Fix shell output retrieval and comint-prompt-regexp init.
559 * progmodes/python.el (inferior-python-mode):
560 (python-shell-make-comint): Fix initialization of
561 comint-prompt-regexp from copied file local variables.
562 (python-shell-fetched-lines): Remove var.
563 (python-shell-output-filter-in-progress): Rename from
564 python-shell-fetch-lines-in-progress.
565 (python-shell-output-filter-buffer): Rename from
566 python-shell-fetch-lines-string.
567 (python-shell-fetch-lines-filter): Delete function.
568 (python-shell-output-filter): New function.
569 (python-shell-send-string-no-output): Use them.
571 2012-10-07 Glenn Morris <rgm@gnu.org>
573 * hi-lock.el (hi-lock-process-phrase):
574 Try to make it less fragile. (Bug#7161)
576 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
578 2012-10-06 Glenn Morris <rgm@gnu.org>
580 * ehelp.el (electric-help-mode): Use help-mode rather than
581 non-existent mode `help'.
582 (electric-help-map): Use button-buffer-map. (Bug#10917)
584 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
585 (reftex-create-bibtex-footer): Fix custom types.
587 * progmodes/sh-script.el (sh-indent-after-continuation):
590 * textmodes/rst.el (rst-preferred-decorations)
591 (rst-shift-basic-offset): Clarify obsolescence versions.
593 * profiler.el (profiler): Add missing group :version tag.
594 * avoid.el (mouse-avoidance-banish-position):
595 * proced.el (proced-renice-command):
596 * calc/calc.el (calc-ensure-consistent-units):
597 * calendar/icalendar.el (icalendar-import-format-uid):
598 * net/tramp.el (tramp-save-ad-hoc-proxies):
599 * progmodes/bug-reference.el (bug-reference-bug-regexp):
600 * progmodes/flymake.el (flymake-error-bitmap)
601 (flymake-warning-bitmap, flymake-fringe-indicator-position):
602 * progmodes/sh-script.el (sh-indent-after-continuation):
603 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
604 (verilog-before-save-font-hook, verilog-after-save-font-hook):
605 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
606 (vhdl-array-index-record-field-in-sensitivity-list)
607 (vhdl-indent-comment-like-next-code-line):
608 * textmodes/reftex-vars.el (reftex-ref-style-alist)
609 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
610 (reftex-cite-key-separator, reftex-create-bibtex-header)
611 (reftex-create-bibtex-footer):
612 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
613 (rst-indent-literal-normal, rst-indent-literal-minimized)
614 (rst-indent-comment): Add missing custom :version tags.
616 * calendar/timeclock.el (timeclock-modeline-display):
617 Add missing obsolete alias for renamed user option.
619 * strokes.el (strokes-modeline-string):
620 * emulation/crisp.el (crisp-mode-modeline-string):
621 * eshell/esh-mode.el (eshell-status-in-modeline):
622 Aliases to defcustoms must come before the defcustom.
624 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
625 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
626 (cal-tex-cursor-week-monday): Doc fixes.
627 (cal-tex-cursor-week2-summary): Doc fix.
628 Rename from cal-tex-cursor-week-at-a-glance.
630 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
631 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
633 * calendar/calendar.el (calendar-mode-map):
634 Add cal-tex-cursor-week2-summary.
636 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
638 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
640 * subr.el (read-passwd-map): New var.
641 (read-passwd): Use `read-string' again.
642 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
644 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
646 * register.el (append-to-register, prepend-to-register):
647 Deactivate mark, as does `copy-to-register' (bug#12389).
649 2012-10-06 Chong Yidong <cyd@gnu.org>
651 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
653 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
655 * international/characters.el: Fix simple mistake ((car chars) ->
656 elt), delete duplicated code.
658 2012-10-06 Glenn Morris <rgm@gnu.org>
660 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
662 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
664 * color.el (color-hsl-to-rgb): Fix incorrect results for
665 small and large hue values. (Bug#12559)
667 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
669 Enhancements to docstring formatting when filling paragraphs.
670 * progmodes/python.el (python-fill-docstring-style): Rename from
671 python-fill-string-style. Added new style.
672 (python-fill-string): Use new style. Better checks for
675 2012-10-05 Glenn Morris <rgm@gnu.org>
677 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
679 * color.el (color-name-to-rgb, color-rgb-to-hex)
680 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
681 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
682 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
683 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
685 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
687 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
689 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
690 to get the correct size across symlinks.
692 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
694 2012-10-04 Juri Linkov <juri@jurta.org>
696 * replace.el (query-replace-interactive): Declare obsolete.
697 (query-replace-read-from): Add the last incremental search string
698 to the list of default values accessible via M-n.
699 (map-query-replace-regexp): Use `read-regexp'.
700 (query-replace, query-replace-regexp, query-replace-regexp-eval)
701 (map-query-replace-regexp, replace-string, replace-regexp):
702 Fix docstrings to replace mentions of `query-replace-interactive'
703 with alternatives. (Bug#12526)
705 2012-10-04 Juri Linkov <juri@jurta.org>
707 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
708 (dired-pop-to-buffer): Declare obsolete.
709 (dired-mark-pop-up): Doc fix.
711 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
713 Allow user to set docstring style for fill-paragraph.
714 * progmodes/python.el
715 (python-fill-comment-function, python-fill-string-function)
716 (python-fill-decorator-function, python-fill-paren-function):
717 Remove :safe for defcustoms.
718 (python-fill-string-style): New defcustom
719 (python-fill-paragraph-function): Enhance context detection.
720 (python-fill-string): Honor python-fill-string-style settings.
722 2012-10-04 Martin Rudalics <rudalics@gmx.at>
724 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
725 after setting its buffer (Bug#10805).
727 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
729 Fix cornercase for string syntax.
730 * progmodes/python.el (python-syntax-propertize-function):
731 Simplify and enhance the regexp for unescaped quotes. Now it also
732 matches quotes in weird situations like the single quote in
734 (python-syntax-stringify): Simplify num-quotes detecting code.
736 2012-10-03 Glenn Morris <rgm@gnu.org>
738 * help-macro.el (three-step-help):
739 Revert 2012-09-29 change. (Bug#12567)
741 2012-10-03 Martin Rudalics <rudalics@gmx.at>
743 * menu-bar.el (kill-this-buffer): Don't do anything when
744 `menu-frame' is not alive or visible (Bug#8184).
746 * emacs-lisp/debug.el (debug): When quitting the debugger window
747 restore current buffer (Bug#12502).
749 2012-10-02 Chong Yidong <cyd@gnu.org>
751 * progmodes/hideif.el (hif-lookup, hif-defined):
752 Handle semantic-c-takeover-hideif.
754 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
756 Change sampling interval units from ms to ns.
757 * profiler.el (profiler-sampling-interval): Change units
758 from ms to ns, multiplying the default by 1000000 so that
760 (profiler-report-cpu-line-format): Give enough room for
761 the maximum counters on 64-bit hosts.
762 (profiler-report-render-calltree-1): Call them "CPU samples",
763 not "Time (ms)", since they are not milliseconds now (and
766 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
768 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
769 Fix querying BBDB for entries without a last name (Bug#11580).
771 2012-10-02 Chong Yidong <cyd@gnu.org>
773 * emacs-lisp/eieio.el: Restore Version header.
775 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
777 * vc/diff-mode.el (diff--auto-refine-data): New var.
778 (diff-hunk): Use it to delay refinement.
779 (diff-mode): Remove overlays when we turn off font-lock.
781 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
782 (table-initialize-table-fixed-width-mode)
783 (table-set-table-fixed-width-mode): Remove functions.
784 (table-command-list): Move initialization into declaration.
785 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
786 (table-with-cache-buffer): Use `declare'.
787 (table-span-cell): Simplify via CSE.
788 (table-fixed-width-mode): Use define-minor-mode.
789 (table-call-interactively, table-funcall, table-apply): Remove.
790 (table-function): New function, to replace them.
792 * bookmark.el (bookmark-search-pattern): Remove var.
793 (bookmark-read-search-input): Remove function.
794 (bookmark-bmenu-search): Reimplement using a minibuffer.
796 * faces.el (modeline): Remove obsolete face name.
798 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
799 and give a non-nil default value.
800 (add-change-log-entry): Simplify accordingly.
802 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
804 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
805 (vc-git-log-edit-toggle-amend): New function.
806 (vc-git-log-edit-toggle-signoff): New function.
807 (vc-git-log-edit-mode): New major mode.
808 (vc-git-log-edit-mode-map): Keymap for it.
809 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
811 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
813 (log-edit-toggle-header): New function.
814 (log-edit-extract-headers): Accept function values in HEADERS alist.
816 2012-10-01 David Engster <deng@randomsample.de>
818 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
819 from symbol property and change message to be more consistent with
821 (eieio-describe-generic): Add filename for each implementation.
822 Fix indices for generic and normal methods.
823 (eieio-method-def, eieio-class-def): New buttons.
824 (eieio-help-find-method-definition)
825 (eieio-help-find-class-definition): New functions.
826 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
827 class, constructor and method definitions.
829 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
830 information in symbol property.
831 (scoped-class): Remove.
832 (eieio-slot-name-index, call-next-method): Check if it is bound.
834 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
836 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
837 (eieio-custom-mode): New major mode.
838 (eieio-customize-object): Use it.
840 2012-10-01 Eric Ludlam <zappo@gnu.org>
842 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
843 specifying the expected class, and whether subclassing is allowed.
844 (eieio-persistent-convert-list-to-object):
845 (eieio-persistent-validate/fix-slot-value)
846 (eieio-persistent-slot-type-is-class-p): New functions.
847 (eieio-named::slot-missing): Doc fix.
849 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
850 Stop using unused publd variable.
852 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
853 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
854 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
855 (eieio-speedbar-handle-click): Do not specify a class for the
856 method. Fixes method invocation order problems with EDE.
858 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
860 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
861 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
863 2012-10-01 Karl Fogel <kfogel@red-bean.com>
865 * bookmark.el (bookmark-version-control): Give tags in the
866 :type choices (Bug#12309), and improve doc string.
867 (bookmark-write-file): Bind `print-circle' to `t' to allow
868 circular custom bookmark types. (Bug#12503)
870 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
872 Revert the FOLLOW-SYMLINKS change for file-attributes.
873 * files.el (remote-file-name-inhibit-cache, after-find-file):
874 * time.el (display-time-file-nonempty-p): Undo last change.
876 * profiler.el (profiler-sampling-interval): Change default back to 1.
877 See Stefan Monnier in
878 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
880 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
882 Shell output catching a la gud-gdb.
883 * progmodes/python.el (python-shell-fetch-lines-in-progress)
884 (python-shell-fetch-lines-string, python-shell-fetched-lines):
886 (python-shell-fetch-lines-filter): New function.
887 (python-shell-send-string-no-output): Use them.
889 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
891 * profiler.el (profiler-sampling-interval): Rename from
892 profiler-sample-interval.
893 (profiler-sampling-interval): Default to 10.
894 (profiler-find-profile): New command (was profiler-find-log).
895 (profiler-find-profile-other-window): New command.
896 (profiler-find-profile-other-frame): New command.
897 (profiler-profile): Introduce API-level data structure.
899 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
901 file-attributes has a new optional arg FOLLOW-SYMLINKS.
902 * files.el (remote-file-name-inhibit-cache):
903 * time.el (display-time-file-nonempty-p): Use it.
904 * files.el (after-find-file): Don't chase links before calling
905 file-exists-p, as file-exists-p already does the right thing.
907 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
909 Merge from standalone RefTeX repository.
911 The following ChangeLog entries are shortened versions of the
912 original ones with file paths adapted. A not so strongly edited
913 version of the original ChangeLog can be found in the commit log.
915 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
916 (reftex-arg-cite): Use `reftex-cite-key-separator'.
917 Correctly handle new value type returned by `reftex-citation'.
919 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
920 that entries with whitespace at various places are found.
921 Doc fix. Include entries that are cross-referenced from cited entries.
922 Include @String definitions in the resulting bib file. Add header
923 and footer defined in `reftex-create-bibtex-header' and
924 `reftex-create-bibtex-footer'.
925 (reftex-do-citation): Make it possible again to insert
926 non-existent entries. Save match data when asking for optional
927 arguments. Return all keys, not just the first one.
928 (reftex-all-used-citation-keys): Fix regexp to correctly extract
929 all citations in the same line.
930 (reftex-parse-bibtex-entry): Accept additional optional argument
931 `raw' and keep quotes or braces if it is non-nil. Match fields
932 containing hyphens besides word constituents.
933 (reftex-get-string-refs): New function.
934 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
935 and ask if it should be reread in case it did.
936 (reftex-pop-to-bibtex-entry)
937 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
938 entries with spaces or tabs in front of arguments.
939 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
940 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
941 Match entries containing numbers and symbol constituents.
942 (reftex-do-citation, reftex-figure-out-cite-format):
943 Use `reftex-cite-key-separator'.
945 * textmodes/reftex-dcr.el: Move provide statement to end of file.
946 (reftex-mouse-view-crossref): Explain why point is set.
948 * textmodes/reftex-global.el: Whitespace changes.
950 * textmodes/reftex-index.el: Move provide statement to end of
952 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
953 (reftex-index-visit-phrases-buffer): Set marker when visiting
954 buffer. This allows for returning from the phrases file to the
955 file one was just editing instead of the file where the last
956 phrases was added from.
957 (reftex-index-phrases-syntax-table): New variable. Give ?\"
958 punctuation syntax as it usually is not used as string quote in
959 TeX-related modes and may occur unmatched. The change also
960 prevents fontification of quoted content.
961 (reftex-index-phrases-mode): Use it.
963 * textmodes/reftex-parse.el (reftex-parse-from-file):
964 Move backward one char if a `\' was matched after a section macro.
965 (reftex-parse-from-file): Use beginning of match instead of end as
968 * textmodes/reftex-ref.el: Adapt creation of
969 `reftex-<package>-<macro>' functions to new structure of
970 `reftex-ref-style-alist'.
971 (reftex-reference): Use `reftex-ref-style-list' function.
972 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
973 reference macro if `reftex-ref-macro-prompt' is non-nil.
974 (reftex-reference): Pass refstyle to `reftex-format-special'.
975 Determine reference macro by looking at
976 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
977 Use only one special format function.
978 (reftex-varioref-vref, reftex-fancyref-fref)
979 (reftex-fancyref-Fref): Remove definitions. The functions are now
980 generated from `reftex-ref-style-alist'.
981 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
983 (reftex-format-special): New function.
985 * textmodes/reftex-sel.el
986 (reftex-select-cycle-ref-style-internal): Adapt to new structure
987 of `reftex-ref-style-alist'. Remove code for testing macro type.
988 (reftex-select-toggle-varioref)
989 (reftex-select-toggle-fancyref): Remove.
990 (reftex-select-cycle-ref-style-internal)
991 (reftex-select-cycle-ref-style-forward)
992 (reftex-select-cycle-ref-style-backward): New functions.
993 (reftex-select-label-map): Use `v' and `V' for general cycling
994 through reference styles. Add `p' for switching between number
995 and page reference types.
997 * textmodes/reftex-toc.el (reftex-re-enlarge):
998 Call `enlarge-window' only if there is something to do because in Emacs
999 the horizontal version throws an error even if the parameter is 0.
1001 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1002 (reftex-plug-into-AUCTeX): Doc fix.
1003 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1004 string. Adapt to new name.
1005 (reftex-ref-style-alist): Change structure so that it is not
1006 possible to use multiple different package names within a style.
1007 Remove the symbols for symbols for macro type distinction.
1008 Add characters for macro selection.
1009 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1010 (reftex-create-bibtex-footer): New variables.
1011 (reftex-format-ref-function): Mention third argument of special
1013 (reftex-ref-style-alist, reftex-ref-style-default-list):
1015 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1016 to new implementation. Mark as obsolete. Add compatibility code
1017 for honoring the variable values in case they are set.
1018 (reftex-cite-format-builtin, reftex-bibliography-commands):
1019 Add support for ConTeXt.
1020 (reftex-format-ref-function, reftex-format-cite-function):
1022 (reftex-cite-key-separator): New variable.
1024 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1025 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1026 `reftex-syntax-table' because parens have to retain their paren
1027 syntax in order for parsing of BibTeX entries like @book(...) to
1029 (reftex-in-comment): Do not error out if `comment-start-skip' is
1030 not set. Deal correctly with escaped comment characters.
1031 (reftex-tie-multifile-symbols): Add doc string.
1032 Initialize `reftex-ref-style-list'.
1033 (reftex-untie-multifile-symbols): Add doc string.
1034 (reftex-add-index-macros): Doc fix.
1035 (reftex-ref-style-activate, reftex-ref-style-toggle)
1036 (reftex-ref-style-list): New functions.
1037 (reftex-mode-menu): Use them. Adapt to new structure of
1038 `reftex-ref-style-alist'.
1039 (reftex-select-with-char): Kill the RefTeX Select buffer when
1041 (reftex-remove-if): New function.
1042 (reftex-erase-all-selection-and-index-buffers)
1043 (reftex-mode-menu): Reference styles are now computed from
1044 `reftex-ref-style-alist'. Fix typo.
1045 (reftex-report-bug): New function.
1046 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1047 algorithms with O(n log n). Introduce optional argument SORT (not
1050 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1052 Enhancements for triple-quote string syntax.
1053 * progmodes/python.el (python-syntax-propertize-function):
1054 Match both quote cases in one regexp.
1055 (python-syntax-stringify): Handle matches properly.
1057 2012-09-30 Juri Linkov <juri@jurta.org>
1059 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
1060 to nil around the call to `insert' to prevent
1061 directory time modification by lock_file. (Bug#2295)
1062 * tar-mode.el (tar-summarize-buffer): Idem.
1064 2012-09-30 Juri Linkov <juri@jurta.org>
1066 * facemenu.el (list-colors-sort): Add option "Luminance".
1067 (list-colors-sort-key): Implement it.
1069 * vc/diff-mode.el (diff-refine-removed):
1070 * vc/ediff-init.el (ediff-fine-diff-A):
1071 * vc/smerge-mode.el (smerge-refined-removed):
1072 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1074 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1076 * term/ns-win.el (x-file-dialog): New function.
1078 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
1080 * ido.el (ido-max-directory-size): Default to nil; the current
1081 default is small for POSIX systems, and impractical on Windows 7
1082 now that lstat returns directory sizes for NTFS.
1084 2012-09-30 Martin Rudalics <rudalics@gmx.at>
1086 In buffer display functions handle window-height/window-width
1087 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
1088 * window.el (window--display-buffer): New argument ALIST.
1089 Obey window-height and window-width alist entries.
1090 (window--try-to-split-window): New argument ALIST.
1091 Bind window-combination-limit to t when the window's size shall be
1092 changed and window-combination-limit equals `window-size'.
1093 (display-buffer-in-atom-window)
1094 (display-buffer-in-major-side-window)
1095 (display-buffer-in-side-window, display-buffer-same-window)
1096 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1097 (display-buffer-pop-up-window, display-buffer-below-selected)
1098 (display-buffer-at-bottom, display-buffer-in-previous-window)
1099 (display-buffer-use-some-window): Adjust all callers of
1100 window--display-buffer and window--try-to-split-window.
1101 (fit-frame-to-buffer): New option.
1102 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1104 (display-buffer-in-major-side-window): Evaluate window-height /
1105 window-width alist entries.
1107 * help.el (temp-buffer-resize-frames)
1108 (temp-buffer-resize-regexps): Remove options.
1109 (temp-buffer-resize-mode): Adjust doc-string.
1110 (resize-temp-buffer-window): Don't consult
1111 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1112 temp-buffer-resize-frames.
1114 * dired.el (dired-mark-pop-up):
1115 Call display-buffer-below-selected with a fit-window-to-buffer alist
1118 2012-09-30 Chong Yidong <cyd@gnu.org>
1120 * server.el (server-host): Document the security implications.
1121 (server-auth-key): Doc fix.
1123 * startup.el (initial-buffer-choice): Doc fix.
1125 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1127 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1130 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1132 * help-fns.el (help-fns--obsolete): Fix last change.
1134 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1136 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1137 (minor-mode-map-alist): Remove redundant code.
1139 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1140 visited in a buffer.
1141 (cvs-insert-visited-file): New function.
1142 (find-file-hook): Use it.
1144 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1146 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1148 (log-edit-empty-buffer-p): Don't require a space after a header.
1150 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1152 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1154 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1155 a proper minor-mode.
1157 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1159 2012-09-29 Glenn Morris <rgm@gnu.org>
1161 * winner.el (winner-mode): Remove variable (let define-minor-mode
1163 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1165 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1166 (winner-mode): Use define-minor-mode.
1168 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1169 the full definition in loaddefs, rather than duplicating it.
1171 * help-macro.el (three-step-help): No need to autoload defcustom.
1173 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1174 (inferior-lisp-program, inferior-lisp-load-command)
1175 (inferior-lisp-prompt, inferior-lisp-mode-hook):
1176 No need to autoload defcustoms.
1178 * hippie-exp.el (hippie-expand-try-functions-list)
1179 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1180 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1181 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
1182 (hippie-expand-only-buffers): No need to autoload defcustoms.
1183 * progmodes/vhdl-mode.el (vhdl-line-expand):
1184 Explicitly load hippie-exp, so it does not get autoloaded
1185 while hippie-expand-try-functions-list is let-bound.
1187 2012-09-28 Glenn Morris <rgm@gnu.org>
1189 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1191 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1192 Only "cl.el" counts as cl these days.
1194 2012-09-28 Juri Linkov <juri@jurta.org>
1196 Display archive errors in the echo area instead of inserting
1199 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1200 to STDERR-TEST that can be a regexp matching a successful output.
1201 Create a temporary file and redirect stderr to it. Search for
1202 STDERR-TEST in the stderr output and display it in the echo area
1203 if no match is found.
1204 (archive-extract-by-file): New function like
1205 `archive-extract-by-stdout' but extracting archives to files
1206 and looking for successful matches in stdout. Function body is
1207 mostly copied from `archive-rar-extract'.
1208 (archive-rar-extract): Use `archive-extract-by-file'.
1209 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1211 2012-09-28 Leo Liu <sdl.web@gmail.com>
1213 * pcomplete.el (pcomplete-show-completions):
1214 Use minibuffer-message to make pcomplete usable in minibuffer.
1216 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1218 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1220 * type-break.el: Use lexical-binding.
1221 (type-break-mode): Use define-minor-mode.
1223 * emacs-lisp/pcase.el (pcase--mark-used): New.
1224 (pcase--u1): Use it (bug#12512).
1226 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1227 in load-history with the right file name.
1229 2012-09-28 Tassilo Horn <tsdh@gnu.org>
1231 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1232 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1233 (doc-view-get-bounding-box): Make bounding box slicing work for
1234 ODF and DVI documents.
1236 2012-09-28 Glenn Morris <rgm@gnu.org>
1238 * type-break.el (type-break-mode, type-break-interval)
1239 (type-break-good-rest-interval, type-break-keystroke-threshold):
1240 No need to autoload.
1241 (type-break-good-rest-interval, type-break-keystroke-threshold):
1244 2012-09-28 Chong Yidong <cyd@gnu.org>
1246 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1249 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1251 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
1253 2012-09-27 Glenn Morris <rgm@gnu.org>
1255 * faces.el (x-display-name): Declare (for without-x builds).
1257 * linum.el (linum-format): Don't autoload it. Improve :type.
1259 * progmodes/tcl.el: Don't require outline when compiling.
1260 (outline-regexp, outline-level): Declare.
1261 * textmodes/sgml-mode.el: Don't require outline when compiling.
1262 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1264 * term.el (term-ansi-reset):
1265 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1267 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1268 files for RCS and SCCS. (Bug#9781)
1270 2012-09-27 Chong Yidong <cyd@gnu.org>
1272 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1273 change; value should be t.
1275 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1277 * image-mode.el: Use lexical-binding.
1278 (image-mode-winprops): Use t to stand for the window of
1279 a buffer that's not displayed.
1280 * doc-view.el (doc-view-new-window-function): Handle the new
1282 (doc-view-enlarge): Make it a real nop if the size is not changed.
1283 (doc-view-display): Handle the case where the buffer is not (yet?)
1284 displayed in any window.
1285 (doc-view-saved-settings): New var.
1286 (doc-view-mode): Use it.
1287 (doc-view-fallback-mode): Set it.
1289 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1290 Set lexical-binding.
1291 (minibuffer-eldef-shorten-default): New var.
1292 (minibuffer-default-in-prompt-regexps): Use it for new default.
1293 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1295 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1297 * international/uni-bidi.el:
1298 * international/uni-category.el:
1299 * international/uni-name.el:
1300 * international/uni-numeric.el: Regenerate.
1302 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1303 Stefan Monnier <monnier@iro.umontreal.ca>
1305 * profiler.el: New file.
1307 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1309 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1310 (testcover-reinstrument): Simplify with CSE.
1312 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1314 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1316 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1318 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1319 (verilog-auto-input, verilog-auto-insert-lisp)
1320 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1321 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1322 (verilog-auto-unused, verilog-auto-wire)
1323 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1324 newline. Reported by Andrew Jones.
1325 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1326 Reported by Brad Dobbie.
1327 (verilog-batch-delete-trailing-whitespace):
1328 Create verilog-batch-delete-trailing-whitespace.
1329 Reported by Brad Dobbie.
1330 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1331 parameters from another module. Reported by Dan Katz.
1332 (verilog-auto, verilog-auto-assign-modport)
1333 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1334 AUTOINOUTMODPORT for UVM interface module shell generation.
1335 Reported by Brad Dobbie.
1336 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1338 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1339 Reported by Matt Martin.
1341 2012-09-25 Martin Rudalics <rudalics@gmx.at>
1343 * window.el (window--resize-child-windows): When resizing child
1344 windows proportionally, process them in reverse order to
1345 preserve the "when splitting a window the new one gets the odd
1347 (window--resize-root-window-vertically): When resizing the
1348 minibuffer window try to affect only windows at the bottom of the
1351 2012-09-25 Chong Yidong <cyd@gnu.org>
1353 * subr.el (declare): Doc fix.
1355 * help-fns.el (help-fns--obsolete): Handle macros properly.
1357 2012-09-25 Chong Yidong <cyd@gnu.org>
1359 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1360 this function obsolete.
1362 * calendar/cal-x.el (calendar-two-frame-setup)
1363 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1364 * calendar/calendar.el (american-calendar, european-calendar)
1365 (calendar-for-loop):
1366 * comint.el (comint-dynamic-simple-complete)
1367 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1368 * desktop.el (desktop-load-default):
1369 * dired-x.el (dired-omit-here-always)
1370 (dired-hack-local-variables, dired-default-directory):
1371 * emacs-lisp/derived.el (derived-mode-class):
1372 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1373 * emacs-lock.el (toggle-emacs-lock):
1374 * epa.el (epa-display-verify-result):
1375 * epg.el (epg-sign-keys, epg-start-sign-keys)
1376 (epg-passphrase-callback-function):
1377 * eshell/esh-util.el (eshell-for):
1378 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1379 (eshell-add-to-window-buffer-names):
1380 * files.el (locate-file-completion):
1381 * imenu.el (imenu-example--create-c-index)
1382 (imenu-example--create-lisp-index)
1383 (imenu-example--lisp-extract-index-name)
1384 (imenu-example--name-and-position):
1385 * international/mule-cmds.el (princ-list):
1386 * international/mule-diag.el (decode-codepage-char):
1387 * international/mule-util.el (detect-coding-with-priority):
1388 * iswitchb.el (iswitchb-read-buffer):
1389 * mail/mailalias.el (mail-complete):
1390 * mail/sendmail.el (mail-sent-via):
1391 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1392 (mouse-major-mode-menu):
1393 * password-cache.el (password-read-and-add):
1394 * pcomplete.el (pcomplete-parse-comint-arguments):
1395 * progmodes/sh-script.el (sh-maybe-here-document):
1396 * replace.el (query-replace-regexp-eval):
1397 * savehist.el (savehist-load):
1398 * simple.el (choose-completion-delete-max-match):
1399 * term.el (term-dynamic-simple-complete):
1400 * vc/ediff-init.el (ediff-check-version):
1401 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1402 * vc/vc.el (vc-diff-switches-list):
1403 * view.el (view-return-to-alist-update): Likewise.
1405 * subr.el (eval-next-after-load, makehash, insert-string)
1406 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1408 (mode-line-inverse-video): Variable deleted.
1410 * international/mule-util.el (string-to-sequence): Remove.
1412 * calendar/calendar.el (calendar-version):
1413 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1414 (icalendar-convert-diary-to-ical):
1415 * cus-edit.el (custom-mode):
1416 * ansi-color.el (ansi-color-unfontify-region):
1417 * international/latin1-disp.el (latin1-char-displayable-p):
1418 * progmodes/cwarn.el (turn-on-cwarn-mode):
1419 * progmodes/which-func.el (which-func-update-1):
1420 Use define-obsolete-function-alias.
1422 * net/newst-backend.el (newsticker-cache-filename):
1423 * net/newst-treeview.el (newsticker-groups-filename):
1424 Fix incorrect obsolescence declaration.
1426 * allout.el (allout-passphrase-hint-string): Likewise.
1427 (allout-init): Use a declare form to mark obsolete.
1429 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1430 this applies to functions.
1432 * iswitchb.el (iswitchb-read-buffer): Move code of
1433 iswitchb-define-mode-map here, and delete that obsolete function.
1435 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1436 font-lock-reference-face.
1438 2012-09-25 Glenn Morris <rgm@gnu.org>
1440 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1443 * eshell/em-term.el (eshell-term-name):
1444 Default to term-term-name. (Bug#12485)
1446 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1448 * progmodes/python.el (python-shell-send-buffer): Better handling
1449 of "if __name__ == '__main__':" conditionals when sending the buffer.
1451 2012-09-24 Glenn Morris <rgm@gnu.org>
1453 * eshell/esh-cmd.el (eshell-find-alias-function):
1454 Tighten up file-name regexp. (Bug#12499)
1456 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1458 Enhancements for triple-quote string syntax.
1459 * progmodes/python.el (python-quote-syntax): Remove.
1460 (python-syntax-propertize-function): New value.
1461 (python-syntax-count-quotes, python-syntax-stringify):
1464 2012-09-24 Chong Yidong <cyd@gnu.org>
1466 * mail/supercite.el (sc-version): Remove obsolete function.
1467 (sc-describe): Don't mark as obsolete, since it is bound.
1468 (sc-submit-bug-report): Remove.
1470 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1471 (cvs-commit-buffer-require-final-newline): Remove.
1472 (log-edit-require-final-newline)
1473 (log-edit-changelog-full-paragraphs): Default to t.
1475 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1476 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1477 * vc/vc.el (vc-checkout-carefully): Likewise.
1479 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1480 (emerge-version): Remove.
1482 * progmodes/compile.el (compile-internal): Remove.
1483 (compilation-parse-errors-function): Fix typo.
1485 * international/mule.el (set-char-table-default): Remove.
1486 (set-coding-priority, make-coding-system, generic-char-p)
1487 (charset-list, charset-bytes, charset-id): Use declare to mark
1488 functions as obsolete.
1490 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1491 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1492 * vc/vc-hooks.el (vc-default-registered): Don't use
1493 vc-master-templates.
1495 * font-lock.el (font-lock-reference-face):
1496 Use define-obsolete-variable-alias.
1498 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1499 * calendar/calendar.el (calendar-font-lock-keywords):
1500 * calendar/diary-lib.el (diary-font-lock-keywords)
1501 (diary-fancy-font-lock-keywords):
1502 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1503 * textmodes/reftex-index.el (reftex-insert-index):
1504 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1505 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1506 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1507 * progmodes/prolog.el (prolog-font-lock-keywords):
1508 * progmodes/idlwave.el (idlwave-idl-keywords):
1509 * progmodes/ada-mode.el (ada-font-lock-keywords):
1510 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1512 2012-09-24 Glenn Morris <rgm@gnu.org>
1514 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1516 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1518 * progmodes/python.el (python-indent-line): More consistent cursor
1521 2012-09-23 Stefan Merten <smerten@oekonux.de>
1523 * textmodes/rst.el: Fix compiler warning.
1525 2012-09-23 Roland Winkler <winkler@gnu.org>
1527 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1528 Transcribe also LaTeX hyphenation.
1529 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1530 bibtex-reformat-previous-options.
1532 2012-09-23 Roland Winkler <winkler@gnu.org>
1534 * proced.el (proced-renice-command): New variable.
1535 (proced-marked-processes): New function.
1536 (proced-with-processes-buffer): New macro.
1537 (proced-send-signal): Use them.
1538 (proced-renice): New command bound to r.
1540 2012-09-23 Roland Winkler <winkler@gnu.org>
1542 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1543 ibuffer-saved-filter-groups has one element, shortcut the call of
1544 completing-read. (Bug#12331)
1546 2012-09-23 Chong Yidong <cyd@gnu.org>
1548 * bindings.el (mode-line-toggle-read-only):
1549 * bs.el (bs-toggle-readonly):
1550 * buff-menu.el (Buffer-menu-toggle-read-only):
1551 * dired.el (dired-toggle-read-only):
1552 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1554 2012-09-23 Chong Yidong <cyd@gnu.org>
1556 * image.el (image-type-available-p): Adapt to init-image-library
1559 2012-09-22 Juri Linkov <juri@jurta.org>
1561 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1562 `dired-toggle-read-only'. (Bug#12462)
1564 2012-09-22 Martin Rudalics <rudalics@gmx.at>
1566 * subr.el (temp-output-buffer-show): New function.
1567 (with-output-to-temp-buffer): Call temp-output-buffer-show
1568 instead of internal-temp-output-buffer-show.
1570 2012-09-22 Chong Yidong <cyd@gnu.org>
1572 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1575 * repeat.el (repeat): Doc fix (Bug#12348).
1577 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1580 * simple.el (shell-command-on-region): Doc fix.
1581 (read-only-mode): Doc fix.
1583 2012-09-22 Eli Zaretskii <eliz@gnu.org>
1585 * emacs-lisp/timer.el (run-with-idle-timer)
1586 (timer-activate-when-idle): Warn against reinvoking an idle timer
1587 from within its own timer action. (Bug#12447)
1589 2012-09-22 Martin Rudalics <rudalics@gmx.at>
1591 * cus-start.el (window-combination-limit): Add new optional
1593 * window.el (temp-buffer-window-show)
1594 (window--try-to-split-window): Handle new values of
1595 window-combination-limit (Bug#1806).
1596 (split-window): Test window-combination-limit for t instead of
1598 (display-buffer-at-bottom): New buffer display action function.
1599 * help.el (temp-buffer-resize-regexps): New option.
1600 (temp-buffer-resize-mode): Rewrite doc-string.
1601 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
1602 Don't resize reused window. Suggested by Glenn Morris.
1604 2012-09-22 Stefan Merten <smerten@oekonux.de>
1606 * textmodes/rst.el: Revamp section title faces.
1607 (rst-official-version)
1608 (rst-package-emacs-version-alist): Sync with official version
1610 (rst-faces-defaults, rst-set-level-default)
1611 (rst-level-face-max, rst-level-face-base-color)
1612 (rst-level-face-base-light, rst-level-face-format-light)
1613 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1614 (rst-adornment-faces-alist): Match new setup.
1615 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1616 (rst-level-5, rst-level-6): New faces.
1618 2012-09-22 Chong Yidong <cyd@gnu.org>
1620 * simple.el (undo): Handle indirect buffers (Bug#8207).
1622 2012-09-21 Leo Liu <sdl.web@gmail.com>
1624 IDO: Disable match re-ordering for buffer switching.
1625 * ido.el (ido-buffer-disable-smart-matches): New variable.
1626 (ido-set-matches-1): Use it. (Bug#2042)
1628 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
1630 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1631 Fix 2011-05-17 change. (Bug#12418)
1633 2012-09-21 Leo Liu <sdl.web@gmail.com>
1635 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1637 2012-09-21 Glenn Morris <rgm@gnu.org>
1639 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1640 Be more robust about locating simple.el.
1642 2012-09-21 Glenn Morris <rgm@gnu.org>
1644 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1646 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1648 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1650 2012-09-20 Juri Linkov <juri@jurta.org>
1652 * replace.el (query-replace-read-from): Use `read-regexp' instead
1653 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1654 (occur-read-primary-args): Use `read-regexp' instead of
1656 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1657 `read-from-minibuffer'.
1658 * isearch.el (isearch-occur): Use `read-regexp' instead of
1660 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1661 `read-from-minibuffer'.
1662 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1663 of `read-string'. (Bug#7567)
1665 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1666 and allow accepting a list of strings prepended to a list of
1667 standard default values. Doc fix. (Bug#12321)
1669 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1671 * replace.el (read-regexp): Don't add ": " when PROMPT already
1672 ends with a colon and space. (Bug#12321)
1674 2012-09-20 Tassilo Horn <tsdh@gnu.org>
1676 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1679 2012-09-20 Stefan Merten <smerten@oekonux.de>
1681 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
1682 Fixes feature request bug#11711.
1683 (rst-mode): Create `imenu-create-index-function'.
1684 (rst-get-stripped-line): Delete after refactoring.
1685 (rst-section-tree, rst-section-tree-rec)
1686 (rst-section-tree-point): Refactor and document properly.
1687 (rst-imenu-find-adornments-for-position)
1688 (rst-imenu-convert-cell, rst-imenu-create-index):
1691 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1693 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1694 (macroexp--expand-all): Use it.
1695 (macroexp--funcall-and-return): Remove by folding it into its sole
1696 caller (macroexp--warn-and-return).
1697 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1698 Use macroexp--obsolete-warning.
1700 * calc/calc.el: Fix last change by removing the whole chunk, since it
1701 was only needed back when Calc was not bundled.
1703 2012-09-20 Martin Rudalics <rudalics@gmx.at>
1705 * emacs-lisp/debug.el (debug): Restore assignment to
1706 debugger-old-buffer removed on 2012-09-08.
1708 2012-09-20 Juri Linkov <juri@jurta.org>
1710 * dired-aux.el (dired-diff): Remove (require 'diff) since
1711 `diff-latest-backup-file' is now autoloaded.
1713 2012-09-20 Chong Yidong <cyd@gnu.org>
1715 * vc/diff.el (diff-latest-backup-file): Autoload.
1717 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1719 * calc/calc.el: Remove redundant autoload shape check.
1720 (sel-mode): Don't defvar.
1721 (calc-get-stack-element): Add `sel-mode' arg instead.
1722 (calc-top, calc-top-list): Pass it this additional argument.
1723 * calc/calc-store.el (calc-store-map):
1724 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1725 (calc-map-equation, calc-outer-product, calc-inner-product):
1726 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1728 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1730 2012-09-19 Juri Linkov <juri@jurta.org>
1732 * dired-aux.el (dired-diff): Add (require 'diff) because
1733 `diff-latest-backup-file' is not autoloaded.
1734 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1735 of `dired-get-filename' to t to not report error when there is
1736 no default file on the current line.
1738 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1740 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1741 macroexp--eval-if-compile.
1742 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1743 (macroexp--expand-all): Use them (bug#12371).
1745 * doc-view.el (doc-view-guess-paper-size)
1746 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1748 2012-09-19 Tassilo Horn <tsdh@gnu.org>
1750 New feature: set optimal slice from BoundingBox information.
1751 * doc-view.el (doc-view-mode-map): Add keybinding.
1752 (doc-view-menu): Add menu entry.
1753 (doc-view-set-slice): Adapt docstring.
1754 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1755 (doc-view-scale-bounding-box)
1756 (doc-view-set-slice-from-bounding-box): New functions.
1757 (doc-view-paper-sizes): New defvar.
1759 2012-09-19 Glenn Morris <rgm@gnu.org>
1761 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1762 (byte-compile-log-warning): Autoload. (Bug#12371)
1764 * calendar/calendar.el (calendar-american-month-header)
1765 (calendar-european-month-header, calendar-iso-month-header)
1766 (calendar-month-header): New options.
1767 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1768 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1770 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1772 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1774 2012-09-18 Juri Linkov <juri@jurta.org>
1776 * dired-aux.el (dired-diff): Restore original functionality of
1777 getting the default value, but keep new feature of using the
1778 latest existing backup file (`diff-latest-backup-file').
1780 2012-09-18 Juri Linkov <juri@jurta.org>
1782 * dired.el (dired-mark): If the region is active in Transient Mark
1783 mode, mark all files in the active region. Doc fix.
1784 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1785 Doc fix. (Bug#10624)
1787 2012-09-18 Juri Linkov <juri@jurta.org>
1789 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1790 attributes for M-n are pulled from the file at point.
1791 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1792 Suggested by Drew Adams. (Bug#10624)
1794 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1796 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1797 whitespace after "end".
1798 (ruby-do-end-to-brace): Collapse block to one line if it fits
1801 2012-09-18 Martin Rudalics <rudalics@gmx.at>
1803 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1805 (debug): Don't remove debugger window when debugger is expected
1808 2012-09-18 Chong Yidong <cyd@gnu.org>
1810 * custom.el (defface): Doc fix.
1812 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1814 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1816 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1817 to initialize query-on-exit; then test that instead (bug#12288).
1819 2012-09-17 Stefan Merten <smerten@oekonux.de>
1821 * textmodes/rst.el: Add support for `testcover'.
1822 (rst-defcustom-testcover, rst-testcover-add-compose)
1823 (rst-testcover-add-1value): New functions.
1824 (rst-portable-mark-active-p): Replace by `use-region-p'.
1825 (rst-update-section, rst-classify-adornment)
1826 (rst-find-title-line): Mark `1value' forms.
1827 (rst-classify-adornment): Remove superfluous form.
1828 (rst-update-section, rst-get-adornments-around)
1829 (rst-adornment-complete-p, rst-get-next-adornment)
1830 (rst-adjust, rst-promote-region)
1831 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1832 (rst-find-pfx-in-region, rst-section-tree-rec)
1833 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1834 (rst-toc-node, rst-toc, rst-forward-section)
1835 (rst-iterate-leftmost-paragraphs)
1836 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1837 (rst-bullet-list-region)
1838 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1839 (rst-compile-find-conf, rst-compile)
1840 (rst-repeat-last-character): Fix style.
1842 2012-09-17 Chong Yidong <cyd@gnu.org>
1844 * comint.el (comint--complete-file-name-data): Don't add a space
1845 if the status is `sole'; that adds a gratuitous space in the
1846 completion-cycling case (Bug#12092).
1848 * pcomplete.el (pcomplete-completions-at-point): Likewise.
1850 2012-09-17 Richard Stallman <rms@gnu.org>
1852 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1853 only in the mime-shown mode, not in raw mode.
1854 (rmail-mime): Toggle off mime by displaying the message without
1855 mime processing. (Bug#12305)
1857 * mail/rmail.el (rmail-retry-failure):
1858 Turn off mime processing first. (Bug#12037)
1860 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1862 2012-09-17 Chong Yidong <cyd@gnu.org>
1864 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1865 (shell-dynamic-complete-functions): Convert to defcustom.
1866 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1868 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1869 * comint.el (comint-prompt-read-only):
1870 * custom.el (defcustom):
1871 * hi-lock.el (hi-lock-mode):
1872 * ibuffer.el (ibuffer-formats):
1873 * ielm.el (ielm-prompt-read-only):
1874 * novice.el (disable-command):
1875 * saveplace.el (toggle-save-place):
1876 * speedbar.el (speedbar-supported-extension-expressions):
1877 * startup.el (auto-save-list-file-prefix, init-file-user)
1878 (after-init-hook, inhibit-startup-echo-area-message):
1879 * strokes.el (strokes-help):
1880 * time-stamp.el (time-stamp):
1881 * calendar/calendar.el (calendar, diary-file):
1882 * calendar/diary-lib.el (diary-mail-entries, diary)
1883 (diary-list-entries-hook):
1884 * calendar/holidays.el (holidays, calendar-holidays):
1885 * calendar/lunar.el (lunar-phases):
1886 * calendar/solar.el (sunrise-sunset):
1887 * emulation/edt.el (edt-load-keys):
1888 * emulation/viper.el (viper-mode):
1889 * eshell/em-alias.el (eshell-command-aliases-list):
1890 * eshell/esh-util.el (eshell-convert-numeric-arguments):
1891 * international/ogonek.el (ogonek-information):
1892 * net/tramp-cmds.el (tramp-bug):
1893 * net/quickurl.el (quickurl-reread-hook-postfix):
1894 * play/decipher.el (decipher-font-lock-keywords):
1895 * progmodes/cc-styles.el (c-set-style):
1896 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
1897 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1898 * progmodes/octave-mod.el (octave-mode):
1899 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
1900 * progmodes/verilog-mode.el (verilog-read-defines):
1901 * textmodes/two-column.el (2C-mode): Likewise.
1903 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
1905 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
1906 that holds many addresses.
1908 2012-09-16 Chong Yidong <cyd@gnu.org>
1910 * align.el (align-areas): Call the indication function with
1911 positions instead of markers for arguments (Bug#12343).
1913 * files.el (parse-colon-path): Use split-string (Bug#12351).
1915 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
1916 (display-buffer-function): Mark as obsolete.
1918 * progmodes/compile.el (compilation-parse-errors): Accept list
1919 values similar to font-lock-keywords (Bug#12136).
1920 Suggested by Oleksandr Manzyuk.
1921 (compilation-error-regexp-alist): Doc fix.
1923 2012-09-15 Glenn Morris <rgm@gnu.org>
1925 * version.el (emacs-bzr-version-bzr): New function.
1926 (emacs-bzr-get-version): Add optional EXTERNAL argument.
1928 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
1929 checkouts, check the parent dirstate matches the branch.
1930 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
1933 * version.el (emacs-bzr-version): Doc fix.
1934 (emacs-bzr-version-dirstate): New function.
1935 (emacs-bzr-get-version): For lightweight checkouts, if the parent
1936 is local try and check that it matches the branch. If not, just
1937 use dirstate information. (Bug#12441)
1939 2012-09-14 Juri Linkov <juri@jurta.org>
1941 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
1944 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1946 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
1948 * emacs-lisp/edebug.el: Miscellaneous cleanup.
1949 Remove obsolete byte-compiler hack that tried to silence some warnings.
1950 (edebug-submit-bug-report): Remove.
1951 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
1952 Remove aliases, use the un-prefixed name instead.
1953 (edebug-pop-to-buffer): Consider other frames.
1954 (edebug-original-read):: Make it more obvious that it's always defined.
1955 (edebug--make-form-data-entry, edebug--form-data-name)
1956 (edebug--form-data-begin, edebug--form-data-end): Rename from the
1957 single-dashed name, and implement with cl-defstruct.
1958 (edebug-set-form-data-entry): Use the standard accessors.
1959 (edebug-make-top-form-data-entry): Use push.
1960 (edebug-no-match): Drop useless `funcall'.
1961 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
1963 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
1964 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
1965 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
1966 (easy-menu-define, with-custom-print): Remove redundant specs.
1967 (edebug-outside-overriding-local-map)
1968 (edebug-outside-overriding-terminal-local-map): Remove, unused.
1969 (edebug--display): Bind unread-command-events directly to nil rather
1970 than binding it to unread-command-events and later setting it to nil.
1971 (edebug--display): Kill edebug-eval-buffer here...
1972 (edebug--recursive-edit): ...rather than here.
1973 Bind standard-output and standard-input.
1974 (edebug-eval): Check cl-macroexpand-all is fboundp.
1975 (edebug-temp-display-freq-count): Fix last change.
1977 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
1978 * subr.el (noreturn, 1value): Add `debug' spec.
1979 * emacs-lisp/advice.el: Require cl-lib.
1980 (ad-copy-tree): Remove, use copy-tree instead.
1981 (ad-dolist): Remove use dolist or cl-dolist instead.
1982 (ad-do-return): Remove, use cl-return instead.
1983 (defadvice): Add `debug' spec.
1985 2012-09-13 Juri Linkov <juri@jurta.org>
1987 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
1990 2012-09-13 Glenn Morris <rgm@gnu.org>
1992 * calc/calc.el (math-compose-expr):
1993 * calc/calc-ext.el (math-compose-expr):
1994 * progmodes/cc-defs.el (cl-macroexpand-all):
1995 * progmodes/cc-langs.el (delete-duplicates, mapcan)
1996 (cl-macroexpand-all): Update declarations.
1998 * vc/vc.el: No need to require ediff.
1999 (ediff-load-version-control): Declare.
2000 (ediff-vc-internal): Fix declaration.
2001 (vc-version-ediff): Require ediff.
2003 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2005 Use a more backwards-compatible timer format (Bug#12430).
2006 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2007 being right after USECS, as that better supports old code that
2008 inadvisedly looked directly at the timer vector.
2010 2012-09-13 Kenichi Handa <handa@gnu.org>
2012 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2013 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2014 `coding-priority' property of these language environment.
2016 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2018 Fix glitches caused by addition of psec to timers (Bug#12430).
2019 * image.el (image-animate-timer):
2020 * time.el (display-time-world-timer):
2021 Use timer--function and timer--args rather than raw access to
2024 2012-09-13 Glenn Morris <rgm@gnu.org>
2026 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2027 If not compiling a file, try using load-file-name.
2029 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2031 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2033 (edebug-update-eval-list): Use `push'.
2035 * emacs-lisp/edebug.el: Use lexical-binding.
2036 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2037 Mark unused args with underscore.
2038 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2039 (edebug-form-data): Use defvar-local.
2040 (edebug-make-before-and-after-form, edebug-make-after-form):
2042 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2043 Not dynamically scoped any more.
2044 (edebug--enter-trace): Add arguments `function' and `args'.
2045 Rename from edebug-enter-trace.
2046 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2047 (edebug--update-coverage): Add `after-index' and `value' args.
2048 Rename from edebug-update-coverage.
2049 (edebug-slow-after): Call it accordingly.
2050 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2051 edebug-recursive-edit.
2052 (edebug--display): Call it accordingly. Add args `value',
2053 `offset-index', and `arg-mode'. Rename from edebug-display.
2054 (edebug-debugger, edebug): Call it accordingly.
2055 (edebug-eval-display-list): Use dolist.
2057 2012-09-12 Juri Linkov <juri@jurta.org>
2059 * info.el (Info-search): Don't check for isearch-mode and
2060 isearch-regexp before let-binding search-spaces-regexp to
2061 Info-search-whitespace-regexp.
2062 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2063 search-whitespace-regexp if isearch-lax-whitespace or
2064 isearch-regexp-lax-whitespace is non-nil.
2065 (Info-mode): Don't set local variable search-whitespace-regexp.
2066 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2068 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2070 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2071 (debugger-env-macro): Remove support for unread-command-char.
2073 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2074 the temporary map re-appearing on emulation-mode-map-alists.
2076 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2079 * ehelp.el (with-electric-help): Accept functions in
2080 electric-help-form-to-execute.
2081 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2082 And replace unread-command-char -> unread-command-events.
2084 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
2086 Sync with Tramp 2.2.6.
2088 * net/tramp.el (tramp-accept-process-output): Don't use
2089 JUST-THIS-ONE in the XEmacs case.
2091 * net/trampver.el: Update release number.
2093 2012-09-12 Martin Rudalics <rudalics@gmx.at>
2095 * emacs-lisp/debug.el (debugger-previous-window-height):
2097 (debug): When debugger-jumping-flag is non-nil try to restore
2098 height of debugger window. (Bug#8789)
2100 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2102 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2103 overriding-local-map and pre/post-command-hook here.
2104 (edebug-recursive-edit): Do it here instead (bug#12345).
2105 (edebug-outside-unread-command-char): Remove all uses of
2106 unread-command-char.
2108 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2109 inhibit-debugger is bound instead.
2111 2012-09-11 Bastien Guerry <bzg@gnu.org>
2113 * subr.el (set-temporary-overlay-map): Add a docstring.
2116 2012-09-11 Bastien Guerry <bzg@gnu.org>
2118 * minibuffer.el (completion-table-subvert): Fix docstring.
2121 2012-09-11 Bastien Guerry <bzg@gnu.org>
2123 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
2125 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2127 * progmodes/sql.el: Version 3.1
2128 (sql-db2-escape-newlines): New variable.
2129 (sql-escape-newlines-filter): Use it.
2131 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
2133 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2135 2012-09-10 Dan Nicolaescu <dann@gnu.org>
2137 * vc/diff-mode.el (diff-mode-menu):
2138 Bind diff-remove-trailing-whitespace.
2140 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2142 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
2143 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2144 (emacs-lisp-byte-code-mode): New functions.
2145 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2146 (eval-defun-2): Remove bogus interactive spec.
2147 (lisp-indent-line): Remove redundant whole-exp code, now done in
2148 indent-according-to-mode.
2149 (save-match-data): Remove redundant indent data.
2151 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2154 2012-09-09 Juri Linkov <juri@jurta.org>
2156 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2157 (replace-lax-whitespace, query-replace-regexp)
2158 (query-replace-regexp-eval, replace-regexp): Doc fix.
2159 (perform-replace, replace-highlight): Let-bind
2160 isearch-lax-whitespace to replace-lax-whitespace and
2161 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2163 * isearch.el (isearch-query-replace): Let-bind
2164 replace-lax-whitespace to isearch-lax-whitespace and
2165 replace-regexp-lax-whitespace to
2166 isearch-regexp-lax-whitespace. (Bug#10885)
2168 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2170 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2172 2012-09-09 Alan Mackenzie <acm@muc.de>
2174 * progmodes/cc-engine.el (c-state-cache-init):
2175 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2176 (c-record-parse-state-state):
2177 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
2179 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2181 * register.el (register-separator): Rename from
2182 separator-register. All uses changed. Doc fix.
2183 (register): Fix version.
2185 2012-09-09 Chong Yidong <cyd@gnu.org>
2187 * replace.el (query-replace-map): Bind four new symbols for
2188 requesting window scrolling.
2190 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2191 query-replace-map (Bug#8948).
2193 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2195 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2196 since they are now in query-replace-map.
2198 * window.el (scroll-other-window-down): Make the arg optional.
2200 2012-09-09 Chong Yidong <cyd@gnu.org>
2202 * files.el (hack-local-variables-confirm): Use quit-window to kill
2203 the *Local Variables* buffer.
2205 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2207 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2208 not just expect to be at its beginning. Adjust callees.
2209 Succeed when do-end block has no space before the pipe character.
2210 (ruby-brace-to-do-end): When the original block is one-liner,
2211 convert to multiline. Reindent the result.
2213 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
2215 * register.el (register): New group.
2216 (separator-register): New user option.
2217 (increment-register): Route it to `append-to-register', if
2218 register contains text. Implication is that `C-x r +' can now be
2219 used for appending to a text register (bug#12217).
2220 (append-to-register, prepend-to-register): Add separator based on
2221 `separator-register'.
2223 2012-09-08 Alan Mackenzie <acm@muc.de>
2225 AWK Mode: make auto-newline work when there's "==" in the pattern.
2226 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2228 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2229 Test more rigorously for "=" token.
2231 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2233 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2234 Only fail when reached LIMIT.
2236 2012-09-08 Chong Yidong <cyd@gnu.org>
2238 * dired.el (dired-mode-map): Don't bind M-=.
2240 * dired-aux.el (dired-diff): Use backup file as default.
2242 2012-09-08 Drew Adams <drew.adams@oracle.com>
2244 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2246 2012-09-08 Chong Yidong <cyd@gnu.org>
2248 * subr.el (syntax-after, syntax-class): Doc fix.
2250 2012-09-08 Martin Rudalics <rudalics@gmx.at>
2252 * window.el (display-buffer-in-previous-window): New buffer
2253 display action function.
2255 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2256 (debugger-previous-window): New variable.
2257 (debug): Rewrite using display-buffer-in-previous-window,
2258 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2260 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2262 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2264 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2266 * progmodes/python.el (python-shell-send-string):
2267 When default-directory is remote, create temp file on remote
2269 (python-shell-send-file): When file is remote, pass local view of
2270 file paths to remote Python interpreter. (Bug#12340)
2272 2012-09-07 Chong Yidong <cyd@gnu.org>
2274 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2276 * files.el (after-find-file): Don't fail on a read-only buffer if
2277 require-final-newline is `visit' or `visit-save' (Bug#11156).
2279 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2281 * userlock.el (ask-user-about-supersession-threat):
2282 Use read-char-choice (Bug#12093).
2284 2012-09-07 Chong Yidong <cyd@gnu.org>
2286 * subr.el (buffer-narrowed-p): New function.
2288 * ses.el (ses-widen):
2289 * simple.el (count-words--buffer-message):
2290 * net/browse-url.el (browse-url-of-buffer): Use it.
2292 * simple.el (count-words-region): Don't signal an error if there
2293 is a non-nil prefix arg and the mark is not set.
2295 * help.el (describe-key-briefly): Allow the message to be seen
2296 when invoked from the minibuffer (Bug#7014).
2298 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2300 * progmodes/ruby-mode.el (ruby-end-of-defun)
2301 (ruby-beginning-of-defun): Simplify, allow indentation before
2302 block beginning and end keywords.
2303 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2304 (ruby-end-of-defun): Expect that the point is at the beginning of
2307 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2309 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2311 (cl--make-usage-args): Strip _ from argument names.
2313 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2315 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2316 obsolete alias speedbar-key-map.
2317 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2318 (vhdl-index-menu-init): Don't use obsolete variable
2319 font-lock-maximum-size.
2321 2012-09-06 Chong Yidong <cyd@gnu.org>
2323 * frame.el (window-system-version): Mark as obsolete.
2325 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2326 of obsolete variable speedbar-key-map.
2328 2012-09-06 Juri Linkov <juri@jurta.org>
2330 * replace.el (replace-lax-whitespace): New defcustom.
2331 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2332 (replace-string, replace-regexp): Mention it in docstrings.
2333 (perform-replace, replace-highlight): Let-bind
2334 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2335 to the values of replace-lax-whitespace and regexp-flag.
2336 Don't let-bind search-whitespace-regexp. (Bug#10885)
2338 * isearch.el (isearch-query-replace): Let-bind
2339 replace-lax-whitespace instead of let-binding
2340 replace-search-function and replace-re-search-function.
2341 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2342 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2343 (isearch-toggle-symbol): Set isearch-regexp to nil
2344 in isearch-word mode (like in isearch-toggle-word).
2346 2012-09-06 Juri Linkov <juri@jurta.org>
2348 * replace.el (replace-search-function)
2349 (replace-re-search-function): Set default values to nil.
2350 (perform-replace): Let-bind isearch-related variables based on
2351 replace-related values, call `isearch-search-fun' and let-bind
2352 the result to `search-function'. Remove code that sets
2353 `search-function' and `search-string' separately for
2355 (replace-highlight): Add new argument `delimited-flag' and
2356 rename other arguments to the names used in `perform-replace'.
2357 Let-bind `isearch-word' to the argument `delimited-flag'.
2358 (Bug#10885, bug#10887)
2360 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2362 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2363 ruby-beginning-of-indent, simplify, allow all keywords to have
2364 indentation before them.
2365 (ruby-beginning-of-indent): Adjust for above. Search until the
2366 found point is not inside a string or comment.
2367 (ruby-font-lock-keywords): Allow symbols to start with "@"
2368 character, give them higher priority than variables.
2369 (ruby-syntax-propertize-function)
2370 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2371 matchers. Expression expansions are not comments when inside a
2372 string, and there comment syntax status is irrelevant.
2373 (ruby-match-expression-expansion): New function. Check that
2374 expression expansion is inside a string, and it's not escaped.
2375 (ruby-font-lock-keywords): Use it.
2377 2012-09-05 Martin Rudalics <rudalics@gmx.at>
2379 * help.el (temp-buffer-max-height): New default value.
2380 (temp-buffer-resize-frames): New option.
2381 (resize-temp-buffer-window): Optionally resize frame.
2383 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2384 (fit-frame-to-buffer): New function.
2386 2012-09-05 Glenn Morris <rgm@gnu.org>
2388 * emulation/cua-rect.el (cua--init-rectangles):
2389 * textmodes/picture.el (picture-mode-map):
2390 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2391 like forward-char and backward-char. (Bug#12317)
2393 2012-09-05 Leo Liu <sdl.web@gmail.com>
2395 * progmodes/flymake.el (flymake-warning-re): New variable.
2396 (flymake-parse-line): Use it.
2398 2012-09-05 Glenn Morris <rgm@gnu.org>
2400 * calendar/holidays.el (holiday-christian-holidays):
2401 Rename an entry. (Bug#12289)
2403 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2405 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2408 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2410 * loadup.el: Load macroexp. Remove hack.
2411 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2412 (macroexp--expand-all): Use it to get better warnings.
2413 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2414 (internal-macroexpand-for-load): New functions.
2415 (macroexp--pending-eager-loads): New var.
2416 (emacs-startup-hook): New hack to replace one in loadup.el.
2417 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2418 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2419 (cl-psetf): Simplify.
2420 (cl-defstruct): Add indent rule.
2422 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2424 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2425 over `user-mail-address' for the SMTP MAIL FROM envelope.
2426 (smtpmail-via-smtp): Ditto.
2428 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2430 * progmodes/ruby-mode.el: Clean up keybindings.
2431 (ruby-mode-map): Don't bind ruby-electric-brace,
2432 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2433 backward-kill-word, reindent-then-newline-and-indent.
2434 (ruby-mark-defun): Remove.
2435 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2436 (ruby-mode): Set local beginning-of-defun-function and
2437 end-of-defun-function values.
2439 2012-09-03 Martin Rudalics <rudalics@gmx.at>
2441 * window.el (temp-buffer-window-setup-hook)
2442 (temp-buffer-window-show-hook): New hooks.
2443 (temp-buffer-window-setup, temp-buffer-window-show)
2444 (with-temp-buffer-window): New functions.
2445 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2446 (special-display-popup-frame): Make sure the window used shows BUFFER.
2448 * help.el (temp-buffer-resize-mode): Fix doc-string.
2449 (resize-temp-buffer-window): New optional argument WINDOW.
2451 * files.el (recover-file, save-buffers-kill-emacs):
2452 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2454 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
2456 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2457 remote definition of `default-directory', ensure we can connect.
2459 2012-09-02 Juri Linkov <juri@jurta.org>
2461 Toggle whitespace matching mode with M-s SPC.
2462 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2464 * isearch.el (search-whitespace-regexp): Doc fix.
2465 Remove cons cell customization.
2466 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2467 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2469 (isearch-forward, isearch-forward-regexp): Doc fix.
2470 (isearch-toggle-lax-whitespace): New command.
2471 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2472 (re-search-forward-lax-whitespace)
2473 (re-search-backward-lax-whitespace): New functions.
2474 (isearch-whitespace-regexp): Remove function.
2475 (isearch-query-replace): Let-bind replace-search-function and
2476 replace-re-search-function.
2477 (isearch-occur): Let-bind search-spaces-regexp according to the
2478 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2479 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2480 condition for C-q SPC.
2481 (isearch-search-fun-default): Use new functions mentioned above.
2482 (isearch-search-forward, isearch-search-backward): Remove functions.
2483 (isearch-search): Don't let-bind search-spaces-regexp.
2484 (isearch-lazy-highlight-space-regexp): Remove variable.
2485 (isearch-lazy-highlight-lax-whitespace)
2486 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2487 (isearch-lazy-highlight-new-loop): Use them.
2488 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2490 2012-09-02 Chong Yidong <cyd@gnu.org>
2492 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2494 2012-09-02 Glenn Morris <rgm@gnu.org>
2496 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2498 2012-09-01 Glenn Morris <rgm@gnu.org>
2500 * term.el: Tidy up menu definitions.
2501 (term-mode-map): Use easymenu for In/Out, Complete menus.
2502 (term-pager-break-map): Initialize in the defvar.
2503 (term-terminal-menu, term-signals-menu): Define with easymenu.
2504 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2505 (term-pager-menu): New, extracted from term-process-pager.
2506 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2507 (term-update-mode-line): Propertize line/char and page items.
2508 (term-process-pager): Move keymap initialization elsewhere.
2510 2012-09-01 Martin Rudalics <rudalics@gmx.at>
2512 * window.el (switch-to-prev-buffer): Handle additional values of
2513 BURY-OR-KILL argument. Don't switch in minibuffer window.
2514 (switch-to-next-buffer): Don't switch in minibuffer window.
2515 (quit-restore-window): New function based on quit-window.
2516 Handle additional values of former KILL argument.
2517 (quit-window): Call quit-restore-window with appropriate
2518 interpretation of KILL argument.
2519 (display-buffer-below-selected): New buffer display action
2522 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2524 * minibuffer.el (completion-at-point-functions): Complete docstring
2527 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2529 Better seed support for (random).
2530 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2531 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2532 * play/mpuz.el, play/tetris.el, play/zone.el:
2533 * calc/calc-comb.el (math-init-random-base):
2534 * play/blackbox.el (bb-init-board):
2535 * play/life.el (life):
2536 * server.el (server-use-tcp):
2537 * type-break.el (type-break):
2538 Remove unnecessary call to (random t).
2539 * net/sasl.el (sasl-unique-id-function):
2540 Change (random t) to (random), now that the latter is more random.
2541 * play/life.el (life-initialized): Remove no-longer-needed var.
2543 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2545 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2546 Consider frame's buffer predicate when choosing the buffer.
2549 2012-08-30 Richard Stallman <rms@gnu.org>
2551 * simple.el (special-mode-map): Delete binding for `z'.
2553 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2555 * progmodes/compile.el (compilation-always-kill): Doc fix.
2557 2012-08-30 Chong Yidong <cyd@gnu.org>
2559 * window.el (display-buffer-reuse-frames): Make the obsolescence
2560 message more informative.
2562 2012-08-30 Glenn Morris <rgm@gnu.org>
2564 * paren.el (show-paren-delay):
2565 Add a :set function. Doc fix. (Bug#12297)
2567 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2569 * progmodes/compile.el (compilation-always-kill): New var.
2570 (compilation-start): Use it.
2572 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2574 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2575 * files.el (read-only-mode): Move to simple.el.
2577 * files.el (read-only-mode): New minor mode.
2578 (toggle-read-only): Use it and mark obsolete.
2579 (find-file--read-only):
2580 * vc/vc.el (vc-next-action, vc-checkout):
2581 * vc/vc-cvs.el (vc-cvs-checkout):
2582 * obsolete/vc-mcvs.el (vc-mcvs-update):
2583 * ffap.el (ffap--toggle-read-only): Update callers.
2585 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
2587 * eshell/esh-ext.el (eshell-external-command): Do not examine
2588 remote shell scripts.
2589 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
2591 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2594 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2596 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2598 2012-08-28 Leo Liu <sdl.web@gmail.com>
2600 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2601 completion-at-point. (Bug#12220)
2603 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2605 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2607 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2609 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2610 be buffer-local; add delete-trailing-whitespace (bug#12259).
2612 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
2614 * progmodes/hideif.el (hif-compress-define-list):
2615 Fix typo. (Bug#11951)
2617 2012-08-28 Dan Nicolaescu <dann@gnu.org>
2619 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2620 buffer local setting.
2622 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2623 rcirc-encode-coding-system.
2625 2012-08-28 Leo Liu <sdl.web@gmail.com>
2627 * net/rcirc.el (rcirc-split-message): New function.
2628 (rcirc-send-message): Use it. (Bug#12051)
2630 2012-08-28 Juri Linkov <juri@jurta.org>
2632 * info.el (Info-fontify-node): Hide empty lines at the end of
2633 the node. (Bug#12272)
2635 2012-08-27 Drew Adams <drew.adams@oracle.com>
2637 * dired.el (dired-pop-to-buffer): Make window start at beginning
2638 of buffer (Bug#12281).
2640 2012-08-26 Chong Yidong <cyd@gnu.org>
2642 * window.el (special-display-regexps, special-display-frame-alist)
2643 (special-display-buffer-names, special-display-function)
2644 (display-buffer-reuse-frames): Mark as obsolete.
2646 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2648 * help.el (help-print-return-message): Don't treat
2649 display-buffer-reuse-frames specially.
2651 2012-08-26 Chong Yidong <cyd@gnu.org>
2653 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2654 New variable, replacing gdb-frame-parameters.
2655 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2656 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2657 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2658 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2659 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2660 the functions directly with gdb-display-buffer-other-frame-action.
2661 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2662 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2663 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2664 (gdb-display-registers-buffer): Define directly.
2665 (def-gdb-display-buffer): Macro deleted.
2666 (gdb-display-buffer): Remove second and third args, callers don't
2667 use them. Defer to the default display-buffer behavior, apart
2668 from making windows dedicated.
2669 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2671 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2673 * window.el (display-buffer-pop-up-frame): Handle a
2674 pop-up-frame-parameters alist entry.
2675 (display-buffer): Document it.
2677 2012-08-26 Chong Yidong <cyd@gnu.org>
2679 * isearch.el (search-whitespace-regexp): Make string and nil
2680 values apply to both ordinary and regexp search. Allow a cons
2681 cell value to distinguish between the two.
2682 (isearch-whitespace-regexp, isearch-search-forward)
2683 (isearch-search-backward): New functions.
2684 (isearch-occur, isearch-search-fun-default, isearch-search)
2685 (isearch-lazy-highlight-new-loop): Use them.
2686 (isearch-forward, isearch-forward-regexp): Doc fix.
2688 2012-08-26 Chong Yidong <cyd@gnu.org>
2690 * faces.el (help-argument-name): Always inherit from italic
2693 2012-08-25 Martin Rudalics <rudalics@gmx.at>
2695 * window.el (window--even-window-heights): Even heights when
2696 WINDOW and the selected window form a vertical combination.
2697 (display-buffer-use-some-window): Provide that window used gets
2698 sized back by quit-window. (Bug#11880) and (Bug#12091)
2700 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2702 Fix file time stamp problem with bzr and CVS (Bug#12001).
2703 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2704 in the file's time stamp, since the version control system loses
2707 2012-08-22 Juri Linkov <juri@jurta.org>
2709 * info.el (Info-fontify-node): Hide the suffix of the
2710 Info file name in the header line. (Bug#12187)
2712 2012-08-22 Glenn Morris <rgm@gnu.org>
2714 * calendar/cal-tex.el (cal-tex-weekly-common):
2715 Restore leading blank page.
2717 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
2719 * misc.el (forward-to-word, backward-to-word): Activate or extend
2720 the region under `shift-select-mode'. (Bug#12231)
2722 2012-08-22 Bastien Guerry <bzg@gnu.org>
2724 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2725 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2726 gives details on why the space is never needed.
2728 2012-08-22 Martin Rudalics <rudalics@gmx.at>
2730 * window.el (walk-window-tree, window-with-parameter):
2731 New optional argument MINIBUF to control whether these functions
2732 should run on the minibuffer window.
2733 (window-at-side-list): Don't operate on minibuffer window.
2734 (window-in-direction): Simplify and rewrite doc-string.
2735 (window--size-ignore): Rename to window--size-ignore-p.
2737 (display-buffer-in-atom-window, window--major-non-side-window)
2738 (window--major-side-window, display-buffer-in-major-side-window)
2739 (delete-side-window, display-buffer-in-side-window):
2741 (window--side-check, window-deletable-p, delete-window)
2742 (delete-other-windows, split-window): Handle side windows and
2743 atomic windows appropriately.
2744 (window--display-buffer): Call display-buffer-record-window also
2745 when the window buffer did not change.
2747 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2749 * help-fns.el (help-fns--key-bindings):
2750 Abbreviate non-symbol remap targets. (Bug#12174)
2752 2012-08-22 Martin Rudalics <rudalics@gmx.at>
2754 * dired.el (dired-mark-remembered): Don't clobber point.
2757 2012-08-22 Glenn Morris <rgm@gnu.org>
2759 * progmodes/bug-reference.el (bug-reference): New custom group.
2760 (bug-reference-bug-regexp): Make it a defcustom.
2762 2012-08-22 Daiki Ueno <ueno@unixuser.org>
2764 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2765 (js-paren-indent-offset, js-square-indent-offset)
2766 (js-curly-indent-offset): Add :safe (Bug#12257).
2768 2012-08-22 Edward O'Connor <hober0@gmail.com>
2770 * json.el (json-key-format): Add error properties.
2771 (json-encode-key): New function.
2772 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2773 Use json-encode-key.
2775 2012-08-22 Glenn Morris <rgm@gnu.org>
2777 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2778 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2779 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2780 Update for above change.
2782 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2784 * cus-face.el (custom-face-attributes): Fix customize type for the
2785 :underline attribute. (Bug#11805)
2787 2012-08-21 Martin Rudalics <rudalics@gmx.at>
2789 * window.el (window-point-1, set-window-point-1): Remove.
2790 (window-in-direction, record-window-buffer)
2791 (set-window-buffer-start-and-point, split-window-below)
2792 (window--state-get-1, display-buffer-record-window):
2793 Replace calls to window-point-1 and set-window-point-1 by calls to
2794 window-point and set-window-point respectively.
2796 2012-08-21 Glenn Morris <rgm@gnu.org>
2798 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2799 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2802 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2803 (cal-tex-shortday): New function.
2804 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2805 (cal-tex-cursor-filofax-daily): Use the above.
2807 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2809 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2810 (cal-tex-cursor-filofax-week): Use them.
2812 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2814 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2815 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2817 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2818 (cal-tex-end-document): Don't rely on buffer name.
2820 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2822 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2823 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2824 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2827 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2828 (cal-tex-cursor-week, cal-tex-cursor-week2)
2829 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2830 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2831 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2832 (cal-tex-insert-preamble, cal-tex-b-document)
2833 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2834 Improve cal-tex-cmd usage.
2836 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2837 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2838 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2839 (cal-tex-weekly-paper): New function.
2840 (cal-tex-cursor-week, cal-tex-cursor-week2)
2841 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2842 (cal-tex-cursor-day): Use it.
2844 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2845 (cal-tex-cursor-filofax-week): Remove leading blank page.
2847 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2848 Add autoload cookie. For now at least, don't use color, since
2849 no other cal-tex function does.
2851 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2852 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2853 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2855 2012-08-21 Juri Linkov <juri@jurta.org>
2857 * info.el (Info-file-attributes): New variable.
2858 (info-insert-file-contents): Add file attributes to
2859 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2860 `Info-toc-nodes' when previous modtime of the Info file is less
2862 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2863 of info.el. (Bug#12230)
2865 2012-08-20 Glenn Morris <rgm@gnu.org>
2867 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2868 * calendar/holidays.el (calendar-holiday-list):
2869 Report errors with display-warning rather than beep'n'sleep.
2871 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
2873 * net/tramp.el (tramp-accept-process-output): Accept only output
2874 from PROC. Otherwise, process filters and sentinels might be
2875 confused. (Bug#12145)
2877 2012-08-20 Chong Yidong <cyd@gnu.org>
2879 * descr-text.el (describe-text-properties-1): Use overlays-in to
2880 report on empty overlays (Bug#3322).
2882 2012-08-20 Glenn Morris <rgm@gnu.org>
2884 * mail/rmailout.el (rmail-output-read-file-name):
2885 Trap and report errors in rmail-output-file-alist elements.
2887 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2888 since most non-font-lock faces are not also variables).
2890 2012-08-20 Edward Reingold <reingold@iit.edu>
2892 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2893 New function. (Bug12160)
2895 2012-08-19 Glenn Morris <rgm@gnu.org>
2897 * mail/rmailout.el (rmail-output-read-file-name):
2898 Fix previous change (when the alist is nil or does not match).
2900 2012-08-19 Chong Yidong <cyd@gnu.org>
2902 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2905 2012-08-18 Chong Yidong <cyd@gnu.org>
2907 * simple.el (yank-handled-properties): New defcustom.
2908 (yank-excluded-properties): Add font-lock-face and category.
2911 * subr.el (remove-yank-excluded-properties):
2912 Obey yank-handled-properties. The special handling of font-lock-face
2913 and category is now done this way, instead of being hard-coded.
2914 (insert-for-yank-1): Remove font-lock-face handling.
2915 (yank-handle-font-lock-face-property)
2916 (yank-handle-category-property): New function.
2918 2012-08-17 Glenn Morris <rgm@gnu.org>
2920 * mail/rmailout.el (rmail-output-read-file-name):
2921 Check rmail-output-file-alist against the full message body
2922 in the correct rmail buffer. (Bug#12214)
2924 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
2926 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2927 Eliminate superfluous prompt. (Bug#12203)
2929 2012-08-17 Chong Yidong <cyd@gnu.org>
2931 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2932 font spec, set the font directly (Bug#3228).
2934 2012-08-17 Martin Rudalics <rudalics@gmx.at>
2936 * window.el (delete-window): Fix last fix.
2938 2012-08-16 Martin Rudalics <rudalics@gmx.at>
2940 * window.el (window-valid-p): Move to window.c.
2941 (window-child, window-child-count, window-last-child)
2942 (window-normalize-window, window-combined-p)
2943 (window-combinations, window-atom-root, window-min-size)
2944 (window-sizable, window-sizable-p, window-size-fixed-p)
2945 (window-min-delta, window-max-delta, window--resizable)
2946 (window--resizable-p, window-resizable, window-total-size)
2947 (window-full-height-p, window-full-width-p, window-body-size)
2948 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2949 (minimize-window, window-deletable-p, delete-window)
2950 (delete-other-windows, set-window-buffer-start-and-point)
2951 (next-buffer, previous-buffer, split-window, balance-windows-2)
2952 (set-window-text-height, window-buffer-height)
2953 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
2954 (truncated-partial-width-window-p): Minor code adjustments.
2955 In doc-strings state whether the argument window has to denote a
2956 live, valid or any window.
2958 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2960 * progmodes/subword.el (subword-forward-function)
2961 (subword-backward-function, subword-forward-regexp)
2962 (subword-backward-regexp): New variables.
2963 (subword-forward, subword-forward-internal, subword-backward-internal):
2964 Use new variables, eg so that different "word" definitions
2965 can be easily used. (Bug#11411)
2967 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2969 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2970 for composite selectors.
2971 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2972 operation just because we can't find a previous revision.
2974 2012-08-15 Chong Yidong <cyd@gnu.org>
2976 * frame.el (set-frame-font): Accept font objects.
2978 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2980 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2982 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2984 * man.el (Man-overstrike-face, Man-underline-face)
2985 (Man-reverse-face): Remove variables.
2986 (Man-overstrike, Man-underline, Man-reverse): New faces.
2987 (Man-fontify-manpage): Use them instead of the variables.
2988 (Man-cleanup-manpage): Comment change.
2989 (Man-ansi-color-map): New variable.
2990 (Man-fontify-manpage): Use it.
2991 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2993 Implement ANSI SGR parameters 22-27 (bug#12146).
2994 * ansi-color.el (ansi-colors): Doc fix.
2995 (ansi-color-context, ansi-color-context-region): Doc fix.
2996 (ansi-color--find-face): New function.
2997 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2998 Rename the local variable `face' to `codes' since it is now a list of
2999 ansi codes. Doc fix.
3000 (ansi-color-get-face): Remove.
3001 (ansi-color-parse-sequence): New function, derived from
3002 ansi-color-get-face.
3003 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3006 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3008 * subr.el (read-passwd): Allow use from a minibuffer.
3010 2012-08-14 Eli Zaretskii <eliz@gnu.org>
3012 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3013 inside comments and strings as identifiers.
3015 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3016 expression to evaluate. This allows to evaluate expressions with
3017 embedded whitespace.
3018 (gud-tooltip-tips): Add a blank before the newline in the
3019 message-box text, for the benefit of message-box emulation on
3022 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3023 messages from GDB, pop them up in a tooltip to give feedback to
3025 (gdb-tooltip-print-1): Quote the expression to evaluate.
3026 This allows to evaluate expressions with embedded whitespace.
3027 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3028 if the TTY name is nil or empty (which happens when communicating
3029 with the inferior via pipes, e.g. on MS-Windows).
3030 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3031 don't send that to the GUD buffer.
3033 2012-08-14 Glenn Morris <rgm@gnu.org>
3035 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3036 Optimize away setq-default with no args, as for setq. (Bug#12195)
3038 2012-08-14 Chong Yidong <cyd@gnu.org>
3040 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3042 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3045 2012-08-14 Glenn Morris <rgm@gnu.org>
3047 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3049 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
3051 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3052 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3053 Use cached shell name.
3055 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3057 * progmodes/python.el (python-shell-send-string):
3058 (python-shell-send-setup-code): Do not use `format' with `message'.
3060 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3062 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3063 (ruby-percent-literal-beg-re): New constant.
3064 (ruby-syntax-general-delimiters-goto-beg): Rename to
3065 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3066 (ruby-syntax-propertize-general-delimiters): Rename to
3067 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3068 popular term. Adjust comments everywhere.
3069 (ruby-syntax-propertize-percent-literal): Only propertize when not
3070 inside a simple string or comment. When the literal is unclosed,
3071 leave the text after it unpropertized.
3072 (ruby-syntax-methods-before-regexp): New constant.
3073 (ruby-syntax-propertize-function): Use it to recognize regexps.
3074 Don't look at the text after regexp, just use the whitelist.
3076 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3078 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3079 non-nil always load the compiled file if it exists. (Bug#12197)
3081 2012-08-14 Chong Yidong <cyd@gnu.org>
3083 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3084 (hi-lock-set-pattern): When deciding whether to use font lock or
3085 overlays, look at font-lock-mode instead of font-lock-fontified
3087 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3088 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3090 2012-08-14 Daiki Ueno <ueno@unixuser.org>
3092 * subr.el (internal--after-with-selected-window): Fix typo
3095 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3097 Use `completion-table-dynamic' for completion functions.
3098 * progmodes/python.el
3099 (python-shell-completion--do-completion-at-point)
3100 (python-shell-completion--get-completions):
3102 (python-shell-completion-complete-at-point): New function.
3103 (python-completion-complete-at-point): Use it.
3105 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
3107 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3108 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3110 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3112 * subr.el (function-get): Refine `autoload' arg so it can also
3113 autoload functions for gv.el (bug#12191).
3114 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3117 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3118 Prefer pcase-let over destructuring-bind.
3119 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3120 Also, remove whitespace as we go, rather than after accumulating the
3123 * subr.el (internal--before-with-selected-window)
3124 (internal--after-with-selected-window): Fix typo seleted->selected.
3125 (with-selected-window): Adjust callers.
3126 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3128 2012-08-13 Bastien Guerry <bzg@gnu.org>
3130 * window.el (special-display-popup-frame): Minor docstring
3131 enhancement. (Bug#12172)
3133 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3135 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3137 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3140 * files.el (hack-local-variables-filter): Remove useless eval.
3142 2012-08-13 Martin Rudalics <rudalics@gmx.at>
3144 * subr.el (with-selected-window): Fix last change.
3146 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3148 * subr.el (internal--before-with-seleted-window)
3149 (internal--after-with-seleted-window): New functions.
3150 (with-selected-window): Use them, to replace dependency on
3153 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3155 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3156 binding for `newline'.
3157 (ruby-move-to-block): When moving backward, stop at block opening,
3159 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3160 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3161 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3162 `ruby-toggle-block'.
3164 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3166 * ibuffer.el (ibuffer-do-toggle-read-only):
3167 * dired.el (dired-toggle-read-only):
3168 * buff-menu.el (Buffer-menu-toggle-read-only):
3169 * bindings.el (mode-line-toggle-read-only):
3170 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3172 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3174 * descr-text.el (describe-char): Put the overlays over the
3175 "displayed as" character.
3177 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3179 * calc/calc-units.el (math-default-units-table): Give an
3181 (math-put-default-units): Add options to put composite units and
3182 unit systems in the default units table.
3183 (calc-convert-units): Send composite units to
3184 `math-put-default-units' when appropriate.
3186 2012-08-11 Glenn Morris <rgm@gnu.org>
3188 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3190 * tutorial.el (help-with-tutorial):
3191 * emacs-lisp/copyright.el (copyright-update-directory):
3192 * emacs-lisp/autoload.el (autoload-find-generated-file)
3193 (autoload-find-file): Disable local eval: (for insurance).
3195 * files.el (hack-local-variables-filter): If an eval: form is not
3196 known to be safe, and enable-local-variables is :safe, then ignore
3197 the form totally, as is done for non-eval forms. (Bug#12155)
3198 This is CVE-2012-3479.
3200 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3202 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3203 (rx-form): Simplify.
3205 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3207 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3208 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3209 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3210 (ruby-syntax-propertize-function): Adjust for changes in
3211 `ruby-syntax-propertize-heredoc'.
3213 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3215 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3216 binding (use `M-;' instead).
3217 (ruby-singleton-class-p): New function.
3218 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
3220 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3222 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3224 2012-08-10 Chong Yidong <cyd@gnu.org>
3226 * progmodes/python.el (python-shell-get-process-name): Don't mess
3227 with same-window-buffer-names.
3229 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3230 (eshell-remove-from-window-buffer-names): Make obsolete.
3231 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3232 (eshell): Just use pop-to-buffer-same-window instead.
3234 2012-08-10 Chong Yidong <cyd@gnu.org>
3236 * bindings.el: Bind M-= back to count-words-region.
3238 * simple.el (count-words-region): Accept a prefix arg for acting
3239 on the entire buffer.
3240 (count-words--buffer-message): New helper function.
3242 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3244 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3245 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3246 (event-start, event-end): Use posn-at-point to return a more
3248 (posnp): New function.
3249 * mouse.el (popup-menu-normalize-position): Use it.
3251 2012-08-10 Masatake YAMATO <yamato@redhat.com>
3253 * mouse.el (popup-menu-normalize-position): New function.
3254 (popup-menu): Use `popup-menu-normalize-position' to normalize
3255 the form for POSITION argument.
3257 * term/x-win.el (x-menu-bar-open):
3258 Use the value returend from (posn-at-point) as position
3259 passed to `popup-menu'.
3261 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3263 * calc/calccomp.el (math-compose-expr): Add extra argument
3264 indicating that parentheses should be put around products in
3265 denominators. Give multiplication precedence over division during
3268 2012-08-09 Chong Yidong <cyd@gnu.org>
3270 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3271 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3272 (Man-untabify-command, manual-program): Convert to defcustom
3275 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3277 * descr-text.el (describe-char): Don't insert extra newlines
3280 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3281 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3283 * align.el (align-region): Delete temporary markers (Bug#10047).
3284 Plus some code cleanups.
3286 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3288 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3289 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3290 (python-shell-internal-last-output): Use make-local-variable
3291 instead of make-variable-buffer-local.
3293 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3295 * progmodes/python.el: Enhancements to forward-sexp.
3296 (python-nav-forward-sexp): Rename from
3297 python-nav-forward-sexp-function.
3298 (python-nav--forward-sexp, python-nav--backward-sexp):
3301 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3303 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3304 modes and simplification modes.
3306 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3308 * delsel.el (delete-selection-pre-hook): Don't propagate the
3309 file-supersession signals (bug#12161).
3311 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3313 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3314 (cl-map-extents): Add compatibility aliases (bug#12135).
3316 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
3318 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3319 tests by `ignore-error'.
3320 (tramp-find-shell): Open also a new shell, when cache is already
3321 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3323 2012-08-08 Juri Linkov <juri@jurta.org>
3325 * bookmark.el: Add `defaults' property to the bookmark record.
3326 (bookmark-current-buffer): Doc fix.
3327 (bookmark-make-record): Add `defaults' property with default values
3328 to the bookmark record.
3329 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3330 with `bookmark-insert-current-bookmark'.
3331 (bookmark-set): Get `defaults' property from the bookmark record
3332 and use it in `read-from-minibuffer'.
3333 (bookmark-insert-current-bookmark): Remove function.
3335 * info.el (Info-bookmark-make-record): Add `defaults' property
3336 with values of canonical Info node name, the current Info file
3337 name and the current Info node name. (Bug#12107)
3339 2012-08-08 Juri Linkov <juri@jurta.org>
3341 * files.el (basic-save-buffer): Use `buffer-name' as the default
3342 of `read-file-name' when buffer is not visiting a file (bug#12128).
3344 2012-08-08 Juri Linkov <juri@jurta.org>
3346 * info.el (Info-isearch-search): Doc fix.
3347 (Info-search): Change search-failed message from "initial node" to
3348 "end of node" (bug#12078).
3349 (Info-isearch-search): Change `isearch-string-state' to
3350 `isearch--state-string'.
3352 2012-08-08 Glenn Morris <rgm@gnu.org>
3354 * language/persian.el: Remove file.
3355 * language/misc-lang.el: Move unique part of persian.el here.
3356 * loadup.el: Remove language/persian.
3358 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3360 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3362 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3364 * progmodes/python.el Fixed defsubst warning.
3365 (python-syntax-context) Rename from python-info-ppss-context.
3366 (python-syntax-context-type): Rename from
3367 python-info-ppss-context-type.
3368 (python-syntax-comment-or-string-p): Rename from
3369 python-info-ppss-comment-or-string-p.
3371 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3373 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3375 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3377 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3378 a defcustom that is quoted with backquote.
3380 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3381 Fix handling of interactive spec when the body uses return.
3382 (math-do-arg-check, math-define-function-body): Use backquote forms.
3383 * calc/calc-ext.el (math-defcache): Likewise.
3384 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3385 * allout.el (allout-new-exposure): Likewise.
3386 * calc/calcalg2.el (math-tracing-integral): Likewise.
3387 * info.el (Info-last-menu-item): Likewise.
3388 * emulation/vip.el (vip-loop): Likewise.
3389 * textmodes/artist.el (artist-funcall): Likewise.
3390 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3391 Construct menu-item directly.
3393 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3396 2012-08-07 Chong Yidong <cyd@gnu.org>
3398 * simple.el (deactivate-mark): Preserve text properties when
3399 saving the primary selection (Bug#8384).
3401 2012-08-07 Kevin Ryde <user42@zip.com.au>
3403 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3404 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3405 and continue processing (Bug#12110).
3407 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3409 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3410 syntax-propertize-function (bug#10095).
3412 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3414 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3415 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3416 describe-function-1.
3417 (describe-function-1): Use them. Move compiler macro after sig.
3418 (help-fns--compiler-macro): Use function-get. Assume we're already in
3419 standard-output. Adjust layout to new call order.
3421 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3422 re-binding a symbol that has a symbol-macro (bug#12119).
3424 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3426 * language/persian.el: New file. (Bug#11812)
3427 * loadup.el: Add language/persian.el.
3429 2012-08-06 Chong Yidong <cyd@gnu.org>
3431 * window.el (window--maybe-raise-frame): New function.
3432 (window--display-buffer): Split off from here.
3433 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3434 (display-buffer-pop-up-window, display-buffer-use-some-window):
3435 Obey an inhibit-switch-frame action alist entry.
3436 (display-buffer): Update doc.
3438 * replace.el (occur-after-change-function): Avoid losing focus by
3439 using the inhibit-switch-frame display parameter (Bug#12139).
3441 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3443 Make internal shell process buffer names start with space.
3444 * progmodes/python.el (python-shell-make-comint): Add optional
3446 (run-python-internal): Use it.
3447 (python-shell-internal-get-or-create-process): Check for new
3448 internal buffer names.
3450 2012-08-06 Glenn Morris <rgm@gnu.org>
3452 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
3453 Do less getting and setting of environment variables.
3455 2012-08-05 Chong Yidong <cyd@gnu.org>
3457 * proced.el (proced): Add substitution string to docstring to
3458 trigger autoloading of the proced library on C-h f (Bug#1768).
3460 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3461 Don't show defvars which have no second argument (Bug#8638).
3463 * imenu.el (imenu-generic-expression): Move documentation here
3464 from imenu--generic-function.
3465 (imenu--generic-function): Refer to imenu-generic-expression.
3467 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
3469 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3470 indentation declaration.
3471 (viper-loop): Add indentation declaration (Bug#7025).
3473 2012-08-05 Chong Yidong <cyd@gnu.org>
3475 * help-fns.el (describe-variable): Add hyperlink for
3476 directory-local variables files. Improve buffer-local and
3477 permanent-local reporting; suggested by MON KEY (Bug#6644).
3479 * help-mode.el (help-dir-local-var-def): New button type.
3481 * files.el (kill-buffer-hook): Provide a defvar.
3483 2012-08-05 Glenn Morris <rgm@gnu.org>
3485 * eshell/esh-ext.el (eshell/addpath):
3486 Also update eshell-path-env. (Bug#12013)
3488 2012-08-05 Chong Yidong <cyd@gnu.org>
3490 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
3492 * fringe.el (fringe-styles): Add docstring.
3493 (fringe--check-mode): New function.
3494 (set-fringe-mode, set-fringe-style): Use it.
3495 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3497 * files.el (set-auto-mode): Fix invalid setq call.
3499 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3501 * isearch.el: Misc simplification; use defstruct.
3502 (isearch-mode-map): Dense maps now work like sparse ones.
3503 (isearch--state): New defstruct.
3504 (isearch-string-state, isearch-message-state, isearch-point-state)
3505 (isearch-success-state, isearch-forward-state)
3506 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3507 (isearch-wrapped-state, isearch-barrier-state)
3508 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3509 replaced by defstruct's accessors.
3510 (isearch--set-state): Rename from isearch-top-state and change
3512 (isearch-push-state): Use new isearch--get-state.
3513 (isearch-toggle-word): Disable regexp when enabling word.
3514 (isearch-message-prefix): Remove unused arg _c-q-hack.
3515 (isearch-message-suffix): Remove unused arg _ellipsis.
3517 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3519 * simple.el (list-processes--refresh): For a server use :host or
3520 :local as the address.
3521 (list-processes): Doc fix.
3523 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
3525 * lisp/mpc.el: Support password in host argument.
3526 (mpc--proc-connect): Parse and use new password element.
3527 Set mpc-proc variable instead of returning process.
3528 (mpc-proc): Adjust accordingly.
3530 2012-08-03 Eli Zaretskii <eliz@gnu.org>
3532 * whitespace.el (whitespace-display-mappings): Use Unicode
3533 codepoints, instead of emacs-mule codepoints. See
3534 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3537 * files.el (file-truename): Don't skip symlink-chasing part on
3538 windows-nt. Incorporate the resolution of 8+3 short aliases on
3539 Windows into the loop that recursively chases symlinks.
3540 Compare directory and its parent case-insensitively on MS-Windows and
3543 2012-08-03 Chong Yidong <cyd@gnu.org>
3545 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3547 * sort.el (sort-regexp-fields): Doc fix.
3549 2012-08-03 Tassilo Horn <tsdh@gnu.org>
3551 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3552 labels regex position point at the expected place.
3554 2012-08-03 MON KEY <monkey@sandpframing.com>
3556 * net/imap.el (imap-interactive-login, imap-authenticate)
3557 (imap-mailbox-lsub, imap-mailbox-list)
3558 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3559 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3560 (imap-parse-response): Doc fix.
3562 2012-08-03 João Távora <joaotavora@gmail.com>
3564 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3565 if sexp scanning does not move point (Bug#5734).
3567 2012-08-02 Tassilo Horn <tsdh@gnu.org>
3569 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3570 Add listings, minted, and ctable packages.
3571 (reftex-label-alist-builtin): Move listings, minted, and ctable
3572 entries before LaTeX.
3573 (reftex-label-alist): Docfix.
3575 2012-08-02 Bastien Guerry <bzg@gnu.org>
3577 * replace.el (occur): Fix docstring (bug#12122).
3579 2012-08-02 Glenn Morris <rgm@gnu.org>
3581 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3583 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3585 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3586 * international/mule-cmds.el: Create
3587 inactivate-current-input-method-function as an obsolete alias for
3588 deactivate-current-input-method-function. See Katsumi Yamaoka in
3589 <http://bugs.gnu.org/10150#46>.
3591 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3593 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3596 2012-08-01 Glenn Morris <rgm@gnu.org>
3598 * progmodes/autoconf.el (autoconf-definition-regexp):
3599 Add AH_TEMPLATE, adjust submatch numbering.
3600 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3601 (autoconf-current-defun-function): Update for above change.
3602 (autoconf-current-defun-function): First skip to end of current word.
3604 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3606 * calendar/cal-html.el (cal-html-insert-agenda-days):
3607 Fix typo. (Bug#12018)
3609 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3611 Shell processes: enhancements to startup and CEDET compatibility.
3612 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3613 (python-shell-make-comint): accept-process-output at startup.
3614 (run-python-internal): Set inferior-python-mode-hook to nil.
3615 (python-shell-internal-get-or-create-process): call sit-for.
3616 (python-preoutput-result): Add obsolete alias.
3617 (python-shell-internal-send-string): Use it.
3618 (python-shell-send-setup-code): Remove call to
3619 accept-process-output.
3621 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3623 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3626 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3628 * calc-mode.el (calc-basic-simplification-mode): Rename from
3629 `calc-limited-simplification-mode'.
3630 (calc-alg-simplification-mode): New function.
3631 (calc-set-simplify-mode): Adjust message.
3633 * calc.el (calc-set-mode-line): Adjust mode line display for
3634 basic simplification mode.
3636 * calc-help.el (calc-m-prefix-help): Update help message.
3638 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3639 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3641 2012-07-31 Bastien Guerry <bzg@gnu.org>
3643 * man.el (man): Fix comment. (bug#12101)
3645 2012-07-31 Martin Rudalics <rudalics@gmx.at>
3647 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3648 Don't return a non-nil value when no suitable buffer was found.
3650 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3652 * progmodes/python.el (run-python-internal): Disable font lock for
3655 2012-07-30 Stefan Merten <smerten@oekonux.de>
3657 * textmodes/rst.el: Silence `checkdoc-ispell'.
3658 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3659 (rst-official-version, rst-official-cvs-rev)
3660 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3661 (rst-mode-map): New key binding.
3663 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3665 Update .PHONY listings in makefiles.
3666 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3667 autoloads, update-subdirs, updates, bzr-update, update-authors,
3668 compile-onefile, compile-calc, backup-compiled-files,
3669 compile-after-backup, compile-one-process, mh-autoloads,
3670 bootstrap-clean, distclean, maintainer-clean.
3672 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3674 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3675 (calc-set-mode-line): Don't display "AlgSimp ".
3677 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3678 (calc-lim-simplify-mode): New function.
3679 (calc-set-simplify-mode): Default to 'alg.
3680 (calc-default-simplify-mode): Make algebraic simplifications
3683 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3684 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3686 * calc/calc-help.el (calc-m-prefix-help): Change messages to
3687 indicate new simplification modes.
3689 * calc/README: Mention new default simplification mode.
3691 * calc/calc.el (math-normalize-error): New variable.
3692 (math-normalize): Set `math-normalize-error' to t
3693 when there's an error.
3695 * calc/calc-alg.el (math-simplify): Don't simplify when
3696 `math-normalize' returns an error.
3698 2012-07-29 Eli Zaretskii <eliz@gnu.org>
3700 * international/mule-cmds.el (set-locale-environment): Revert last
3701 change, since display-graphic-p returns nil when this function is
3702 called during startup. Instead...
3704 * term/w32console.el (terminal-init-w32console): ...setup the
3705 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3707 2012-07-29 Juri Linkov <juri@jurta.org>
3709 * simple.el (goto-line): Don't display default line number in the
3710 prompt because it should be displayed by `read-number' (bug#9952).
3711 Add the current line number to the defaults of `goto-line' to
3712 allow its easier modification by users with `M-n' (bug#9201).
3714 * subr.el (read-number): Support multiple default values like in
3715 other minibuffer reading functions. Replace `read' with
3716 `string-to-number' for consistency with `number-to-string'.
3718 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3720 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3721 * emulation/viper-init.el (viper-deactivate-input-method-action):
3722 Rename from viper-inactivate-input-method-action.
3723 (viper-deactivate-input-method):
3724 Rename from viper-inactivate-input-method.
3725 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3726 * international/mule-cmds.el (deactivate-input-method):
3727 Rename from inactivate-input-method.
3728 Also run input-method-deactivate-hook.
3729 (deactivate-current-input-method-function):
3730 Rename from inactivate-current-input-method-function.
3731 (input-method-deactivate-hook): New hook.
3732 (input-method-inactivate-hook): Mark obsolete.
3733 (inactivate-input-method): Mark obsolete.
3735 * international/quail.el (quail-activate):
3736 Also run quail-deactivate-hook.
3737 (quail-deactivate): Rename from quail-inactivate.
3738 * international/robin.el (robin-activate):
3739 Also run robin-deactivate-hook.
3740 (robin-deactivate): Rename from robin-inactivate.
3742 2012-07-29 Chong Yidong <cyd@gnu.org>
3744 * simple.el (indicate-copied-region): New function.
3745 (kill-ring-save): Split off from here.
3747 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3748 (kill-rectangle): Set deactivate-mark to t on read-only error.
3750 * register.el (copy-to-register, copy-rectangle-to-register):
3751 Deactivate the mark, and use indicate-copied-region (Bug#10056).
3752 (append-to-register, prepend-to-register): Call indicate-copied-region.
3754 2012-07-29 Juri Linkov <juri@jurta.org>
3756 * simple.el (async-shell-command-buffer): New defcustom.
3757 (shell-command): Use it. (Bug#4719)
3759 2012-07-28 Eli Zaretskii <eliz@gnu.org>
3761 * international/mule-cmds.el (set-locale-environment): In a
3762 console session on MS-Windows, set up keyboard and terminal
3763 encoding from the OEM codepage, not the ANSI codepage.
3766 2012-07-28 Chong Yidong <cyd@gnu.org>
3768 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3771 2012-07-28 Leo Liu <sdl.web@gmail.com>
3773 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3774 the alist (bug#12029).
3776 2012-07-28 Eli Zaretskii <eliz@gnu.org>
3778 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3779 (compile-always, compile-first)
3780 ($(lisp)/calendar/cal-loaddefs.el)
3781 ($(lisp)/calendar/diary-loaddefs.el)
3782 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3783 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3784 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3785 instead of on update-subdirs.
3786 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3788 2012-07-28 Chong Yidong <cyd@gnu.org>
3790 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3791 directory if vc-deduce-backend returns nil (Bug#7350).
3793 * simple.el (delete-trailing-lines): New option.
3794 (delete-trailing-whitespace): Obey it (Bug#11879).
3796 2012-07-28 David Engster <deng@randomsample.de>
3798 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3799 Explanation of new 'symbol-qnames feature in doc-strings.
3800 (xml-maybe-do-ns): Return expanded names as plain symbols if
3801 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3802 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3804 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3806 Consistent completion in inferior python with emacs -nw.
3807 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3808 binding in inferior-python-mode-map with "\t".
3809 (python-shell-completion-complete-at-point)
3810 (python-completion-complete-at-point): Remove interactive spec.
3812 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3814 * calc/calccomp.el (math-compose-expr): Undo previous change.
3816 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3818 * progmodes/python.el (python-mode-map): Add keybinding for
3820 (python-shell-make-comint): Fix pop-to-buffer call.
3821 (run-python): Autoload. New arg SHOW.
3822 (python-shell-get-or-create-process): Do not pop python process
3825 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
3827 * notifications.el (notifications-on-action-signal)
3828 (notifications-on-closed-signal): Use also the bus address for the map.
3829 (notifications-notify, notifications-close-notification)
3830 (notifications-get-capabilities): Add optional argument BUS.
3832 2012-07-27 Tassilo Horn <tsdh@gnu.org>
3834 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3835 Add support for the lstlisting and minted environments, and for the
3837 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3838 labels written in keyvals syntax.
3840 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3842 * calc/calccomp.el (math-compose-expr): Use parentheses when
3843 there is a product in the denominator of a fraction.
3845 2012-07-26 Eli Zaretskii <eliz@gnu.org>
3847 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3848 ($(lisp)/calendar/diary-loaddefs.el)
3849 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3850 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3851 Fixes failures in parallel bootstrap because subdirs.el is being
3852 rewritten while the autoload files are built at the same time,
3853 which needs to load subdirs.el.
3855 2012-07-26 Martin Rudalics <rudalics@gmx.at>
3857 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3858 (mouse-drag-line): Don't exit tracking when a switch-frame or
3859 switch-window event occurs (Bug#12006).
3861 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3863 * mouse.el (popup-menu): Fix last change.
3865 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3867 Autoload from Lisp with more care. Follow aliases when looking for
3868 function properties.
3869 * subr.el (autoloadp): New function.
3870 (symbol-file): Use it.
3871 (function-get): New function.
3872 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3874 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3875 (lisp-indent-function):
3876 * emacs-lisp/gv.el (gv-get):
3877 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3878 * emacs-lisp/byte-opt.el (byte-optimize-form):
3879 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3880 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3882 * emacs-lisp/cl.el: Don't propagate function properties any more.
3884 * speedbar.el (speedbar-add-localized-speedbar-support):
3885 * emacs-lisp/disass.el (disassemble-internal):
3886 * desktop.el (desktop-load-file):
3887 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3888 (describe-function-1):
3889 * emacs-lisp/find-func.el (find-function-noselect):
3890 * emacs-lisp/elp.el (elp-instrument-function):
3891 * emacs-lisp/advice.el (ad-has-proper-definition):
3892 * apropos.el (apropos-safe-documentation, apropos-macrop):
3893 * emacs-lisp/debug.el (debug-on-entry):
3894 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3895 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3896 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3898 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3900 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3901 function, not an obsolete variable (Bug#12046).
3903 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3905 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3907 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3909 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3910 window only if it is still live (Bug#12034).
3912 2012-07-25 Martin Rudalics <rudalics@gmx.at>
3914 * subr.el (redirect-frame-focus): Add advertised calling
3915 convention (Bug#12030).
3917 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3919 Prefer typical American spelling for "acknowledgment".
3920 * vc/add-log.el (change-log-acknowledgment): Rename from
3921 change-log-acknowledgement, with an alias for the old name.
3923 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3925 * calc-alg.el (math-simplify-divide): Don't cross multiply
3926 in an equation when the lhs is a variable.
3928 2012-07-24 Julien Danjou <julien@danjou.info>
3930 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3933 2012-07-23 Eli Zaretskii <eliz@gnu.org>
3935 * startup.el (command-line): Don't display an empty user name in
3936 the error message about non-existent home directory, when
3937 init-file-user was set to an empty string. See
3938 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3939 for the details and context.
3941 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3943 * ses.el (ses-cell-formula-aset): New macro.
3944 (ses-cell-references-aset): New macro.
3945 (ses-cell-p): New function.
3946 (ses-rename-cell): Do no longer rely on complex operations like
3947 ses-cell-set-formula or ses-set-cell to change the cell and handle
3948 the undo at the same time, but rather use lower level new macros
3949 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
3950 the undo directly. Refresh the mode line.
3952 2012-07-21 Leo Liu <sdl.web@gmail.com>
3954 * progmodes/cc-cmds.el (c-defun-name):
3955 Use match-string-no-properties instead for consistency.
3957 2012-07-20 Leo Liu <sdl.web@gmail.com>
3959 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3962 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3964 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3966 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3967 * progmodes/bug-reference.el, misearch.el: Provide themselves
3970 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3971 of narrowed buffer (bug#11966).
3973 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3975 * ses.el (ses-rename-cell): Set new name also in reference list of
3976 cells of which the renamed cell depends.
3978 2012-07-20 Masatake YAMATO <yamato@redhat.com>
3980 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3981 to check whether menu-bar is shown or not. If not shown,
3982 show the menu-bar as a popup menu instead of using tmm.
3983 * mouse.el (popup-menu): Accept `point' as `position' argument.
3985 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3987 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3988 up inside string symbol literal (bug#11923).
3990 2012-07-20 Eli Zaretskii <eliz@gnu.org>
3992 * startup.el (fancy-startup-text): Read the whole tutorial, not
3993 just its first 256 bytes. Prevents gibberish in display of the
3996 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3998 Drop idle buffer compaction due to an absence of the
4000 * compact.el: Remove.
4002 2012-07-19 Sam Steingold <sds@gnu.org>
4004 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4005 vc-bzr-pull & vc-bzr-merge-branch.
4006 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4007 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4008 for consistency with compilation-error-regexp-alist.
4009 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4010 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4011 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4012 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4014 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4016 * emacs-lisp/chart.el: Use lexical-binding.
4017 (chart-emacs-storage): Don't hardcode the list of entries.
4019 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4021 Next round of tweaks caused by Fgarbage_collect changes.
4022 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4024 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4026 Compact buffers when idle.
4027 * compact.el: New file.
4029 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4031 * subr.el (eventp): Presume that if it looks vaguely like an event,
4032 it's an event (bug#10190).
4034 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4036 Enhancements to ppss related code (thanks Stefan).
4037 * progmodes/python.el (python-indent-context)
4038 (python-indent-calculate-indentation, python-indent-dedent-line)
4039 (python-indent-electric-colon, python-nav-forward-block)
4040 (python-mode-abbrev-table)
4041 (python-info-assignment-continuation-line-p): Simplify checks
4043 (python-info-continuation-line-p): Cleanup.
4044 (python-info-ppss-context): Do not catch 'quote.
4045 (python-info-ppss-context-type)
4046 (python-info-ppss-comment-or-string-p): Simplify.
4048 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4050 * progmodes/python.el: Enhancements to eldoc support.
4051 (python-info-current-symbol): New function.
4052 (python-eldoc-at-point): Use python-info-current-symbol.
4053 (python-info-current-defun): Fix cornercase on first defun scan.
4054 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4055 and signal error when no inferior python process is available.
4057 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4059 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4060 assume it's always t.
4061 (vc-git-registered): Remove caching, the function is only called
4063 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4065 2012-07-18 Chong Yidong <cyd@gnu.org>
4067 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4069 * simple.el (count-words): Report on narrowing (Bug#9959).
4071 * bindings.el: Bind M-= to count-words.
4073 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4075 2012-07-18 Masatake YAMATO <yamato@redhat.com>
4077 * progmodes/sh-script.el (sh-imenu-generic-expression):
4078 Capture a function with `function' keyword and without parentheses
4079 like "function FOO" (bug#11856).
4081 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4083 * window.el (split-window-sensibly): Make WINDOW argument
4086 2012-07-18 Chong Yidong <cyd@gnu.org>
4088 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4090 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4091 and make C-x 8 RET exit isearch (Bug#11439).
4093 * international/iso-transl.el: Move isearch-mode-map key
4094 definitions to isearch.el.
4096 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4098 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4099 (eieio-defclass): Use gv-define-setter when possible.
4101 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4103 Reflect recent changes in Fgarbage_collect.
4104 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4105 reflect new format of data returned by Fgarbage_collect.
4107 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4109 New utility functions + python-info-ppss-context fix (Bug#11910).
4110 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4111 (python-info-ppss-comment-or-string-p): New functions.
4112 (python-info-ppss-context): Small fix for string check.
4114 2012-07-17 Juri Linkov <juri@jurta.org>
4116 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4117 (dired-do-async-shell-command): Don't add `*' at the end of the
4118 command (Bug#11815).
4119 (dired-do-shell-command): Doc fix.
4120 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4121 Join the individual commands using either "&" or ";" as the
4122 separator depending on the values of these trailing characters.
4123 At the end re-add the trailing "&". (Bug#10598)
4125 * simple.el (async-shell-command): Sync the interactive spec with
4126 `shell-command'. Doc fix.
4127 (shell-command): Doc fix.
4129 2012-07-17 Juri Linkov <juri@jurta.org>
4131 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4133 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4135 Final renames and doc fixes for movement commands (bug#11899).
4136 * progmodes/python.el (python-nav-beginning-of-statement):
4137 Rename from python-nav-statement-start.
4138 (python-nav-end-of-statement): Rename from
4139 python-nav-statement-end.
4140 (python-nav-beginning-of-block): Rename from
4141 python-nav-block-start.
4142 (python-nav-end-of-block): Rename from python-nav-block-end.
4144 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4146 * progmodes/python.el (python-shell-send-string-no-output):
4147 Allow accept-process-output to quit, keeping shell process ready for
4148 future interactions (Bug#11868).
4150 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4152 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4154 * emacs-lisp/elint.el (elint-find-args-in-code):
4155 Use help-function-arglist, so as to handle lexical byte-code.
4157 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4160 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4162 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4163 Avoid spuriously marking the buffer as modified because of c-is-sws.
4165 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4166 as not-a-comment (bug#11946).
4168 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4169 for uninterned vars.
4171 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4172 Use read-event since we don't really want to read chars but bytes.
4174 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4175 $$..$$ but also $..$ using regexps (bug#11953).
4176 Use tex-verbatim for \url and \path.
4177 (tex-font-lock-keywords): Define as defconst like the others.
4178 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4180 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4182 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4183 alias for insert-char.
4185 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4187 * progmodes/python.el: Simplified imenu implementation.
4188 (python-nav-jump-to-defun): Remove command.
4189 (python-mode-map): Use `imenu' instead.
4190 (python-nav-list-defun-positions-cache)
4191 (python-imenu-include-defun-type, python-imenu-make-tree)
4192 (python-imenu-subtree-root-label, python-imenu-index-alist):
4194 (python-nav-list-defun-positions, python-nav-read-defun)
4195 (python-imenu-tree-assoc, python-imenu-make-element-tree)
4196 (python-imenu-make-tree, python-imenu-create-index):
4198 (python-mode): Update to interact with imenu by setting
4199 `imenu-extract-index-name-function' only.
4201 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4203 * progmodes/python.el: Enhancements to navigation commands.
4204 (python-nav-backward-sentence)
4205 (python-nav-forward-sentence): Remove.
4206 (python-nav-backward-statement, python-nav-forward-statement)
4207 (python-nav-statement-start, python-nav-statement-end)
4208 (python-nav-backward-block, python-nav-forward-block)
4209 (python-nav-block-start, python-nav-block-end)
4210 (python-nav-forward-sexp-function)
4211 (python-info-current-line-comment-p)
4212 (python-info-current-line-empty-p): New functions.
4213 (python-indent-context): Use `python-nav-statement-start'.
4215 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
4217 * eshell/em-ls.el (eshell/ls): Use `apply'.
4219 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4220 multi-hops, instead of Tramp internals.
4222 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4224 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4225 when F1 and F2 are located on different hosts.
4227 2012-07-14 Chong Yidong <cyd@gnu.org>
4229 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4230 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4231 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4232 (xterm-mouse--read-event-sequence-1000)
4233 (xterm-mouse--read-event-sequence-1006): New functions. For old
4234 mouse protocol, handle M-mouse-X events correctly.
4235 (xterm-mouse-event): New arg specifying mouse protocol.
4236 (turn-on-xterm-mouse-tracking-on-terminal)
4237 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
4238 sequence to toggle extended coordinates on newer XTerms.
4239 This appears to be harmless on terminals which do not support this.
4241 2012-07-14 Leo Liu <sdl.web@gmail.com>
4243 Add fringe bitmap indicators for flymake. (Bug#11253)
4244 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4245 (flymake-make-overlay): New arg BITMAP.
4246 (flymake-error-bitmap, flymake-warning-bitmap)
4247 (flymake-fringe-indicator-position): New user variables.
4249 * fringe.el: New bitmap exclamation-mark.
4251 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4253 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4256 2012-07-14 Chong Yidong <cyd@gnu.org>
4258 * electric.el (electric-pair-post-self-insert-function): Fix pair
4259 insertion in empty-region case (Bug#11520).
4261 2012-07-14 Chong Yidong <cyd@gnu.org>
4263 * bindings.el: Consolidate ctl-x-r-map bindings.
4264 Bind copy-rectangle-as-kill to C-x r w.
4266 * rect.el, register.el: Move bindings to bindings.el.
4268 2012-07-14 Reuben Thomas <rrt@sc3d.org>
4270 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4272 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4274 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4276 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
4278 * bindings.el (top): Use `mapc' instead of `mapcar'.
4280 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4282 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
4284 * progmodes/sql.el (sql-comint): Suppress the check for program on
4285 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4288 2012-07-13 Chong Yidong <cyd@gnu.org>
4290 * bindings.el: Assign a non-nil permanent-local property to
4291 per-buffer variables which lack a default value (Bug#11930).
4293 * help-fns.el (describe-variable): In the "automatically becomes
4294 local" notice, take note of permanent-local variables.
4296 2012-07-13 Chong Yidong <cyd@gnu.org>
4298 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4299 to allow printing the message when called from Lisp.
4301 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4302 Remove toggle-read-only.
4304 * bs.el (bs-toggle-readonly):
4305 * buff-menu.el (Buffer-menu-toggle-read-only):
4306 Remove with-no-warnings around toggle-read-only.
4308 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4309 Remove with-no-warnings around toggle-read-only.
4310 (ffap-read-only, ffap-read-only-other-window)
4311 (ffap-read-only-other-frame): Callers changed.
4313 * help-mode.el: Don't require view package.
4314 (help-mode-finish): Set buffer-read-only instead of calling
4317 * bindings.el (mode-line-toggle-read-only):
4318 * dired.el (dired-toggle-read-only):
4319 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4320 with non-nil second arg.
4322 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4323 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4326 2012-07-12 Eli Zaretskii <eliz@gnu.org>
4328 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4331 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4333 More CL cleanups and reduction of use of cl.el.
4334 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4335 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4336 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4337 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4338 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4339 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4340 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4341 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4342 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4343 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4344 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4345 * eshell/em-cmpl.el, eshell/em-banner.el:
4346 * calendar/parse-time.el: Use cl-lib.
4347 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4348 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4349 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4350 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4351 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4352 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4353 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4354 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4355 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4356 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4357 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4358 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4359 `lambda' rather than with `quote'.
4360 (eshell-do-opt): Adjust accordingly.
4361 (eshell-process-option): Simplify.
4362 * eshell/esh-var.el:
4363 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4364 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4365 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4366 to `pcase--dontcare'.
4367 * emacs-lisp/cl.el (labels): Mark obsolete.
4368 (cl--letf, letf): Move to cl-lib.
4369 (cl--letf*, letf*): Remove.
4370 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4371 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4372 (cl-progv): Rewrite.
4373 (cl--letf, cl-letf): Move from cl.el.
4374 (cl-letf*): New macro.
4375 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4377 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
4379 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4381 2012-07-11 Chong Yidong <cyd@gnu.org>
4383 * vc/log-edit.el (log-edit-vc-backend): New variable.
4384 (log-edit): Doc fix.
4386 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4387 argument of log-edit to set up all local variables.
4388 (vc-start-logentry): New optional arg specifying VC backend.
4390 * vc/vc.el (vc-checkin): Use it.
4391 (vc-deduce-fileset): Handle Log Edit buffers.
4392 (vc-diff): Make first argument optional too.
4394 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4396 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
4398 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4399 command, just in case. The function is not needed anymore.
4400 (eshell-external-command): Do not call `eshell-remote-command'.
4402 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4404 Reduce use of (require 'cl).
4405 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4406 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4407 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4408 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4409 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4410 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4411 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4412 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4413 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4414 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4415 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4416 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4417 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4418 (byte-compile-unfold-bcf, byte-compile-check-variable):
4419 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4420 (byte-compile-nilconstp):
4421 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4422 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4424 * emacs-lisp/gv.el (cond): Make it a valid place.
4425 (if): Simplify slightly.
4427 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4428 (pcase--self-quoting-p): New function.
4429 (pcase--u1): Use it.
4431 2012-07-10 Glenn Morris <rgm@gnu.org>
4433 * emacs-lisp/authors.el (authors-fixed-entries):
4434 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4436 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4438 Rename configure.in to configure.ac (Bug#11603).
4439 * emacs-lisp/authors.el (authors-canonical-file-name):
4440 * progmodes/autoconf.el (autoconf-mode):
4441 Prefer configure.ac to configure.in.
4443 2012-07-08 Chong Yidong <cyd@gnu.org>
4445 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4446 Implement the mouse-1-click-follows-link handling properly.
4448 * info.el (Info-link-keymap): Use follow-link mechanism for
4449 header-line links (Bug#374).
4451 * simple.el (deactivate-mark): Do not set the primary selection
4452 if another program has acquired it (Bug#11772).
4454 2012-07-07 Kevin Ryde <user42@zip.com.au>
4456 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4457 (woman-decode-region): Replace escaped-escapes without destroying
4458 bold or underline (Bug#11552).
4459 (woman2-process-escapes): Handle nofill regions (Bug#11591).
4461 2012-07-07 Chong Yidong <cyd@gnu.org>
4463 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
4464 (interprogram-cut-function, interprogram-paste-function):
4465 Mention that we typically mean the clipboard.
4467 2012-07-06 Glenn Morris <rgm@gnu.org>
4469 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4471 * files.el (toggle-read-only): Restrict message to interactive use.
4473 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
4475 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4477 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4479 2012-07-06 Glenn Morris <rgm@gnu.org>
4481 * Makefile.in (compile-one-process): Rename from "recompile".
4483 * Makefile.in (bzr-update): "compile" is the same as "recompile
4484 autoloads", but parallelizable, so use that instead.
4486 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4488 * window.el (quit-window): Always restore window height when
4489 it's saved in quit-restore parameter (Bug#11810).
4491 2012-07-06 Glenn Morris <rgm@gnu.org>
4493 * simple.el (kill-whole-line): Doc tweak.
4495 2012-07-06 Eli Zaretskii <eliz@gnu.org>
4497 * files.el (file-relative-name): Compare file names
4498 case-insensitively if on MS-Windows or MS-DOS, or if
4499 read-file-name-completion-ignore-case is non-nil. Don't use
4500 case-fold-search for this purpose. (Bug#11827)
4502 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4504 * calendar/cal-dst.el (calendar-current-time-zone):
4505 Return calendar-current-time-zone-cache if non-nil.
4507 2012-07-17 Masatake YAMATO <yamato@redhat.com>
4508 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4510 * calendar/cal-dst.el (calendar-current-time-zone):
4511 Return calendar-current-time-zone-cache if non-nil.
4513 2012-07-06 Glenn Morris <rgm@gnu.org>
4515 * Makefile.in (cvs-update): Remove old alias.
4517 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
4519 Sync with Tramp 2.2.6-pre.
4521 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4522 compatible declaration.
4524 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4525 Protect `list-load-path-shadows' call.
4527 * net/tramp-compat.el (top): Require packages, which aren't
4528 autoloaded anymore for XEmacs. Protect call of
4529 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4530 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4531 it hurts at least for SXEmacs.
4532 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4533 standard-value for `temporary-file-directory'.
4535 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4536 Redirect stderr to /dev/null.
4537 (tramp-sh-handle-write-region): uid and gid can be floats.
4538 Reported by Russell Sim <russell.sim@gmail.com>.
4539 (tramp-sh-handle-vc-registered): Hide errors.
4540 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4541 and `start-file-process'.
4542 (tramp-maybe-open-connection): Check also whether `non-essential'
4545 2012-07-04 Chong Yidong <cyd@gnu.org>
4547 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4548 (xml-parse-tag): Likewise, and avoid changing entity tables.
4549 (xml-syntax-table): Define from scratch, making sure not to give
4550 x2000 and other Unicode spaces whitespace syntax, since those are
4552 (xml-parse-fragment): Delete unused function.
4553 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4554 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4555 (xml-entity-ref, xml-pe-reference-re)
4556 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4557 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4558 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4559 (xml-entity-value-re): Use syntax references in regexps where
4560 possible; no need to define inside a let-binding.
4561 (xml-parse-dtd): Use xml-pe-reference-re.
4562 (xml-entity-or-char-ref-re): New defconst.
4563 (xml-parse-string, xml-substitute-special): Use it.
4565 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4567 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4568 (find-file--read-only): New function.
4569 (find-file-read-only, find-file-read-only-other-window)
4570 (find-file-read-only-other-frame): Use it.
4571 (insert-file-contents-literally): Don't `fset'.
4572 (get-free-disk-space): Use locate-dominating-file.
4574 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4575 function is already compiled.
4577 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4579 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
4581 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4582 files on the same host.
4584 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4586 * help-fns.el (describe-function-1): Only call
4587 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4589 2012-07-03 Chong Yidong <cyd@gnu.org>
4591 * xml.el: Protect parser against XML bombs.
4592 (xml-entity-expansion-limit): New variable.
4593 (xml-parse-string, xml-substitute-special): Use it.
4594 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4596 2012-07-03 Glenn Morris <rgm@gnu.org>
4598 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4599 Allow linking to specific messages in debbugs reports (eg 123#5).
4601 2012-07-02 Chong Yidong <cyd@gnu.org>
4603 * xml.el: Fix entity and character reference expansion, allowing
4604 them to expand into markup as per XML spec.
4605 (xml-default-ns): New variable.
4606 (xml-entity-alist): Use XML spec definitions for lt and amp.
4607 (xml-parse-region): Make first two arguments optional.
4608 Discard text properties.
4609 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4610 All callers changed.
4611 (xml-parse-tag): Call xml-parse-tag-1. For backward
4612 compatibility, this function should not modify buffer contents.
4613 (xml-parse-tag-1): Fix opening-tag regexp.
4614 (xml-parse-string): Rewrite, handling entity and character
4615 references properly.
4616 (xml--entity-replacement-text): Signal an error if a parameter
4617 entity is undefined.
4619 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4621 * comint.el (comint-output-filter): Filter out repeated prompts.
4623 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4624 and file-name-absolute-p.
4625 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4628 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4631 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4632 Rename from byte-compile--refiy-function. All uses changed.
4634 2012-07-01 Chong Yidong <cyd@gnu.org>
4636 * xml.el (xml--parse-buffer): New function. Move most of
4637 xml-parse-region here.
4638 (xml-parse-region): Copy region into a temporary buffer, since
4639 parameter entity substitution requires changing buffer contents.
4640 Use xml--parse-buffer.
4641 (xml-parse-file): Use xml--parse-buffer.
4642 (xml-parse-dtd): Make parameter entity substitution work right.
4643 Use proper regexps for ELEMENT declarations (Bug#7172).
4645 2012-06-30 Glenn Morris <rgm@gnu.org>
4647 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4649 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4650 Remove outdated and unnecessary dbus declarations.
4652 2012-06-30 Eli Zaretskii <eliz@gnu.org>
4654 * emacs-lisp/timer.el (timer-until): Subtract results of
4655 float-time, instead of taking float-time of the result of
4656 time-subtract, since float-time signals an error for negative time
4659 2012-06-30 Chong Yidong <cyd@gnu.org>
4661 * xml.el (xml-*-re): Convert defvars into defconsts, and
4662 eval-and-compile them so eval-and-compile works on derivatives.
4663 (xml--entity-replacement-text): Use eval-and-comple.
4665 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
4667 * vc/vc-git.el (vc-git-registered): Use cache property
4669 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4670 `vc-git-working-revision' in order to benefit from the cache.
4671 (vc-git-root): Use cache property `git-root'. (Bug#11757)
4673 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4675 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
4676 removed (likely outside Emacs). (Bug#11757)
4678 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4680 * emacs-lisp/cl-lib.el: Require macroexp.
4682 2012-06-30 Chong Yidong <cyd@gnu.org>
4684 * xml.el: Implement XML parameter entities.
4685 (xml-parameter-entity-alist): New variable.
4686 (xml-parse-region, xml-parse-fragment): Preserve previous values
4687 of xml-entity-alist and xml-parameter-entity-alist, so that
4688 repeated calls on different documents do not change them.
4689 (xml-parse-tag): Fix doctype regexp.
4690 (xml--entity-replacement-text): New function.
4691 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4692 properly requires url retrieval which is unimplemented.
4693 (xml-escape-string): Doc fix.
4695 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4697 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4699 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4701 * fringe.el (fringe-mode): Doc fix.
4703 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
4705 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4707 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4708 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4710 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
4712 * calendar/cal-dst.el (calendar-current-time-zone):
4713 Return calendar-current-time-zone-cache if non-nil.
4715 2012-06-29 Masatake YAMATO <yamato@redhat.com>
4717 * progmodes/which-func.el (which-func-format):
4718 Add mouse-face. (Bug#11698)
4720 2012-06-29 Leo Liu <sdl.web@gmail.com>
4722 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4724 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4726 * minibuffer.el (minibuffer-confirm-exit-commands):
4727 Add completion-at-point (bug#11725).
4729 2012-06-29 Glenn Morris <rgm@gnu.org>
4731 * progmodes/f90.el (f90-font-lock-keywords-2):
4732 Add some preprocessor elements. (Bug#10499)
4734 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4736 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4737 Use syntax-propertize (bug#11739).
4739 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
4741 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4743 2012-06-28 Julien Danjou <julien@danjou.info>
4745 * term.el (term-handle-colors-array): Use a set of new faces to
4746 color the terminal. Also uses :inverse-video property.
4747 (term-default-fg-color): Set to nil by default, deprecate in favor
4749 (term-default-bg-color): Set to nil by default, deprecate in favor
4751 (term-current-face): Use `term-face' by default.
4752 (term-bold-attribute): Variable deleted.
4754 2012-06-28 Glenn Morris <rgm@gnu.org>
4756 * simple.el (completion-list-mode-finish):
4757 Don't use toggle-read-only. (Since completion-list-mode has
4758 a special mode-class, it wasn't doing anything extra anyway.)
4760 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4762 Make inlining of other-mode interpreted functions work (bug#11799).
4763 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4764 (byte-compile): Use it to fix compilation of lexical-binding closures.
4765 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4766 function, if needed.
4768 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4770 * help-mode.el (help-make-xrefs): Don't just withstand
4771 cyclic-variable-indirection but any error in documentation-property.
4773 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4775 * bindings.el (bindings--define-key): New function.
4776 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4777 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4778 * bindings.el: Use it to purecopy define-key bindings.
4780 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4782 * emacs-lisp/cl.el (flet): Mark obsolete.
4783 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4784 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4785 * progmodes/js.el (js-c-fill-paragraph):
4786 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4787 (ebrowse-switch-member-buffer-to-derived-class):
4788 * play/5x5.el (5x5-solver): Use cl-flet.
4790 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4791 (cl--symbol-function): New macro.
4792 (cl--letf, cl--letf*): Use it.
4794 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4795 Strip "toggle-" if any.
4797 2012-06-27 Glenn Morris <rgm@gnu.org>
4799 * info.el (Info-default-directory-list): Move here from paths.el.
4800 * paths.el: Remove file, which is now empty.
4801 * loadup.el: No longer load "paths".
4803 * custom.el (custom-initialize-delay): Doc fix.
4805 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4806 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4807 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4808 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4809 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4810 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4811 * eshell/eshell.el (eshell-defgroup): Remove alias.
4813 2012-06-27 Chong Yidong <cyd@gnu.org>
4815 * help.el (help-enable-auto-load): New variable.
4817 * help-fns.el (help-fns--autoloaded-p): New function.
4818 (describe-function-1): Refer to a function as "autoloaded" if it
4819 was autoloaded at any time in the past. Perform autoloading if
4820 help-enable-auto-load is non-nil.
4822 2012-06-26 Eli Zaretskii <eliz@gnu.org>
4824 * makefile.w32-in (compile, compile-always): Depend on
4825 update-subdirs, not on subdirs.el. Otherwise, several different
4826 sub-targets of 'bootstrap' running in parallel could
4827 simultaneously write to subdirs.el, producing a garbled file.
4829 2012-06-26 Sam Steingold <sds@gnu.org>
4831 * files.el (file-name-base): New convenience function.
4832 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4833 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4834 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4835 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4836 * textmodes/ispell.el, textmodes/reftex-ref.el:
4837 * textmodes/tex-mode.el: Use it.
4838 Did not touch cedet and org because they are maintained elsewhere.
4840 2012-06-26 Martin Rudalics <rudalics@gmx.at>
4842 * calendar/calendar.el (calendar-exit): Don't try to delete or
4843 iconify last frame. See:
4844 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4846 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4848 * server.el (server-process-filter): Remember dir in the
4849 process's `server-client-directory' properties.
4851 2012-06-24 Chong Yidong <cyd@gnu.org>
4853 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4856 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
4858 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4860 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4862 * help-fns.el (describe-variable): Don't croak when doc is not found.
4863 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4864 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4865 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4866 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4867 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4869 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4871 2012-06-23 Chong Yidong <cyd@gnu.org>
4873 * info.el (Info-mouse-follow-link): Accept symbol values of
4874 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
4875 (Info-fontify-node): Use Info-link-keymap for all navigation
4876 buttons, with link-args property to perform the desired action.
4877 (Info-link-keymap): Doc fix.
4878 (Info-next-link-keymap, Info-prev-link-keymap)
4879 (Info-up-link-keymap): Delete now-unused keymaps.
4881 2012-06-23 Chong Yidong <cyd@gnu.org>
4883 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4885 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4888 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4890 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4892 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4895 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4896 the requote function doesn't work properly (bug#11714).
4898 2012-06-23 Glenn Morris <rgm@gnu.org>
4900 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4902 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4904 Further GV/CL cleanups.
4905 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4907 (gv--defun-declaration): New function.
4908 (defun-declarations-alist): Use it.
4909 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4910 (gv-place): Autoload.
4911 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4912 original definition of dotimes and dolist.
4913 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4914 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4915 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4916 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4917 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4918 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4919 to the function's definition.
4920 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4924 * env.el: Don't use CL.
4926 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4928 Support higher-resolution time stamps (Bug#9000).
4930 * calendar/time-date.el (with-decoded-time-value): New arg
4931 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4932 (encode-time-value): New optional arg PICO. New type 3.
4933 (time-to-seconds) [!float-time]: Support the new picoseconds
4934 component if it's used.
4935 (seconds-to-time, time-subtract, time-add):
4936 Support ps-resolution time stamps as well.
4938 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4939 (timerp): Timer vectors now have length 9, not 8.
4940 (timer--time): Support new-style (4-part) time stamps.
4941 (timer-next-integral-multiple-of-time): Time stamps now have
4942 picosecond resolution, so take a bit more care about rounding.
4943 (timer-relative-time, timer-inc-time): New optional arg psecs.
4944 (timer-set-time-with-usecs): Set psecs to 0.
4945 (timer--activate): Check psecs component, too.
4947 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4949 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4951 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4952 Move the non-essential binding to the post/pre-command-hook where it is
4953 more obviously correct.
4955 * subr.el (read-passwd): Don't use a history at all.
4956 * savehist.el (savehist-save): Remove password saved accidentally
4957 because of the above bug.
4959 2012-06-22 Bastien Guerry <bzg@gnu.org>
4961 * files.el (toggle-read-only): Display a message telling whether
4962 the buffer is read-only or not (bug#11726).
4964 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4966 * emacs-lisp/gv.el: New file.
4967 * subr.el (push, pop): Extend to generalized variables.
4968 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4969 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4970 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4971 gv-define-simple-setter, and gv-define-expander.
4972 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4973 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4974 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4975 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4976 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4978 (cl-defstruct): Don't define setf-method any more.
4979 * emacs-lisp/cl.el (flet): Don't autoload.
4980 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4981 (define-setf-expander, defsetf, define-modify-macro)
4982 (cl-struct-setf-expander): Move from cl-lib.el.
4983 * emacs-lisp/syntax.el:
4984 * emacs-lisp/ewoc.el:
4985 * emacs-lisp/smie.el:
4986 * emacs-lisp/cconv.el:
4987 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4988 (timer--time): Use gv-define-simple-setter.
4989 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4990 to avoid coding-system problems in subr.el. Adjust all users.
4991 (macroexp--maxsize, macroexp-small-p): New functions.
4992 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4993 * scroll-bar.el (scroll-bar-mode):
4994 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4995 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4996 * winner.el (winner-configuration, winner-make-point-alist)
4997 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4998 * files.el (locate-file-completion-table): Avoid list*.
5000 2012-06-22 Chong Yidong <cyd@gnu.org>
5002 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5003 (dired-create-files): Doc fix (Bug#11329).
5004 (dired-do-copy): Doc fix (Bug#11334).
5005 (dired-mark-read-string): Doc fix (Bug#11553).
5007 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5008 Doc fix (Bug#11326).
5009 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5010 (dired-dwim-target): Doc fix.
5012 * wdired.el (wdired-mode): Doc fix.
5014 2012-06-22 Glenn Morris <rgm@gnu.org>
5016 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5017 (pcmpl-rpm-cache-stamp-file): New constant.
5018 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5019 (pcmpl-rpm-packages): Optionally cache list of packages.
5021 * pcmpl-rpm.el (pcmpl-rpm): New group.
5022 (pcmpl-rpm-query-options): New option.
5023 (pcmpl-rpm-packages): No need to inline it.
5024 Use pcmpl-rpm-query-options.
5026 * calendar/calendar.el (calendar-in-read-only-buffer):
5027 Avoid some needless mode changes.
5029 2012-06-21 Chong Yidong <cyd@gnu.org>
5031 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5032 (desktop-path): Remove . from the default value (Bug#10977).
5033 (desktop-read): Use user-emacs-directory if desktop-path is nil.
5035 2012-06-20 Chong Yidong <cyd@gnu.org>
5037 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5039 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5041 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5044 2012-06-20 Chong Yidong <cyd@gnu.org>
5046 * term.el (term-window-width): Handle the case of a missing right
5048 (term-check-size): Use window-text-height (Bug#5445).
5049 (term-mode): Use define-derived-mode. Minor cleanups.
5050 Set font-lock-defaults (Bug#7692).
5051 (term-move-columns, term-insert-char, term-emulate-terminal)
5052 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
5054 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
5056 * net/ange-ftp.el (ange-ftp-get-passwd):
5057 Bind `enable-recursive-minibuffers'.
5058 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5060 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5062 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5064 2012-06-19 Glenn Morris <rgm@gnu.org>
5066 * progmodes/python.el (python-mode): Derive from prog-mode.
5068 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5070 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5071 (edt-user-menu-bar-update-buffers): New functions.
5072 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5074 2012-06-19 Chong Yidong <cyd@gnu.org>
5076 * subr.el (with-selected-window): Preserve the selected window's
5077 terminal's top-frame (Bug#4702).
5079 * window.el (save-selected-window): Likewise.
5081 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5083 * progmodes/python.el (python-rx-constituents): Move backquote.
5084 (python-skeleton-define, python-define-auxiliary-skeleton):
5087 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
5089 * minibuffer.el (read-file-name-default): Revert the patch from
5092 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5094 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5095 (pcase--u1, pcase--q1): Don't use apply-partially.
5097 2012-06-18 Glenn Morris <rgm@gnu.org>
5099 * progmodes/python.el (python-proc, python-buffer)
5100 (python-send-receive, python-send-string): Fix obsolete versions.
5102 2012-06-18 Martin Rudalics <rudalics@gmx.at>
5104 * window.el (special-display-p): Completely remove stringp
5105 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5107 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
5109 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5111 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5113 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5114 * net/tramp-sh.el (tramp-maybe-open-connection):
5115 Throw if `non-essential' is non-nil.
5117 2012-06-17 Martin Rudalics <rudalics@gmx.at>
5119 * window.el (special-display-p): Signal an error if BUFFER-NAME
5120 is not a string (Bug#11713).
5122 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5124 * progmodes/python.el (python-info-beginning-of-backslash):
5125 Rename from python-info-beginning-of-backlash, as a spelling fix.
5127 2012-06-17 Chong Yidong <cyd@gnu.org>
5129 * term.el (term-emulate-terminal): If term-check-size is called,
5130 move point to the process mark without resetting point (Bug#4635).
5132 2012-06-17 Glenn Morris <rgm@gnu.org>
5134 * international/mule-cmds.el (mule-menu-keymap)
5135 (set-language-environment, set-locale-environment): Doc tweaks.
5137 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5139 * cus-face.el (custom-face-attributes): Add wave-style underline
5141 * faces.el (set-face-attribute): Update docstring to describe
5142 wave-style underline attribute.
5144 2012-06-16 Chong Yidong <cyd@gnu.org>
5146 * term/xterm.el (terminal-init-xterm): Discard input before
5147 querying background mode (Bug#10959).
5149 2012-06-16 Stefan Merten <smerten@oekonux.de>
5151 * textmodes/rst.el: Added and corrected some comments.
5152 (rst-re-alist-def): Improve symbol syntax.
5153 (rst-mode-syntax-table): Correct syntax entries.
5154 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5155 (rst-official-version, rst-official-cvs-rev): Update version
5158 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
5160 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5161 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5163 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5165 * progmodes/python.el: New python.el merge.
5166 (python-guess-indent): Obsolete var.
5167 (python-indent-guess-indent-offset): New defcustom.
5168 (python-indent): Obsolete var.
5169 (python-indent-offset): New defcustom.
5170 (python-python-command, python-jython-command): Delete var.
5171 (python-shell-interpreter): New defcustom.
5172 (python-pdbtrack-do-tracking-p): Delete var.
5173 (python-pdbtrack-activate): New defcustom.
5174 (python-use-skeletons): Obsolete var.
5175 (python-skeleton-autoinsert): New defcustom.
5176 (inferior-python-filter-regexp, python-continuation-offset)
5177 (python-honour-comment-indentation, python-indent-string-contents)
5178 (python-jython-packages, python-mode-hook)
5179 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5180 (python-shell-prompt-alist)
5181 (python-source-modes): Delete defcustoms.
5182 (python-check-buffer-name, python-eldoc-setup-code)
5183 (python-eldoc-string-code, python-ffap-setup-code)
5184 (python-ffap-string-code, python-fill-comment-function)
5185 (python-fill-decorator-function, python-fill-paren-function)
5186 (python-fill-string-function, python-imenu-include-defun-type)
5187 (python-imenu-make-tree, python-imenu-subtree-root-label)
5188 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5189 (python-shell-compilation-regexp-alist)
5190 (python-shell-completion-module-string-code)
5191 (python-shell-completion-pdb-string-code)
5192 (python-shell-completion-setup-code)
5193 (python-shell-completion-string-code)
5194 (python-shell-enable-font-lock, python-shell-exec-path)
5195 (python-shell-extra-pythonpaths)
5196 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5197 (python-shell-process-environment)
5198 (python-shell-prompt-block-regexp)
5199 (python-shell-prompt-output-regexp)
5200 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5201 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5202 (python-shell-virtualenv-path): New defcustoms.
5203 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5204 (inferior-python-mode-syntax-table, python--prompt-regexp)
5205 (python-buffer, python-command python-python-command)
5206 (python-default-template, python-imports, python-indent-index)
5207 (python-indent-list, python-indent-list-length)
5208 (python-mode-running, python-pdbtrack-is-tracking-p)
5209 (python-preoutput-continuation, python-preoutput-leftover)
5210 (python-preoutput-result, python-preoutput-skip-next-prompt)
5211 (python-prev-dir/file, python-recursing)
5212 (python-saved-check-command, python-version-checked)
5213 (python-which-func-length-limit)
5214 (view-return-to-alist): Delete vars.
5215 (python-check-custom-command, python-dotty-syntax-table)
5216 (python-imenu-index-alist, python-indent-current-level)
5217 (python-indent-dedenters, python-indent-levels)
5218 (python-nav-beginning-of-defun-regexp)
5219 (python-nav-list-defun-positions-cache)
5220 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5221 (python-shell-internal-buffer)
5222 (python-skeleton-available): New vars.
5223 (def-python-skeleton): Delete macro.
5224 (python-skeleton-define): New macro.
5225 (python-define-auxiliary-skeleton, python-rx): New macros.
5226 (python-insert-class): Delete command.
5227 (python-skeleton-class): New command.
5228 (python-insert-def): Delete command.
5229 (python-skeleton-def): New command.
5230 (python-insert-for): Delete command.
5231 (python-skeleton-for): New command.
5232 (python-insert-if): Delete command.
5233 (python-skeleton-if): New command.
5234 (python-insert-try/except, python-insert-try/finally): Delete commands.
5235 (python-skeleton-try): New command.
5236 (python-insert-while): Delete command.
5237 (python-skeleton-while): New command.
5238 (python-backspace): Delete command.
5239 (python-indent-dedent-line-backspace): New command.
5240 (python-electric-colon): Delete command.
5241 (python-indent-electric-colon): New command.
5242 (python-guess-indent): Delete command.
5243 (python-indent-guess-indent-offset): New command.
5244 (python-shift-left): Delete command.
5245 (python-indent-shift-left): New command.
5246 (python-shift-right): Delete command.
5247 (python-indent-shift-right): New command.
5248 (python-find-function): Delete command.
5249 (python-nav-jump-to-defun): New command.
5250 (python-next-statement): Delete command.
5251 (python-nav-forward-sentence): New command.
5252 (python-previous-statement): Delete command.
5253 (python-nav-backward-sentence): New command.
5254 (python-fill-paragraph): Delete command.
5255 (python-fill-paragraph-function): New command.
5256 (python-send-buffer): Delete command.
5257 (python-shell-send-buffer): New command.
5258 (python-send-defun): Delete command.
5259 (python-shell-send-defun): New command.
5260 (python-send-region, python-send-region-and-go): Delete commands.
5261 (python-shell-send-region)
5262 (python-shell-switch-to-shell): New commands.
5263 (python-send-string): Delete command.
5264 (python-shell-send-string): New command.
5265 (python-switch-to-python): Delete command.
5266 (python-shell-switch-to-shell): New command.
5267 (python-describe-symbol): Delete command.
5268 (python-eldoc-at-point): New command.
5269 (python--set-prompt-regexp, python-args-to-list)
5270 (python-after-info-look, python-check-version)
5271 (python-check-comint-prompt, python-find-imports)
5272 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5273 (python-unload-function, python-expand-template)
5274 (python-maybe-jython, python-preoutput-filter)
5275 (python-pdbtrack-get-source-buffer)
5276 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5277 (python-pdbtrack-toggle-stack-tracking)
5278 (python-pdbtrack-track-stack-file, python-initial-text)
5279 (python-first-word, python-comment-line-p, python-send-command)
5280 (python-setup-brm, python-sentinel, python-set-proc)
5281 (python-skip-out, python-input-filter, python-outdent-p)
5282 (python-outline-level, python-backslash-continuation-line-p)
5283 (python-end-of-block, python-end-of-statement, python-mark-block)
5284 (python-beginning-of-block, python-beginning-of-statement)
5285 (python-blank-line-p, python-beginning-of-string)
5286 (python-open-block-statement-p): Delete functions.
5287 (python-indent-line, python-indent-line-1): Delete functions.
5288 (python-indent-line): New function.
5289 (python-indentation-levels): Delete function.
5290 (python-indent-calculate-levels): New function.
5291 (python-proc): Delete function.
5292 (python-shell-get-process): New function.
5293 (python-send-receive): Delete function.
5294 (python-shell-send-string-no-output): New function.
5295 (python-module-path): Delete function.
5296 (python-ffap-module-path): New function.
5297 (python-completion-at-point)
5298 (python-symbol-completions): Delete functions.
5299 (python-completion-complete-at-point): New function.
5300 (python-load-file): Delete function.
5301 (python-shell-send-file): New function.
5302 (python-calculate-indentation): Delete function.
5303 (python-indent-calculate-indentation): New function.
5304 (python-skip-comments/blanks): Delete function.
5305 (python-util-forward-comment): New function.
5306 (python-continuation-line-p): Delete function.
5307 (python-info-continuation-line-p): New function.
5308 (python-which-func, python-current-defun): Delete function.
5309 (python-info-current-defun): New function.
5310 (python-beginning-of-defun): Delete function.
5311 (python-nav-beginning-of-defun): New function.
5312 (python-close-block-statement-p)
5313 (python-block-end-p): Delete function.
5314 (python-info-closing-block): New function.
5315 (python-comint-output-filter-function)
5316 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5317 (python-fill-comment, python-fill-decorator, python-fill-paren)
5318 (python-fill-string, python-imenu-make-element-tree)
5319 (python-imenu-make-tree, python-imenu-tree-assoc)
5320 (python-indent-context, python-indent-dedent-line)
5321 (python-indent-line-function)
5322 (python-indent-post-self-insert-function)
5323 (python-indent-toggle-levels)
5324 (python-info-assignment-continuation-line-p)
5325 (python-info-beginning-of-backlash)
5326 (python-info-block-continuation-line-p)
5327 (python-info-closing-block-message)
5328 (python-info-line-ends-backslash-p)
5329 (python-info-looking-at-beginning-of-defun)
5330 (python-info-ppss-context, python-info-ppss-context-type)
5331 (python-nav-list-defun-positions, python-nav-read-defun)
5332 (python-nav-sentence-end, python-nav-sentence-start)
5333 (python-pdbtrack-comint-output-filter-function)
5334 (python-pdbtrack-set-tracked-buffer)
5335 (python-shell-calculate-exec-path)
5336 (python-shell-calculate-process-environment)
5337 (python-shell-completion--do-completion-at-point)
5338 (python-shell-completion--get-completions)
5339 (python-shell-completion-complete-at-point)
5340 (python-shell-completion-complete-or-indent)
5341 (python-shell-get-or-create-process)
5342 (python-shell-get-process-name)
5343 (python-shell-internal-get-or-create-process)
5344 (python-shell-internal-get-process-name)
5345 (python-shell-internal-send-string, python-shell-make-comint)
5346 (python-shell-parse-command, python-shell-send-setup-code)
5347 (python-skeleton-add-menu-items)
5348 (python-util-clone-local-variables, python-util-position)
5349 (run-python-internal, python-indentation-levels)
5350 (python-nav-beginning-of-defun)
5351 (python-completion-complete-at-point): New functions.
5352 (run-python): Change arguments. New API requirements.
5354 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5356 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5359 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5360 (macroexp--expand-all): Use it.
5362 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5363 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5364 Use `cl-function' instead.
5366 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
5368 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5369 Suggested by Stefan Monnier while discussing bug#11657.
5371 2012-06-14 Sam Steingold <sds@gnu.org>
5373 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5375 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5377 * play/doctor.el (doctor-doc): Remove parameter and use
5378 doctor-sent instead of sent.
5379 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5381 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5383 * files.el: Require cl-lib.
5384 (file-name-non-special): Replace case -> cl-case.
5386 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5388 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5389 mapping from #' to function*.
5391 2012-06-13 Chong Yidong <cyd@gnu.org>
5393 * mouse.el (mouse-drag-track): Do not set the mark if the user
5394 releases the mouse without selecting anything (Bug#11588).
5396 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5398 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5399 as well (bug#11646).
5401 * loadup.el: Count byte-code functions as well.
5403 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5404 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5406 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5407 (bug#11649). Add cl-defun and cl-defmacro.
5409 2012-06-13 Drew Adams <drew.adams@oracle.com>
5411 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5414 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
5416 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5417 Otherwise, it blocks in batch mode.
5419 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
5421 * help-mode.el (bookmark-make-record-default): Declare.
5423 2012-06-13 Chong Yidong <cyd@gnu.org>
5425 * emacs-lisp/package.el (list-packages): Compute a list of
5426 packages that are newly-available since the last list-packages
5428 (package-menu--new-package-list): New var.
5429 (package-menu--generate, package-menu--print-info)
5430 (package-menu--status-predicate, package-menu-mark-install):
5431 Handle new status label "new".
5433 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5435 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5436 conversion to backquotes.
5438 2012-06-12 Chong Yidong <cyd@gnu.org>
5440 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5441 Rename from gud-inhibit-global-bindings.
5443 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5445 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5446 hook from nxml-glyph-set-hook.
5448 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5451 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5453 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5454 Convert to defcustom.
5456 2012-06-12 Drew Adams <drew.adams@oracle.com>
5458 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5460 (help-mode): Use them.
5462 2012-06-11 Glenn Morris <rgm@gnu.org>
5464 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5465 Use preprocessor face for directives.
5466 (fortran-directive-re): Doc fix.
5468 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5470 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5471 conversion to backquotes (bug#11652).
5473 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5474 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5475 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5476 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5477 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5478 (cl-ninth, cl-tenth): Mark them as inlinable.
5479 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5480 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5481 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5482 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5483 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5484 (cl-list*, cl-adjoin): Don't put an autoload manually.
5485 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5486 (cl--compiler-macro-list*): Add autoload cookie.
5487 (cl--compiler-macro-cXXr): New function.
5489 * help-fns.el (help-fns--compiler-macro): New function extracted from
5490 describe-function-1; follow aliases and use `compiler-macro' property.
5491 (describe-function-1): Use it.
5493 2012-06-11 Chong Yidong <cyd@gnu.org>
5495 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5496 is uninstalled, if imagemagick is installed.
5498 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5500 * emacs-lisp/cl-lib.el: Use lexical-binding.
5501 (cl-map-extents, cl-maclisp-member): Remove.
5502 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5503 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5504 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5505 * emacs-lisp/cl-extra.el: Use lexical-binding.
5506 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5507 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5508 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5509 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5510 * emacs-lisp/cl-seq.el: Use lexical-binding.
5511 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5512 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5513 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5514 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5515 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5518 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
5520 Sync with Tramp 2.2.6-pre.
5522 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5523 `print-length' and `print-level' to nil, in order to avoid
5524 truncation. Reported by Christopher Schmidt
5525 <christopher@ristopher.com>.
5527 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5529 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5531 (tramp-compat-copy-directory): Add optional argument
5532 COPY-CONTENTS. It is not handled yet.
5534 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5535 (tramp-ftp-file-name-p): Simplify.
5537 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5538 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5541 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5542 (tramp-methods): Do not use `tramp-password-end-of-line'.
5543 (tramp-completion-function-alist-putty): Handle UNIX case.
5544 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5545 (tramp-do-file-attributes-with-stat)
5546 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5547 gid as real numbers. They could run out of integer range on cygwin.
5548 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5549 (tramp-sh-handle-expand-file-name): Handle hops.
5550 (tramp-open-connection-setup-interactive-shell):
5551 Use `tramp-cleanup'. Move check for busyboxes ...
5552 (tramp-find-shell): ... here. Simplify implementation.
5553 Set "remote-shell" property also for alternative shells.
5554 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5555 If failing, a regular file would be written otherwise.
5556 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
5557 (tramp-find-inline-encoding): Cache the coding commands in the
5558 process cache. Apply test command on the remote side, if defined.
5559 (tramp-find-inline-compress): Cache the compress commands in the
5561 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5562 when requested. Handle hops.
5563 (tramp-current-connection): New defvar.
5564 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5565 Throw `suppress', if there was a failed connection shortly before.
5566 Handle user interrupt. (Bug#10187)
5567 (tramp-get-inline-compress, tramp-get-inline-coding):
5568 Read connection properties from the process cache.
5570 * net/tramp-smb.el (tramp-smb-server-version)
5571 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5573 (tramp-smb-prompt): Extend for powershell prompt.
5574 (tramp-smb-file-name-handler-alist): Add handlers for
5575 `process-file', `shell-command' and `start-file-process'.
5576 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5577 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5578 (tramp-smb-file-name-p): Simplify.
5579 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5580 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5581 (tramp-smb-shell-quote-argument): New defuns.
5582 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5583 Implement using "tar". By this, time-stamps are preserved.
5584 (tramp-smb-handle-copy-file): Handle also the case of directories.
5585 (tramp-smb-do-file-attributes-with-stat)
5586 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5587 Use `tramp-get-connection-buffer').
5588 (tramp-smb-handle-rename-file): Use "rename", when source and
5589 target are on the same share.
5590 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5591 Use `tramp-smb-server-version'.
5592 (tramp-smb-wait-for-output): Remove prompt.
5594 * net/tramp.el (top): Require 'cl.
5595 (tramp-methods, tramp-rsh-end-of-line):
5596 Remove `tramp-password-end-of-line' from docstring.
5597 (tramp-save-ad-hoc-proxies): New defcustom.
5598 (tramp-completion-function-alist): Adapt docstring.
5599 (tramp-default-password-end-of-line): Remove defcustom.
5600 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5601 (tramp-user-regexp, tramp-file-name-regexp-unified)
5602 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5603 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5604 (tramp-remote-file-name-spec-regexp): New defconst.
5605 (tramp-file-name-structure): Extend structure for hops.
5606 (tramp-get-method-parameter): Move up.
5607 (tramp-file-name-p, tramp-dissect-file-name)
5608 (with-parsed-tramp-file-name): Handle hops.
5609 (tramp-file-name-hop): New defun.
5610 (tramp-make-tramp-file-name): New optional arg HOP.
5611 (tramp-message-show-progress-reporter-message): New defvar.
5612 (tramp-with-progress-reporter): Use it. We cannot use
5613 `tramp-message-show-message' here, because this suppresses also
5615 (tramp-error-with-buffer): Suppress buffer view, if
5616 `tramp-message-show-message' is nil.
5617 Use `tramp-get-connection-buffer'.
5618 (tramp-cleanup): New defun.
5619 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5620 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5622 (tramp-completion-handle-file-name-all-completions): Handle hops.
5623 Fix an error when called from ido.
5624 (tramp-completion-dissect-file-name): Use better local variable
5625 name. Add hop to the vector.
5626 (tramp-handle-insert-file-contents): Use progress-reporter for the
5628 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5630 (tramp-check-for-regexp): Simplify search.
5631 (tramp-enter-password): Remove it. Move implementation ...
5632 (tramp-action-password): ... here.
5633 (tramp-mode-string-to-int, tramp-local-host-p)
5634 (tramp-make-tramp-temp-file, tramp-read-passwd)
5635 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5636 Set tramp-autoload cookie.
5638 * net/trampver.el: Update release number.
5640 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5641 Michael Albinus <michael.albinus@gmx.de>
5643 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5644 (tramp-parse-group, tramp-parse-file)
5645 (tramp-parse-shostkeys-sknownhosts): New defuns.
5646 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5647 (tramp-parse-shosts-group, tramp-parse-sconfig)
5648 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5649 (tramp-parse-sknownhosts, tramp-parse-hosts)
5650 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5652 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5653 (tramp-parse-putty-group): Don't narrow.
5654 (tramp-parse-putty): Make a loop.
5655 (tramp-file-name-handler): Catch the `suppress' signal.
5657 2012-06-11 Chong Yidong <cyd@gnu.org>
5659 * image.el (imagemagick-register-types): Put the ImageMagick entry
5660 at the end of image-type-file-name-regexps.
5662 2012-06-11 Johan Bockgård <bojohan@gnu.org>
5664 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5665 (pcase, pcase-let*, pcase-dolist): Use them.
5667 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5669 * emacs-lisp/pcase.el (pcase--let*): New function.
5670 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5671 (pcase--expand): Use macroexp-let².
5673 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5675 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5676 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5677 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5678 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5679 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5680 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5682 2012-06-10 Glenn Morris <rgm@gnu.org>
5684 * mail/rmail.el (rmail-yank-current-message): Leave point at
5685 correct position. (Bug#11660)
5687 2012-06-10 Chong Yidong <cyd@gnu.org>
5689 * allout-widgets.el: Fix code header.
5691 2012-06-10 Chong Yidong <cyd@gnu.org>
5693 * cus-edit.el (customize-changed-options-previous-release):
5696 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5698 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5700 2012-06-09 Chong Yidong <cyd@gnu.org>
5702 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5704 2012-06-09 Martin Rudalics <rudalics@gmx.at>
5706 * window.el (special-display-popup-frame): Don't use
5707 window--display-buffer (Bug#11651).
5709 2012-06-09 Eli Zaretskii <eliz@gnu.org>
5711 Fix parallel builds: make sure loaddefs.el is not being written
5712 while Lisp files are compiled.
5713 (compile): Don't depend on 'mh-autoloads'.
5714 (compile-CMD, compile-SH): Depend on 'autoloads'.
5715 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5717 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5719 2012-06-09 Chong Yidong <cyd@gnu.org>
5721 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5722 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5723 Doc fixes (Bug#11225).
5725 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5727 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5728 a function if there's a clear indication that it has a compiler-macro.
5729 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5730 (macro-declarations-alist): Add arglist to declaration functions.
5731 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5732 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5733 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5734 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5735 Also add autoload to find the compiler macro.
5736 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5737 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5738 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5739 (cl--compiler-macro-get): New functions, replacing calls to
5740 cl-define-compiler-macro.
5741 (cl-typep) [compiler-macro]: Use macroexp-let².
5743 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
5745 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5746 string properly, fixes Bug#11473.
5748 2012-06-08 Chong Yidong <cyd@gnu.org>
5750 * faces.el (set-face-attribute): Doc fix.
5751 (modify-face): Don't use :bold and :italic.
5752 (error, warning, success): Tweak definitions.
5754 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5755 (custom-modified, custom-set, custom-changed, custom-themed)
5756 (custom-saved, custom-button, custom-button-mouse)
5757 (custom-button-pressed, custom-state, custom-comment-tag)
5758 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5759 (custom-group-subtitle): Use new-style face specs.
5760 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5761 (custom-set-face, custom-changed-face, custom-saved-face)
5762 (custom-button-face, custom-button-pressed-face)
5763 (custom-documentation-face, custom-state-face)
5764 (custom-comment-face, custom-comment-tag-face)
5765 (custom-variable-tag-face, custom-variable-button-face)
5766 (custom-face-tag-face, custom-group-tag-face-1)
5767 (custom-group-tag-face): Remove obsolete face alias.
5769 * epa.el (epa-validity-high, epa-validity-medium)
5770 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5771 (epa-field-name, epa-field-body):
5772 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5773 (font-lock-keyword-face, font-lock-builtin-face)
5774 (font-lock-function-name-face, font-lock-variable-name-face)
5775 (font-lock-type-face, font-lock-constant-face):
5776 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5777 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5778 * speedbar.el (speedbar-button-face, speedbar-file-face)
5779 (speedbar-directory-face, speedbar-tag-face)
5780 (speedbar-selected-face, speedbar-highlight-face)
5781 (speedbar-separator-face):
5782 * whitespace.el (whitespace-newline, whitespace-space)
5783 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5784 (whitespace-line, whitespace-space-before-tab)
5785 (whitespace-space-after-tab, whitespace-indentation)
5787 * emulation/cua-base.el (cua-global-mark):
5788 * eshell/em-prompt.el (eshell-prompt):
5789 * net/newst-plainview.el (newsticker-new-item-face)
5790 (newsticker-old-item-face, newsticker-immortal-item-face)
5791 (newsticker-obsolete-item-face, newsticker-date-face)
5792 (newsticker-statistics-face, newsticker-default-face):
5793 * net/newst-reader.el (newsticker-feed-face)
5794 (newsticker-extra-face, newsticker-enclosure-face):
5795 * net/newst-treeview.el (newsticker-treeview-face)
5796 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5797 (newsticker-treeview-immortal-face)
5798 (newsticker-treeview-obsolete-face)
5799 (newsticker-treeview-selection-face):
5800 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5801 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5802 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5803 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5804 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5805 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5806 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5808 * progmodes/vera-mode.el (vera-font-lock-number)
5809 (vera-font-lock-function, vera-font-lock-interface):
5810 * textmodes/table.el (table-cell): Use new-style face specs, and
5811 don't use the old :bold and :italic attributes.
5813 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5814 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5815 (ebrowse-member-class, ebrowse-progress): Likewise.
5816 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5817 (ebrowse-file-name-face, ebrowse-default-face)
5818 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5819 (ebrowse-progress-face): Remove obsolete faces.
5821 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5822 Inherit from error and warning faces respectively.
5824 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5826 (flyspell-incorrect-face, flyspell-duplicate-face):
5827 Remove obsolete aliases.
5829 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
5831 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5834 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5836 * startup.el (argv, argi): Make lexically scoped.
5837 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5838 * emacs-lisp/cl-macs.el: Use lexical-binding.
5839 Rename cl-bind-* to cl--bind-*.
5840 * files.el: Don't require `cl' since it doesn't use it.
5841 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5843 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
5845 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5846 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5847 instead of calling external sort utility.
5848 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5850 2012-06-08 Eli Zaretskii <eliz@gnu.org>
5852 * descr-text.el (describe-char): Mention how to insert the
5853 character, if the current input method doesn't support it.
5854 See the discussion in this thread for the details:
5855 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5857 2012-06-08 Sam Steingold <sds@gnu.org>
5859 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5860 XF86Back to previous-buffer.
5861 (minibuffer-local-map): Bind them to next-history-element and
5862 previous-history-element respectively.
5863 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5864 help-go-back respectively.
5865 * info.el (Info-mode-map): Bind them to Info-history-forward and
5866 Info-history-back respectively.
5867 These are the keys next to Up on the ThinkPad keyboard.
5869 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5871 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5872 * emacs-lisp/cl-macs.el: Provide itself.
5873 (cl--labels-convert-cache): New var.
5874 (cl--labels-convert): New function.
5875 (cl-flet, cl-labels): New implementation with new semantics, relying on
5877 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5878 (cl-closure-vars, cl--function-convert-cache)
5879 (cl--function-convert): Move from cl-macs.el.
5880 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5881 rename by removing the "cl-" prefix.
5882 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5884 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5886 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5887 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5888 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5889 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5890 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5891 (cl-hash-table-count): Add old compatibility aliases.
5893 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5894 Use macroexpand-all-environment instead.
5895 (cl--old-macroexpand): New var.
5896 (cl--sm-macroexpand): New function.
5897 (cl-symbol-macrolet): Use it during macro expansion.
5898 (cl--function-convert-cache): New var.
5899 (cl--function-convert): New function, extracted from
5901 (cl-lexical-let): Use it.
5903 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5904 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5905 (cl-member): Remove old alias.
5907 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5908 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5909 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5910 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5911 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5912 (cl-macroexpand-cmacs): Remove var.
5913 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5914 Use macroexpand-all instead.
5916 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5918 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5919 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5920 (macroexp-copyable-p): New functions and macros.
5921 * emacs-lisp/edebug.el (edebug-unwrap):
5922 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5923 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5924 (pcase--let*): Remove.
5925 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5926 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5927 macroexp-const-p instead.
5928 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5930 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5931 instead of "cl-" for internal definitions. Use macroexp-const-p.
5932 (cl-old-bc-file-form): Remove var.
5933 (cl-const-exprs-p): Remove fun.
5934 (cl-labels, cl-macrolet): Use backquote.
5935 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5936 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5937 (cl-define-setf-expander): Rename from cl-define-setf-method.
5938 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5940 * international/mule-cmds.el: Don't require CL.
5941 (view-hello-file): Don't use `letf'.
5943 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5945 * tmm.el (tmm-prompt): Use string-prefix-p.
5946 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5947 (tmm-add-prompt): Use minibuffer-completion-help.
5948 (tmm-delete-map): Remove.
5950 * subr.el (kbd): Make it its own function.
5952 2012-06-07 Stefan Merten <smerten@oekonux.de>
5954 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5955 Silence compiler warnings. Fix versions.
5956 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
5957 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
5958 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
5959 (rst-package-emacs-version-alist): Correct Emacs version to
5960 represent major merge with upstream.
5961 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
5963 2012-06-06 Glenn Morris <rgm@gnu.org>
5965 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5966 Only print environment variables if set.
5968 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5970 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5971 (macroexp--cons): Rename from maybe-cons.
5972 (macroexp--accumulate): Rename from macroexp-accumulate.
5973 (macroexp--all-forms): Rename from macroexpand-all-forms.
5974 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5975 (macroexp--expand-all): Rename from macroexpand-all-1.
5977 2012-06-06 Sam Steingold <sds@gnu.org>
5979 * calendar/calendar.el (calendar-in-read-only-buffer):
5980 Call `special-mode' to enable the standard read-only keybindings.
5982 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5984 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5985 with "loading" messages (bug#11635).
5987 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
5989 * files.el (enable-remote-dir-locals): New option.
5990 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5992 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5993 Ensure, that the temp directory is local.
5995 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5996 `temporary-file-directory'.
5998 * progmodes/python.el (python-send-region): Ensure, that the
5999 temporary file is created also in the remote case.
6001 2012-06-06 Glenn Morris <rgm@gnu.org>
6003 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6004 (vc-rcs-update-changelog): Use it.
6006 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
6008 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6009 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6010 (vc-sccs-diff): Replace use of the external vcdiff script.
6012 2012-06-05 Glenn Morris <rgm@gnu.org>
6014 * ledit.el: Move to obsolete/.
6016 2012-06-05 Sam Steingold <sds@gnu.org>
6018 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
6021 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6023 * emacs-lisp/cust-print.el: Move to obsolete.
6025 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6026 compiler-macro expansion.
6028 Add native compiler-macro support.
6029 * emacs-lisp/macroexp.el (macroexpand-all-1):
6030 Support compiler-macros directly. Properly follow aliases and apply
6031 the compiler macros more thoroughly.
6032 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6033 macroexpand now properly follows aliases.
6034 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6035 (cl-compiler-macroexpand): Use new prop.
6036 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6038 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6040 2012-06-05 Martin Rudalics <rudalics@gmx.at>
6042 * window.el (get-lru-window, get-mru-window, get-largest-window):
6043 New argument NOT-SELECTED to avoid picking the selected window.
6044 (window--display-buffer-1, window--display-buffer-2): Replace by
6045 new function window--display-buffer
6046 (display-buffer-same-window, display-buffer-reuse-window)
6047 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6048 Use window--display-buffer.
6049 (display-buffer-use-some-window): Remove temporary dedication
6050 hack by calling get-lru-window and get-largest-window with
6051 NOT-SELECTED argument non-nil. Call window--display-buffer.
6053 2012-06-05 Glenn Morris <rgm@gnu.org>
6055 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6056 Replace external vcdiff script.
6058 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6060 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6062 2012-06-04 Chong Yidong <cyd@gnu.org>
6064 * image.el (imagemagick-types-inhibit): Revert last change.
6066 (imagemagick-enabled-types): Remove CIN and EPS*.
6068 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6070 * emacs-lisp/cl-lib.el: Rename from cl.el.
6071 * emacs-lisp/cl.el: New compatibility file.
6072 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6073 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6074 to obey the "cl-" prefix.
6075 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6077 2012-06-03 Glenn Morris <rgm@gnu.org>
6079 * emacs-lisp/authors.el (authors-aliases): Addition.
6081 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6084 2012-06-03 Stefan Merten <smerten@oekonux.de>
6086 * textmodes/rst.el: Add comments.
6087 (rst-transition, rst-adornment): New faces.
6088 (rst-adornment-faces-alist): Make default safe to reevaluate.
6090 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6091 Improve customization tags.
6092 (rst-define-level-faces): Clarify meaning.
6094 2012-06-03 Chong Yidong <cyd@gnu.org>
6096 * progmodes/compile.el (compilation-mode-line-fail)
6097 (compilation-mode-line-run, compilation-mode-line-exit):
6099 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6101 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6103 * progmodes/which-func.el (which-func-update-ediff-windows):
6104 New function. Use it in ediff-select-hook (Bug#11478).
6106 2012-06-03 Chong Yidong <cyd@gnu.org>
6108 * bindings.el: Remove explicit help text from format-mode-line.
6109 It is now supplied by mode-line-default-help-echo.
6110 (mode-line-front-space, mode-line-end-spaces)
6111 (mode-line-misc-info): New variables.
6112 (mode-line-modes, mode-line-position): Move the default value to
6113 the variable definition.
6114 (mode-line-default-help-echo): New defcustom.
6115 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6116 (mode-line-modified-help-echo): New functions.
6117 (mode-line-mule-info, mode-line-modified): Use them.
6118 (mode-line-eol-desc, propertized-buffer-identification):
6119 Consistency fixes for help text.
6120 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6121 set-buffer-file-coding-system (Bug#289).
6122 (mode-line-mule-info-help-echo): Update help text.
6124 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6126 * simple.el (execute-extended-command): Set real-this-command
6129 2012-06-02 Chong Yidong <cyd@gnu.org>
6131 Remove incorrect uses of "modeline" in comments, docstrings, and
6132 function/variable names (Bug#10329).
6134 * cus-edit.el (mode-line):
6135 * dframe.el (dframe-mouse-hscroll):
6136 * emacs-lisp/re-builder.el:
6137 * emacs-lisp/easy-mmode.el (define-minor-mode):
6138 * frame.el (set-frame-name):
6139 * help.el (lookup-minor-mode-from-indicator):
6140 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6141 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6142 (c-toggle-hungry-state):
6143 * progmodes/antlr-mode.el (antlr-language-alist):
6144 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6145 * progmodes/vhdl-mode.el (vhdl-mode):
6146 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6147 * term/ns-win.el (ns-face-at-pos):
6148 * term/sup-mouse.el (sup-mouse-report):
6149 * textmodes/flyspell.el (flyspell-mode-line-string):
6150 * textmodes/ispell.el (ispell-highlight-face):
6151 * textmodes/reftex-global.el:
6152 * vc/vc-arch.el (vc-arch-mode-line-string):
6153 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6154 * vc/vc-git.el (vc-git-mode-line-string):
6155 * vc/vc-hooks.el (vc-display-status)
6156 (vc-default-mode-line-string):
6157 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6159 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6161 * dired.el (dired-sort-set-mode-line): Rename from
6162 dired-sort-set-modeline. All callers changed.
6164 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6165 eshell-status-in-modeline.
6167 * foldout.el (foldout-mode-line-string): Rename from
6168 foldout-modeline-string. All callers changed.
6169 (foldout-update-mode-line): Rename from foldout-update-modeline.
6171 * subr.el (redraw-modeline): Make into obsolete alias.
6173 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6174 timeclock-modeline-display. Make old name an alias.
6175 (timeclock-update-mode-line): Likewise. All callers changed.
6176 (timeclock-mode-line-display): No need to check before using
6178 (timeclock-relative, timeclock-day-over-hook)
6179 (timeclock-use-elapsed, timeclock-mode-string)
6180 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6182 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6183 crisp-mode-modeline-string.
6185 * play/solitaire.el (solitaire-build-mode-line): Rename from
6186 solitaire-build-modeline. All callers changed.
6188 * play/zone.el (zone-hiding-mode-line): Rename from
6189 zone-hiding-modeline. All callers changed.
6190 (zone): Remove unusued `modeline-hidden-level' property.
6192 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6193 xscheme-modeline-initialize. All callers changed.
6195 * strokes.el (strokes-lighter): Rename from
6196 strokes-modeline-string.
6198 * textmodes/sgml-mode.el (html-face-tag-alist)
6199 (html-tag-face-alist): Use mode-line face instead of obsolete
6202 2012-06-02 Stefan Merten <smerten@oekonux.de>
6204 * textmodes/rst.el: Always require `cl'.
6205 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
6207 2012-06-02 Chong Yidong <cyd@gnu.org>
6209 * image.el (imagemagick-enabled-types): Rename from
6210 imagemagick-types-enable. Add many more types.
6211 (imagemagick-types-inhibit): Change default to nil.
6212 (imagemagick-filter-types): Caller changed.
6214 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6216 * emacs-lisp/cl-macs.el: Use backquotes.
6217 (cl-transform-function-property): Use eval-and-compile rather than
6219 (defstruct): Use declare-function instead of with-no-warnings.
6221 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6222 (byte-compile-output-docform): Re-add the print-circle bindings.
6223 (byte-compile-fix-header): Use #$ just because it's shorter.
6224 (byte-compile-output-file-form): Remove defun/defmacro.
6226 2012-06-01 Martin Rudalics <rudalics@gmx.at>
6228 * simple.el (choose-completion): Remove now obsolete binding for
6231 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
6233 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6234 in order to avoid "Stack overflow in regexp matcher".
6236 2012-05-31 Glenn Morris <rgm@gnu.org>
6238 * image.el: For clarity, call imagemagick-register-types at
6239 top-level, rather than relying on a custom :initialize.
6240 (imagemagick-types-enable): New option. (Bug#11557)
6241 (imagemagick-filter-types): New function. (Bug#7406)
6242 (imagemagick-register-types): Use imagemagick-filter-types.
6243 If disabling support, remove elements altogether rather
6244 than using an impossible regexp.
6245 (imagemagick-types-inhibit): Give it the default init function.
6247 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6249 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6250 Handle arbitrary file name lengths (Bug#11585).
6252 2012-05-31 Martin Rudalics <rudalics@gmx.at>
6254 * desktop.el (desktop-read): Clear previous and next buffers for
6255 all windows and bury *Messages* buffer (bug#11556).
6257 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6259 Add `declare' for `defun'. Align `defmacro's with it.
6260 * emacs-lisp/easy-mmode.el (define-minor-mode)
6261 (define-globalized-minor-mode): Don't autoload the var definitions.
6262 * emacs-lisp/byte-run.el: Use lexical-binding.
6263 (defun-declarations-alist, macro-declarations-alist): New vars.
6264 (defmacro, defun): Use them.
6265 (make-obsolete, define-obsolete-function-alias)
6266 (make-obsolete-variable, define-obsolete-variable-alias):
6268 (macro-declaration-function): Mark obsolete.
6269 * emacs-lisp/autoload.el: Use lexical-binding.
6270 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6272 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6274 * textmodes/ispell.el (ispell-with-no-warnings):
6276 (ispell-kill-ispell, ispell-change-dictionary):
6277 Use `called-interactively-p' for Emacs instead of obsolete
6280 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6282 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6283 (macro-declaration-function): Move var from C code.
6284 (macro-declaration-function): Define function with defalias.
6285 * emacs-lisp/macroexp.el (macroexpand-all-1):
6286 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6287 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6288 defun/defmacro any more.
6289 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6290 Provide fallback for unknown arglist.
6291 (byte-compile-arglist-warn): Change calling convention.
6292 (byte-compile-output-file-form): Move print-vars binding.
6293 (byte-compile-output-docform): Simplify accordingly.
6294 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6295 (byte-compile-defmacro-declaration): Remove.
6296 (byte-compile-file-form-defmumble): Generalize to defalias.
6297 (byte-compile-output-as-comment): Return byte-positions.
6298 Simplify callers accordingly.
6299 (byte-compile-lambda): Use `assert'.
6300 (byte-compile-defun, byte-compile-defmacro): Remove.
6301 (byte-compile-file-form-defalias):
6302 Use byte-compile-file-form-defmumble.
6303 (byte-compile-defalias-warn): Remove.
6305 2012-05-29 Stefan Merten <smerten@oekonux.de>
6307 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
6308 possible. Fix authors. Improve comments. Improve loading of `cl'.
6310 (rst-mode-abbrev-table): Merge definition.
6311 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6312 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6314 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
6316 * calendar/icalendar.el
6317 (icalendar-export-region): Export UID properly.
6319 2012-05-29 Leo Liu <sdl.web@gmail.com>
6320 * calendar/icalendar.el (icalendar-import-format):
6321 Add `icalendar-import-format-uid' (Bug#11525).
6322 (icalendar-import-format-uid): New.
6323 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6326 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6328 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6329 different alternative patterns.
6330 (pcase-codegen): Be more careful to preserve identity.
6331 (pcase--u1): Don't forget to mark vars as used.
6333 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6334 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6335 (byte-compile-from-buffer): ...rather than here.
6337 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6338 functions from byte-compile-function-environment.
6340 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
6342 * window.el (window-deletable-p): Avoid deleting the root window
6343 of a frame with an active minibuffer.
6345 2012-05-29 Martin Rudalics <rudalics@gmx.at>
6347 * simple.el (choose-completion): Use quit-window (Bug#11567).
6349 2012-05-29 Chong Yidong <cyd@gnu.org>
6351 * whitespace.el (whitespace-cleanup): Fix usage of
6352 whitespace-empty-at-bob-regexp (Bug#11492).
6354 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6356 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6359 2012-05-29 Juri Linkov <juri@jurta.org>
6361 * isearch.el (isearch-mode-map): Bind `M-s _' to
6362 `isearch-toggle-symbol'. Bind `M-s c' to
6363 `isearch-toggle-case-fold'.
6364 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6365 (isearch-forward): Add `M-s _' to the docstring.
6366 (isearch-forward-symbol, isearch-toggle-case-fold)
6367 (isearch-symbol-regexp): New functions. (Bug#11381)
6369 2012-05-29 Juri Linkov <juri@jurta.org>
6371 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6372 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6373 a function, call it to get the regexp.
6374 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6375 property `isearch-message-prefix' instead of the string "word ".
6376 (isearch-search-fun-default): For the case of `isearch-word',
6377 return a lambda that calls re-search-forward/re-search-backward
6378 with a regexp returned by `word-search-regexp' or by the function
6381 2012-05-29 Juri Linkov <juri@jurta.org>
6383 * isearch.el (isearch-search-fun-default): New function.
6384 (isearch-search-fun): Move default part to the new function
6385 `isearch-search-fun-default'.
6386 (isearch-search-fun-function): Set the default value to
6387 `isearch-search-fun-default'. (Bug#11381)
6389 * comint.el (comint-history-isearch-end):
6390 Use `isearch-search-fun-default'.
6391 (comint-history-isearch-search): Use `isearch-search-fun-default'
6392 and remove spacial case for `isearch-word'.
6393 (comint-history-isearch-wrap): Remove spacial case for
6396 * hexl.el (hexl-isearch-search-function):
6397 Use `isearch-search-fun-default'.
6399 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6400 Use `word-search-regexp' for `isearch-word'.
6402 * misearch.el (multi-isearch-search-fun):
6403 Use `isearch-search-fun-default'.
6405 * simple.el (minibuffer-history-isearch-search):
6406 Use `isearch-search-fun-default' and remove spacial case for
6408 (minibuffer-history-isearch-wrap): Remove spacial case for
6411 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6412 Remove spacial case for `isearch-word'.
6413 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6415 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6417 Decrease XEmacs incompatibilities.
6418 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6420 (flyspell-delete-region-overlays): Use alternative definition for
6422 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6423 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6424 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6425 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6426 `define-obsolete-face-alias' under XEmacs, but old method.
6428 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6429 `with-no-warnings' definition or Emacs alias.
6430 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6431 (ispell-word): Do not use `region-p' if XEmacs.
6433 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6435 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6436 Check for `ispell-dictionary-base-alist' instead of full
6437 `ispell-dictionary-alist'.
6438 (ispell-init-process): Show spellchecker when starting new Ispell
6441 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6443 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6444 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6446 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
6448 * version.el (motif-version-string, gtk-version-string)
6449 (ns-version-string): Declare.
6451 2012-05-27 Juri Linkov <juri@jurta.org>
6453 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6454 after the `eval-defun-1' specialcaseing
6455 like in `edebug-eval-defun' (bug#10181).
6457 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6458 like in `eval-defun-1'.
6460 2012-05-27 Eli Zaretskii <eliz@gnu.org>
6462 * mail/sendmail.el (mail-yank-region):
6463 Recognize rmail-yank-current-message in addition to insert-buffer.
6464 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
6465 a *mail* buffer created through rmail-start-mail with sendmail as
6468 2012-05-27 Chong Yidong <cyd@gnu.org>
6470 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6471 Default to 256 (Bug#11267).
6473 * help.el (describe-mode): Doc fix.
6475 2012-05-26 Glenn Morris <rgm@gnu.org>
6477 * w32-fns.el (w32-init-info): Remove.
6478 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6480 * info.el (info-initialize): For self-contained NS builds, put the
6481 included info/ directory at the front. (Bug#2791)
6483 * paths.el (Info-default-directory-list): Make it a defcustom,
6484 mainly so that we can use custom-initialize-delay.
6486 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6488 * subr.el (buffer-has-markers-at): Mark obsolete.
6490 * subr.el (lambda): Use declare.
6492 * emacs-lisp/lisp-mode.el (lambda):
6493 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6495 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6497 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6499 2012-05-26 Glenn Morris <rgm@gnu.org>
6501 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6503 2012-05-25 Glenn Morris <rgm@gnu.org>
6505 * paths.el: Remove no-byte-compile.
6506 * loadup.el: No need to load paths.el uncompiled.
6508 * image.el (imagemagick-types-inhibit): Doc fix.
6510 * version.el: Remove no-byte-compile and associated formatting.
6511 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6512 is ancient code from when there was an "inc-vers.el".
6514 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6516 * progmodes/gdb-mi.el: Minor style changes.
6517 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6518 Turn into minor modes.
6519 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6520 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6521 (gdb-shell): Remove unneeded let-binding.
6522 (gdb-get-many-fields): Eliminate O(n²) behavior.
6524 2012-05-25 Eli Zaretskii <eliz@gnu.org>
6526 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6527 platforms that don't link in fontset.c.
6529 2012-05-25 Juri Linkov <juri@jurta.org>
6531 Use the same diff color scheme as in modern VCSes (bug#10181).
6533 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6534 to avoid confusion with `diff-added' that now uses green colors.
6535 (diff-removed): Use shades of red.
6536 (diff-added): Use shades of green.
6537 (diff-changed): Leave just the yellow color.
6538 (diff-use-changed-face): New variable.
6539 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6540 how to highlight context diff changes.
6541 (diff-refine-change): Use shades of yellow.
6542 (diff-refine-removed): New face that uses shades of red.
6543 (diff-refine-added): New face that uses shades of green.
6544 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6545 `diff-refine-removed' in the call to `smerge-refine-subst'
6546 depending on the value of `diff-use-changed-face'.
6548 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6549 (smerge-other): Use shades of green.
6550 (smerge-base): Use shades of yellow.
6551 (smerge-refined-change): Empty face.
6552 (smerge-refined-removed): New face that uses shades of red.
6553 (smerge-refined-added): New face that uses shades of green.
6554 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6555 args `props-r' and `props-a', and use them. Doc fix.
6556 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6557 on its value use different faces `smerge-refined-change',
6558 `smerge-refined-removed', `smerge-refined-added' in the call to
6559 `smerge-refine-subst'.
6561 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6562 Add face condition `min-colors 88' with shades of red.
6563 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6564 `min-colors 88' with shades of green.
6565 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6566 `min-colors 88' with shades of yellow.
6568 2012-05-24 Glenn Morris <rgm@gnu.org>
6570 * paths.el (prune-directory-list, remote-shell-program): Move to...
6571 * files.el (prune-directory-list, remote-shell-program): ...here.
6572 For the latter, delay initialization, prefer ssh, just search PATH.
6574 * paths.el (term-file-prefix): Move to faces.el (the only user).
6575 * faces.el (term-file-prefix): Move here, make it a defcustom.
6577 * paths.el (news-directory, news-path, news-inews-program):
6578 Move to gnus/nnspool.el.
6580 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6582 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6583 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6584 Make the latter a defcustom, with a delayed initialization.
6586 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6587 These were deleted from Gnus itself late 2010.
6589 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
6591 * progmodes/which-func.el (which-func-ff-hook):
6592 Check against user-error, not error.
6594 * emacs-lisp/edebug.el (top): Do not load or set up loading of
6595 cl-specs.el, which no longer exists.
6597 2012-05-22 Glenn Morris <rgm@gnu.org>
6599 * info.el (info-emacs-bug): New command.
6600 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6601 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6603 2012-05-21 Glenn Morris <rgm@gnu.org>
6605 * makefile.w32-in (update-subdirs-SH):
6606 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6608 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6610 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6612 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6613 Simplify Maven regexp, and make sure the file can't start with a space
6616 2012-05-21 Glenn Morris <rgm@gnu.org>
6618 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6619 Scrap superfluous subshells.
6621 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6623 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6624 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6626 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6628 * calc/calc.el (calc-ensure-consistent-units): New variable.
6630 * calc/calc-units.el (math-consistent-units-p)
6631 (math-check-unit-consistency): New functions.
6632 (calc-quick-units, calc-convert-units):
6633 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6635 (calc-extract-units): Fix typo.
6637 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6639 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6641 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6642 (flyspell-default-deplacement-commands): Don't spell check after
6643 repeated window/frame switches (e.g. triggered by mouse-movement).
6644 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6645 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6646 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6647 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6649 (flyspell-get-casechars, flyspell-get-not-casechars):
6650 Simplify; Don't bother removing a ] just to add it back.
6651 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6653 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6655 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6657 (math-function-table): Add support for more C functions.
6659 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6661 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6662 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6663 Protect delay handling for otherchars against empty otherchars.
6665 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6667 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6668 their respective macro declarations.
6669 * skeleton.el (define-skeleton):
6670 * progmodes/compile.el (define-compilation-mode):
6671 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6672 (define-ibuffer-filter):
6673 * emacs-lisp/generic.el (define-generic-mode):
6674 * emacs-lisp/easy-mmode.el (define-minor-mode)
6675 (define-globalized-minor-mode):
6676 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6677 * emacs-lisp/byte-run.el (defsubst):
6678 * custom.el (deftheme): Add doc-string metadata.
6680 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6682 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6684 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6686 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6688 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6689 * emacs-lisp/cl-macs.el: Idem.
6690 * emacs-lisp/cl-specs.el: Remove.
6692 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6694 Minor renaming of internal CL functions and variables.
6695 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6696 (cl--position): Rename from cl-position.
6697 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6698 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6699 (cl--random-state): Rename from *random-state*.
6701 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6703 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6704 parens around the arg list (bug#11499).
6706 2012-05-17 Juri Linkov <juri@jurta.org>
6708 * isearch.el (word-search-regexp, word-search-backward)
6709 (word-search-forward, word-search-backward-lax)
6710 (word-search-forward-lax): Move functions from search.c
6711 (bug#10145, bug#11381).
6713 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6715 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6716 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6717 Delay for otherchars as for normal word components.
6719 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6721 * minibuffer.el (completion--sifn-requote): Fix last change.
6722 (minibuffer-local-must-match-filename-map):
6723 Move define-obsolete-variable-alias before its var.
6725 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6727 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6729 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6731 (completion--string-equal-p): New function.
6732 (completion--twq-all): Use it to get better assertion failure data.
6734 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6735 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6736 (shell--requote-argument): New functions.
6737 (shell-completion-vars): Use them.
6738 (shell--parse-pcomplete-arguments): Rename from
6739 shell-parse-pcomplete-arguments.
6740 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6741 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6742 Obey comint-file-name-quote-list.
6744 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6745 (smie-indent-keyword): Use it.
6747 2012-05-14 Stefan Merten <smerten@oekonux.de>
6749 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6751 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6753 * net/rlogin.el (rlogin-mode-map): Fix last change.
6755 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
6757 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6758 the following \r\n using a single `process-send-string', since the
6759 Lotus SMTP server refuses to accept any commands if they are sent
6760 with two `process-send-string's (Bug#11444).
6762 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6764 * shell.el (shell-parse-pcomplete-arguments):
6765 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
6767 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6769 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
6770 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6771 (image-transform-width, image-transform-fit-width): New functions.
6772 (image-transform-properties): Use them.
6773 (image-transform-check-size): New function.
6774 (image-toggle-display-image): Use it (for testing).
6775 (image-transform-set-rotation): Reduce angle mod 360.
6776 Delete obsolete comment.
6778 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6780 * image-mode.el: Fix scaling (bug#11399).
6781 (image-transform-resize): Doc fix.
6782 (image-transform-properties): Default scale is 1 and height should
6785 2012-05-13 Johan Bockgård <bojohan@gnu.org>
6787 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6788 than hard-coding `car', to fix misbehavior when moving forward.
6790 2012-05-13 Chong Yidong <cyd@gnu.org>
6792 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6793 (tabulated-list-entries, tabulated-list-padding)
6794 (tabulated-list-sort-key): Make permanent-local.
6796 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6797 (electric-buffer-list): Put electric buffer menu
6798 command descriptions in this docstring, instead of the docstring
6799 of electric-buffer-menu-mode. Code cleanups.
6800 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6801 Electric-buffer-menu-mode.
6802 (electric-buffer-update-highlight): Minor code cleanup.
6804 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
6806 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6809 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6811 Move define-obsolete-variable-alias before the var's definition.
6812 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6813 * tooltip.el (tooltip-hook):
6814 * textmodes/reftex-toc.el (reftex-toc-map):
6815 * textmodes/reftex-sel.el (reftex-select-label-map)
6816 (reftex-select-bib-map):
6817 * textmodes/reftex-index.el (reftex-index-map)
6818 (reftex-index-phrases-map):
6819 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6820 * progmodes/meta-mode.el (meta-mode-map):
6821 * novice.el (disabled-command-hook):
6822 * loadhist.el (unload-hook-features-list):
6823 * frame.el (blink-cursor):
6824 * files.el (find-file-not-found-hooks, write-file-hooks)
6825 (write-contents-hooks):
6826 * emulation/tpu-edt.el (GOLD-map):
6827 * emacs-lock.el (emacs-lock-from-exiting):
6828 * emacs-lisp/generic.el (generic-font-lock-defaults):
6829 * emacs-lisp/chart.el (chart-map):
6830 * dos-fns.el (register-name-alist):
6831 * dired-x.el (dired-omit-files-p):
6832 * desktop.el (desktop-enable):
6833 * cus-edit.el (custom-mode-hook):
6834 * buff-menu.el (buffer-menu-mode-hook):
6835 * bookmark.el (bookmark-read-annotation-text-func)
6836 (bookmark-exit-hooks):
6837 * allout.el (allout-mode-deactivate-hook)
6838 (allout-exposure-change-hook, allout-structure-added-hook)
6839 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6840 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6841 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6842 comes before the corresponding variable's definition.
6844 2012-05-12 Chong Yidong <cyd@gnu.org>
6846 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
6847 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6848 (Buffer-menu-mode-map): Bind it.
6849 (Buffer-menu--pretty-name): Add a mouse-face property.
6851 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6853 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6854 (prolog-upper-case-string, prolog-lower-case-string)
6855 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6856 (prolog-use-smie, prolog-smie-grammar): New vars.
6857 (prolog-smie-forward-token, prolog-smie-backward-token)
6858 (prolog-smie-rules): New funs.
6859 (prolog-comment-indent): Remove.
6860 (prolog-mode-variables): Use default comment indentation instead.
6862 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6863 (prolog-mode): Don't call them any more.
6864 (prolog-electric-colon, prolog-electric-dash)
6865 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6867 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6869 * minibuffer.el (completion--twq-all): Again, allow case differences.
6871 * term.el: Move keymap initialization code to be more idiomatic.
6872 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6873 (term-terminal-menu): Move initialization into declaration.
6874 (term-escape-char): Let the user set it in her .emacs.
6876 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6877 Provide SMIE-based indentation (not enabled by default yet).
6878 (sh-mode-map): Don't bind electric keys.
6879 Use electric-pair-mode instead of skeleton-pair.
6880 (sh-assignment-regexp): Fit within 80 columns.
6881 (sh-indent-supported): Specify actual shell name instead of boolean.
6882 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6883 (sh-maybe-here-document): Use it. Make obsolete.
6884 (sh-electric-here-document-mode) New minor mode.
6885 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6886 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6887 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6888 (sh-smie-rc-grammar, sh-use-smie): New vars.
6889 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6890 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6891 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6892 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6893 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6894 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6895 (sh-set-shell): Use smie-setup if requested.
6897 * term.el (term-set-escape-char): Properly set term-escape-char.
6898 See http://stackoverflow.com/questions/10524656.
6900 2012-05-10 Chong Yidong <cyd@gnu.org>
6902 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6903 Use url-generic-parse-url, and handle host names and Windows
6905 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6906 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6907 URL schemes to work on.
6908 (ffap--toggle-read-only): New function.
6909 (ffap-read-only, ffap-read-only-other-window)
6910 (ffap-read-only-other-frame): Use it.
6911 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6912 necessary for ffap-url-unwrap-remote.
6914 2012-05-10 Dave Abrahams <dave@boostpro.com>
6916 * cus-start.el (create-lockfiles): Add it.
6918 2012-05-09 Chong Yidong <cyd@gnu.org>
6920 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6921 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6923 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6925 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6927 2012-05-09 Chong Yidong <cyd@gnu.org>
6929 * ansi-color.el (ansi-color-process-output): Check for validity of
6930 comint-last-output-start before using it. This avoids a bad
6931 interaction with gdb-mi's input/output buffer.
6933 2012-05-09 Glenn Morris <rgm@gnu.org>
6935 * files.el (dir-locals-read-from-file):
6936 Mention dir-locals in any error message.
6938 2012-05-09 Chong Yidong <cyd@gnu.org>
6940 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6941 package (Bug#11410).
6943 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6944 variables into description.
6946 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6948 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6949 shell-delimiter-argument-list (bug#11348).
6950 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6952 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
6954 * textmodes/rst.el: Silence byte-compiler warnings.
6955 (rst-re-alist, rst-reset-section-caches): Move around.
6956 (rst-re): Use `characterp', not `char-valid-p'.
6957 (font-lock-beg, font-lock-end): Declare.
6959 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6960 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6962 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6964 2012-05-08 Glenn Morris <rgm@gnu.org>
6966 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6968 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6970 * vc/log-edit.el: Add GNU coding standards highlighting.
6971 (log-edit-font-lock-gnu-style)
6972 (log-edit-font-lock-gnu-keywords): New vars.
6973 (log-edit-font-lock-keywords): New fun.
6974 (log-edit-mode): Don't fold case in font-lock.
6975 (log-edit-font-lock-keywords): Do not assume case-folding.
6977 * imenu.el: Misc cleanup. Make docstrings out of comments.
6978 Use lexical-binding.
6979 (imenu--index-alist, imenu--last-menubar-index-alist)
6980 (imenu-menubar-modified-tick): Use defvar-local.
6981 (imenu--split-menu): Remove unused var.
6982 (imenu--cleanup-seen): Declare as global.
6983 (imenu--cleanup): Use dolist.
6985 * subr.el (defvar-local): Add debug spec and doc-string position.
6987 2012-05-08 Glenn Morris <rgm@gnu.org>
6989 * language/burmese.el, language/cham.el, language/czech.el:
6990 * language/english.el, language/georgian.el, language/greek.el:
6991 * language/japanese.el, language/khmer.el, language/korean.el:
6992 * language/lao.el, language/misc-lang.el, language/romanian.el:
6993 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6994 * language/thai.el, language/utf-8-lang.el:
6995 Remove no-byte-compile setting.
6997 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6999 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7001 * progmodes/make-mode.el (makefile-browse):
7002 Remove unnecessary interactive. (Bug#11324)
7004 2012-05-07 Glenn Morris <rgm@gnu.org>
7006 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7008 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7010 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7012 * loadup.el: Preload newcomment.el.
7013 * newcomment.el: Move autoload-only code to toplevel.
7015 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7016 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7017 Handle new :right-align column property.
7018 (tabulated-list-print-col): Idem, plus use `display' text-property to
7019 try and preserve alignment for variable pitch fonts.
7021 2012-05-07 Chong Yidong <cyd@gnu.org>
7023 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7024 (tabulated-list-use-header-line): New var.
7025 (tabulated-list-init-header): Use it.
7026 (tabulated-list-print-fake-header): New function.
7027 (tabulated-list-print): Use it.
7028 (tabulated-list-sort-button-map): Add non-header-line commands.
7029 (tabulated-list-init-header): Add column name property to basic
7031 (tabulated-list-col-sort): Handle non-header-line button case.
7032 (tabulated-list--sort-by-column-name): Fix a corner case.
7034 * buff-menu.el (list-buffers--refresh):
7035 Handle Buffer-menu-use-header-line.
7037 2012-05-06 Chong Yidong <cyd@gnu.org>
7039 * buff-menu.el: Convert to Tabulated List mode.
7040 (Buffer-menu-buffer+size-width): Make obsolete.
7041 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7042 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7043 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7044 documentation into docstring of buffer-menu.
7045 (Buffer-menu-toggle-files-only): Add an informative message.
7046 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7047 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7048 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7049 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7050 (Buffer-menu-execute, Buffer-menu-select)
7051 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7052 (Buffer-menu-bury): Use Tabulated List machinery.
7053 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7054 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
7056 (list-buffers--refresh): New function.
7057 (list-buffers-noselect): Use it.
7058 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7059 (Buffer-menu--pretty-file-name): New helper functions.
7061 * loadup.el: Preload tabulated-list.
7063 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7064 tabulated-list-sort-column.
7065 (tabulated-list-init-header): Add the initial aligning space even
7066 if tabulated-list-padding is zero.
7068 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7070 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7071 whose cdr is not a cons cell correctly (bug#11038).
7073 2012-05-06 Chong Yidong <cyd@gnu.org>
7075 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7076 Accept additional plist in column descriptors.
7077 (tabulated-list-init-header): Obey it.
7078 (tabulated-list-get-entry): New function.
7079 (tabulated-list-put-tag): Use it. Use string-width instead of
7081 (tabulated-list--column-number): New function.
7082 (tabulated-list-print): Use it.
7083 (tabulated-list-print-col): New function.
7084 Set `tabulated-list-column-name' property on each column's text.
7085 (tabulated-list-print-entry): Use it.
7086 (tabulated-list-delete-entry, tabulated-list-set-col):
7088 (tabulated-list-sort-column): New command (Bug#11337).
7090 * buff-menu.el (list-buffers): Move C-x C-b binding from
7091 buff-menu.el to bindings.el.
7093 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7094 :advertised-binding feature.
7096 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7098 * progmodes/compile.el (compilation-internal-error-properties):
7099 Calculate start position correctly when end-col is set but
7100 end-line is not (Bug#11382).
7102 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7104 * man.el (Man-unindent): Use text-property-default-nonsticky to
7105 prevent untabify from inheriting face properties (Bug#11408).
7107 2012-05-05 Stefan Merten <smerten@oekonux.de>
7109 * textmodes/rst.el: Major merge with upstream development up to
7110 Docutils SVN r7399 / rst.el V1.2.1.
7112 Clarify maintainership and authors.
7114 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7115 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7116 (rst-official-version, rst-official-cvs-rev, rst-version)
7117 (rst-package-emacs-version-alist): New functions and variables
7118 for version information.
7120 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7121 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7122 (rst-mode-syntax-table, rst-mode): New and corrected functions
7123 and variables representing reStructuredText features.
7125 (rst-re): New function for reStructuredText regexes. Use in
7128 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7129 (rst-mode-map): Rebind keys.
7131 (rst-mode-lazy, rst-font-lock-keywords)
7132 (rst-font-lock-extend-region)
7133 (rst-font-lock-extend-region-internal)
7134 (rst-font-lock-extend-region-extend)
7135 (rst-font-lock-find-unindented-line-limit)
7136 (rst-font-lock-find-unindented-line-match)
7137 (rst-adornment-level, rst-font-lock-adornment-level)
7138 (rst-font-lock-adornment-match)
7139 (rst-font-lock-handle-adornment-pre-match-form)
7140 (rst-font-lock-handle-adornment-matcher): Major revision of
7141 font-locking. Integrate with other code. Use `jit-lock-mode'.
7143 (rst-preferred-adornments, rst-adjust-hook)
7144 (rst-new-adornment-down, rst-preferred-bullets)
7145 (rst-preferred-bullets, rst-indent, rst-indent-width)
7146 (rst-indent-field, rst-indent-literal-normal)
7147 (rst-indent-literal-minimized, rst-indent-comment): Change,
7148 extend and improve customization.
7150 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7151 (rst-normalize-cursor-position, rst-get-decoration)
7152 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7153 (rst-rstrip, rst-toc-insert-find-delete-contents)
7154 (rst-shift-fill-region, rst-compute-bullet-tabs)
7155 (rst-debug-print-tabs, rst-debug-mark-found)
7156 (rst-shift-region-guts, rst-shift-region-right)
7157 (rst-shift-region-left, rst-use-char-classes)
7158 (rst-font-lock-keywords-function)
7159 (rst-font-lock-indentation-point)
7160 (rst-font-lock-find-unindented-line-begin)
7161 (rst-font-lock-find-unindented-line-end)
7162 (rst-font-lock-find-unindented-line)
7163 (rst-font-lock-adornment-point, rst-font-lock-level)
7164 (rst-adornment-level-alist): Remove functions and variables.
7166 (rst-compare-adornments, rst-get-adornment-match)
7167 (rst-suggest-new-adornment, rst-get-adornments-around)
7168 (rst-adornment-complete-p, rst-get-next-adornment)
7169 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7170 (rst-straighten-adornments): Standardize function names to
7171 use "adornment" instead of "decoration". Correct callers.
7172 Similar standardizing in many places.
7174 (rst-update-section, rst-adjust, rst-promote-region)
7175 (rst-enumerate-region, rst-bullet-list-region)
7176 (rst-repeat-last-character): Correct use of `interactive'.
7178 (rst-classify-adornment, rst-find-all-adornments)
7179 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7180 (rst-find-leftmost-column, rst-repeat-last-character):
7183 (rst-find-title-line, rst-reset-section-caches)
7184 (rst-get-adornments-around, rst-adjust-adornment-work)
7185 (rst-arabic-to-roman, rst-roman-to-arabic)
7186 (rst-insert-list-pos, rst-insert-list-new-item)
7187 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7190 (rst-all-sections, rst-section-hierarchy)
7191 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7194 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7195 configuration instead of only buffer. Change where necessary.
7197 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7198 (rst-shift-region, rst-adaptive-fill): New functions for
7199 indentation and filling.
7201 (rst-comment-line-break, rst-comment-indent)
7202 (rst-comment-insert-comment, rst-comment-region)
7203 (rst-uncomment-region): New functions for handling comments.
7205 (rst-compile): Quote shell arguments.
7207 (rst-compile-pdf-preview, rst-compile-slides-preview):
7208 Delete temporary files after use.
7210 2012-05-05 Glenn Morris <rgm@gnu.org>
7212 * calendar/cal-html.el: Optionally include holidays in the output.
7213 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7214 (cal-html-holidays): New option.
7215 (cal-html-css-default): Add holiday entry.
7216 (holiday-in-range): Autoload it.
7217 (cal-html-htmlify-entry): Add optional class argument.
7218 (cal-html-htmlify-list): Add optional holidays argument.
7219 (cal-html-insert-agenda-days): Include holidays in the output.
7220 (cal-html-one-month): Maybe include holidays.
7222 * calendar/holidays.el (holiday-in-range):
7223 Move here from cal-tex-list-holidays.
7224 * calendar/cal-tex.el (cal-tex-list-holidays):
7225 Make it an obsolete alias for holiday-in-range. Update all callers.
7227 2012-05-05 Chong Yidong <cyd@gnu.org>
7229 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7232 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7234 * files.el (file-auto-mode-skip): New var.
7235 (set-auto-mode-1): Use it.
7237 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7239 * repeat.el: Use lexical-binding.
7240 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7241 (repeat-undo-count): Remove.
7243 * progmodes/octave-mod.el (octave-abbrev-start):
7244 * progmodes/f90.el (f90-abbrev-start):
7245 * face-remap.el (text-scale-adjust):
7246 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7248 * emacs-lisp/pcase.el (pcase--let*): New function.
7249 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7251 (pcase--split-pred): Be more clever about ruling out overlap between
7252 a predicate and some constant pattern.
7253 (pcase--q1): Use `null' instead of (eq foo nil).
7255 * subr.el (setq-local, defvar-local): New macros.
7256 (kbd): Redefine as an alias.
7257 (with-selected-window): Leave unrelated frames alone.
7258 (set-temporary-overlay-map): New function.
7260 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7262 * subr.el (user-error): New function.
7263 * window.el (switch-to-buffer):
7264 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7265 (smerge-match-conflict):
7266 * simple.el (previous-matching-history-element)
7267 (next-matching-history-element, goto-history-element, undo-more)
7269 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7270 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7271 (next-file, tags-loop-scan, list-tags, complete-tag):
7272 * progmodes/compile.el (compilation-loop):
7273 * mouse.el (mouse-minibuffer-check):
7274 * man.el (Man-bgproc-sentinel, Man-goto-page):
7275 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7276 (Info-history-forward, Info-follow-reference, Info-menu)
7277 (Info-extract-menu-item, Info-extract-menu-counting)
7278 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7279 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7280 (Info-next-reference, Info-prev-reference, Info-index)
7281 (Info-index-next, Info-follow-nearest-node)
7282 (Info-copy-current-node-name):
7283 * imenu.el (imenu--make-index-alist)
7284 (imenu-default-create-index-function, imenu-add-to-menubar):
7285 * files.el (basic-save-buffer, recover-file):
7286 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7287 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7288 (checkdoc-message-text, checkdoc-defun):
7289 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7290 * cus-edit.el (customize-changed-options, customize-rogue)
7291 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7292 (custom-variable-mark-to-reset-standard)
7293 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7295 * completion.el (check-completion-length):
7296 * comint.el (comint-search-arg)
7297 (comint-previous-matching-input-string-position)
7298 (comint-previous-matching-input)
7299 (comint-replace-by-expanded-history-before-point, comint-send-input)
7300 (comint-copy-old-input, comint-backward-matching-input)
7301 (comint-goto-process-mark, comint-set-process-mark):
7302 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7303 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7305 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7307 * dabbrev.el (dabbrev--ignore-case-p): New function.
7308 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7311 * files.el (automount-dir-prefix): Mark as obsolete.
7313 2012-05-04 Glenn Morris <rgm@gnu.org>
7315 * patcomp.el, play/bruce.el: Move to obsolete/.
7317 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7319 Fix minor Y10k bugs.
7320 * arc-mode.el (archive-unixdate):
7321 * autoinsert.el (auto-insert-alist):
7322 * calc/calc-forms.el (math-this-year):
7323 * emacs-lisp/copyright.el (copyright-current-year)
7324 (copyright-update-year, copyright):
7325 * tar-mode.el (tar-clip-time-string):
7326 * time.el (display-time-update):
7327 Don't assume years have 4 digits.
7329 2012-05-04 Chong Yidong <cyd@gnu.org>
7331 * dos-w32.el (file-name-buffer-file-type-alist)
7332 (direct-print-region-use-command-dot-com):
7333 * ffap.el (ffap-menu-regexp):
7334 * find-file.el (ff-special-constructs):
7335 * follow.el (follow-debug):
7336 * forms.el (forms--debug):
7337 * iswitchb.el (iswitchb-all-frames):
7338 * ido.el (ido-all-frames):
7339 * emacs-lisp/timer.el (timer-max-repeats):
7340 * mail/feedmail.el (feedmail-mail-send-hook)
7341 (feedmail-mail-send-hook-queued):
7342 * mail/footnote.el (footnote-signature-separator):
7343 * mail/mailabbrev.el (mail-alias-separator-string)
7344 (mail-abbrev-mode-regexp):
7345 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7346 * progmodes/idlwave.el (idlwave-libinfo-file)
7347 (idlwave-default-completion-case-is-down)
7348 (idlwave-library-routines): Convert defvars to defcustoms.
7350 * mail/rmail.el (rmail-decode-mime-charset):
7351 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7352 (idlwave-shell-fix-inserted-breaks)
7353 (idlwave-shell-activate-alt-keybindings)
7354 (idlwave-shell-use-breakpoint-glyph):
7355 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7357 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7359 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7361 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7363 * progmodes/verilog-mode.el (font-lock-keywords):
7364 Fix mis-highligting auto. Reported by Craig Barner.
7365 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
7366 defines from global name space. Reported by Dan Dever.
7367 (verilog-auto-reset, verilog-auto-reset-widths)
7368 (verilog-auto-tieoff): Support using unbased numbers for
7369 AUTORESET and AUTOTIEOFF.
7370 (verilog-submit-bug-report): Update variable list.
7371 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
7372 parenthesis from not matching. Reported by Michael Rytting.
7373 (verilog-auto-template-lint): Fix hash error when linting modules
7374 with no used templates.
7375 (verilog-warn, verilog-warn-error)
7376 (verilog-warn-fatal): When non-interactive report multiple
7377 warnings before exiting. Suggested by Brad Dobbie.
7378 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7379 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7380 to report unused template errors. Reported by Brad Dobbie.
7381 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
7382 nets, bug438. Reported by Vns Blore.
7383 (verilog-auto-inout-module, verilog-auto-reg)
7384 (verilog-read-decls, verilog-read-sub-decls-sig)
7385 (verilog-signals-edit-wire-reg, verilog-signals-with):
7386 Fix passing of Verilog data types in ANSI input/output ports
7387 such as "output logic" into the AUTOs. Special case "wire" and
7388 "reg" for backwards compatibility presuming Verilog 2001.
7389 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7390 (verilog-preprocess): Fix replication of preprocess output.
7391 Reported by Brad Dobbie.
7392 (verilog-auto-inst-interfaced-ports):
7393 Create verilog-auto-inst-interfaced-ports, bug429.
7394 Reported by Julian Gorfajn.
7395 (verilog-after-save-font-hook)
7396 (verilog-before-save-font-hook): New variable.
7397 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7398 (verilog-save-font-mods): Wrap disabling fontification, reported
7400 (verilog-do-indent, verilog-pretty-declarations-auto)
7401 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7402 Reported by Pierre-David Pfister.
7403 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7404 of class declarations, bug292. Reported by Kevin Heilman.
7405 (verilog-read-decls): Fix 'parameter type' not appearing in
7406 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7407 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
7408 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
7409 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7410 Reported by David Kravitz.
7412 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
7414 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7415 assignment with tests in ifs and for loops.
7416 (verilog-extended-complete-re, verilog-complete-reg): Change so
7417 that DPI inport functions don't look like fuction declarations.
7418 (verilog-pretty-expr): Don't line up assignment
7419 operations to the test and increment in if and for loops
7420 (verilog-extended-complete-re, verilog-complete-reg): Change so
7421 that DPI inport functions don't look like fuction declarations.
7423 2012-05-03 Kenichi Handa <handa@m17n.org>
7425 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
7426 decoding, and show a warning message without signaling an error
7429 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7431 * emacs-lisp/bytecomp.el
7432 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7433 since cconv.el might have introduced :fun-body, internal-make-closure,
7434 and friends for bytecomp to handle (bug#11391).
7435 * custom.el (defcustom): Avoid ((λ ..) ..).
7437 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7439 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7441 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
7443 * notifications.el (dbus-debug):
7444 * term/linux.el (gpm-mouse-enable):
7445 * term/screen.el (xterm-register-default-colors): Declare.
7447 2012-05-02 Chong Yidong <cyd@gnu.org>
7449 * cus-start.el (gc-cons-percentage, exec-suffixes)
7450 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7451 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7452 (make-cursor-line-fully-visible, void-text-area-pointer)
7453 (font-list-limit): Add customization data.
7455 * allout.el (allout-exposure-change-functions)
7456 (allout-structure-added-functions)
7457 (allout-structure-deleted-functions)
7458 (allout-structure-shifted-functions): Rename abnormal hooks from
7459 *-hook, and convert to defcustoms.
7460 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7461 Convert to defcustoms.
7462 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7464 * allout-widgets.el: Hook callers changed.
7466 2012-05-02 Eli Zaretskii <eliz@gnu.org>
7468 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7469 the yanked message in preference to the default value of
7470 buffer-file-coding-system.
7472 2012-05-02 Martin Rudalics <rudalics@gmx.at>
7474 * window.el (display-buffer--action-function-custom-type):
7477 2012-05-02 Alan Mackenzie <acm@muc.de>
7479 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7481 2012-05-01 Glenn Morris <rgm@gnu.org>
7483 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7485 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7487 * cus-edit.el (custom-variable-documentation): Simplify with format.
7489 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7490 Stefan Monnier <monnier@iro.umontreal.ca>
7492 * simple.el (suggest-key-bindings, execute-extended-command):
7493 Move from keyboard.c.
7495 2012-05-01 Chong Yidong <cyd@gnu.org>
7497 * follow.el: Eliminate advice.
7498 (set-process-filter, process-filter, sit-for): Advice deleted.
7499 (follow-mode-off-hook): Obsolete hook removed.
7500 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7502 (follow-auto): Use a :set function.
7503 (follow-mode): Rewritten. Don't advise process filters.
7504 (follow-switch-to-current-buffer-all, follow-scroll-up)
7505 (follow-scroll-down): Assume follow-mode is bound.
7506 (follow-comint-scroll-to-bottom)
7507 (follow-align-compilation-windows): New functions.
7508 (follow--window-sorter): New function.
7509 (follow-all-followers): Use it to explicitly sort windows by their
7510 positions; don't make assumptions about next-window order.
7511 (follow-windows-start-end, follow-delete-other-windows-and-split)
7512 (follow-calc-win-start): Doc fix.
7513 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7514 vertical-motion unnecessarily.
7515 (follow-adjust-window): New function.
7516 (follow-post-command-hook): Use it.
7517 (follow-call-set-process-filter, follow-call-process-filter)
7518 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7519 (follow-stop-intercept-process-output, follow-generic-filter):
7521 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
7522 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7523 New functions, replacing advice on scroll-bar-* commands.
7524 (follow-mwheel-scroll): New function (Bug#4112).
7526 * comint.el (comint-adjust-point): New function.
7527 (comint-postoutput-scroll-to-bottom): Use it.
7528 Call follow-comint-scroll-to-bottom for Follow mode buffers.
7530 2012-05-01 Glenn Morris <rgm@gnu.org>
7532 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7533 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7534 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7535 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7536 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7537 Remove no-byte-compile setting.
7539 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7541 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7542 all-completions code to not return a number in the last cdr.
7544 2012-04-30 Leo Liu <sdl.web@gmail.com>
7546 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7549 2012-04-29 Chong Yidong <cyd@gnu.org>
7551 * follow.el (follow-calc-win-end): Rewrite to handle partial
7552 screen lines correctly (Bug#8390).
7553 (follow-avoid-tail-recenter): Minor cleanup.
7555 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7557 Avoid the obsolete `assoc' package.
7558 * speedbar.el (speedbar-refresh): Avoid adelete.
7559 (speedbar-file-lists): Simplify and avoid aput.
7560 * man.el (Man--sections, Man--refpages): New vars, replacing
7561 Man-sections-alist and Man-refpages-alist.
7562 (Man-build-section-alist, Man-build-references-alist):
7563 Use them; avoid aput.
7564 (Man--last-section, Man--last-refpage): New vars.
7565 (Man-follow-manual-reference): Use them.
7566 Use the `default' arg of completing-read.
7567 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7569 2012-04-27 Chong Yidong <cyd@gnu.org>
7571 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7573 * startup.el (x-apply-session-resources): New function.
7575 * term/ns-win.el (ns-initialize-window-system):
7576 * term/w32-win.el (w32-initialize-window-system):
7577 * term/x-win.el (x-initialize-window-system): Use it to properly
7578 set menu-bar-mode and other vars from X resources, even if the
7579 initial frame is not a window-system frame (Bug#2299).
7581 * subr.el (read-key): Avoid running filter function when setting
7582 up temporary tool bar entries (Bug#9922).
7584 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
7586 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7589 2012-04-27 Chong Yidong <cyd@gnu.org>
7591 * select.el (xselect--encode-string): New function, split from
7592 xselect-convert-to-string.
7593 (xselect-convert-to-string): Use it.
7594 (xselect-convert-to-filename, xselect-convert-to-os)
7595 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7596 returned strings are properly encoded (Bug#11315).
7598 2012-04-27 Chong Yidong <cyd@gnu.org>
7600 * simple.el (delete-active-region): Move to killing custom group.
7602 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
7604 * progmodes/which-func.el (which-func-current): Quote %
7605 characters for mode-line processing.
7607 2012-04-27 Chong Yidong <cyd@gnu.org>
7609 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7610 reaching eob (Bug#11286).
7612 2012-04-27 Eli Zaretskii <eliz@gnu.org>
7614 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7615 (gdb): Make it buffer-local and init to zero.
7616 (gdb-control-commands-regexp): New variable.
7617 (gdb-send): Don't wrap in "-interpreter-exec console" if
7618 gdb-control-level is positive. Increment gdb-control-level
7619 whenever the command matches gdb-control-commands-regexp, and
7620 decrement it each time the command is "end". (Bug#11279)
7622 2012-04-27 Martin Rudalics <rudalics@gmx.at>
7624 * window.el (adjust-window-trailing-edge, enlarge-window)
7625 (shrink-window, window-resize):
7626 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7627 windows (Bug#11276).
7629 2012-04-27 Chong Yidong <cyd@gnu.org>
7631 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
7632 fix "missing prefix" warning. All callers changed.
7634 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7636 * emacs-lisp/assoc.el: Move to obsolete/.
7638 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7640 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
7642 * term/ns-win.el (ns-define-service):
7643 * progmodes/pascal.el (pascal-goto-defun):
7644 * progmodes/js.el (js--read-tab):
7645 * progmodes/etags.el (tags-lazy-completion-table):
7646 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7647 * emacs-lisp/ewoc.el (ewoc--wrap):
7648 * emacs-lisp/assoc.el (aput, adelete, amake):
7649 * doc-view.el (doc-view-convert-current-doc):
7650 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7652 2012-04-26 Chong Yidong <cyd@gnu.org>
7654 * image.el (image-type-from-buffer): Only return supported image
7657 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7658 value, for symmetry with diff-end-of-hunk.
7659 (diff-split-hunk, diff-find-source-location)
7660 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7661 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7662 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7663 compute the relevant hunk or file properly (Bug#6005).
7664 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7666 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7675 * vc/vc.el: Replace lexical-let by lexical-binding.
7676 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7677 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7678 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7680 2012-04-26 Chong Yidong <cyd@gnu.org>
7682 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7683 (diff-mode-shared-map): Bind it to / and [remap undo].
7685 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7686 (ediff-window-setup-function): Use it as the default, to set up
7687 windows based on whether the current frame is graphical (Bug#2138).
7688 (ediff-choose-window-setup-function-automatically): Make obsolete.
7690 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7692 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7694 * ffap.el: Remove old code for obsolete package.
7695 (ffap-complete-as-file-p): Remove.
7697 Use completion-table-with-quoting for comint and pcomplete.
7698 * comint.el (comint--unquote&requote-argument)
7699 (comint--unquote-argument, comint--requote-argument): New functions.
7700 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7701 (comint-quote-filename): Use regexp-opt-charset.
7702 (comint--common-suffix, comint--common-quoted-suffix)
7703 (comint--table-subvert): Remove.
7704 (comint-unquote-function, comint-requote-function): New vars.
7705 (comint--complete-file-name-data): Use them with
7706 completion-table-with-quoting.
7707 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7708 * pcomplete.el (pcomplete-arg-quote-list)
7709 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7710 (pcomplete-unquote-argument-function): Default to non-nil.
7711 (pcomplete-unquote-argument): Simplify.
7712 (pcomplete--common-quoted-suffix): Remove.
7713 (pcomplete-requote-argument-function): New var.
7714 (pcomplete--common-suffix): New function.
7715 (pcomplete-completions-at-point): Use completion-table-with-quoting
7716 and completion-table-subvert.
7718 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7719 (minibuffer--double-dollars): Preserve properties.
7720 (completion--sifn-requote): New function.
7721 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7723 * minibuffer.el: Add support for completion of quoted/escaped data.
7724 (completion-table-with-quoting, completion-table-subvert): New funs.
7725 (completion--twq-try, completion--twq-all): New functions.
7726 (completion--nth-completion): New function.
7727 (completion-try-completion, completion-all-completions): Use it.
7729 2012-04-25 Leo Liu <sdl.web@gmail.com>
7731 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7732 Use compilation-message if available to find real filename.
7734 2012-04-25 Chong Yidong <cyd@gnu.org>
7736 * vc/diff-mode.el (diff-setup-whitespace): New function.
7737 (diff-mode): Use it.
7739 * vc/diff.el (diff-sentinel):
7740 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7741 Whitespace mode variables based on diff style (Bug#8612).
7743 2012-04-25 Leo Liu <sdl.web@gmail.com>
7745 * progmodes/python.el (python-send-region): Add suffix .py to the
7748 * files.el (auto-mode-alist): Use javascript-mode instead.
7750 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7752 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
7754 * net/soap-client.el (soap-resolve-references-for-sequence-type)
7755 (soap-resolve-references-for-array-type): Hack to prevent self
7756 references, see Bug#9.
7757 (soap-parse-envelope): Report the contents of the 'detail' node
7758 when receiving a fault reply.
7759 (soap-parse-envelope): Report the contents of the entire 'detail' node.
7761 * net/soap-inspect.el (soap-sample-value-for-simple-type)
7762 (soap-inspect-simple-type): New function.
7764 * net/soap-client.el (soap-simple-type): New struct.
7765 (soap-default-xsd-types, soap-default-soapenc-types)
7766 (soap-decode-basic-type, soap-encode-basic-type):
7767 support unsignedInt and double basic types.
7768 (soap-resolve-references-for-simple-type)
7769 (soap-parse-simple-type, soap-encode-simple-type): New function.
7770 (soap-parse-schema): Parse xsd:simpleType declarations.
7772 * net/soap-client.el (soap-default-xsd-types)
7773 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7774 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7775 the local name of "soapenc:Array".
7776 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
7777 decoding integer, byte and anyURI xsd types.
7779 2012-04-25 Chong Yidong <cyd@gnu.org>
7781 * cus-edit.el (custom-buffer-create-internal): Update header text.
7783 2012-04-25 Eli Zaretskii <eliz@gnu.org>
7785 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7786 settings on 'system-type', not on 'window-system'. On MS-Windows,
7787 set interactive-mode on in GDB.
7789 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7791 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7792 (ruby-syntax-propertize-regexp): Remove.
7793 (ruby-syntax-propertize-function): Split regexp into chunks.
7794 Match following code directly.
7796 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7798 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7799 (ruby-syntax-propertize-regexp): New function.
7800 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7801 by a special keyword.
7803 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7804 (ruby-syntax-general-delimiters-goto-beg)
7805 (ruby-syntax-propertize-general-delimiters): New functions.
7806 (ruby-syntax-propertize-function): Use them to handle GDL.
7807 (ruby-font-lock-keywords): Move old handling of GDL...
7808 (ruby-font-lock-syntactic-keywords): .. to here.
7809 (ruby-calculate-indent): Adjust indentation for GDL.
7811 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
7813 * notifications.el (top): Remove unneeded declarations.
7814 (notifications-specification-version): Change to "1.2".
7815 (notifications-interface, notifications-notify-method)
7816 (notifications-close-notification-method): Fix docstring.
7817 (notifications-get-capabilities-method): New defconst.
7818 (notifications-notify): Add :action-items, :resident and
7819 :transient hints. Change "image_data" to "image-data" and
7820 "image_path" to "image-path".
7821 (notifications-get-capabilities): New defun.
7823 2012-04-24 Leo Liu <sdl.web@gmail.com>
7825 * progmodes/python.el: Move hideshow setup to the end.
7827 2012-04-24 Martin Rudalics <rudalics@gmx.at>
7829 * window.el (handle-select-window): Clear echo area since this is
7830 no more done by read_char (Bug#11304).
7832 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7834 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7835 and `/ M' to filter-derived-mode.
7836 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7837 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7838 (ibuffer-mark-by-mode): Use default rather than initial-input.
7839 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7841 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7843 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7844 (ibuffer-filter-by-derived-mode): New filter.
7845 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7847 2012-04-23 Andreas Politz <politza@fh-trier.de>
7849 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7851 2012-04-23 Chong Yidong <cyd@gnu.org>
7853 * cus-edit.el (customize-apropos, customize-apropos-options):
7854 Disable matching of non-option variables (Bug#11176).
7855 (customize-option, customize-option-other-window)
7856 (customize-changed-options): Doc fix.
7857 (customize-apropos-options, customize-apropos-faces)
7858 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7860 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
7861 Fix word list splitting (Bug#11132).
7862 (apropos-symbol, apropos-keybinding, apropos-label)
7863 (apropos-property, apropos-function-button)
7864 (apropos-variable-button, apropos-misc-button): New faces.
7865 (apropos-symbol-face, apropos-keybinding-face)
7866 (apropos-label-face, apropos-property-face, apropos-match-face):
7867 Variables removed (Bug#8396).
7868 (apropos-library-button, apropos-format-plist, apropos-print)
7869 (apropos-print-doc, apropos-describe-plist): Callers changed.
7871 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
7873 * net/xesam.el (xesam-mode-map): Use let-bound map in
7874 initialization. (Bug#11292)
7876 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7878 Preserve ispell session localwords when switching back to
7881 * textmodes/ispell.el (ispell-buffer-session-localwords):
7882 New buffer-local variable to hold buffer session localwords.
7883 (ispell-kill-ispell): Add option 'clear to delete session
7885 (ispell-command-loop, ispell-change-dictionary)
7886 (ispell-buffer-local-words): Preserve session localwords when
7889 * textmodes/flyspell.el (flyspell-process-localwords)
7890 (flyspell-do-correct): Preserve session localwords when needed.
7892 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7894 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7895 using obsolete `translation-table-for-input'.
7896 (ispell-word, ispell-process-line, ispell-complete-word):
7897 Use plain `insert' instead of removed `ispell-insert-word'.
7899 2012-04-22 Chong Yidong <cyd@gnu.org>
7901 * cus-edit.el (custom-variable-menu)
7902 (custom-variable-reset-saved, custom-face-menu)
7903 (custom-face-reset-saved): If there is no saved value, make the
7904 "reset-saved" operation bring back the default (Bug#9509).
7905 (custom-face-state): Properly detect themed faces.
7907 * faces.el (face-spec-set): Stop supporting deprecated form of
7910 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
7912 Move functions from C to Lisp. Make non-blocking method calls
7913 the default. Implement further D-Bus standard interfaces.
7915 * net/dbus.el (dbus-message-internal): Declare function.
7916 Remove unneeded function declarations.
7917 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7918 (dbus-message-type-method-return, dbus-message-type-error)
7919 (dbus-message-type-signal): Declare variables. Remove local
7921 (dbus-interface-dbus, dbus-interface-peer)
7922 (dbus-interface-introspectable, dbus-interface-properties)
7923 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7925 (dbus-interface-objectmanager): New defconst.
7926 (dbus-call-method, dbus-call-method-asynchronously)
7927 (dbus-send-signal, dbus-method-return-internal)
7928 (dbus-method-error-internal, dbus-register-service)
7929 (dbus-register-signal, dbus-register-method): New defuns, moved
7931 (dbus-call-method-handler, dbus-setenv)
7932 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7934 (dbus-call-method-non-blocking): Make it an obsolete function.
7935 (dbus-unregister-object, dbus-unregister-service)
7936 (dbus-handle-event, dbus-register-property)
7937 (dbus-property-handler): Obey the new structure of
7938 `bus-registered-objects'.
7939 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7940 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7941 Use `dbus-call-method'.
7943 2012-04-22 Chong Yidong <cyd@gnu.org>
7945 * cus-edit.el (custom-commands, custom-reset-menu)
7946 (Custom-reset-standard): Tweak labels.
7947 (custom-reset-button-menu): Change default to t.
7948 (custom-buffer-create-internal): For the custom-reset-button-menu
7949 case, put the revert button first.
7950 (custom-group-subtitle): New face.
7951 (custom-group-value-create): Align docstring to a specific column.
7953 * wid-edit.el (widget-documentation-link-add): Don't handle
7954 indentation in this function.
7955 (widget-documentation-string-indent-to): New function.
7956 (widget-documentation-string-value-create): Use it.
7958 * autorevert.el (auto-revert):
7959 * epg-config.el (epg):
7960 * ibuffer.el (ibuffer):
7963 * eshell/eshell.el (eshell):
7964 * net/ange-ftp.el (ange-ftp):
7965 * progmodes/ebnf2ps.el (postscript):
7966 * progmodes/flymake.el (flymake):
7967 * progmodes/prolog.el (prolog):
7968 * progmodes/verilog-mode.el (verilog-mode):
7969 * progmodes/which-func.el (which-func):
7970 * term/xterm.el (xterm):
7971 * textmodes/picture.el (picture):
7972 * textmodes/tildify.el (tildify):
7973 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7974 customization buffers.
7976 2012-04-22 Alan Mackenzie <acm@muc.de>
7978 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7979 Adding a ) can hide the resulting (..) from searches. Fix it.
7980 Bound the backward search to the position of the existing (.
7982 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
7984 * progmodes/verilog-mode.el (verilog-mode): Check whether
7985 which-func-modes is t before adding verilog-mode.
7986 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7988 2012-04-21 Leo Liu <sdl.web@gmail.com>
7990 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
7992 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7994 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7995 filling of the last column of a table (Bug#5635).
7996 (woman-find-next-control-line): New arg, specifying an additional
7997 regexp component for the control line.
7998 (woman2-roff-buffer): Use it.
7999 (woman-break-table): New function.
8000 (woman2-TS): Use it.
8002 2012-04-21 Chong Yidong <cyd@gnu.org>
8004 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8005 (woman-horizontal-escapes, woman-negative-vertical-space)
8006 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8007 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8009 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8011 * minibuffer.el (completion-file-name-table): Complete user names.
8013 2012-04-20 Leo Liu <sdl.web@gmail.com>
8015 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8018 2012-04-20 Chong Yidong <cyd@gnu.org>
8020 * server.el (server-execute): Respect initial-buffer-choice if it
8021 is a string and there are no files to open (Bug#2825).
8022 (server-create-window-system-frame, server-create-tty-frame):
8023 Don't switch buffers here.
8024 (server-process-filter): Only try to open a window system frame if
8025 compiled with graphical support (Bug#8314).
8027 2012-04-20 Dan Nicolaescu <dann@gnu.org>
8029 * battery.el (battery-echo-area-format): Display remaining time
8030 for sysfs backend too (Bug#11269).
8031 (battery-linux-sysfs): Fix conditional for the charge.
8033 2012-04-20 Chong Yidong <cyd@gnu.org>
8035 * progmodes/gdb-mi.el (gdb): Revert previous change.
8036 (gdb-inferior-io--init-proc): New function.
8037 (gdb-init-1): Use it.
8038 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8039 responsible for allocating a new pty and hooking it to gdb when
8040 the old pty gets an EIO due to process exit.
8041 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8042 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8043 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8045 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8047 * window.el (window-min-size, window-sizable, window-min-delta)
8048 (window-max-delta, window--resizable, window-resizable)
8049 (window-total-size, window-full-height-p, window-full-width-p)
8050 (window-in-direction, window--resize-mini-window, window-resize)
8051 (window--resize-child-windows-normal)
8052 (window--resize-child-windows, window--resize-siblings)
8053 (window--resize-this-window, adjust-window-trailing-edge)
8054 (enlarge-window, shrink-window): Doc fixes.
8056 2012-04-20 Chong Yidong <cyd@gnu.org>
8058 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8059 New function to call delete-process on the gdb-inferior buffer's pty.
8060 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8061 pty process (Bug#11273).
8062 (gdb-update): New arg to suppress talking to the gdb process.
8063 (gdb-done-or-error): Use it.
8064 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8065 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8066 sentinel not being called.
8068 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8070 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8072 2012-04-20 Glenn Morris <rgm@gnu.org>
8074 * net/network-stream.el (open-network-stream): Doc fix.
8076 2012-04-20 Chong Yidong <cyd@gnu.org>
8078 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8080 2012-04-20 Alan Mackenzie <acm@muc.de>
8082 Ensure searching for keywords is case sensitive.
8084 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8085 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8086 (c-defun-name, c-mark-function, c-cpp-define-name)
8087 (c-comment-indent, c-scan-conditionals, c-indent-defun)
8088 (c-context-line-break): Bind case-fold-search to nil.
8090 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8091 Bind case-fold-search to nil.
8093 2012-04-20 Chong Yidong <cyd@gnu.org>
8095 * mail/sendmail.el (mail-bury): Call return action with the right
8096 Rmail buffer (Bug#11242).
8098 * server.el (server-process-filter): Handle corner case where both
8099 tty and nowait options are present (Bug#11102).
8101 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8103 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
8104 (top level): Put into the executable the ident-style '$Id:' tag on
8107 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8109 * electric.el (electric-indent-post-self-insert-function): Check that
8110 electric-indent-mode is enabled in current buffer.
8112 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8114 * imenu.el (imenu-progress-message): Restore; it is "used" in
8115 erc/erc-imenu.el and net/snmp-mode.el.
8117 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8119 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8120 (mouse-avoidance-nudge-mouse): Remove unused binding.
8122 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8124 * descr-text.el (describe-char):
8125 * progmodes/python.el (python-describe-symbol):
8126 Don't call `toggle-read-only', set `buffer-read-only'.
8128 * imenu.el (imenu-default-goto-function): Mark unused args.
8129 (imenu-progress-message): Remove obsolete macro; all callers changed.
8131 * subr.el (keymap-canonicalize): Remove unused binding.
8132 (read-passwd): Mark unused arg.
8134 * tutorial.el (tutorial--display-changes): Remove unused binding.
8135 (tutorial--save-tutorial-to): Remove unused variable.
8137 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8138 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8139 (package-generate-autoloads, package-menu--generate)
8140 (package-menu--find-upgrades): Remove unused bindings.
8142 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8143 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8144 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8145 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8146 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8147 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8148 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8149 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8150 (cua-delete-char-rectangle): Mark unused args.
8151 (cua-align-rectangle): Remove unused binding.
8153 * mail/rmail.el (compilation--message->loc)
8154 (epa--find-coding-system-for-mime-charset): Declare.
8156 * net/dbus.el (dbus-register-service): Declare.
8157 (dbus-name-owner-changed-handler): Remove unused binding.
8159 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8160 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8161 (nxml-scan-backward-within): Mark unused arg.
8162 (nxml-dynamic-markup-word): Remove unused binding.
8164 * mouse.el (mouse-menu-major-mode-map):
8165 * emacs-lisp/authors.el (authors-scan-change-log)
8166 (authors-add-to-author-list):
8167 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8168 * emacs-lisp/smie.el (smie-auto-fill):
8169 * mail/sendmail.el (mail-bury):
8170 * mail/unrmail.el (unrmail):
8171 * net/tls.el (open-tls-stream):
8172 * textmodes/picture.el (picture-mouse-set-point):
8173 Remove unused bindings.
8175 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
8177 * net/tramp.el (tramp-action-password): Let-bind
8178 `enable-recursive-minibuffers' to t.
8180 2012-04-18 Sam Steingold <sds@gnu.org>
8182 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8183 instead of 'string to accommodate values like [f11].
8184 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8185 * progmodes/gdb-mi.el: Likewise.
8187 2012-04-18 Leo Liu <sdl.web@gmail.com>
8189 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8191 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8194 2012-04-18 Chong Yidong <cyd@gnu.org>
8196 * simple.el (line-move): Use forward-line if in batch mode
8199 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8201 * files.el (after-find-file): Do not try to add a final newline if
8202 the buffer is read-only (Bug#11156).
8204 2012-04-17 Richard Stallman <rms@gnu.org>
8206 * mail/rmail.el (rmail-start-mail):
8207 Pass (rmail-mail-return...) for the return-action.
8208 Pass (rmail-yank-current-message...) for the yank-action.
8209 (rmail-yank-current-message): New function.
8210 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8211 (rmail-reply): Likewise.
8212 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8214 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
8215 buffer, not the last. Reject temp buffers. Use the rmail-mode
8218 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
8220 * server.el (server-ensure-safe-dir): Simplify.
8222 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8224 * emacs-lisp/smie.el: Provide smarter auto-filling.
8225 (smie-auto-fill): New function.
8226 (smie-setup): Use it.
8228 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8230 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8232 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8233 (comment-indent): Use it.
8235 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
8237 * ses.el: The overall change is to add cell renaming, that is
8238 setting fancy names for cell symbols other than name matching
8239 "\\`[A-Z]+[0-9]+\\'" regexp .
8240 (ses-localvars): Add ses--renamed-cell-symb-list.
8241 (ses-create-cell-variable): New defun.
8242 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
8243 (ses-relocate-formula): Relocate formulas only for cells the
8244 symbols of which are not renamed, i.e. symbols whose names do not
8245 match regexp "\\`[A-Z]+[0-9]+\\'".
8246 (ses-relocate-all): Relocate values only for cells the symbols of
8247 which are not renamed.
8248 (ses-load): Create cells variables as the (ses-cell ...) are read,
8249 in order to check row col consistency with cell symbol name only
8250 for cells that are not renamed.
8251 (ses-replace-name-in-formula): New defun.
8252 (ses-rename-cell): New defun.
8254 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8256 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8257 New option (bug#11118).
8258 (perl-calculate-indent): Respect it.
8260 2012-04-17 Glenn Morris <rgm@gnu.org>
8262 * dired-aux.el (dired-mark-read-string): Doc fix.
8264 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8266 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8267 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8269 2012-04-17 Glenn Morris <rgm@gnu.org>
8271 * mouse.el (mouse-drag-track):
8272 * speedbar.el (speedbar-frame-mode):
8273 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8275 2012-04-16 Leo Liu <sdl.web@gmail.com>
8277 * progmodes/python.el: Trivial cleanup.
8279 2012-04-16 Glenn Morris <rgm@gnu.org>
8281 * vc/vc.el (vc-string-prefix-p):
8282 * vc/pcvs-util.el (cvs-string-prefix-p):
8283 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8284 * mpc.el (mpc-string-prefix-p):
8285 Make all of these into obsolete aliases for string-prefix-p.
8287 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8289 * textmodes/two-column.el: Move custom options to the start.
8290 (frame-width): Remove compat definition.
8291 (2C-associate-buffer, 2C-dissociate):
8292 Use with-current-buffer rather than save-excursion.
8293 (2C-dissociate): Force a mode-line update.
8294 (2C-autoscroll): Use ignore-errors.
8296 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8299 * emacs-lisp/cl-extra.el (*random-state*):
8300 Remove unnecessary declaration.
8302 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8304 * play/cookie1.el (cookie-snarf):
8305 Give an explicit error if input file cannot be read.
8307 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8309 * progmodes/perl-mode.el (c-macro-expand):
8310 Remove unnecessary autoload (it is in loaddefs.el).
8312 * textmodes/picture.el (picture-desired-column)
8313 (picture-update-desired-column): Convert comments to doc-strings.
8314 (picture-substitute): Remove function.
8315 (picture-mode-map): Initialize in the defvar.
8317 * woman.el: Remove eval-after-load for tar-mode.
8318 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8319 (woman-tar-extract-file): Autoload it.
8321 * frame.el (automatic-hscrolling): Make this alias obsolete.
8323 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8325 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
8326 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
8327 (ispell-dictionary-base-alist): Revert to original XEmacs
8328 friendly version for default. [:alpha:] will be added in
8329 `ispell-set-spellchecker-params' if needed.
8331 2012-04-16 Chong Yidong <cyd@gnu.org>
8333 * image.el (imagemagick--file-regexp): New variable.
8334 (imagemagick-register-types): Use it.
8335 (imagemagick-types-inhibit): Add :set function. Allow new value
8336 of t to inhibit all types.
8338 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8339 so we can preload it.
8341 * loadup.el (fboundp): Preload regexp-opt, needed by
8342 imagemagick-register-types.
8344 2012-04-15 Chong Yidong <cyd@gnu.org>
8346 * frame.el (scrolling): Remove nearly unused customization group.
8348 * scroll-all.el (scroll-all-mode): Move to windows group.
8350 2012-04-15 Chong Yidong <cyd@gnu.org>
8352 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8354 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8356 Avoid the use of ((lambda ...) ...) in lexical-binding code.
8357 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
8359 2012-04-15 Glenn Morris <rgm@gnu.org>
8361 * simple.el (process-file-side-effects): Doc fix.
8363 2012-04-15 Glenn Morris <rgm@gnu.org>
8365 * international/mule-cmds.el (set-language-environment): Doc fix.
8367 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8369 * server.el (server-auth-key, server-generate-key): Doc fixes.
8370 (server-get-auth-key): Doc fix. Use `string-match-p'.
8371 (server-start): Reflow docstring.
8373 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8375 * server.el (server-generate-key): `called-interactively-p'
8376 requires a parameter.
8378 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
8380 * server.el (server-auth-key): New variable.
8381 (server-generate-key, server-get-auth-key): New function.
8382 (server-start): Use the new variable and functions to allow
8383 setting a permanent server key (bug#9423).
8385 2012-04-14 Leo Liu <sdl.web@gmail.com>
8387 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8389 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8392 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8393 Emacs uses American spelling.
8395 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8397 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8398 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8399 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8400 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8402 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8404 * progmodes/which-func.el (which-func-modes): Change default.
8406 2012-04-14 Kim F. Storm <storm@cua.dk>
8408 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8409 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8411 2012-04-14 Chong Yidong <cyd@gnu.org>
8413 * custom.el (custom-theme-set-variables): Doc fix.
8415 2012-04-14 Glenn Morris <rgm@gnu.org>
8417 * international/mule.el (set-auto-coding-for-load): Doc fix.
8419 2012-04-14 Alan Mackenzie <acm@muc.de>
8421 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8422 imenu work again for Objective C Mode. Correct the *-index values,
8423 these having been disturbed by a previous change in 2011-08.
8425 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8426 Correct two search limits.
8428 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8430 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8432 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
8434 * international/characters.el: Fix sorting.
8436 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8438 * international/characters.el: Add more missing Latin case pairs.
8440 2012-04-14 Glenn Morris <rgm@gnu.org>
8442 * files.el (dir-locals-set-class-variables): Doc fix.
8444 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8446 * international/characters.el: Add set-case-syntax-pair call for
8447 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8448 counterpart. (Bug#11209)
8450 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8452 2012-04-14 Glenn Morris <rgm@gnu.org>
8454 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8456 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8458 * textmodes/ispell.el (ispell-dictionary-base-alist):
8459 Add data for Hebrew.
8461 2012-04-14 Chong Yidong <cyd@gnu.org>
8463 * net/rcirc.el (rcirc-cmd-quit):
8464 Revert 2012-03-18 change (Bug#11192).
8466 2012-04-14 Glenn Morris <rgm@gnu.org>
8468 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8470 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8472 * minibuffer.el (completion-in-region-mode-map):
8473 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
8475 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8477 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8479 2012-04-13 Masatake YAMATO <yamato@redhat.com>
8481 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8482 to allow `C-M-f' and `C-M-b' to move to the nearest path
8483 separator (bug#9511).
8485 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8487 * avoid.el: Require cl when compiling. And also move the
8488 `provide' to the end.
8490 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8492 * avoid.el (mouse-avoidance-banish-position): New variable.
8493 (mouse-avoidance-banish-destination): Use it (bug#10165).
8495 2012-04-13 Leo Liu <sdl.web@gmail.com>
8497 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8499 2012-04-13 Ken Brown <kbrown@cornell.edu>
8501 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
8502 this is no longer needed now that cygstart understands file:// URLs.
8503 (browse-url-filename-alist): For the same reason, don't modify
8504 file:// URLs on Cygwin.
8506 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8508 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8509 the region on shift if the binding is already shifted (bug#11221).
8511 2012-04-12 Glenn Morris <rgm@gnu.org>
8513 * mail/mailpost.el: Move to obsolete/.
8515 2012-04-12 Drew Adams <drew.adams@oracle.com>
8517 * imenu.el (imenu--generic-function): Ignore invisible definitions
8520 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8522 * hexl.el (hexl-bits): New variable.
8523 (hexl-options): Mention the variable in the doc string.
8524 (hexl-rulerise, hexl-line-displen): New functions.
8525 (hexl-mode): Mention the new variable.
8526 (hexl-mode, hexl-current-address, hexl-current-address):
8528 (hexl-ascii-start-column): New function.
8529 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8530 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8532 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8534 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8535 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8536 the encoding, as expected by hunspell.
8538 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8540 * battery.el (battery--linux-sysfs-regexp): New const.
8541 (battery-status-function): Use it. Remove yeeloong special case.
8542 (battery-yeeloong-sysfs): Remove.
8543 (battery-echo-area-format): Remove yeeloong special case.
8545 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8547 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8548 Reported by Noah Friedman.
8550 * subr.el (read-passwd): Use read-string.
8552 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8554 * vcursor.el (vcursor-move): Increase the priority of the overlay
8557 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8559 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8560 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8562 2012-04-11 William Stevenson <yhvh2000@gmail.com>
8564 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8565 define-minor-mode (bug#10760).
8567 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8569 * progmodes/grep.el (rgrep): Tweak the find command line so
8570 that directories matching `grep-find-ignored-files' won't be
8573 2012-04-11 Chong Yidong <cyd@gnu.org>
8575 * startup.el (command-line): Remove support for long-obsolete
8576 variable font-lock-face-attributes.
8578 2012-04-11 Glenn Morris <rgm@gnu.org>
8580 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8582 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8584 * window.el (window--state-get-1): Obey window-point-insertion-type.
8586 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8588 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8589 to previous function when point is on the first character of a
8590 function. Take care of that in `narrow-to-defun' (bug#6157).
8592 2012-04-11 Glenn Morris <rgm@gnu.org>
8594 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8595 not just file-errors.
8597 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8598 (vc-bzr-sha1): Use internal sha1.
8600 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8602 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8604 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8606 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8607 that start in the middle of the line (bug#10496).
8609 2012-04-10 Dan Nicolaescu <dann@gnu.org>
8611 * battery.el (battery-linux-proc-acpi): Only one battery is
8612 discharged at a time, but that seems to confuse battery.el when
8613 computing `rate-type' for the battery not being discharged
8616 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8618 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8620 * international/quail.el: Use dolist and simplify.
8621 (quail-define-package, quail-update-keyboard-layout)
8622 (quail-define-rules): Use dolist.
8623 (quail-insert-kbd-layout, quail-get-translation): CSE.
8625 * tmm.el: Use dolist, remove left over hook.
8626 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8628 (calendar-load-hook): Don't mess with it.
8630 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8631 Use derived-mode-p. Run the diff asynchronously.
8633 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8635 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8637 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
8639 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8640 (list-dynamic-libraries--loaded): New function.
8641 (list-dynamic-libraries--refresh): Use it.
8643 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
8645 * progmodes/python.el (python-fill-paragraph):
8646 Make python-fill-region in a multiline string work when font-lock is
8647 disabled (bug#7018).
8649 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8651 * language/european.el (cp775): Add oem/legacy (en)coding on
8652 DOS/MS Windows for the Baltic languages. There are still plenty
8653 of texts written in this encoding/codepage (bug#6519).
8655 2012-04-10 Glenn Morris <rgm@gnu.org>
8657 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8658 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8660 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8662 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
8663 next-line "n" and previous-line "p" in order to make recentf more
8664 consistent with ibuffer, dired or org-mode (bug#9387).
8666 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8668 * image.el (put-image): Return the overlay created instead of the
8669 optional input string (bug#7834). Note that this may break code
8670 that is (for some reason or other) depending on `put-image'
8671 returning the string.
8673 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8675 * simple.el (zap-to-char): Allow zapping using input methods
8678 * textmodes/fill.el (fill-region): Leave point and mark where they
8679 were before filling (bug#5399).
8681 2012-04-09 Glenn Morris <rgm@gnu.org>
8683 * version.el (emacs-bzr-get-version):
8684 Handle lightweight checkouts of local branches.
8686 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8688 * international/characters.el: Recover lost case pairs. (Bug#11209)
8690 2012-04-09 Chong Yidong <cyd@gnu.org>
8692 * custom.el (custom-variable-p): Return nil for non-symbol
8693 arguments instead of signaling an error.
8694 (user-variable-p): Obsolete alias for custom-variable-p.
8696 * apropos.el (apropos-variable):
8697 * files-x.el (read-file-local-variable):
8698 * simple.el (set-variable):
8699 * woman.el (woman-mini-help):
8700 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8702 2012-04-09 Glenn Morris <rgm@gnu.org>
8704 * startup.el (normal-top-level): Don't look for leim-list.el
8705 in places where it will not be found. (Bug#910)
8707 * international/mule-cmds.el (set-default-coding-systems):
8708 * files.el (normal-mode):
8709 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8710 This function was removed with ucs-tables.el in 2008.
8712 2012-04-08 Eli Zaretskii <eliz@gnu.org>
8714 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8715 ispell-encoding8-command to "-i", without a trailing space.
8716 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8717 separate command-line arguments, to specify the encoding, since
8718 that's how hunspell expects it.
8720 2012-04-08 Glenn Morris <rgm@gnu.org>
8722 * loadup.el: Load bindings before cus-start.
8723 This reduces somewhat the number of "rogue" settings in emacs -Q.
8725 2012-04-07 Glenn Morris <rgm@gnu.org>
8727 * version.el (emacs-bzr-get-version): New function.
8728 (emacs-bzr-version): New variable.
8729 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8730 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8732 2012-04-07 Eli Zaretskii <eliz@gnu.org>
8734 * international/uni-bidi.el, international/uni-category.el:
8735 * international/uni-combining.el, international/uni-decimal.el:
8736 * international/uni-decomposition.el, international/uni-digit.el:
8737 * international/uni-lowercase.el, international/uni-mirrored.el:
8738 * international/uni-name.el, international/uni-numeric.el:
8739 * international/uni-titlecase.el, international/uni-uppercase.el:
8740 Update for Unicode 6.1.
8742 2012-04-07 Eli Zaretskii <eliz@gnu.org>
8744 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8746 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8748 * window.el (shrink-window): Mention the `window-min-height'
8749 variable in the doc string.
8751 2012-04-05 Bastien Guerry <bzg@altern.org>
8753 * color.el (color-lighten-name): Fix typo.
8755 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8757 * server.el (server--on-display-p): New function.
8758 (server--on-display-p): Use it.
8760 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8762 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8765 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8767 * comint.el (comint--common-quoted-suffix): Check string boundary
8768 before comparing (bug#11158).
8769 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8771 2012-04-04 Chong Yidong <cyd@gnu.org>
8773 * minibuffer.el (completion-extra-properties): Doc fix.
8775 * subr.el (delayed-warnings-hook): Doc fix.
8777 2012-04-04 Daiki Ueno <ueno@unixuser.org>
8779 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8780 selection (Bug#11159).
8781 (epa-insert-keys): Inform that the default public key will be
8782 exported if no key is selected.
8784 2012-04-04 Richard Stallman <rms@gnu.org>
8786 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8788 2012-04-03 Chong Yidong <cyd@gnu.org>
8790 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8791 mail-insert-file, not its obsolete alias mail-attach-file.
8793 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
8795 * notifications.el (notifications-notify): Fix docstring.
8797 2012-04-02 Glenn Morris <rgm@gnu.org>
8799 * emacs-lisp/authors.el (authors-aliases): Another addition.
8801 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
8803 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8804 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8805 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8807 2012-04-01 Chong Yidong <cyd@gnu.org>
8809 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8810 Handle root directory properly.
8811 (copy-directory): Caller changed.
8813 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8814 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8816 2012-03-31 Glenn Morris <rgm@gnu.org>
8818 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8820 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8822 * calendar/calendar.el (calendar-window-list)
8823 (calendar-hide-window): Restore. (Bug#11140)
8824 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8826 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8828 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8830 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8831 Check if file is a symlink (Bug#10489).
8833 * files.el (copy-directory): Likewise.
8835 2012-03-30 Chong Yidong <cyd@gnu.org>
8837 * image.el (imagemagick-types-inhibit)
8838 (imagemagick-register-types): Doc fix.
8840 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8842 * textmodes/ispell.el (ispell-get-extended-character-mode):
8843 Disable extended-char-mode for hunspell. hunspell does not support it
8844 and treats ~word as ordinary words in pipe mode.
8846 2012-03-30 Glenn Morris <rgm@gnu.org>
8848 * tutorial.el (help-with-tutorial): Ensure local variables don't
8849 happen to make the buffer read-only. (Bug#11127)
8851 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8853 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8854 (perl-calculate-indent): Return `noindent' in strings.
8856 2012-03-28 Sam Steingold <sds@gnu.org>
8858 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8859 instead of the broken adhockery which does not prevent calendar
8860 buffers from being displayed at random after exit.
8861 (calendar-window-list, calendar-hide-window): Remove the broken
8864 2012-03-28 Glenn Morris <rgm@gnu.org>
8866 * replace.el (query-replace-map): Doc fix.
8868 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8870 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8871 contents. (Bug#11109)
8873 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8875 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8877 (avl-tree--check, avl-tree--check-node): New funs.
8879 2012-03-27 Martin Rudalics <rudalics@gmx.at>
8881 * window.el (switch-to-visible-buffer): New option.
8882 (switch-to-prev-buffer, switch-to-next-buffer):
8883 Observe switch-to-visible-buffer. Make sure that checking for a window
8884 showing a buffer already is done on the same frame.
8886 2012-03-27 Glenn Morris <rgm@gnu.org>
8888 * startup.el (mail-host-address): Doc fix.
8890 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8892 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8895 2012-03-26 Ami Fischman <ami@fischman.org>
8897 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8899 2012-03-26 Glenn Morris <rgm@gnu.org>
8901 * files.el (save-buffers-kill-emacs): Doc fix.
8903 * startup.el (normal-top-level, command-line, command-line-1):
8904 Give them doc strings.
8906 2012-03-25 Eli Zaretskii <eliz@gnu.org>
8908 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
8909 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
8911 2012-03-25 Chong Yidong <cyd@gnu.org>
8913 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8914 theme if it was previously enabled before (Bug#11031).
8916 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8917 spec with custom-face-get-current-spec if its :shown-value is not
8918 determined yet (Bug#9337).
8919 (customize-create-theme, custom-theme-revert): Doc fixes.
8921 * button.el (button-at): Minor addition to docstring.
8923 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
8925 * vc/vc.el (vc-merge): Fix a prompt.
8927 2012-03-24 Chong Yidong <cyd@gnu.org>
8929 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8932 * button.el (button-at): Minor addition to docstring.
8934 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8936 * newcomment.el (comment-choose-indent): No space after BOL.
8938 2012-03-22 Sam Steingold <sds@gnu.org>
8940 * window.el (switch-to-prev-buffer): Revert last patch because the
8941 bug turned out to be an advertised feature (Elisp manual 28.14).
8943 2012-03-22 Glenn Morris <rgm@gnu.org>
8945 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8946 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8948 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8950 * net/network-stream.el (network-stream-open-starttls): Make error
8951 message under Windows be less misleading.
8953 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8955 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8956 understands (bug#9942).
8958 2012-03-22 Chong Yidong <cyd@gnu.org>
8960 * simple.el (end-of-visible-line): Handle return value of
8961 next-single-property-change properly (Bug#9371).
8963 2012-03-22 Kenichi Handa <handa@m17n.org>
8965 * international/quail.el (quail-insert-kbd-layout): Fix previous
8966 change. To avoid unwanted bidi reordering, use
8967 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8969 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8971 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8972 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8973 (ruby-beginning-of-indent): Be more careful with the difference
8974 between word-boundary and symbol boundary.
8975 (ruby-mode-syntax-table): Make : a symbol constituent.
8977 2012-03-21 Andreas Politz <politza@fh-trier.de>
8979 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8981 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8983 * progmodes/etags.el (tags-completion-at-point-function):
8986 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8988 2012-03-21 Sam Steingold <sds@gnu.org>
8990 * progmodes/etags.el (tags-completion-at-point-function):
8991 Avoid the error when point is inside the pattern.
8993 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8995 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8998 2012-03-21 Drew Adams <drew.adams@oracle.com>
9000 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9002 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9004 * ido.el (ido-set-current-directory, ido-read-internal)
9005 (ido-choose-completion-string, ido-completion-help): Handle nil
9006 value of ido-completion-buffer (Bug#11008).
9008 2012-03-21 Sam Steingold <sds@gnu.org>
9010 * window.el (switch-to-prev-buffer): Do not switch to a visible
9011 window previous buffer, just like with the frame previous buffers.
9013 2012-03-21 Chong Yidong <cyd@gnu.org>
9015 * faces.el (make-face, make-empty-face, copy-face):
9016 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9019 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9021 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9022 (widget-complete): Remove broken use of it.
9024 2012-03-20 Chong Yidong <cyd@gnu.org>
9026 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9027 Use string-width and truncate-string-width to handle arbitrary
9030 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9032 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9033 to draw rectangles, not squares. (Regression introduced by revno
9034 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9036 2012-03-18 Chong Yidong <cyd@gnu.org>
9038 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9039 it is not yet defined (for temacs).
9041 2012-03-18 Leo Liu <sdl.web@gmail.com>
9043 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9046 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9048 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9049 (ispell-choices-win-default-height, ispell-silently-savep)
9050 (ispell-dictionary-alist, ispell-encoding8-command)
9051 (ispell-check-version, ispell-aspell-find-dictionary)
9052 (ispell-valid-dictionary-list, ispell-words-keyword)
9053 (ispell-get-word, ispell-internal-change-dictionary)
9054 (ispell-region, ispell-skip-region-list)
9055 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9056 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9057 (ispell-message-text-end, ispell-message)
9058 (ispell-buffer-local-parsing): Doc fix.
9060 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
9062 * htmlfontify.el: Add support for code block fontification for ODT
9064 (hfy-optimisations): Define new option
9066 (hfy-fontify-buffer): Honor above setting.
9067 (hfy-begin-span, hfy-end-span): New routines factored out form
9068 `hfy-fontify-buffer'.
9069 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9070 that permit insertion of custom tags.
9071 (hfy-fontify-buffer): Use above handlers.
9072 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9073 (hfy-face-to-css): Re-defined to be a variable.
9074 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
9075 over multiple runs. This is made possible by having the caller let
9076 bind a special variable `hfy-user-sheet-assoc'.
9077 (htmlfontify-string): New defun.
9078 (hfy-compile-face-map): Make sure that the last char in the
9079 buffer is correctly fontified.
9080 (hfy-face-resolve-face): Whitespace only change.
9082 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9084 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9087 2012-03-16 Leo Liu <sdl.web@gmail.com>
9089 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9091 2012-03-16 Alan Mackenzie <acm@muc.de>
9093 Further optimise the handling of large macros.
9095 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9096 limit to a call of `c-literal-limits'.
9097 (c-determine-+ve-limit): New function.
9098 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9099 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
9100 In CASE 5B, restrict a search limit to 500.
9101 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9103 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9104 Restrict macro bounds to +-500 from after-change's BEG END.
9106 2012-03-16 Leo Liu <sdl.web@gmail.com>
9108 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9110 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9112 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
9113 `special-mode' setting of `buffer-read-only'. (Bug#11010)
9115 2012-03-16 Glenn Morris <rgm@gnu.org>
9117 * view.el (view-buffer, view-buffer-other-window)
9118 (view-buffer-other-frame): Doc fixes re special mode-class.
9120 * subr.el (eval-after-load): If named feature is provided not from
9121 a file, run after-load forms. (Bug#10946)
9123 * calendar/calendar.el (calendar-insert-at-column):
9124 Handle non-unit-width characters a bit better. (Bug#10978)
9126 2012-03-15 Chong Yidong <cyd@gnu.org>
9128 * emacs-lisp/ring.el (ring-extend): New function.
9129 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9131 * comint.el (comint-read-input-ring)
9132 (comint-add-to-input-history): Grow comint-input-ring lazily.
9134 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9136 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9137 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9139 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9140 (imenu-add-to-menubar): Don't add a redundant index.
9141 (imenu-update-menubar): Handle a dynamically composed keymap.
9143 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9145 * mail/sendmail.el (mail-encode-header):
9146 Bind rfc2047-encode-encoded-words to nil.
9148 2012-03-13 Glenn Morris <rgm@gnu.org>
9150 * calendar/calendar.el (calendar-string-spread):
9151 Handle non-unit-width characters a bit better. (Bug#10978)
9153 2012-03-13 Leo Liu <sdl.web@gmail.com>
9155 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9156 directory and file as argument (Bug#10822).
9158 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9160 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9161 For dynamically generated code, follow $PC.
9162 (gdb-disassembly-handler-custom): Handle no function name case.
9164 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9166 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9167 * emulation/ws-mode.el (ws-query-replace):
9168 * sort.el (sort-regexp-fields):
9169 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9171 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9173 * dabbrev.el: Fix cycle completion order (bug#10963).
9174 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9175 (dabbrev-completion): Don't use an obarray; provide
9176 a cycle-sort-function.
9178 2012-03-12 Leo Liu <sdl.web@gmail.com>
9180 * simple.el (kill-new): Use equal-including-properties for comparison.
9181 (kill-do-not-save-duplicates): Doc fix.
9183 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9185 * dabbrev.el: Fix cycle completion (bug#10963).
9186 Use lexical binding and wrap to 80 columns.
9187 (dabbrev-completion): Delay computing the list of completions.
9189 2012-03-12 Kenichi Handa <handa@m17n.org>
9191 * international/quail.el (quail-insert-kbd-layout): Surround each
9192 row by LRO and PDF instead of inserting many LRMs. Pad the left
9193 and right of each non-spacing marks. Insert invisible space
9194 between lower and upper characters to prevent composition.
9196 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9198 * minibuffer.el (minibuffer-complete): Don't get confused when the
9199 function is run twice via different commands (bug#10958).
9200 (complete-with-action): Fix docstring.
9202 2012-03-12 Chong Yidong <cyd@gnu.org>
9204 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9205 (nxml-completion-at-point-function): New function.
9206 (nxml-mode): Use it.
9207 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9209 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9210 Load generated autoloads file before byte compiling (Bug#10970).
9211 (package--make-autoloads-and-compile): New helper fun.
9213 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9215 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9217 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
9219 * autorevert.el (auto-revert-handler): Ensure, that
9220 file-readable-p is applied only for local files or in
9221 auto-revert-tail-mode.
9223 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9225 * server.el (server-eval-at): Handle non-tcp connections.
9226 Decode result string.
9228 * server.el (server-msg-size): New constant.
9229 (server-reply-print): New function.
9230 (server-eval-and-print): Use it.
9231 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9234 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9236 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9239 2012-03-11 Chong Yidong <cyd@gnu.org>
9241 * simple.el (goto-line): Doc fix (Bug#9938).
9243 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9245 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9246 when finished (Bug#10963).
9248 2012-03-11 Martin Rudalics <rudalics@gmx.at>
9250 * window.el (split-window-below): Fix bug in case where
9251 split-window-keep-point is nil (Bug#10971).
9253 2012-03-11 Juri Linkov <juri@jurta.org>
9255 * replace.el (replace-highlight): Set isearch-word to nil
9256 unconditionally. (Bug#10887)
9258 2012-03-10 Eli Zaretskii <eliz@gnu.org>
9260 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9261 mairix-replace-illegal-chars; all callers changed. Don't remove
9262 ^, ~, and = characters: they are meaningful in mairix search specs.
9263 (mairix-widget-create-query): Add usage information about mairix
9264 search forms: negating words, searching for substrings, etc.
9266 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9268 * international/fontset.el (font-encoding-alist): Add an entry for
9271 2012-03-10 Richard Stallman <rms@gnu.org>
9273 * mail/sendmail.el (mail-encode-header):
9274 Set rfc2047-encode-encoded-words.
9276 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9278 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9279 view buffer means not swapped.
9280 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9281 (rmail-write-region-annotate): Error if real text has disappeared.
9283 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9285 2012-03-10 Chong Yidong <cyd@gnu.org>
9287 * emulation/cua-rect.el (cua--init-rectangles):
9288 * emulation/cua-base.el (cua--init-keymaps):
9289 Add delete-forward-char to remappings (Bug#9666).
9291 2012-03-10 Martin Rudalics <rudalics@gmx.at>
9293 * speedbar.el (speedbar-unhighlight-one-tag-line):
9294 Avoid unhighlighting due to frame switching (Bug#10275).
9296 2012-03-10 Chong Yidong <cyd@gnu.org>
9298 * minibuffer.el (completion-in-region, completion-help-at-point):
9299 Give the completion field overlay a high priority (Bug#6830).
9301 * dired.el (dired-goto-file): Recognize absolute file name
9302 listings (Bug#7126).
9303 (dired-goto-file-1): New helper function.
9304 (dired-toggle-read-only): Inhibit warnings.
9306 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
9308 * net/dbus.el (dbus-property-handler): Return empty array if
9309 there are no properties.
9311 2012-03-09 Leo Liu <sdl.web@gmail.com>
9313 * savehist.el (savehist-printable): Stricter check for string
9316 2012-03-09 Eli Zaretskii <eliz@gnu.org>
9318 * mail/smtpmail.el (smtpmail-send-it):
9319 Bind coding-system-for-write to *-unix, so that FCC files are kept in
9322 2012-03-09 Glenn Morris <rgm@gnu.org>
9324 * files.el (dir-locals-find-file):
9325 Don't check result is regular, readable.
9326 (dir-locals-read-from-file): Demote errors.
9328 2012-03-08 Eli Zaretskii <eliz@gnu.org>
9330 * international/quail.el (quail-insert-kbd-layout):
9331 Insert invisible LRM characters before each character in a keyboard
9332 layout cell, to prevent their reordering by bidi display engine.
9333 For details, see the discussion in
9334 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9336 2012-03-08 Alan Mackenzie <acm@muc.de>
9338 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9339 the starting position; make it extend the marked region when
9340 invoked repeatedly - all under appropriate circumstances.
9341 Fixes bugs #5525, #10906.
9343 2012-03-08 Glenn Morris <rgm@gnu.org>
9345 * files.el (locate-dominating-file, dir-locals-find-file):
9346 Undo 2012-03-06 change.
9348 2012-03-07 Eli Zaretskii <eliz@gnu.org>
9350 * international/quail.el (quail-help):
9351 Force bidi-paragraph-direction be left-to-right. See discussion in
9352 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9355 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
9357 Avoid superfluous registering of signals. (Bug#10807)
9359 * notifications.el (notifications-on-action-object)
9360 (notifications-on-close-object): New defvars.
9361 (notifications-on-action-signal, notifications-on-closed-signal):
9362 Unregister the signal if not needed any longer.
9363 (notifications-notify): Register `notifications-action-signal' or
9364 `notifications-closed-signal', if :on-action or :on-close has been
9367 2012-03-07 Chong Yidong <cyd@gnu.org>
9369 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9372 2012-03-06 Glenn Morris <rgm@gnu.org>
9374 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9375 (x-disown-selection-internal, x-get-selection-internal):
9376 Doc fix (add arglist signatures). (Bug#10783)
9378 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9380 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9381 Handle breakpoints with no "type".
9383 2012-03-06 Glenn Morris <rgm@gnu.org>
9385 * files.el (locate-dominating-file): Add optional predicate argument.
9386 (dir-locals-find-file): Make use of above change.
9388 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9390 * info.el (Info-insert-dir): Also try "dir.gz".
9392 2012-03-06 Glenn Morris <rgm@gnu.org>
9394 * files.el (dir-locals-find-file):
9395 Ignore non-readable or non-regular files. (Bug#10928)
9397 * files.el (locate-dominating-file): Doc fix.
9399 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9401 * calendar/calendar.el (calendar-set-mode-line):
9402 `getenv' returns a string. (Bug#10951)
9404 2012-03-05 Leo Liu <sdl.web@gmail.com>
9406 * simple.el (backward-delete-char-untabify): Constrain point to
9409 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9411 2012-03-05 Chong Yidong <cyd@gnu.org>
9413 * simple.el (count-words): If called from Lisp, return the word
9414 count, for symmetry with `count-lines'. Arglist changed.
9415 (count-words--message): Args changed. Consolidate counting code
9416 from count-words and count-words-region.
9417 (count-words-region): Caller changed.
9418 (count-lines-region): Make it an obsolete alias.
9420 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9422 * saveplace.el (save-place-to-alist)
9423 (save-place-ignore-files-regexp): Allow value nil to disable this
9426 2012-03-04 Chong Yidong <cyd@gnu.org>
9428 * faces.el (face-spec-reset-face): For the default face, reset the
9429 attributes to default values (Bug#10748).
9431 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9433 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9434 previous patch: Check `message-send-mail-function', and not the
9435 default function (bug#10897).
9437 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
9439 * notifications.el (notifications-on-action-signal)
9440 (notifications-on-closed-signal): Check for unique service name of
9441 incoming event. Fix error in removing entry.
9442 (top): Register for signals with wildcard service name.
9443 (notifications-notify): Use daemon unique service name for map entries.
9445 2012-03-04 Chong Yidong <cyd@gnu.org>
9447 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
9449 2012-03-04 Glenn Morris <rgm@gnu.org>
9451 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9452 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9453 (expand-abbrev, define-abbrev-table): Doc fixes.
9455 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9457 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9458 `message-default-send-mail-function' and not `send-mail-function'
9459 when doing the prompting for `sendmail-query-once' before sending
9460 in Message buffers (bug#10897).
9462 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9463 This is inconsistent with all the other stream functions, which leave
9464 the setting up to the higher levels (if so wanted) (bug#10931).
9466 2012-03-02 Alan Mackenzie <acm@muc.de>
9468 Depessimize the handling of very large macros.
9470 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9471 (c-macro-cache-syntactic): New variables to implement a one
9472 element macro cache.
9473 (c-invalidate-macro-cache): New function.
9474 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9475 Adapt to use the new cache.
9476 (c-state-safe-place): Use better the cache of safe positions.
9477 (c-state-semi-nonlit-pos-cache)
9478 (c-state-semi-nonlit-pos-cache-limit):
9479 New variables for...
9480 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9481 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
9482 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9483 Use c-state-semi-safe-place.
9485 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9486 Add c-invalidate-macro-cache to the C, C++, Obj entries.
9488 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
9490 * jka-compr.el (jka-compr-call-process):
9491 Apply `file-accessible-directory-p' only when the default directory is
9494 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
9496 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9497 access of FILE2, if FILE1 does not exist.
9499 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9500 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9502 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9503 Add "PAGER=" to `process-environment'.
9505 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9507 * progmodes/sql.el: Bug fix
9508 (sql-get-login-ext): Save login values in globals.
9509 (sql-get-login): Use new version of `sql-get-login-ext'.
9510 (sql-interactive-mode): Set global `sql-connection' to nil.
9511 (sql-connect): Set global values for connection.
9512 (sql-product-interactive): Save global values as buffer local.
9514 2012-02-29 Leo Liu <sdl.web@gmail.com>
9516 * abbrev.el (define-abbrevs): Reset sys to nil.
9518 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9520 * files.el (file-equal-p): Rename from `files-equal-p'.
9521 Return nil when one or both files don't exist.
9522 (file-subdir-of-p): Now only top directory must exists,
9523 return nil if it doesn't.
9524 (copy-directory): No need to test with `file-subdir-of-p' after
9526 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9529 2012-02-28 Glenn Morris <rgm@gnu.org>
9531 * shell.el (shell-mode):
9532 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9533 * play/landmark.el (landmark-font-lock-face-O):
9534 * play/handwrite.el (handwrite):
9535 * play/gomoku.el (gomoku-O):
9536 * net/browse-url.el (browse-url-browser-display):
9537 * international/mule.el (define-charset):
9538 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9539 * filesets.el (filesets-find-file-delay):
9540 * eshell/em-xtra.el (eshell-xtra):
9541 * eshell/em-unix.el (eshell-grep):
9542 * emulation/viper.el (viper-mode):
9543 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9544 * emacs-lisp/easymenu.el (easy-menu-define):
9545 * calendar/timeclock.el (timeclock-use-display-time):
9547 * bookmark.el (bookmark-save-flag):
9548 Doc fix (standardize possessive apostrophe usage).
9550 2012-02-27 Chong Yidong <cyd@gnu.org>
9552 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9553 Fix key-binding lookup for ESC key (Bug#9146).
9555 * font-lock.el (font-lock-specified-p): Rename from
9556 font-lock-spec-present. Callers changed.
9558 2012-02-27 Daniel Hackney <dan@haxney.org>
9560 * emacs-lisp/package.el (package-compute-transaction):
9561 Handle holding a package version to t in package-load-list.
9563 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
9565 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9566 (tramp-get-inode, tramp-get-device): Use cached values.
9568 2012-02-26 Alan Mackenzie <acm@muc.de>
9570 Check there is a font-lock specification before doing initial
9573 * font-core.el (font-lock-mode): Move the conditional from
9574 :after-hook to font-lock-initial-fontify.
9575 (font-lock-default-function): Move the check for a specification
9576 to font-lock-spec-present.
9578 * font-lock.el (font-lock-initial-fontify): Call ...
9579 (font-lock-spec-present): New function.
9581 2012-02-26 Jim Blandy <jimb@red-bean.com>
9583 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9584 (gdb-send): Apply it to the operand of the '-interpreter-exec
9585 console' command, so that we can pass arguments with (say) quotes
9586 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9588 2012-02-26 Chong Yidong <cyd@gnu.org>
9590 * help-fns.el (describe-function-1): Clarify description of
9591 remapping (Bug#10844).
9593 * files.el (files-equal-p): Doc fix.
9594 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9595 and quit the loop once a mismatch is found.
9597 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
9599 * bs.el (bs--show-with-configuration): Don't throw an error
9600 if the window cannot be split; otherwise, subsequent calls to
9601 bs-show fail, restoring a stale window config. (Bug#10882)
9603 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9605 * term/ns-win.el (global-map): Bind ns-drag-file to
9606 ns-find-file (Bug#5855, Bug#10050).
9608 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9610 * calendar/parse-time.el (parse-time-string): Allow extractor to
9613 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
9615 * net/tramp.el (tramp-file-name-for-operation):
9616 Add `files-equal-p' and `file-subdir-of-p'.
9618 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
9619 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9620 Add COPY-CONTENTS argument.
9622 2012-02-25 Chong Yidong <cyd@gnu.org>
9624 Add custom groups for VC backends, for consistency with vc-bzr.
9626 * vc/vc-arch.el (vc-arch):
9627 * vc/vc-cvs.el (vc-cvs):
9628 * vc/vc-git.el (vc-git):
9629 * vc/vc-hg.el (vc-hg):
9630 * vc/vc-mtn.el (vc-mtn):
9631 * vc/vc-rcs.el (vc-rcs):
9632 * vc/vc-sccs.el (vc-sccs):
9633 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9634 All relevant defcustoms reassigned.
9636 2012-02-25 Chong Yidong <cyd@gnu.org>
9638 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9640 * term/x-win.el (x-initialize-window-system): Reduce default for
9641 x-selection-timeout to 5 seconds (Bug#8869).
9643 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9645 * files.el (files-equal-p, file-subdir-of-p): New functions.
9646 (copy-directory): Error when trying to copy a directory on itself.
9647 Add missing copy-contents arg to tramp handler.
9648 * dired-aux.el (dired-copy-file-recursive): Same.
9649 (dired-create-files): Modify destination when source is equal to
9650 dest when copying files.
9651 Return also when dest is a subdir of source. (Bug#10489)
9653 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
9655 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9658 2012-02-23 Alan Mackenzie <acm@muc.de>
9660 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9661 parameter "after-hook:" to allow the expansion to run code after
9662 the execution of the mode hooks.
9664 * font-lock.el (font-lock-initial-fontify): New function extracted
9665 from font-lock-mode-internal.
9667 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
9670 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9672 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9673 (completion--cache-all-sorted-completions): New function.
9674 (completion-all-sorted-completions): Use it.
9675 (completion--do-completion, minibuffer-force-complete):
9676 Use it to re-instate the flush hook.
9678 * icomplete.el (icomplete-completions): Replace last fix with a better
9681 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9683 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9684 when it might call us back infinitely (bug#10797).
9686 2012-02-23 Glenn Morris <rgm@gnu.org>
9688 * minibuffer.el (completion-category-overrides): Doc fix.
9690 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9692 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9693 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9695 2012-02-23 Glenn Morris <rgm@gnu.org>
9697 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
9698 (authors-obsolete-files-regexps, authors-ignored-files)
9699 (authors-ambiguous-files, authors-renamed-files-alist):
9702 2012-02-23 Juri Linkov <juri@jurta.org>
9704 * isearch.el (isearch-occur): Sync interactive spec with occur's
9705 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9707 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9709 2012-02-22 Juri Linkov <juri@jurta.org>
9711 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9712 (ucs-insert): Doc fix. Check for hex digits in the string.
9713 Don't display `nil' in the error message. (Bug#10857)
9715 2012-02-22 Alan Mackenzie <acm@muc.de>
9717 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
9719 2012-02-22 Glenn Morris <rgm@gnu.org>
9721 * ffap.el (ffap-c-path):
9722 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9724 2012-02-22 Chong Yidong <cyd@gnu.org>
9726 * custom.el (load-theme): Doc fix.
9728 2012-02-22 Glenn Morris <rgm@gnu.org>
9730 * dired-x.el (dired-guess-shell-alist-default):
9731 Remove escape sequences from nroff output. (Bug#172)
9733 2012-02-21 Glenn Morris <rgm@gnu.org>
9735 * vc/emerge.el (emerge-defvar-local):
9736 Set `permanent-local' property rather than unused `preserved'.
9738 * textmodes/picture.el (picture-delete-char): New alias.
9739 (picture-mode-map): Use it. (Bug#10860)
9740 (picture-mode): Doc fix.
9742 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
9744 * newcomment.el (uncomment-region-default): Remove unused binding.
9746 2012-02-21 Glenn Morris <rgm@gnu.org>
9748 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9749 (picture-self-insert, picture-tab-chars): Doc fix.
9750 (picture-mode-map): Fix C-a, C-e.
9752 2012-02-20 Glenn Morris <rgm@gnu.org>
9754 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9756 2012-02-20 Leo Liu <sdl.web@gmail.com>
9758 * icomplete.el (icomplete-completions): Check FROM arg before
9759 passing to substring (Bug#10850).
9761 2012-02-19 Chong Yidong <cyd@gnu.org>
9763 * comint.el: Require ansi-color.
9764 (comint-output-filter-functions): Add ansi-color-process-output.
9766 * ansi-color.el: Don't set comint-output-filter-functions; it is
9767 now in the initial value defined in comint.el.
9768 (ansi-color-apply-face-function): New variable.
9769 (ansi-color-apply-on-region): Use it.
9770 (ansi-color-apply-overlay-face): New function.
9772 * shell.el (shell): No need to require ansi-color.
9773 (shell-mode): Use ansi-color-apply-face-function to highlight
9774 color escapes using font-lock-face property (Bug#10835).
9776 2012-02-19 Chong Yidong <cyd@gnu.org>
9778 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9779 mode-line formats (Bug#10839).
9781 2012-02-18 Glenn Morris <rgm@gnu.org>
9783 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9785 * mail/undigest.el (unforward-rmail-message): Doc fix.
9787 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9789 2012-02-18 Eli Zaretskii <eliz@gnu.org>
9791 * international/characters.el (script-list): Sync with the latest
9792 Unicode Character Database.
9794 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9796 * international/titdic-cnv.el: Remove duplicate coding tag.
9797 * language/cham.el: Likewise.
9798 * language/tai-viet.el: Likewise.
9800 2012-02-18 Glenn Morris <rgm@gnu.org>
9802 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9803 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9804 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9805 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9806 * calendar/holidays.el (holiday-bahai-holidays)
9807 (calendar-holidays, list-holidays):
9808 Use utf-8 Bahá'í in doc-strings, menus, etc.
9810 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9812 * saveplace.el (save-place-ignore-files-regexp): New variable
9813 allowing for excluding files from saving their location of point.
9814 The default value matches the temporary commit message editing
9815 files from Git, SVN, Bazaar, and Mercurial.
9816 (save-place-to-alist): Use it.
9818 2012-02-17 Lawrence Mitchell <wence@gmx.li>
9819 Stefan Monnier <monnier@iro.umontreal.ca>
9821 * newcomment.el (uncomment-region-default): Don't leave extra space
9822 when an arg is provided (bug#8150).
9824 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9826 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
9828 2012-02-17 Glenn Morris <rgm@gnu.org>
9830 * net/socks.el: Require network-stream. (Bug#10599)
9832 2012-02-17 Kenichi Handa <handa@m17n.org>
9834 * international/charprop.el:
9835 * international/uni-name.el:
9836 * international/uni-old-name.el:
9837 * international/uni-comment.el: Regenerate.
9839 2012-02-16 Glenn Morris <rgm@gnu.org>
9841 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9842 Interactively in calendar buffer, give an error if not on a date.
9844 2012-02-15 Glenn Morris <rgm@gnu.org>
9846 * shell.el (shell-delimiter-argument-list):
9847 Revert 2011-02-17 change. (Bug#8027)
9849 2012-02-15 Chong Yidong <cyd@gnu.org>
9851 * minibuffer.el (completion-at-point-functions): Doc fix.
9853 * custom.el (defcustom): Doc fix; note use of defvar.
9855 2012-02-15 Glenn Morris <rgm@gnu.org>
9857 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9860 2012-02-14 Glenn Morris <rgm@gnu.org>
9862 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9864 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9866 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9867 way the ports list is computed.
9868 (smtpmail-query-smtp-server): Prompt the user for a port number if
9869 we can't connect to any of the standard ports (bug#10810).
9871 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9873 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9875 2012-02-13 Glenn Morris <rgm@gnu.org>
9877 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9879 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9881 * net/gnutls.el (gnutls-trustfiles): New variable.
9882 (gnutls-negotiate): Use it.
9884 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9886 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9887 does its stuff if Gnus is running.
9889 2012-02-13 Alan Mackenzie <acm@muc.de>
9891 Fix a loop in c-set-fl-decl-start.
9893 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
9894 c-backward-syntactic-ws actually moves backwards.
9896 2012-02-13 Leo Liu <sdl.web@gmail.com>
9898 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9899 beginning so that all \C-o chars are removed.
9901 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9903 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
9905 2012-02-12 Alan Mackenzie <acm@muc.de>
9907 Fix infinite loop with long macros.
9908 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
9910 2012-02-12 Chong Yidong <cyd@gnu.org>
9912 * window.el (display-buffer): Doc fix (Bug#10785).
9914 2012-02-12 Glenn Morris <rgm@gnu.org>
9916 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9917 (x-disown-selection-internal, x-get-selection-internal):
9918 Sync docs with the xselect.c versions.
9920 * allout-widgets.el: Add missing license notice.
9922 2012-02-11 Glenn Morris <rgm@gnu.org>
9924 * select.el (x-get-selection-internal, x-own-selection-internal)
9925 (x-disown-selection-internal):
9926 * x-dnd.el (x-get-selection-internal): Update declarations.
9928 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9930 * window.el (window-sides-slots):
9931 * tool-bar.el (tool-bar-position):
9932 * term/xterm.el (xterm-extra-capabilities):
9933 * ses.el (ses-self-reference-early-detection):
9934 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9935 (verilog-auto-wire-type)
9936 (verilog-auto-delete-trailing-whitespace)
9937 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9938 (verilog-auto-tieoff-declaration):
9939 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9940 (sql-oracle-statement-starters, sql-oracle-scan-on):
9941 * progmodes/prolog.el (prolog-align-comments-flag)
9942 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9943 (prolog-left-indent-regexp, prolog-paren-indent-p)
9944 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9945 (prolog-types, prolog-mode-specificators)
9946 (prolog-determinism-specificators, prolog-directives)
9947 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9948 (prolog-electric-dot-flag)
9949 (prolog-electric-dot-full-predicate-template)
9950 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9951 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9952 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9953 (prolog-program-switches, prolog-prompt-regexp)
9954 (prolog-debug-on-string, prolog-debug-off-string)
9955 (prolog-trace-on-string, prolog-trace-off-string)
9956 (prolog-zip-on-string, prolog-zip-off-string)
9957 (prolog-use-standard-consult-compile-method-flag)
9958 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9959 (prolog-imenu-max-lines, prolog-info-predicate-index)
9960 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9961 (prolog-char-quote-workaround):
9962 * progmodes/cc-vars.el (c-defun-tactic):
9963 * net/tramp.el (tramp-encoding-command-interactive)
9964 (tramp-local-end-of-line):
9965 * net/soap-client.el (soap-client):
9966 * net/netrc.el (netrc-file):
9967 * net/gnutls.el (gnutls):
9968 * minibuffer.el (completion-category-overrides)
9969 (completion-cycle-threshold)
9970 (completion-pcm-complete-word-inserts-delimiters):
9971 * man.el (Man-name-local-regexp):
9972 * mail/feedmail.el (feedmail-display-full-frame):
9973 * international/characters.el (glyphless-char-display-control):
9974 * eshell/em-ls.el (eshell-ls-date-format):
9975 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9976 (lisp-lambda-list-keyword-parameter-indentation)
9977 (lisp-lambda-list-keyword-parameter-alignment):
9978 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9979 * dired-x.el (dired-omit-verbose):
9980 * cus-theme.el (custom-theme-allow-multiple-selections):
9981 * calc/calc.el (calc-highlight-selections-with-faces)
9982 (calc-lu-field-reference, calc-lu-power-reference)
9983 (calc-note-threshold):
9984 * battery.el (battery-mode-line-limit):
9985 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9986 (archive-7z-update):
9987 * allout.el (allout-prefixed-keybindings)
9988 (allout-unprefixed-keybindings)
9989 (allout-inhibit-auto-fill-on-headline)
9990 (allout-flattened-numbering-abbreviation):
9991 * allout-widgets.el (allout-widgets-auto-activation)
9992 (allout-widgets-icons-dark-subdir)
9993 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9994 (allout-widgets-theme-dark-background)
9995 (allout-widgets-theme-light-background)
9996 (allout-widgets-item-image-properties-emacs)
9997 (allout-widgets-item-image-properties-xemacs)
9998 (allout-widgets-run-unit-tests-on-load)
9999 (allout-widgets-time-decoration-activity)
10000 (allout-widgets-hook-error-post-time)
10001 (allout-widgets-track-decoration):
10002 Add missing :version tags to new defcustoms and defgroups.
10004 * progmodes/sql.el (sql-ansi-statement-starters)
10005 (sql-oracle-statement-starters): Add custom type.
10007 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10008 (prolog-system-version): Give it a type.
10010 2012-02-11 Eli Zaretskii <eliz@gnu.org>
10012 * term/pc-win.el (x-select-text, x-selection-owner-p)
10013 (x-own-selection-internal, x-disown-selection-internal)
10014 (x-get-selection-internal): Sync doc strings and argument lists
10015 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10017 2012-02-11 Leo Liu <sdl.web@gmail.com>
10019 * progmodes/python.el (python-end-of-statement): Fix infinite
10022 2012-02-10 Glenn Morris <rgm@gnu.org>
10024 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10025 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10027 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10029 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10030 about SMTP before checking the From header.
10032 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
10033 into own function for reuse by emacsbug.el.
10035 2012-02-10 Leo Liu <sdl.web@gmail.com>
10037 * subr.el (condition-case-unless-debug): Rename from
10038 condition-case-no-debug. All callers changed.
10039 (with-demoted-errors): Fix caller.
10041 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10042 * nxml/rng-valid.el (rng-do-some-validation):
10043 * emacs-lisp/package.el (package-refresh-contents)
10044 (package-menu-execute):
10045 * desktop.el (desktop-create-buffer):
10046 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
10048 2012-02-10 Glenn Morris <rgm@gnu.org>
10050 * textmodes/bibtex.el:
10051 Add missing :version tags for new/changed defcustoms.
10053 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10055 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
10057 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10058 (smtpmail-via-smtp): Use it, or fall back on the From address.
10059 (smtpmail-send-it): Ditto.
10061 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10063 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10064 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10065 (byte-compile-tmp-var): New const.
10066 (byte-compile-defvar): Use it to minimize .elc size.
10067 Just use `defvar' rather than simulate it (bug#10761).
10069 2012-02-09 Glenn Morris <rgm@gnu.org>
10071 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10073 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10076 * progmodes/compile.el (compilation-error-screen-columns)
10077 (compilation-first-column, compilation-filter-start): Doc fixes.
10079 * vc/log-view.el (log-view-toggle-entry-display):
10080 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10082 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10083 (report-emacs-bug-can-use-xdg-email):
10084 (report-emacs-bug-insert-to-mailer): Doc fixes.
10085 (report-emacs-bug): Message fix.
10087 * net/browse-url.el (browse-url-can-use-xdg-open)
10088 (browse-url-xdg-open): Doc fixes.
10090 * electric.el (electric-indent-mode, electric-pair-mode)
10091 (electric-layout-rules, electric-layout-mode): Doc fixes.
10092 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10094 2012-02-08 Martin Rudalics <rudalics@gmx.at>
10096 * server.el (server-unselect-display): Don't inadvertently kill
10097 the current buffer. (Bug#10729)
10099 2012-02-08 Glenn Morris <rgm@gnu.org>
10101 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10102 (sql-list-table): Doc fixes.
10104 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10105 Comment out (does nothing).
10107 * completion.el (dynamic-completion-mode):
10108 * dirtrack.el (dirtrack-debug-mode):
10109 * electric.el (electric-layout-mode):
10110 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10111 * face-remap.el (text-scale-mode, buffer-face-mode):
10112 * iimage.el (iimage-mode):
10113 * image-mode.el (image-transform-mode):
10114 * minibuffer.el (completion-in-region-mode):
10115 * scroll-lock.el (scroll-lock-mode):
10116 * simple.el (next-error-follow-minor-mode):
10117 * tar-mode.el (tar-subfile-mode):
10118 * tooltip.el (tooltip-mode):
10119 * vcursor.el (vcursor-use-vcursor-map):
10120 * wid-browse.el (widget-minor-mode):
10121 * emulation/tpu-edt.el (tpu-edt-mode):
10122 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10123 * international/iso-ascii.el (iso-ascii-mode):
10124 * language/thai-util.el (thai-word-mode):
10125 * mail/supercite.el (sc-minor-mode):
10126 * net/goto-addr.el (goto-address-mode):
10127 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10128 * progmodes/cwarn.el (cwarn-mode):
10129 * progmodes/flymake.el (flymake-mode):
10130 * progmodes/glasses.el (glasses-mode):
10131 * progmodes/hideshow.el (hs-minor-mode):
10132 * progmodes/pascal.el (pascal-outline-mode):
10133 * textmodes/enriched.el (enriched-mode):
10134 * vc/smerge-mode.el (smerge-mode):
10135 Doc fixes (minor mode argument).
10137 2012-02-07 Eli Zaretskii <eliz@gnu.org>
10139 * ls-lisp.el (ls-lisp-sanitize): New function.
10140 (ls-lisp-insert-directory): Use it to fix or remove any elements
10141 in file-alist with missing attributes. (Bug#4673)
10143 2012-02-07 Alan Mackenzie <acm@muc.de>
10145 Fix spurious recognition of c-in-knr-argdecl.
10147 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10148 putative K&R region.
10150 2012-02-07 Alan Mackenzie <acm@muc.de>
10152 * progmodes/cc-engine.el (c-forward-objc-directive):
10153 Prevent looping in "#pragma mark @implementation".
10155 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
10157 * notifications.el (notifications-on-closed-signal): Make `reason'
10158 optional. (Bug#10744)
10160 2012-02-07 Glenn Morris <rgm@gnu.org>
10162 * emacs-lisp/easy-mmode.el (define-minor-mode):
10163 Doc fixes for the macro and the mode it defines.
10165 * image.el (imagemagick-types-inhibit): Doc fix.
10167 * cus-start.el (imagemagick-render-type): Add it.
10169 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10171 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10172 Set the default at load time, too, so that `font-lock-fontify-buffer'
10173 can be called without setting up the entire mode first. This fixes
10174 a bug in `mm-inline-text' with C MIME parts.
10176 2012-02-06 Chong Yidong <cyd@gnu.org>
10178 * simple.el (list-processes--refresh): Delete exited processes
10181 * comint.el (comint-next-prompt): next-single-char-property-change
10182 and prev-single-char-property-change never return nil (Bug#8657).
10184 * custom.el (defcustom): Doc fix (Bug#9711).
10186 2012-02-05 Chong Yidong <cyd@gnu.org>
10188 * cus-edit.el (custom-variable-reset-backup): Quote the value
10189 before storing it in the customized-value property (Bug#6712).
10190 (custom-display): Add a customization type tag.
10191 (custom-buffer-create-internal): Improve tooltip message.
10193 * wid-edit.el (widget-field-value-get): New optional arg to
10194 suppress trailing whitespace truncation.
10195 (character): Use it (Bug#2689).
10197 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10199 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10200 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10202 2012-02-05 Chong Yidong <cyd@gnu.org>
10204 * cus-edit.el (custom-variable-value-create): For mismatched
10205 types, show the current value (Bug#7600).
10207 * custom.el (defcustom): Doc fix.
10209 2012-02-05 Glenn Morris <rgm@gnu.org>
10211 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10213 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
10215 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10216 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10217 (pp-last-sexp): Use `looking-at-p'.
10219 2012-02-04 Glenn Morris <rgm@gnu.org>
10221 * files.el (revert-buffer):
10222 Doc fix (mention revert-buffer-in-progress-p).
10224 * emacs-lisp/ert-x.el (ert-simulate-command):
10225 Check deferred-action-list (which is obsolete) is bound.
10227 * subr.el (with-wrapper-hook): Doc fixes.
10229 * simple.el (filter-buffer-substring-functions)
10230 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10232 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10234 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10235 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10237 2012-02-04 Leo Liu <sdl.web@gmail.com>
10239 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10241 2012-02-04 Glenn Morris <rgm@gnu.org>
10243 * image.el (image-extension-data): Add obsolete alias.
10245 * isearch.el (isearch-update): Doc fix.
10247 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10249 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10251 2012-02-03 Glenn Morris <rgm@gnu.org>
10253 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10254 (image-animate-timeout): Doc fix.
10256 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10258 2012-02-02 Glenn Morris <rgm@gnu.org>
10260 * server.el (server-auth-dir): Doc fix.
10261 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10263 * subr.el (run-mode-hooks): Doc fix.
10265 2012-02-02 Juri Linkov <juri@jurta.org>
10267 * image-mode.el (image-toggle-display-image): Remove tautological
10268 `major-mode' from the `derived-mode-p' test.
10270 2012-02-02 Kenichi Handa <handa@m17n.org>
10272 * composite.el (compose-region): Cancel previous change.
10274 2012-02-02 Kenichi Handa <handa@m17n.org>
10276 * composite.el (compose-region, compose-string): Signal error for
10277 a null string component (Bug#6988).
10279 2012-02-01 Chong Yidong <cyd@gnu.org>
10281 * view.el (view-buffer-other-window, view-buffer-other-frame):
10282 Handle special modes like view-buffer (Bug#10650).
10283 (view-buffer): Simplify.
10285 * frame.el (set-frame-font): Tweak meaning of third argument.
10287 * dynamic-setting.el (font-setting-change-default-font):
10288 Use set-frame-font (Bug#9982).
10290 2012-02-01 Glenn Morris <rgm@gnu.org>
10292 * progmodes/compile.el (compilation-internal-error-properties):
10293 Respect compilation-first-column in the "*compilation*" buffer.
10295 * emacs-lisp/easy-mmode.el (define-minor-mode):
10296 Relax :variable's test for a named function.
10298 2012-01-31 Alan Mackenzie <acm@muc.de>
10300 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10303 2012-01-31 Chong Yidong <cyd@gnu.org>
10305 * frame.el (set-frame-font): New arg ALL-FRAMES.
10307 * menu-bar.el (menu-set-font): Use set-frame-font.
10309 * faces.el (face-spec-reset-face): Don't apply unspecified
10310 attribute values to the default face.
10312 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
10314 * progmodes/cwarn.el (cwarn): Remove dead link.
10315 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10316 Remove * from defcustom docstrings.
10317 (turn-on-cwarn-mode): Make obsolete.
10318 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10319 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10321 2012-01-31 Glenn Morris <rgm@gnu.org>
10323 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
10324 Fix :variable handling of mode a symbol not equal to modefun.
10325 Allow named functions to be used as the cdr of :variable.
10327 2012-01-30 Glenn Morris <rgm@gnu.org>
10329 * emacs-lisp/authors.el (authors-fixed-entries):
10330 Remove reference to deleted file rnewspost.el.
10332 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
10334 * window.el (window-with-parameter): Remove unused variable `windows'.
10335 (window--side-check): Remove unused variable `code'.
10336 (window--resize-siblings): Remove unused variable `first'.
10337 (adjust-window-trailing-edge): Remove unused variable `failed'.
10338 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10339 Use `let', not `let*'.
10340 (balance-windows-2): Remove unused variable `found'.
10341 (window--state-put-2): Remove unused variable `splits'.
10342 (window-state-put): Remove unused variable `selected'.
10343 (same-window-p): Use `string-match-p'.
10344 (display-buffer-assq-regexp): Remove unused variable `value'.
10345 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10346 Mark argument ALIST as ignored.
10347 (pop-to-buffer): Remove unused variable `old-window'.
10349 2012-01-29 Eli Zaretskii <eliz@gnu.org>
10351 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10352 and .lzma compressed files.
10354 2012-01-29 Chong Yidong <cyd@gnu.org>
10356 * frame.el (window-system-default-frame-alist): Doc fix.
10358 * dynamic-setting.el (font-setting-change-default-font): Don't
10359 change the default face if SET-FONT argument is non-nil (Bug#9982).
10361 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10363 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10365 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
10367 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10368 breakpoints in files outside current directory (Bug#6098).
10370 2012-01-29 Chong Yidong <cyd@gnu.org>
10372 * progmodes/python.el: Require ansi-color at top-level.
10374 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10375 Define and use in Emacs Lisp mode (Bug#9360).
10376 (lisp-mode-abbrev-table): Add doc.
10377 (lisp-mode-variables): Don't set local-abbrev-table.
10378 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10380 2012-01-28 Roland Winkler <winkler@gnu.org>
10382 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10384 2012-01-28 Roland Winkler <winkler@gnu.org>
10386 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10387 (bibtex-set-dialect): Use it. Either set global values of
10388 dialect-dependent variables or bind these variables buffer-locally
10390 (bibtex-mode): Call bibtex-set-dialect via
10391 hack-local-variables-hook.
10392 (bibtex-dialect): Update docstring.
10393 Add safe-local-variable predicate.
10394 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10395 bibtex-set-dialect.
10396 (bibtex-mode-map): Define menu for each dialect.
10397 (bibtex-entry): Fix docstring.
10399 2012-01-28 Chong Yidong <cyd@gnu.org>
10401 * eshell/esh-arg.el (eshell-quote-argument): New function.
10403 * eshell/esh-ext.el (eshell-invoke-batch-file):
10404 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10405 first arg to eshell-parse-command (Bug#10523).
10407 2012-01-28 Drew Adams <drew.adams@oracle.com>
10409 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10410 `default-directory' is non-nil.
10412 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10414 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10415 line that displays system-configuration-options. (Bug#9924)
10417 2012-01-28 Drew Adams <drew.adams@oracle.com>
10419 * descr-text.el (describe-char): Show information about POS, in
10420 addition to information about the character at POS. Improve and
10421 update the doc string. Change "code point" to "code point in
10422 charset", to avoid confusion with the character's Unicode code
10423 point shown above that. (Bug#10129)
10425 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10427 * descr-text.el (describe-char): Show the raw character, not only
10428 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10429 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10432 2012-01-28 Phil Hagelberg <phil@hagelb.org>
10434 * emacs-lisp/package.el (package-install):
10435 Run package-refresh-contents if there is no archive yet (Bug#9798).
10437 2012-01-28 Chong Yidong <cyd@gnu.org>
10439 * emacs-lisp/package.el (package-maybe-load-descriptor):
10440 New function, split from package-maybe-load-descriptor.
10441 (package-maybe-load-descriptor): Use it.
10442 (package-download-transaction): Fully load required packages
10443 inside the loop, so that `require' calls work (Bug#10593).
10444 (package-install): No need to call package-initialize now.
10446 2012-01-28 Chong Yidong <cyd@gnu.org>
10448 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10450 * tooltip.el (tooltip-mode): Doc fix.
10451 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10453 * frame.el (set-cursor-color): Doc fix (Bug#352).
10455 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10456 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10458 * cus-edit.el (custom-buffer-create-internal): Fix search button
10459 action (Bug#10542).
10460 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
10462 2012-01-27 Eduard Wiebe <usenet@pusto.de>
10464 * dired.el (dired-mark-files-regexp):
10465 Include any subdirectory components. (Bug#10445)
10467 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10469 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10470 Handle [host]:port syntax. (Bug#10533)
10472 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
10474 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10476 2012-01-26 Glenn Morris <rgm@gnu.org>
10478 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10479 * term.el (term-raw-escape-map): Use Control-X-prefix.
10480 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10482 2012-01-25 Martin Rudalics <rudalics@gmx.at>
10484 * window.el (window-state-get, window--state-get-1): Don't deal
10485 with fixed-sizeness of windows. Simplify code.
10487 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10489 * window.el (window--state-get-1, window--state-put-2):
10490 Don't save and restore the mark.
10492 2012-01-25 Chong Yidong <cyd@gnu.org>
10494 * custom.el (custom-variable-p): Doc fix.
10496 2012-01-25 Glenn Morris <rgm@gnu.org>
10498 * dired.el (dired-goto-file): Handle some of the more common
10499 characters that `ls -b' escapes. (Bug#10596)
10501 * progmodes/compile.el (compilation-next-error-function):
10502 Respect compilation-first-column in the "*compilation*" buffer.
10503 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10505 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10507 2012-01-24 Glenn Morris <rgm@gnu.org>
10509 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10511 2012-01-24 Julien Danjou <julien@danjou.info>
10513 * color.el (color-rgb-to-hsl): Fix value computing.
10514 (color-hue-to-rgb): New function.
10515 (color-hsl-to-rgb): New function.
10516 (color-clamp, color-saturate-hsl, color-saturate-name)
10517 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10518 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10520 2012-01-24 Glenn Morris <rgm@gnu.org>
10522 * vc/vc-rcs.el (vc-rcs-create-tag):
10523 * vc/vc-sccs.el (vc-sccs-create-tag):
10524 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10526 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10528 * eshell/esh-util.el (eshell-read-hosts-file):
10529 Skip comment lines. (Bug#10549)
10531 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10533 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
10535 * subr.el (display-delayed-warnings): Doc fix.
10536 (collapse-delayed-warnings): New function to collapse identical
10538 (delayed-warnings-hook): Add it.
10540 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
10542 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10544 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10545 (tramp-default-user-alist): Don't add "pscp".
10546 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10547 property "login-as", if set. (Bug#10530)
10549 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
10551 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10552 "plink1" and "psftp". (Bug#10530)
10554 2012-01-21 Kenichi Handa <handa@m17n.org>
10556 * international/mule-cmds.el (prefer-coding-system): Show a
10557 warning message if the default value of file-name-coding-system
10560 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10562 * windmove.el (windmove-reference-loc):
10563 Fix windmove-reference-loc miscalculation.
10565 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10567 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10570 2012-01-21 Glenn Morris <rgm@gnu.org>
10572 * international/mule.el (auto-coding-alist): Add .tbz.
10574 * files.el (local-enable-local-variables): Doc fix.
10575 (inhibit-local-variables-regexps): Rename from
10576 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10577 Doc fix. Add some extensions from auto-coding-alist.
10578 (inhibit-local-variables-suffixes):
10579 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10580 (inhibit-local-variables-p):
10581 New function, extracted from set-auto-mode-1.
10582 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10583 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10584 (hack-local-variables): Doc fix. Make the mode-only case
10585 respect enable-local-variables and friends.
10586 Respect inhibit-local-variables-regexps for file-locals, but
10587 not for directory-locals.
10588 (set-visited-file-name):
10589 Take account of inhibit-local-variables-regexps.
10590 Whether it applies may change as the file name is changed.
10591 * jka-cmpr-hook.el (jka-compr-install):
10592 * jka-compr.el (jka-compr-uninstall):
10593 Update for inhibit-first-line-modes-suffixes name change.
10595 2012-01-20 Martin Rudalics <rudalics@gmx.at>
10597 * help-macro.el (make-help-screen): Temporarily restore original
10598 binding for minor-mode-map-alist (Bug#10454).
10600 2012-01-19 Julien Danjou <julien@danjou.info>
10602 * color.el (color-name-to-rgb): Use the white color to find the max
10603 color component value and return correctly computed values.
10604 (color-name-to-rgb): Add missing float conversion for max value.
10606 2012-01-19 Martin Rudalics <rudalics@gmx.at>
10608 * window.el (window--state-get-1, window-state-get): Do not use
10609 special state value for window-persistent-parameters.
10610 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
10611 (window--state-put-2): Reset all window parameters to nil before
10612 assigning values of persistent parameters.
10614 2012-01-18 Alan Mackenzie <acm@muc.de>
10616 Eliminate sluggishness and hangs in fontification of "semicolon
10619 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10620 Change value 10000 -> 3000.
10621 (c-state-safe-place): Reformulate so it doesn't stack up an
10622 infinite number of wrong entries in c-state-nonlit-pos-cache.
10623 (c-determine-limit-get-base, c-determine-limit): New functions to
10624 determine backward search limits disregarding literals.
10625 (c-find-decl-spots): Amend commenting.
10626 (c-cheap-inside-bracelist-p): New function which detects "={".
10628 * progmodes/cc-fonts.el
10629 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10631 (c-font-lock-declarations): Fix an occurrence of point being
10632 undefined. Check additionally for point being in a bracelist or
10633 near a macro invocation without a semicolon so as to avoid a
10634 fruitless time consuming search for a declarator. Give a more
10635 precise search limit for declarators using the new
10638 2012-01-18 Glenn Morris <rgm@gnu.org>
10640 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10641 (set-auto-mode): Doc fixes.
10643 2012-01-17 Glenn Morris <rgm@gnu.org>
10645 * isearch.el (search-nonincremental-instead): Fix doc typo.
10647 * dired.el (dired-insert-directory): Handle newlines in directory name.
10648 (dired-build-subdir-alist): Unescape newlines in directory name.
10650 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
10652 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10653 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10654 (tramp-action-terminal): Use it. (Bug#10530)
10656 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10658 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10660 2012-01-16 Martin Rudalics <rudalics@gmx.at>
10662 * window.el (window-state-ignored-parameters): Remove variable.
10663 (window--state-get-1): Rename argument MARKERS to IGNORE.
10664 Handle persistent window parameters. Make copy of clone-of
10665 parameter only if requested. (Bug#10348)
10666 (window--state-put-2): Install a window parameter only if it has
10667 a non-nil value or an existing parameter shall be overwritten.
10669 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
10671 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10673 2012-01-14 Eli Zaretskii <eliz@gnu.org>
10675 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10676 don't pass the (nil) value of `upnode' to string-match.
10678 2012-01-14 Chong Yidong <cyd@gnu.org>
10680 * startup.el (command-line): Fix X resource class for cursorColor.
10681 Fix values recognized by the cursorBlink resource.
10683 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10685 * epg.el (epg--make-temp-file): Avoid permission race condition
10686 when running on old Emacs versions (bug#10403).
10688 2012-01-14 Glenn Morris <rgm@gnu.org>
10690 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10692 2012-01-13 Alan Mackenzie <acm@muc.de>
10694 Fix filling for when filladapt mode is enabled.
10696 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10697 c-mask-paragraph, pass in `fill-paragraph' rather than
10698 `fill-region-as-paragraph'. (This is a reversion of a previous
10700 * progmodes/cc-mode.el (c-basic-common-init):
10701 Make fill-paragraph-handle-comment buffer local and set it to nil.
10703 2012-01-13 Glenn Morris <rgm@gnu.org>
10705 * dired.el (dired-switches-escape-p): New function.
10706 (dired-insert-directory): Use dired-switches-escape-p.
10707 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10709 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10711 2012-01-12 Glenn Morris <rgm@gnu.org>
10713 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10714 changes in adaptive-fill-regexp. (Bug#10276)
10716 2012-01-11 Alan Mackenzie <acm@muc.de>
10718 Fix Emacs bug #10463 - put `widen's around the critical spots.
10720 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
10721 widen around each invocation of c-state-pp-to-literal. Remove an
10722 unused let variable.
10724 2012-01-11 Glenn Morris <rgm@gnu.org>
10726 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
10729 2012-01-10 Chong Yidong <cyd@gnu.org>
10731 * net/network-stream.el (network-stream-open-starttls):
10732 Avoid emitting a confusing error message when the server gives a bad
10733 response to the capability command.
10735 2012-01-10 Glenn Morris <rgm@gnu.org>
10737 * mail/unrmail.el (unrmail): Tweak previous change.
10739 2012-01-09 Chong Yidong <cyd@gnu.org>
10741 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10743 2012-01-08 Alan Mackenzie <acm@muc.de>
10745 Optimise font locking in long enum definitions.
10747 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10748 arm to a cond form to handle enums.
10749 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10750 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10752 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
10754 * files.el (move-file-to-trash): Preserve default file modes on error.
10757 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10759 * faces.el (set-face-attribute): Clarify the meaning of the nil
10762 * subr.el (with-selected-frame): Mention that the selected frame
10763 is restored (bug#9980).
10765 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10768 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
10769 (password-read): Don't autoload unused function.
10771 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
10773 * progmodes/which-func.el (which-func-mode): Turn into a
10774 non-interactive function and mark as obsolete (bug#10428).
10776 2012-01-06 Chong Yidong <cyd@gnu.org>
10778 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10779 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10780 functions, along with 1 and -1.
10782 2012-01-06 Eli Zaretskii <eliz@gnu.org>
10784 * time.el (display-time-load-average)
10785 (display-time-default-load-average): Doc fixes. See the thread
10787 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10790 2012-01-06 Glenn Morris <rgm@gnu.org>
10792 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10793 has no messages. (Bug#10377)
10795 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10796 than Info-edit. (Bug#10385)
10798 * time.el (display-time-load-average, display-time-next-load-average):
10801 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10802 local setting of buffer-read-only to the input buffer. (Bug#10419)
10804 * calendar/calendar.el (calendar-mode):
10805 Locally set scroll-margin to 0. (Bug#10379)
10807 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
10809 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10811 2012-01-05 Glenn Morris <rgm@gnu.org>
10813 * eshell/em-unix.el (diff-no-select): Autoload it.
10814 (eshell/diff): Use diff-no-select. (Bug#10420)
10816 2012-01-05 Chong Yidong <cyd@gnu.org>
10818 * shell.el (shell-dynamic-complete-functions): Revert last change.
10819 (shell-command-completion-function): New function.
10820 (shell-completion-vars): Use it to implement
10821 shell-completion-execonly (Bug#10417).
10823 * custom.el (enable-theme): Don't set custom-safe-themes.
10825 * cus-theme.el (custom-theme-merge-theme):
10826 Ignore custom-enabled-themes and custom-safe-themes.
10828 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10830 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10831 first prompt in `sql-interacive-mode'.
10832 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
10834 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
10835 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10836 context of original buffer. Invoke `sql-login-hook'.
10838 2012-01-04 Eli Zaretskii <eliz@gnu.org>
10840 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10841 letters in cite-prefix.
10843 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10845 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10847 2012-01-03 Chong Yidong <cyd@gnu.org>
10849 * shell.el (shell-dynamic-complete-functions):
10850 Put pcomplete-completions-at-point, so as to try
10851 comint-filename-completion first (Bug#10417).
10853 2012-01-02 Richard Stallman <rms@gnu.org>
10855 * battery.el (battery-status-function):
10856 Detect when to use battery-yeeloong-sysfs.
10857 (battery-echo-area-format): Add string for Yeeloong.
10858 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10859 (battery-yeeloong-sysfs): New function.
10861 2012-01-02 Chong Yidong <cyd@gnu.org>
10863 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10864 (dirtrack): Merge code for handling relative filenames in prompt
10865 from shell-dir-cookie-watcher.
10866 (dirtrack-debug-message): New arg to avoid excess format calls.
10868 * shell.el (shell-dir-cookie-re): Variable deleted.
10869 (shell-dir-cookie-watcher): Function deleted.
10870 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10871 with dirtrack-mode.
10873 2012-01-01 Eli Zaretskii <eliz@gnu.org>
10875 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10876 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
10879 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10881 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10883 2011-12-31 Eli Zaretskii <eliz@gnu.org>
10885 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10886 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10888 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
10890 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10891 also for alternative shells.
10892 (tramp-open-connection-setup-interactive-shell): Check, whether
10893 the shell is a busybox.
10894 (tramp-send-command): Don't suppress multiple prompts for
10895 busyboxes, it hurts.
10897 2011-12-28 Chong Yidong <cyd@gnu.org>
10899 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10900 (gdb-get-source-file): Move mode line update to
10901 gdb-get-source-file (Bug#10087).
10903 2011-12-25 Chong Yidong <cyd@gnu.org>
10905 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10906 gud-gdb-marker-filter without taking it as an argument.
10907 (gud-gdb-run-command-fetch-lines): Caller changed.
10908 (gud-gdb-completion-function): New variable.
10909 (gud-gdb-completion-at-point): Use it.
10910 (gud-gdb-completions-1): Split from gud-gdb-completions.
10912 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10913 function as separate arguments.
10914 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10915 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10916 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10917 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10918 (gdb-stopped, def-gdb-auto-update-trigger)
10919 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
10920 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10922 (gud-gdbmi-completions): New function.
10923 (gdb): Use it for generating the completion table.
10925 2011-12-24 Alan Mackenzie <acm@muc.de>
10927 Introduce a mechanism to widen the region used in context font
10928 locking. Use this to protect declarations from losing their contexts.
10930 * progmodes/cc-langs.el (c-before-font-lock-functions):
10931 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
10932 (c-before-context-fontification-functions): New defvar, a list of
10933 functions to be run just before context (etc.) font locking.
10935 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
10936 New, functionality extracted from
10937 c-neutralize-syntax-in-and-mark-CPP.
10938 (c-in-after-change-fontification): New variable.
10939 (c-after-change): Set c-in-after-change-fontification.
10940 (c-set-fl-decl-start): Rejig its interface, so it can be called
10941 from both after-change and context fontifying.
10942 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10944 (c-standard-font-lock-fontify-region-function): New variable.
10945 (c-font-lock-fontify-region): New function.
10947 2011-12-24 Juri Linkov <juri@jurta.org>
10949 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10952 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
10954 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10955 existence of source file. (Bug#10325)
10957 2011-12-23 Alan Mackenzie <acm@muc.de>
10959 Fix unstable fontification inside templates.
10961 * progmodes/cc-langs.el (c-before-font-lock-functions):
10962 Newly created from the singular version. The (c c++ objc) entry now
10963 additionally has c-set-fl-decl-start. The other languages (apart
10964 from AWK) have that as a single entry.
10966 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10967 The functionality for "local" declarations has been extracted to
10968 c-set-fl-decl-start.
10970 * progmodes/cc-mode.el (c-common-init, c-after-change):
10971 Changes due to pluralisation of c-before-font-lock-functions.
10972 (c-set-fl-decl-start): New function, extracted from
10973 c-font-lock-enclosing-decls and enhanced.
10975 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
10977 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10979 2011-12-22 Juri Linkov <juri@jurta.org>
10981 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10983 2011-12-22 Chong Yidong <cyd@gnu.org>
10985 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10987 2011-12-21 Drew Adams <drew.adams@oracle.com>
10989 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10991 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10993 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10995 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10997 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10998 highlighting and support. Fix up comments for capitalization.
10999 (cfengine-mode-debug): New var.
11000 (cfengine3-mode): Change the modeline indicator to "CFE3".
11001 (cfengine3-font-lock-keywords): Improve defun highlighting.
11002 (cfengine2-actions): Rename from `cfengine-actions'.
11003 (cfengine2-font-lock-keywords): Rename from
11004 `cfengine-font-lock-keywords'.
11005 (cfengine2-imenu-expression): Rename from
11006 `cfengine-imenu-expression'.
11007 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11008 (cfengine2-beginning-of-defun): Rename from
11009 `cfengine-beginning-of-defun'.
11010 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11011 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11012 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11013 modeline indicator to "CFE2".
11014 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11015 (cfengine-mode-abbrevs): Mark obsolete.
11017 2011-12-21 Chong Yidong <cyd@gnu.org>
11019 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11022 2011-12-20 Martin Rudalics <rudalics@gmx.at>
11024 * window.el (window-normalize-buffer-to-display): Remove.
11025 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11027 2011-12-19 Chong Yidong <cyd@gnu.org>
11029 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11030 Don't signal an error in a predicate function; return non-nil.
11031 (vc-dir-mark-file): Move the error here.
11032 (vc-dir-mark-unmark): If acting on the region, keep going if one
11033 of the entries cannot be marked/unmarked.
11034 (vc-dir-mark-all-files): If current entry is a directory, mark
11035 only child files, as documented.
11037 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11039 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11040 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11043 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11045 * term/ns-win.el (ns-get-selection-internal)
11046 (ns-store-selection-internal): Declare.
11047 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11048 Declare as obsolete.
11049 (ns-get-pasteboard, ns-paste-secondary):
11050 Use ns-get-selection-internal.
11051 (ns-set-pasteboard, ns-copy-including-secondary):
11052 Use ns-store-selection-internal.
11054 2011-12-17 Chong Yidong <cyd@gnu.org>
11056 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
11057 (vc-deduce-fileset): Doc fix.
11059 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11061 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11063 2011-12-13 Sam Steingold <sds@gnu.org>
11065 * man.el (Man-getpage-in-background): When running under a
11066 window-system, ignore $MANWIDTH and $COLUMNS.
11068 2011-12-15 Kenichi Handa <handa@m17n.org>
11070 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11071 (setup-ethiopic-environment-internal): Comment out key-binding for
11072 ethio-toggle-punctuation.
11074 2011-12-13 Alan Mackenzie <acm@muc.de>
11076 Add the switch statement to AWK Mode.
11078 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
11079 "default" to the keywords regexp.
11081 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
11082 expression as the rest.
11083 (c-nonlabel-token-key): Allow string literals for AWK.
11084 Refactor for the other modes.
11086 Large brace-block initialisation makes CC Mode slow: Fix.
11087 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
11088 routines. Limit backward searching in c-font-lock-enclosing.decl.
11090 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11091 pp-state and literal type in addition to the limits.
11092 (c-state-safe-place): New defun, extracted from c-state-literal-at.
11093 (c-state-literal-at): Use the above new defun.
11094 (c-slow-in-literal, c-fast-in-literal): Remove.
11095 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
11097 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11098 being in a literal. Add a limit for backward searching.
11100 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11103 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11105 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11107 2011-12-13 Martin Rudalics <rudalics@gmx.at>
11109 * window.el (delete-other-windows): Use correct frame in call to
11110 window-with-parameter.
11112 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11114 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11115 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11116 (makefile-gmake-statements, makefile-makepp-statements):
11117 Use it and add new makepp keywords.
11118 (makefile-makepp-font-lock-keywords): Add new patterns.
11119 (makefile-match-function-end): Match new [...] and [[...]].
11121 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
11123 * ses.el (ses-call-printer-return, ses-cell-property-get)
11124 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11125 (ses-create-cell-variable, ses-reset-header-string)
11126 (ses-cell-set-formula, ses-repair-cell-reference-all)
11127 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11128 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11129 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11130 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11131 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11132 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11133 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11134 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11135 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11136 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11137 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11138 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11140 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11142 * ses.el: The overall change is to add cell renaming, that is
11143 setting fancy names for cell symbols other than name matching
11144 "\\`[A-Z]+[0-9]+\\'" regexp .
11145 (ses-create-cell-variable): New defun.
11146 (ses-relocate-formula): Relocate formulas only for cells the
11147 symbols of which are not renamed, i.e. symbols whose names do not
11148 match regexp "\\`[A-Z]+[0-9]+\\'".
11149 (ses-relocate-all): Relocate values only for cells the symbols of
11150 which are not renamed.
11151 (ses-load): Create cells variables as the (ses-cell ...) are read,
11152 in order to check row col consistency with cell symbol name only
11153 for cells that are not renamed.
11154 (ses-replace-name-in-formula): New defun.
11155 (ses-rename-cell): New defun.
11157 2011-12-11 Chong Yidong <cyd@gnu.org>
11159 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11160 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11162 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11164 * window.el (other-window): Fix docstring.
11166 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11168 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
11169 `from' or `to' address before taking its substring.
11170 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
11171 encoded name is chopped in the middle of the encoded string, and
11172 thus displayed encoded.
11174 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
11176 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11178 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11180 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11181 to use texinfo-update-node and commands that call it if the
11182 Texinfo file uses @node lines without next/prev/up pointers.
11183 Correct outdated description about texinfo-master-menu.
11184 (texinfo-all-menus-update, texinfo-master-menu)
11185 (texinfo-update-node, texinfo-every-node-update)
11186 (texinfo-multiple-files-update): Doc fix. Warn against updating
11187 all the @node lines.
11188 (texinfo-master-menu): Only call texinfo-update-node if the prefix
11189 argument is numeric. Explain better in the doc string what the
11190 function really does.
11191 (texinfo-insert-master-menu-list): Improve the error message
11192 displayed if there's no menu in the Top node.
11193 (Bug#2975) See also this thread:
11194 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11196 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11198 * speedbar.el (speedbar-supported-extension-expressions):
11199 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11201 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
11203 * printing.el (pr-mode-alist):
11204 * simple.el (filter-buffer-substring-functions)
11205 (completion-list-insert-choice-function):
11206 * window.el (window-with-parameter, window-atom-root)
11207 (window-sides-slots, window-size-fixed, window-min-delta)
11208 (window-max-delta, window--resize-mini-window)
11209 (window--resize-child-windows-normal, window-tree)
11210 (delete-other-windows, quit-window, split-window)
11211 (display-buffer-record-window, special-display-buffer-names)
11212 (special-display-regexps, special-display-popup-frame)
11213 (same-window-p, split-window-sensibly)
11214 (display-buffer-overriding-action, display-buffer-alist)
11215 (display-buffer-base-action, display-buffer, switch-to-buffer)
11216 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11217 (fit-window-to-buffer, recenter-positions)
11218 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11219 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11220 and remove unneeded backslashes in docstrings.
11222 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11224 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11226 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11227 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11229 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11230 when reading the makefile (bug#10116).
11232 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11234 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11237 2011-12-06 Glenn Morris <rgm@gnu.org>
11239 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11241 2011-12-06 Chong Yidong <cyd@gnu.org>
11243 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11245 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
11247 * textmodes/table.el (table-shorten-cell): Fix typo.
11249 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11251 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11253 2011-12-05 Eli Zaretskii <eliz@gnu.org>
11255 * descr-text.el (describe-char): Fix display of strong
11256 right-to-left characters and directional embeddings and overrides.
11258 * simple.el (what-cursor-position): Fix display of codepoints of
11259 strong right-to-left characters.
11261 2011-12-05 Chong Yidong <cyd@gnu.org>
11263 * faces.el (read-color): Doc fix.
11265 2011-12-05 Glenn Morris <rgm@gnu.org>
11267 * align.el (align--set-marker): Add doc-string.
11268 Don't try to move something that is not a marker. (Bug#10216)
11270 2011-12-04 Glenn Morris <rgm@gnu.org>
11272 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11273 overly zealous deletion of trailing whitespace.
11275 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
11277 * server.el (server-delete-client): On Windows, do not try to delete
11279 (server-process-filter): On Windows, treat requests for a tty frame as
11280 if they were for a GUI frame if the running server is in GUI mode.
11282 2011-12-03 Glenn Morris <rgm@gnu.org>
11284 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11286 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11288 * electric.el: Streamline electric-indent's hook.
11289 (electric-indent-chars): Revert to simple list.
11290 (electric-indent-functions): New var.
11291 (electric-indent-post-self-insert-function): Use it.
11293 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11294 there's no inferior buffer (bug#10196).
11295 (prolog-consult-compile): Don't use toggle-read-only.
11297 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
11299 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11300 interrupt. (Bug#10187)
11302 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11304 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11307 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11310 2011-12-02 Juri Linkov <juri@jurta.org>
11312 * info.el (Info-search): Display "end of manual" when Isearch
11313 reaches the end of single-file Info manual. (Bug#9918)
11315 2011-12-02 Eli Zaretskii <eliz@gnu.org>
11317 * isearch.el (isearch-message-prefix): Run the input method part
11318 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11320 2011-12-02 Juri Linkov <juri@jurta.org>
11322 * isearch.el (isearch-occur): Use `word-search-regexp' for
11324 (isearch-search-and-update): Add condition for `isearch-word' and
11325 call `word-search-regexp'. (Bug#10145)
11327 2011-12-01 Glenn Morris <rgm@gnu.org>
11329 * eshell/em-hist.el (eshell-hist-initialize):
11330 Handle eshell-history-size nil and HISTSIZE set or unset.
11331 (eshell-history-file-name, eshell-history-size): Fix custom type.
11333 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11335 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11337 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
11339 * progmodes/verilog-mode.el (verilog-pretty-expr):
11340 Rework verilog-pretty-expr to handle new assignment operators in system
11341 verilog, such as += *= and the like.
11342 (verilog-assignment-operator-re): Regular expression to find the
11343 assigment operator in a verilog assignment.
11344 (verilog-assignment-operation-re): Regular expression to find an
11345 assignment statement for pretty-expr.
11346 (verilog-in-attribute-p): Query returns true if point is in an
11347 attribute context; used to skip these for expression line up from
11349 (verilog-in-parameter-p): Query returns true if point is in an
11350 parameter definition context; used to skip these for expression
11351 line up from pretty-expr.
11352 (verilog-in-parenthesis-p): Query returns true if point is in a
11353 parenthetical expression, specifically ( ) but not [ ] or { };
11354 used by pretty-expr.
11355 (verilog-just-one-space): If there is no space, don't add one.
11356 (verilog-get-lineup-indent-2): Specifically skip just attribute
11357 contexts for expression lineup, rather than skipping all
11358 parenthetical expressions.
11359 (verilog-calculate-indent): Fix comment, and fix indent.
11360 (verilog-do-indent): Indent declarations in lists (suggested by
11362 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11364 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11367 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
11369 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11370 parameters with embedded comments. Reported by Ray Stevens.
11371 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11372 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11373 Reported by Tim Holt.
11374 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11375 instantiated by upper module causing wrong expansion until AUTOed a
11376 second time. Reported by K C Buckenmaier.
11377 (verilog-diff-auto): Fix showing .* as a difference when
11378 `verilog-auto-star-save' off. Reported by Dan Dever.
11379 (verilog-auto-reset, verilog-read-always-signals)
11380 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11381 temporary signals in reset list if
11382 verilog-auto-reset-blocking-in-non is nil, and match assignment
11383 style to each signal's assignment type, bug381.
11384 Reported by Thomas Esposito.
11385 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11386 (verilog-uvm-statement-re): Support UVM indentation and
11387 highlighting, with old OVM keywords only.
11388 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
11389 Support AUTOTIEOFF creating non-wire data types.
11390 Suggested by Jonathan Greenlaw.
11391 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11392 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11393 (verilog-inject-sense, verilog-read-inst-pins)
11394 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11395 Fix mismatching parenthesis inside commented out code when deleting
11396 AUTOINST, bug383. Reported by Jonathan Greenlaw.
11397 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11398 non-numeric vector width. Reported by Alex Reed.
11399 (verilog-auto-ascii-enum): Add "onehot" option to work around not
11400 detecting signals with parameter widths. Reported by Alex Reed.
11401 (verilog-auto-delete-trailing-whitespace):
11402 With `verilog-auto-delete-trailing-whitespace' remove trailing
11403 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11404 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11405 Fix verilog-scan-cache corruption when running user AUTO expansion
11406 hooks that call indentation routines.
11407 (verilog-simplify-range-expression): Fix typo ignoring lower case
11409 (verilog-delete-auto): Fix delete-autos to also remove user created
11410 automatics, as long as they start with AUTO.
11411 (verilog-batch-diff-auto, verilog-diff-auto)
11412 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11413 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11414 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11415 (verilog-in-paren-quick, verilog-re-search-backward-quick)
11416 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11417 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
11418 is disabled and its cache will get corrupt, causing AUTOS not to
11419 expand. Instead use only -quick functions.
11420 (verilog-scan-region): Fix scanning over escaped quotes.
11421 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11422 (verilog-re-search-backward-quick)
11423 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11424 related functions now ignore strings, to fix misparsing of strings
11425 with magic comments embedded in them.
11426 (verilog-read-auto-template):
11427 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11428 Reported by Brad Dobbie.
11429 (verilog-read-auto-template):
11430 Fix 'verilog-auto-inst-template-numbers' with comments.
11431 Reported by Brad Dobbie.
11432 (verilog-auto-inst, verilog-auto-inst-param)
11433 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11434 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11435 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
11436 debugging templates without merge conflicts, bug357.
11437 Reported by Brad Dobbie.
11438 (verilog-read-auto-template):
11439 Fix verilog-auto-inst-template-numbers with multiple templates.
11440 Reported by Brad Dobbie.
11441 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11442 abbrevs so user won't be asked to save.
11443 (verilog-read-auto-lisp-present): Fix to start at beginning of
11444 buffer in case called outside of verilog-auto.
11445 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11446 to "X-2". Reported by Matthew Myers.
11447 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11448 all inputs from module templates. Reported by Leith Johnson.
11449 (verilog-module-inside-filename-p): Fix locating programs as with
11451 (verilog-auto-inst-port): Fix vl-width expressions when using
11452 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11453 (verilog-decls-get-regs, verilog-decls-get-signals,
11454 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11455 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11456 verilog-read-decls): Combine reg and wire structures into one var
11457 structure to represent SystemVerilog concepts.
11458 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11459 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
11460 (verilog-auto-wire-type, verilog-insert-definition):
11461 Add verilog-auto-wire-type and AUTOLOGIC to support using
11462 SystemVerilog "logic" keyword instead of "wire"/"reg".
11463 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11464 to declares outputs that also have assignments (presumably in an
11465 ifdef or generate if so there's not a driver conflict).
11466 Reported by Matthew Myers.
11467 (verilog-auto-declare-nettype, verilog-insert-definition):
11468 Add verilog-auto-declare-nettype to fix declarations using
11469 `default_nettype none. Reported by Julian Gorfajn.
11470 (verilog-read-always-signals-recurse, verilog-read-decls)
11471 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11472 malformed end statement, bug325. Reported by Joshua Wise and
11474 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11475 (verilog-inst-comment-re): Fix not deleting Interfaced comment
11476 when expanding .* in interfaces, bug320.
11477 Reported by Pierre-David Pfister.
11478 (verilog-read-module-name): Fix import statements between module
11479 name and open parenthesis, bug317.
11480 Reported by Pierre-David Pfister.
11481 (verilog-simplify-range-expression): Fix simplification of
11482 multiplications inside AUTOWIRE connections, bug303.
11483 (verilog-auto-inst-port): Support parameter expansion in
11484 multidimensional arrays.
11485 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11486 after "assert property". Reported by Julian Gorfajn.
11487 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11488 with multiplication, bug303.
11489 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11490 Reported by Jan Frode Lonnum.
11492 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
11494 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11495 (hfy-shell-file-name, hfy-shell):
11496 * international/fontset.el (x-decompose-font-name): Fix typos.
11498 2011-11-29 Ken Brown <kbrown@cornell.edu>
11500 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11501 (gdb-version): Remove defvar.
11502 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11503 (gdb-gud-context-command, gdb-non-stop-handler)
11504 (gdb-current-context-command, gdb-stopped): Use it.
11505 (gdb-init-1): Enable pretty printing here.
11506 (gdb-non-stop-handler): Don't enable pretty-printing here.
11507 Check to see if the target supports non-stop mode; if not, turn off
11508 non-stop mode. Use the following.
11509 (gdb-check-target-async): New defun.
11510 (gud-watch, gdb-stopped): Fix whitespace.
11511 (gdb-get-source-file): Don't try to display the source file if
11512 `gdb-main-file' is nil.
11514 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11516 * align.el: Try to generate fewer markers (bug#10047).
11517 (align--set-marker): New macro.
11518 (align-region): Use it.
11520 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11522 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11524 2011-11-29 Chong Yidong <cyd@gnu.org>
11526 * indent.el (indent-for-tab-command, indent-according-to-mode):
11528 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11530 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
11532 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11533 aware of remote file names. (Bug#10124)
11535 2011-11-29 Chong Yidong <cyd@gnu.org>
11537 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11539 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11541 * files.el (find-file): Don't use force-same-window (bug#10144).
11542 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11543 use pop-to-buffer if the selected window can't be used.
11544 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11546 2011-11-28 Eli Zaretskii <eliz@gnu.org>
11548 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11551 2011-11-28 Chong Yidong <cyd@gnu.org>
11553 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11555 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
11557 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11558 gdb-get-source-file-list on gdb-create-source-file-list.
11560 2011-11-26 Eli Zaretskii <eliz@gnu.org>
11562 * whitespace.el (whitespace-newline): Use a different foreground
11563 color for 16-color light-background displays.
11565 2011-11-24 Chong Yidong <cyd@gnu.org>
11567 * window.el (display-buffer--special-action): Doc fix.
11569 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
11571 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11572 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11573 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11574 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11575 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11576 (avl-tree-stack-first):
11577 * emacs-lisp/cconv.el (cconv--analyse-use):
11578 * net/gnutls.el (gnutls-negotiate): Fix typos.
11580 2011-11-24 Glenn Morris <rgm@gnu.org>
11582 * lpr.el (lpr-windows-system, lpr-lp-system):
11583 * mail/binhex.el (binhex-begin-line):
11584 * progmodes/grep.el (grep-history, grep-find-history):
11585 * textmodes/flyspell.el:
11586 * vc/pcvs-defs.el (cvs-global-menu):
11587 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11588 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11589 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11591 * net/tls.el: Fix case of "GnuTLS".
11593 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11595 * version.el (emacs-build-system): Give it a doc-string.
11597 2011-11-24 Juri Linkov <juri@jurta.org>
11599 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11601 2011-11-24 Glenn Morris <rgm@gnu.org>
11603 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11604 if called on a non-mime message just toggle the headers. (Bug#8006)
11606 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
11608 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11609 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11610 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11611 (allout-rebullet-heading, allout-open-sibtopic)
11612 (allout-toggle-current-subtree-encryption)
11613 (allout-toggle-subtree-encryption, allout-encrypt-string)
11614 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11615 (allout-distinctive-bullets-string, allout-auto-activation):
11616 * window.el (window-normalize-buffer-to-display):
11617 * progmodes/verilog-mode.el (verilog-batch-indent):
11618 * textmodes/bibtex.el (bibtex-field-braces-opt)
11619 (bibtex-field-strings-opt):
11620 * vc/cvs-status.el (cvs-tree-merge):
11623 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
11625 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11626 `non-essential' to t, in order to avoid remote connections.
11628 2011-11-23 Eli Zaretskii <eliz@gnu.org>
11630 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11631 On MS-DOS and MS-Windows, compare with loaddefs.el
11632 case-insensitively.
11634 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11636 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11638 2011-11-23 Glenn Morris <rgm@gnu.org>
11640 * paths.el (rmail-file-name): Reformat the doc-string so that it
11643 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11644 (rmail-auto-file): Ignore case in the "special" field names,
11645 as mail-fetch-field does for all others.
11647 * mail/rmail.el (rmail-forward):
11648 * mail/rmailkwd.el (rmail-set-label):
11649 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11650 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11652 * mail/rmail.el (rmail-current-message): Doc fix.
11654 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11656 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11658 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11660 2011-11-22 Glenn Morris <rgm@gnu.org>
11662 * mail/rmailmm.el (test-rmail-mime-handler)
11663 (test-rmail-mime-bulk-handler)
11664 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11666 2011-11-21 Juri Linkov <juri@jurta.org>
11668 * calc/calc.el (calc-read-key-sequence):
11669 Let-bind `input-method-function' to nil. (Bug#10018)
11671 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11673 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11674 Tell the caller that the next line needs recomputation, even
11675 though it doesn't start a sexp (bug#10094).
11677 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11679 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11681 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11683 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11684 Use force-same-window.
11686 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
11688 * descr-text.el (describe-char-unicode-data):
11689 * json.el (json-string-escape):
11690 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11691 (Footnote-unicode, Footnote-style-p):
11692 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11694 2011-11-20 Chong Yidong <cyd@gnu.org>
11696 * window.el (replace-buffer-in-windows): Restore interactive spec.
11698 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11700 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11702 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11703 (byte-compile-global-not-obsolete-vars): New var.
11704 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11706 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11708 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
11710 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11711 * progmodes/pascal.el (electric-pascal-equal):
11712 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11713 * xml.el (xml-substitute-special): Fix typos.
11715 2011-11-20 Glenn Morris <rgm@gnu.org>
11717 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11718 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11720 (rmail-decode-mime-charset): Mark as obsolete.
11722 * mail/rmailsum.el (rmail-message-regexp-p-1):
11723 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11724 Before using mime functions, check they are set. (Bug#10077)
11726 2011-11-19 Juri Linkov <juri@jurta.org>
11728 * info.el (Info-finder-find-node): Use `package--builtins' instead
11729 of `package-alist'. Use node names formed by the pattern "Keyword "
11730 and the keyword name.
11732 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11734 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
11736 2011-11-19 Juri Linkov <juri@jurta.org>
11738 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11739 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11740 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11741 `old-history', `old-history-forward'. Add let-binding
11742 `window-selected'. Remove calls to `kill-buffer',
11743 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11744 before calling `Info-find-node', so `Info-find-node-2' will reread
11745 the Info file. Restore window positions only when `window-selected'
11748 2011-11-19 Juri Linkov <juri@jurta.org>
11750 * isearch.el (isearch-lazy-highlight-new-loop):
11751 Remove condition `(not isearch-error)'. (Bug#9918)
11753 * misearch.el (multi-isearch-search-fun): Add condition
11754 `(not bound)' to ignore lazy-highlighting search.
11755 Add the search-failed message "end of multi" when the end of
11756 multi-sequence is reached. Uncapitalize the search-failed
11757 message "Repeat for next buffer".
11759 * info.el (Info-search): Add the search-failed message
11760 "end of the manual" when the end of the manual is reached
11763 2011-11-19 Juri Linkov <juri@jurta.org>
11765 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11766 Use non-destructive `remove' instead of `delete' because
11767 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11768 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11770 2011-11-19 Juri Linkov <juri@jurta.org>
11772 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11773 to nil instead of binding `search-ring' and `regexp-search-ring'.
11776 2011-11-19 Eli Zaretskii <eliz@gnu.org>
11778 * simple.el (line-move): Force movement by logical lines for any
11779 hscrolled window, not only when auto-hscroll-mode is on.
11780 (line-move-visual): Update doc string to that effect. (Bug#10076)
11782 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11784 * language/european.el (macintosh): Define as alias for mac-roman.
11786 2011-11-19 Eli Zaretskii <eliz@gnu.org>
11788 * mail/rmailmm.el (rmail-mime-display-header)
11789 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11790 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11791 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11792 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11793 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11795 (rmail-mime-entity-segment): To get past the tagline, move forward
11796 2 more lines, to account for the 2 empty lines that precede and
11797 follow the line with the buttons.
11798 (rmail-mime-update-tagline): Move one more line, to get past the
11799 empty line that follows the buttons in the tagline. (Bug#9520)
11801 2011-11-19 Martin Rudalics <rudalics@gmx.at>
11803 * window.el (window-max-delta-1, window-min-delta-1)
11804 (window-min-size-1, window-state-get-1, window-state-put-1)
11805 (window-state-put-2): Use "window--" prefix.
11807 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11809 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11810 (smie-warning-count): New var.
11811 (smie-set-prec2tab): Use it.
11812 (smie-bnf->prec2): Improve warnings. Add docstring.
11813 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11814 (smie-bnf--set-class): New function.
11815 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11818 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11819 (compilation-error-properties, compilation-move-to-column):
11820 Handle compilation-first-column while in the target buffer.
11822 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11823 Don't hardcode point-min==1.
11825 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11826 (eshell-rewrite-for-command): Remove workaround.
11827 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11828 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11829 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11831 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11833 2011-11-17 Glenn Morris <rgm@gnu.org>
11835 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11836 Ignore buffer-local generated-autoload-file if it is the same
11837 as the global value. (Bug#10049)
11839 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
11841 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11842 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11843 (reftex-toc-previous-heading, reftex-toc-max-level)
11844 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11845 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11846 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11847 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11848 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11849 (reftex-toc-rename-label, reftex-toc-visit-location)
11850 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11851 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11852 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11853 leaving "*toc*" only for references to the buffer.
11855 2011-11-17 Martin Rudalics <rudalics@gmx.at>
11857 * window.el (window-resize, delete-window, split-window):
11858 Replace window-splits by window-combination-resize.
11859 * cus-start.el (window-splits): Replace by window-combination-resize.
11861 2011-11-17 Glenn Morris <rgm@gnu.org>
11863 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11864 Make bash entry derive from sh entry, not shell entry.
11866 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
11868 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11871 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
11873 * menu-bar.el (menu-bar-file-menu):
11874 * printing.el (pr-ps-utility):
11875 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11876 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11877 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11878 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11879 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11880 (icalendar--convert-cyclic-to-ical)
11881 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11882 (icalendar--convert-ical-to-diary)
11883 (icalendar--convert-recurring-to-diary)
11884 (icalendar--convert-non-recurring-all-day-to-diary)
11885 (icalendar-import-format-sample):
11886 * progmodes/idlw-shell.el (idlwave-shell-mode):
11887 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11888 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11889 (vhdl-ps-print-init): Fix typos.
11891 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11893 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11894 FSF and collapse date sequence, obscure author/maintainer email address
11895 better, remove extra version line, track relocation of author's webpage.
11897 * progmodes/python.el (python-pdbtrack-input-prompt)
11898 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11899 regular python pdb prompts. Adjustments shamelessly taken exactly as
11900 suggested in EmacsWiki page (tiny change):
11901 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
11903 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
11905 * expand.el (expand-pos, expand-index, expand-point):
11906 Remove redundant info from docstring.
11907 (expand-add-abbrevs): Doc fix.
11908 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11909 (expand-sample-perl-mode-expand-list): Fix typos.
11911 * net/dbus.el (dbus-event-member-name):
11912 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11913 * term/pc-win.el (msdos-create-frame-with-faces):
11914 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11916 2011-11-16 Martin Rudalics <rudalics@gmx.at>
11918 * window.el (split-window, window-state-get-1)
11919 (window-state-put-1, window-state-put-2): Rename occurrences of
11920 window-nest to window-combination-limit.
11921 * cus-start.el (window-nest): Rename to window-combination-limit.
11923 2011-11-16 Chong Yidong <cyd@gnu.org>
11925 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11926 regexp (Bug#10033).
11928 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11930 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11931 `completing-read' will remove *Completions* and will preserve
11932 current-buffer for us.
11933 (tmm-add-prompt): Users of *Completions* will always (re)set its
11935 (tmm-old-comp-map): Remove.
11937 2011-11-16 Glenn Morris <rgm@gnu.org>
11939 * mail/rmailedit.el: Require rmailmm when compiling.
11940 (rmail-old-mime-state): New declaration.
11941 (rmail-edit-current-message): If editing a mime message,
11942 edit the "raw" message from the mbox buffer.
11943 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11945 2011-11-15 Glenn Morris <rgm@gnu.org>
11947 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11948 which wasn't being used. Add optional arg to force given state.
11949 (rmail-mime): Add optional arg to force given state.
11951 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
11953 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11954 * frame.el (display-mm-dimensions-alist):
11955 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11956 (outline-move-subtree-down):
11957 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11958 (newsticker--treeview-do-get-node):
11959 * net/quickurl.el (quickurl-list-buffer-name):
11960 * progmodes/dcl-mode.el (dcl-mode):
11961 * progmodes/gdb-mi.el (gdb-mapcar*):
11962 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11964 2011-11-15 Glenn Morris <rgm@gnu.org>
11966 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11967 in a boolean sense, so just make it a boolean, and fix the doc.
11968 (rmail-show-mime-function, rmail-mime-feature)
11969 (rmail-require-mime-maybe): Doc fixes.
11970 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11972 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11974 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
11976 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11977 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11978 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11979 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11981 2011-11-15 Glenn Morris <rgm@gnu.org>
11983 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11984 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11985 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11986 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11987 (rmail-mime, rmail-show-mime): Doc fixes.
11989 * term/ns-win.el (mode-line-frame-identification):
11990 Leave it alone. (Bug#10051)
11992 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11994 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11995 Handle empty buffers. (Bug#9978)
11997 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
11999 * international/mule.el (define-charset):
12000 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12001 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12002 * progmodes/verilog-mode.el (verilog-backward-token):
12003 * textmodes/ispell.el (lookup-words):
12004 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12006 2011-11-14 Glenn Morris <rgm@gnu.org>
12008 * progmodes/executable.el
12009 (executable-make-buffer-file-executable-if-script-p):
12010 Handle file-modes returning nil.
12012 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12013 message - not necessary, and causes problems. (Bug#9831)
12015 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12017 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12019 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12020 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12021 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12023 2011-11-12 Martin Rudalics <rudalics@gmx.at>
12025 * window.el (window-resize, delete-window): Use window-splits
12026 variable instead of function.
12027 (window-state-get-1, window-state-put-2, window-state-put):
12028 Don't deal with windows' splits status.
12030 2011-11-12 Glenn Morris <rgm@gnu.org>
12032 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12033 (apropos-documentation): Doc fixes.
12035 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
12037 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12038 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12040 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12042 * electric.el (electric-indent-post-self-insert-function): Make it
12043 possible for a char to only indent in some circumstances.
12044 (electric-indent-mode): Simplify.
12046 2011-11-11 Martin Rudalics <rudalics@gmx.at>
12048 * window.el (windows-with-parameter): Remove unused function.
12049 (windows-at-side): Rename to window-at-side-list.
12050 (window-check, window-atom-check, window-atom-check-1)
12051 (window-side-check, window-size-ignore, window-size-fixed-1)
12052 (window-in-direction-2): Prefix with "window--".
12053 (window-tree-1): Rename to window--subtree, fix doc-string.
12055 2011-11-11 Glenn Morris <rgm@gnu.org>
12057 * subr.el (eval-after-load): If FILE is already loaded,
12058 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12060 2011-11-10 Glenn Morris <rgm@gnu.org>
12062 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12063 Call svn via vc-svn-command rather than vc-do-command.
12064 (vc-svn-command): Add --non-interactive. (Bug#9993)
12065 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12067 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12068 Add toggle-read-only. (Bug#7292)
12069 * files.el (toggle-read-only): Mention that it should only
12070 be used interactively. (Bug#10006)
12072 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12074 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12075 Adjust regexp for OCaml warnings.
12077 * electric.el (electric-pair-post-self-insert-function): Let user
12078 turn it off buffer-locally (bug#9932).
12080 * progmodes/python.el (python-beginning-of-statement):
12081 Rewrite (bug#2703).
12083 * progmodes/compile.el: Better handle TABs (bug#9749).
12084 (compilation-internal-error-properties)
12085 (compilation-next-error-function): Obey the target buffer's
12086 compilation-error-screen-columns.
12088 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
12090 * progmodes/meta-mode.el: Remove obsolete comments.
12091 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12092 Fix typos in docstrings.
12094 2011-11-09 Martin Rudalics <rudalics@gmx.at>
12096 * window.el (window-size-fixed-p): Rewrite doc-string.
12097 (window-resizable-p): Rename to window--resizable-p. Update callers.
12098 (window--resizable): New function. Make all callers of
12099 window-resizable call window--resizable instead.
12100 (window-resizable): Rewrite in terms of window--resizable.
12102 2011-11-08 Glenn Morris <rgm@gnu.org>
12104 * progmodes/delphi.el (delphi-mode-syntax-table):
12105 Let define-derived-mode define a proper syntax table. (Bug#9994)
12107 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12109 * window.el: Stay away from defsubst.
12110 (window-list-no-nils): Remove.
12111 (window-state-get-1, window-state-get): Use backquote instead.
12113 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12115 * emacs-lisp/find-func.el (find-function-read):
12116 Fix incorrect use of default argument in `completing-read'.
12118 2011-11-08 Martin Rudalics <rudalics@gmx.at>
12120 * window.el (display-buffer-function, special-display-function):
12121 Mention display-buffer-record-window but do not mention
12122 help-setup parameter in doc-strings.
12123 (window-min-delta): Fix doc-string typo.
12125 2011-11-08 Chong Yidong <cyd@gnu.org>
12127 * window.el (window-total-height, window-total-width): Doc fix.
12128 (window-body-size): Move from C.
12129 (window-body-height, window-body-width): Move to C.
12131 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12133 * window.el: Make special-display like display-buffer-alist (bug#9532).
12134 (display-buffer--special-action): New function, morphed
12135 from display-buffer--special.
12136 (display-buffer): Use it to handle special-display-buffers at higher
12137 priority (just after display-buffer-alist).
12138 (display-buffer-fallback-action, display-buffer--other-frame-action)
12139 (pop-to-buffer-same-window): Remove display-buffer--special.
12141 2011-11-07 Glenn Morris <rgm@gnu.org>
12143 * calendar/cal-menu.el (cal-menu-set-date-title):
12144 Do nothing if not in a calendar. (Bug#9976)
12146 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12148 * files.el (find-file): Always use selected-window.
12150 2011-11-07 Martin Rudalics <rudalics@gmx.at>
12152 * window.el (window-combinations): Make WINDOW argument
12153 mandatory. Rewrite doc-string.
12154 (walk-window-subtree, window-atom-check, window-min-delta)
12155 (window-max-delta, window--resize-this-window)
12156 (window--resize-root-window-vertically, window-tree)
12157 (balance-windows, window-state-put): Rewrite doc-strings as to
12158 not mention the term "subwindow".
12159 (window--resize-subwindows-skip-p): Rename to
12160 window--resize-child-windows-skip-p.
12161 (window--resize-subwindows-normal): Rename to
12162 window--resize-child-windows-normal.
12163 (window--resize-subwindows): Rename to
12164 window--resize-child-windows.
12165 (window-or-subwindow-p): Rename to window--in-subtree-p.
12167 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12169 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12170 Ensure that mbox format messages end in two newlines (Bug#9974).
12172 2011-11-06 Chong Yidong <cyd@gnu.org>
12174 * window.el (window-combination-p): Function deleted; its
12175 side-effect is not used in any existing code.
12176 (window-combinations, window-combined-p): Call window-*-child
12179 2011-11-05 Chong Yidong <cyd@gnu.org>
12181 * window.el (window-valid-p): Rename from window-any-p.
12182 (window-size-ignore, window-state-get): Callers changed.
12183 (window-normalize-window): Rename from window-normalize-any-window.
12184 New arg LIVE-ONLY, replacing window-normalize-live-window.
12185 (window-normalize-live-window): Delete.
12186 (window-combination-p, window-combined-p, window-combinations)
12187 (walk-window-subtree, window-atom-root, window-min-size)
12188 (window-sizable, window-sizable-p, window-size-fixed-p)
12189 (window-min-delta, window-max-delta, window-resizable)
12190 (window-resizable-p, window-full-height-p, window-full-width-p)
12191 (window-current-scroll-bars, window-point-1, set-window-point-1)
12192 (window-at-side-p, window-in-direction, window-resize)
12193 (adjust-window-trailing-edge, maximize-window, minimize-window)
12194 (window-deletable-p, delete-window, delete-other-windows)
12195 (record-window-buffer, unrecord-window-buffer)
12196 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12197 (quit-window, split-window, window-state-put)
12198 (set-window-text-height, fit-window-to-buffer)
12199 (shrink-window-if-larger-than-buffer): Callers changed.
12201 2011-11-04 Eli Zaretskii <eliz@gnu.org>
12203 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12204 rfc2047-decode-string.
12205 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12208 * window.el (window-body-height, window-body-width): Mention in
12209 the doc string that the return values are in frame's canonical
12212 2011-11-03 Alan Mackenzie <acm@muc.de>
12214 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12215 change in cc-engine.el.
12217 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12219 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12221 2011-11-02 Martin Rudalics <rudalics@gmx.at>
12223 * window.el (quit-window): Call unrecord-window-buffer after
12224 showing another buffer in the window. (Bug#9937)
12225 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
12227 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
12229 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12230 Accept status with more than 9 shelves. (Bug#9935)
12231 Reported by Colin D Bennett <colin@gibibit.com>.
12233 2011-11-01 Martin Rudalics <rudalics@gmx.at>
12235 * help.el (with-help-window): Don't reference
12236 temp-buffer-show-specifiers in doc-string.
12238 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12240 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12243 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12245 * whitespace.el: New version 13.2.2.
12246 (whitespace-newline-mode): Disable properly. Reported by Sarah
12249 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
12251 * net/newst-treeview.el: Remove "Time-stamp".
12252 (newsticker--group-manage-orphan-feeds): Do not call
12253 newsticker--treeview-tree-update.
12254 (newsticker-treeview-update, newsticker-treeview):
12255 Call newsticker--treeview-tree-update if necessary.
12257 2011-10-30 Martin Rudalics <rudalics@gmx.at>
12259 * window.el (window-iso-combination-p, window-iso-combined-p)
12260 (window-iso-combinations): Remove "iso-" infix.
12261 Suggested by Chong Yidong.
12262 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12263 (window-max-delta-1, window-resize, window--resize-siblings)
12264 (window--resize-this-window, adjust-window-trailing-edge)
12265 (split-window, balance-windows-1)
12266 (shrink-window-if-larger-than-buffer):
12267 * calendar/calendar.el (calendar-generate-window):
12268 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
12270 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12272 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12273 in place (bug#9907).
12274 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12275 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12276 (eshell-structure-basic-command, eshell-rewrite-while-command)
12277 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12278 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12279 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12280 (eshell-do-pipelines-synchronously, eshell-eval-command):
12281 Use backquotes and prefer setq to set.
12282 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12283 (eshell-macrop): Use functionp.
12284 (eshell-do-eval): Handle multiple expressions in `while' body.
12286 2011-10-30 Chong Yidong <cyd@gnu.org>
12288 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12289 instead of set-mark (Bug#9810).
12291 2011-10-30 Chong Yidong <cyd@gnu.org>
12293 * window.el (split-window-below, split-window-right): Rename from
12294 split-window-above-each-other and split-window-side-by-side
12295 respectively. All callers changed.
12296 (split-window-sensibly, split-window-sensibly): Use them.
12297 (split-window-keep-point): Doc fix.
12299 * isearch.el: Add isearch-scroll property to split-window-below
12300 and split-window-right.
12302 * follow.el (follow-mode):
12303 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12304 * progmodes/ada-xref.el (ada-gdb-application):
12305 * emulation/vip.el (vip-buffer-in-two-windows):
12306 * image-dired.el (image-dired-dired-with-window-configuration):
12307 * dired-x.el (dired-do-find-marked-files):
12308 * dired.el (dired-pop-to-buffer):
12309 * bs.el (bs--show-with-configuration):
12310 * vc/emerge.el (emerge-setup-windows):
12311 * textmodes/two-column.el (2C-two-columns):
12312 * textmodes/reftex-toc.el (reftex-toc):
12313 * progmodes/gdb-mi.el (gdb-setup-windows):
12314 * progmodes/fortran.el (fortran-window-create):
12315 * net/newst-treeview.el (newsticker--treeview-window-init):
12316 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12317 * emulation/tpu-edt.el (tpu-gold-map):
12318 * emulation/crisp.el (crisp-mode-map):
12319 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12321 2011-10-29 Chong Yidong <cyd@gnu.org>
12323 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12325 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12327 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12328 forged Ispell output (Bug#7904).
12330 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12332 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12334 * doc-view.el: Avoid ugly errors about not finding nil.
12335 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12336 (doc-view-dvipdf-program, doc-view-unoconv-program)
12337 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12338 Avoid nil or absolute file name as default value.
12339 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12341 2011-10-28 Alan Mackenzie <acm@muc.de>
12343 * progmodes/cc-defs.el (c-version): -> 5.32.2.
12345 2011-10-28 Alan Mackenzie <acm@muc.de>
12347 Amend the handling of c-beginning/end-of-defun in nested declaration
12350 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12351 cc-langs.el. Change it to a defcustom.
12353 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12356 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12357 Prevent "class foo : bar" being spuriously recognized as a label.
12359 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
12360 Add parameter `inclusive' (to include enclosing braces in the region).
12361 (c-widen-to-enclosing-decl-scope): New function.
12362 (c-while-widening-to-decl-block): New macro.
12363 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12364 outward for defun boundaries, and correspondingly change symbol
12365 `respect-enclosure' to `go-outward'.
12366 (c-declaration-limits): Change algorithm to report only the "innermost"
12367 defun's boundaries.
12369 2011-10-28 Deniz Dogan <deniz@dogan.se>
12371 * net/rcirc.el (rcirc-mode): Use hard newlines.
12373 2011-10-28 Alan Mackenzie <acm@muc.de>
12375 Amend to indent and fontify macros "which include their own semicolon"
12376 correctly, using the "virtual semicolon" mechanism.
12378 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
12380 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
12381 Recode to scan one line at a time rather than having \n and \r
12382 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
12383 (c-forward-label): Amend for virtual semicolons.
12384 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
12386 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12387 of the new C macros.
12389 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
12390 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12391 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
12392 (c-opt-cpp-macro-define): Make into a full language variable.
12393 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12394 AWK Mode (including \n, \r) removed, no longer needed.
12396 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12397 Invoke c-make-macro-with-semi-re.
12399 * progmodes/cc-vars.el (c-macro-with-semi-re):
12400 (c-macro-names-with-semicolon): New variables.
12401 (c-make-macro-with-semi-re): New function.
12403 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12405 * vc/log-edit.el: Fill empty field rather than adding new one.
12406 (log-edit-add-field): New function.
12407 (log-edit-insert-changelog): Use it.
12409 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12411 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12413 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12415 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12416 (gdb--check-interpreter): New function.
12419 2011-10-27 Glenn Morris <rgm@gnu.org>
12421 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12422 (least-positive-float, least-negative-float)
12423 (least-positive-normalized-float, least-negative-normalized-float)
12424 (float-epsilon, float-negative-epsilon):
12425 Remove unnecessary declarations.
12427 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12428 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12429 (least-positive-float, least-negative-float)
12430 (least-positive-normalized-float, least-negative-normalized-float)
12431 (float-epsilon, float-negative-epsilon): Add doc-strings,
12432 based on those in cl.texi.
12434 * files.el (set-visited-file-name): If the major-mode changed,
12435 reload the local variables. (Bug#9796)
12437 2011-10-27 Chong Yidong <cyd@gnu.org>
12439 * subr.el (change-major-mode-after-body-hook): New hook.
12440 (run-mode-hooks): Run it.
12442 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12443 Use change-major-mode-before-body-hook.
12445 * simple.el (fundamental-mode):
12446 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12447 change introducing fundamental-mode-hook.
12449 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
12451 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
12453 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
12455 * ido.el (ido-file-name-all-completions-1): Do not require
12456 tramp.el explicitly. (Bug#7583)
12458 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12460 * progmodes/octave-mod.el:
12461 * progmodes/octave-inf.el: Update maintainer.
12463 2011-10-26 Chong Yidong <cyd@gnu.org>
12465 * subr.el (with-wrapper-hook): Rewrite doc.
12467 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
12469 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
12470 filenames "/method:foo:". (Bug#9793)
12472 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12474 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12477 2011-10-24 Glenn Morris <rgm@gnu.org>
12479 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12481 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
12483 * notifications.el: Add the requirement of a running D-Bus session
12484 bus to the Commentary.
12486 2011-10-24 Juri Linkov <juri@jurta.org>
12488 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12489 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12492 2011-10-24 Juri Linkov <juri@jurta.org>
12494 * info.el (Info-following-node-name-re): Add newline to the list
12495 of allowed characters for leading space. (Bug#9824)
12497 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12499 * progmodes/octave-inf.el (inferior-octave-mode-map):
12500 Fix C-c C-h binding.
12501 * progmodes/octave-mod.el (octave-help): Remove.
12503 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
12505 Sync with Tramp 2.2.3.
12507 * net/tramp-cache.el (top): Pacify byte-compiler using
12508 `init-file-user' and `site-run-file'.
12510 * net/trampver.el: Update release number.
12512 2011-10-23 Chong Yidong <cyd@gnu.org>
12514 * files.el (toggle-read-only): Remove obsolete comment about
12517 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12518 for toggle-read-only. Note that this hasn't called vc-next-action
12519 since 2008-05-02, though it wasn't documented at the time.
12521 * vc/ediff-init.el (ediff-toggle-read-only-function):
12522 Use toggle-read-only.
12524 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12526 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12529 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12530 correct faulty logical expression.
12531 (c-parse-state-state, c-record-parse-state-state):
12532 (c-replay-parse-state-state): New defvar/defuns.
12533 (c-debug-parse-state): Use new functions.
12535 2011-10-22 Martin Rudalics <rudalics@gmx.at>
12537 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
12538 last fix. Use window-in-direction correctly.
12540 2011-10-21 Chong Yidong <cyd@gnu.org>
12542 * progmodes/idlwave.el (idlwave-mode):
12543 * progmodes/vera-mode.el (vera-mode): No need to set
12544 require-final-newline; that's done in prog-mode.
12545 Suggested by Stefan Monnier.
12547 2011-10-21 Martin Rudalics <rudalics@gmx.at>
12549 * mouse.el (mouse-drag-window-above)
12550 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12551 (mouse-drag-mode-line-1, mouse-drag-header-line)
12552 (mouse-drag-vertical-line-rightward-window): Remove.
12553 (mouse-drag-line): New function.
12554 (mouse-drag-mode-line, mouse-drag-header-line)
12555 (mouse-drag-vertical-line): Call mouse-drag-line.
12556 * window.el (window-at-side-p, windows-at-side): New functions.
12558 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
12560 * tar-mode.el (tar-grind-file-mode):
12561 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12563 2011-10-21 Chong Yidong <cyd@gnu.org>
12565 * progmodes/idlwave.el (idlwave-mode):
12566 * progmodes/vera-mode.el (vera-mode):
12567 Use mode-require-final-newline.
12569 2011-10-20 Glenn Morris <rgm@gnu.org>
12571 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
12573 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12575 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12577 2011-10-20 Chong Yidong <cyd@gnu.org>
12579 * emulation/cua-base.el (cua-mode):
12580 * mail/footnote.el (footnote-mode):
12581 * mail/mailabbrev.el (mail-abbrevs-mode):
12582 * net/xesam.el (xesam-minor-mode):
12583 * progmodes/bug-reference.el (bug-reference-mode):
12584 * progmodes/cap-words.el (capitalized-words-mode):
12585 * progmodes/compile.el (compilation-minor-mode)
12586 (compilation-shell-minor-mode):
12587 * progmodes/gud.el (gud-tooltip-mode):
12588 * progmodes/hideif.el (hide-ifdef-mode):
12589 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12590 * progmodes/subword.el (subword-mode):
12591 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12592 * progmodes/which-func.el (which-function-mode):
12593 * term/tvi970.el (tvi970-set-keypad-mode):
12594 * term/vt100.el (vt100-wide-mode):
12595 * textmodes/flyspell.el (flyspell-mode):
12596 * textmodes/ispell.el (ispell-minor-mode):
12597 * textmodes/nroff-mode.el (nroff-electric-mode):
12598 * textmodes/paragraphs.el (use-hard-newlines):
12599 * textmodes/refill.el (refill-mode):
12600 * textmodes/reftex.el (reftex-mode):
12601 * textmodes/rst.el (rst-minor-mode):
12602 * textmodes/sgml-mode.el (html-autoview-mode)
12603 (sgml-electric-tag-pair-mode):
12604 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12605 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12606 * emulation/crisp.el (crisp-mode):
12607 * emacs-lisp/eldoc.el (eldoc-mode):
12608 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12609 minor mode behavior.
12611 2011-10-19 Juri Linkov <juri@jurta.org>
12613 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12614 the list of hard-coded chars with escape-glyph face.
12616 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12618 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12620 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
12622 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12625 2011-10-19 Glenn Morris <rgm@gnu.org>
12627 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12628 Ignore ignored files. (Bug#9726)
12630 2011-10-19 Chong Yidong <cyd@gnu.org>
12632 Doc fix for minor modes, stating that an omitted argument enables
12633 the mode unconditionally when called from Lisp.
12635 * abbrev.el (abbrev-mode):
12636 * allout.el (allout-mode):
12637 * autoinsert.el (auto-insert-mode):
12638 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12639 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12640 (global-auto-revert-mode):
12641 * battery.el (display-battery-mode):
12642 * composite.el (global-auto-composition-mode)
12643 (auto-composition-mode):
12644 * delsel.el (delete-selection-mode):
12645 * desktop.el (desktop-save-mode):
12646 * dired-x.el (dired-omit-mode):
12647 * dirtrack.el (dirtrack-mode):
12648 * doc-view.el (doc-view-minor-mode):
12649 * double.el (double-mode):
12650 * electric.el (electric-indent-mode, electric-pair-mode):
12651 * emacs-lock.el (emacs-lock-mode):
12652 * epa-hook.el (auto-encryption-mode):
12653 * follow.el (follow-mode):
12654 * font-core.el (font-lock-mode):
12655 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12656 * help.el (temp-buffer-resize-mode):
12657 * hilit-chg.el (highlight-changes-mode)
12658 (highlight-changes-visible-mode):
12659 * hi-lock.el (hi-lock-mode):
12660 * hl-line.el (hl-line-mode, global-hl-line-mode):
12661 * icomplete.el (icomplete-mode):
12662 * ido.el (ido-everywhere):
12663 * image-file.el (auto-image-file-mode):
12664 * image-mode.el (image-minor-mode):
12665 * iswitchb.el (iswitchb-mode):
12666 * jka-cmpr-hook.el (auto-compression-mode):
12667 * linum.el (linum-mode):
12668 * longlines.el (longlines-mode):
12669 * master.el (master-mode):
12670 * mb-depth.el (minibuffer-depth-indicate-mode):
12671 * menu-bar.el (menu-bar-mode):
12672 * minibuf-eldef.el (minibuffer-electric-default-mode):
12673 * mouse-sel.el (mouse-sel-mode):
12674 * msb.el (msb-mode):
12675 * mwheel.el (mouse-wheel-mode):
12676 * outline.el (outline-minor-mode):
12677 * paren.el (show-paren-mode):
12678 * recentf.el (recentf-mode):
12679 * reveal.el (reveal-mode, global-reveal-mode):
12680 * rfn-eshadow.el (file-name-shadow-mode):
12681 * ruler-mode.el (ruler-mode):
12682 * savehist.el (savehist-mode):
12683 * scroll-all.el (scroll-all-mode):
12684 * scroll-bar.el (scroll-bar-mode):
12685 * server.el (server-mode):
12686 * shell.el (shell-dirtrack-mode):
12687 * simple.el (auto-fill-mode, transient-mark-mode)
12688 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12689 (line-number-mode, column-number-mode, size-indication-mode)
12690 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12691 * strokes.el (strokes-mode):
12692 * time.el (display-time-mode):
12693 * t-mouse.el (gpm-mouse-mode):
12694 * tool-bar.el (tool-bar-mode):
12695 * tooltip.el (tooltip-mode):
12696 * type-break.el (type-break-mode-line-message-mode)
12697 (type-break-query-mode):
12698 * view.el (view-mode):
12699 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12700 (global-whitespace-mode, global-whitespace-newline-mode):
12701 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12703 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12704 Fix autogenerated docstring.
12706 2011-10-19 Juri Linkov <juri@jurta.org>
12708 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12709 by checking environment variables "DESKTOP_SESSION" and
12710 "XDG_CURRENT_DESKTOP". (Bug#9779)
12712 2011-10-19 Juri Linkov <juri@jurta.org>
12714 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12715 (browse-url-chromium-program, browse-url-chromium-arguments):
12717 (browse-url-default-browser): Check for `browse-url-chromium' and
12718 call `browse-url-chromium-program'.
12719 (browse-url-chromium): New command. (Bug#9779)
12721 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
12723 * facemenu.el (list-colors-duplicates): On Windows, detect more
12724 duplicates by assuming that only colors matching "^System" are
12725 special "system colors". (Bug#9722)
12727 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12729 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12730 to distinguish the author from the committer.
12732 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
12734 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12736 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12738 * international/mule.el (sgml-html-meta-auto-coding-function):
12739 Add support for detecting encoding in HTML5 specified only as
12740 <meta charset="UTF-8">. Implementation just makes http-equiv and
12741 content-type parts from HTML4 encoding string optional. (Bug#9716)
12743 2011-10-18 Glenn Morris <rgm@gnu.org>
12745 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12747 2011-10-18 Chong Yidong <cyd@gnu.org>
12749 * faces.el (cursor): Doc fix.
12751 2011-10-17 Chong Yidong <cyd@gnu.org>
12753 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12755 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
12757 * dirtrack.el (dirtrack): Support shell buffers with path
12758 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12760 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12762 * json.el: Bump version to 1.3 and note change in History.
12763 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12765 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12767 * comint.el (comint-insert-input, comint-send-input)
12768 (comint-get-old-input-default, comint-backward-matching-input)
12769 (comint-next-prompt): Use nil instead of `input' for field property of
12770 past user input (bug#114).
12772 * minibuffer.el (completion--replace): Inherit surrounding properties
12774 (minibuffer-complete-and-exit): Use it.
12776 * comint.el (comint--table-subvert): Quote the all-completions output
12779 2011-10-17 Martin Rudalics <rudalics@gmx.at>
12781 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
12783 * menu-bar.el (menu-bar-file-menu): Add entry for making new
12784 window on right of selected. (Bug#9350) Reword other window
12785 entries and separate them from frame entries.
12787 2011-10-15 Glenn Morris <rgm@gnu.org>
12789 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12792 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
12794 * net/network-stream.el (network-stream-open-starttls):
12795 Improve detection of failure due to lack of TLS support.
12797 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12798 putting the input text in front and in bold.
12800 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12802 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12804 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12807 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12808 unread-command-events rather than pushing yet-another event.
12810 2011-10-14 Eli Zaretskii <eliz@gnu.org>
12812 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12813 the explanation of the possible choices. Make the options passed
12814 to completing-read shorter.
12816 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12818 * textmodes/flyspell.el (flyspell-large-region): Make sure
12819 extended character mode is used if defined (Bug#1339).
12821 2011-10-13 Eli Zaretskii <eliz@gnu.org>
12823 * simple.el (what-cursor-position): Fix the display of the
12824 character info for LRE, LRO, RLE, and RLO characters by appending
12827 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12829 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12830 even in case of error; add debug spec; simplify data flow.
12831 (with-timeout-handler): Remove.
12833 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
12835 Fix Bug#6019, Bug#9315.
12837 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12838 complete `buffer-file-name', the local file name part could look
12839 remotely (for example on VMS).
12841 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12842 `tramp-run-real-handler'.
12843 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12844 already quoted by '"'.
12846 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12847 Let `file-name-handler-alist' be nil, the local file name part
12848 could look remotely (for example on VMS).
12850 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12852 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12854 (flyspell-post-command-hook): ...to here.
12856 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12858 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12860 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12861 using completion. Protect against "slow" callers.
12862 Remove the "message hack".
12864 2011-10-11 Juri Linkov <juri@jurta.org>
12866 * isearch.el (isearch-lazy-highlight-word): New variable.
12867 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12870 2011-10-11 Glenn Morris <rgm@gnu.org>
12872 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12873 like f90-previous-statement does.
12875 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12877 * eshell/eshell.el (eshell-command): History should be saved
12878 only in interactive use, to avoid error.
12880 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12882 * minibuffer.el (completion-file-name-table): Fix last change,
12883 i.e. ignore normal errors but not the other ones.
12885 2011-10-10 Martin Rudalics <rudalics@gmx.at>
12887 * window.el (special-display-buffer-names)
12888 (special-display-regexps): Remove some remnants of earlier
12889 changes from doc-strings.
12890 (quit-windows-on): New function.
12892 * vc/vc.el (vc-revert, vc-rollback):
12893 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12894 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
12895 (Bug#6183) (Bug#7074) (Bug#7447)
12897 2011-10-09 Martin Rudalics <rudalics@gmx.at>
12899 * window.el (frame-auto-hide-function): Add version tag.
12902 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
12904 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12907 2011-10-09 Leo Liu <sdl.web@gmail.com>
12909 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12912 2011-10-08 Glenn Morris <rgm@gnu.org>
12914 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12915 before the first code statement zero indent. (Bug#9690)
12917 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
12919 * simple.el (count-words-region): Always count in the region.
12920 Report the number of lines and characters too.
12921 (count-words): New command, which counts in the buffer if the
12922 region is inactive, as count-words-region used to.
12923 (count-words--message): New function. Handle plurals.
12924 (count-lines-region): Make it an alias for count-words-region.
12926 * bindings.el (esc-map): Replace count-lines-region with
12927 count-words-region.
12929 2011-10-08 Martin Rudalics <rudalics@gmx.at>
12931 * window.el (window--delete): Delete dedicated frame
12932 unconditionally when argument KILL is non-nil. (Bug#9699)
12933 (switch-to-buffer): Fix doc-string typo.
12935 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12937 * eshell/eshell.el (eshell-command): Avoid using hooks.
12939 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
12941 * bindings.el ([M-left],[M-right]): Bind to left-word and
12942 right-word respectively.
12944 2011-10-07 Glenn Morris <rgm@gnu.org>
12946 * cus-start.el (debug-on-quit): Fix custom type.
12948 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12950 * subr.el (define-key-after): Clarify that the function is not
12951 useful for non-menu keymaps.
12953 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12955 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12957 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
12958 in current minibuffer (Fix bug with recursive minibuffers).
12960 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
12962 * progmodes/gdb-mi.el (gdb): Doc fix.
12964 2011-10-05 Martin Rudalics <rudalics@gmx.at>
12966 * window.el (frame-auto-hide-function): New option replacing
12967 frame-auto-delete. Suggested by Stefan Monnier.
12968 (window--delete): Call frame-auto-hide-function instead of
12969 investigating frame-auto-delete.
12970 (window-point-1, set-window-point-1): New functions.
12971 (window-in-direction, record-window-buffer, window-state-get-1)
12972 (display-buffer-record-window): Use window-point-1 instead of
12974 (set-window-buffer-start-and-point): Use set-window-point-1.
12976 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12978 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12980 2011-10-05 Glenn Morris <rgm@gnu.org>
12982 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12983 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12985 2011-10-05 Leo Liu <sdl.web@gmail.com>
12987 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12988 works with buffer object.
12990 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12992 * mpc.el (mpc-tool-bar-map): Add labels.
12994 2011-10-04 Glenn Morris <rgm@gnu.org>
12996 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12998 2011-10-04 Martin Rudalics <rudalics@gmx.at>
13000 * window.el (window--delete): New function.
13001 (frame-auto-delete): Resuscitate option.
13002 (bury-buffer, replace-buffer-in-windows)
13003 (quit-window): Rewrite using window--delete.
13004 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13005 Pass display-buffer-mark-dedicated to window--display-buffer-2
13008 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13010 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13011 returns a list (bug#9554). Add remote file name completion.
13012 * comint.el (comint--table-subvert): Curry and get quote&unquote
13013 functions as arguments.
13014 (comint--complete-file-name-data): Adjust call accordingly.
13015 * pcomplete.el (pcomplete--table-subvert): Remove.
13016 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13018 * minibuffer.el (completion-table-case-fold): Use currying.
13019 (completion--styles-type, completion--cycling-threshold-type):
13021 (completion-styles, completion-category-overrides)
13022 (completion-cycle-threshold): Use them.
13023 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13024 completion-table-case-fold.
13026 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
13028 * minibuffer.el (completion-category-overrides): Fix type of styles
13029 and add more user friendly tags (bug#9660).
13031 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13033 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13034 (mule-input-method-string): New widget.
13035 (default-input-method, language-info-custom-alist): Use it.
13037 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13039 * pcomplete.el: Require comint.
13040 (pcomplete--common-suffix): Remove.
13041 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13042 (pcomplete--table-subvert): Sync with comint--table-subvert.
13043 (pcomplete--entries): Use comint-completion-file-name-table.
13044 * comint.el (comint-unquote-filename): Simplify.
13045 (comint-completion-file-name-table): New function (bug#9616).
13046 (comint--complete-file-name-data): Use it.
13048 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13049 (pcmpl-gnu-tar-buffer): Remove.
13050 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
13051 around. Make sure pcomplete-suffix-list is only changed temporarily.
13052 Don't look inside the tar's file if it's too large.
13054 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
13056 * cus-edit.el (custom-mode-map):
13057 * epa.el (epa-key-list-mode-map):
13058 * man.el (Man-mode-map):
13059 * startup.el (splash-screen-keymap):
13060 * simple.el (special-mode-map): Use scroll-up-command and
13061 scroll-down-command.
13063 * progmodes/idlw-help.el (idlwave-help-mode-map):
13064 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13065 * net/newst-plainview.el (newsticker-mode-map):
13066 * emulation/ws-mode.el (wordstar-mode-map):
13067 * emulation/vi.el (vi-com-map):
13068 * calc/calc-graph.el (calc-graph-show-dumb):
13069 * term/sun.el (terminal-init-sun):
13070 * term/ns-win.el (global-map):
13071 * progmodes/grep.el (grep-mode-map):
13072 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13073 * mail/rmail.el (rmail-mode-map):
13074 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13076 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13077 custom-safe-themes as special.
13079 2011-10-01 Julien Danjou <julien@danjou.info>
13081 * notifications.el (notifications-notify): Fix docstring.
13083 2011-10-01 Per Starbäck <per@starback.se>
13085 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13087 2011-09-30 Martin Rudalics <rudalics@gmx.at>
13089 * startup.el (command-line-1): Fix last fix by inserting
13090 initial-scratch-message into *scratch* before displaying it.
13091 (Bug#9605) and (Bug#9636)
13093 2011-09-29 Eli Zaretskii <eliz@gnu.org>
13095 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13096 window is hscrolled, move by logical lines. (Bug#9607)
13097 (line-move-visual): Update the doc string to the above effect.
13099 2011-09-29 Martin Rudalics <rudalics@gmx.at>
13101 * window.el (display-buffer-record-window): When WINDOW is the
13102 selected window use `point' instead of `window-point'. (Bug#9626)
13104 * startup.el (command-line-1): Use insert-before-markers when
13105 inserting initial-scratch-message. (Bug#9605)
13107 * help.el (help-window): Remove variable.
13109 2011-09-29 Glenn Morris <rgm@gnu.org>
13111 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13113 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
13115 * descr-text.el (describe-char-categories): Accept category
13116 descriptions more than one line long.
13118 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13120 * simple.el (delete-trailing-whitespace): Fix last change.
13122 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13123 Don't confuse "y => 3" as the beginning of a `y' operation.
13125 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13126 object has more than 4 slots (bug#9613).
13128 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
13130 * subr.el (with-output-to-temp-buffer):
13131 * net/quickurl.el (quickurl, quickurl-browse-url):
13132 Fix typos in docstrings.
13134 2011-09-27 Eli Zaretskii <eliz@gnu.org>
13136 * minibuffer.el (completion-styles)
13137 (completion-category-overrides): Cross reference each other in doc
13140 2011-09-27 Glenn Morris <rgm@gnu.org>
13142 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13143 to split-string. (Bug#9606)
13145 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13147 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13150 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
13152 * emacs-lisp/package.el (list-packages): Fix echo area message.
13154 2011-09-27 Leo Liu <sdl.web@gmail.com>
13156 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13158 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
13160 * net/dbus.el (dbus-unregister-object): Don't release services for
13161 registered signals. (Bug#9581)
13163 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13165 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13166 function that picks between cfengine 2 and 3 support
13167 automatically. Update docs accordingly.
13169 2011-09-22 Kenichi Handa <handa@m17n.org>
13171 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13173 (indian-itrans-v5-table-for-tamil): New variable.
13174 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13176 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13178 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13179 that's true if the current command involved collapsing of text.
13180 It's reset to false at the beginning of the next command.
13181 (allout-post-command-business): Move the cursor to the beginning
13182 of entry if the cursor is hidden and collapsing activity just
13185 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
13187 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13188 tracking (Bug#9541).
13190 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
13192 * net/newst-reader.el (newsticker-html-renderer)
13193 (newsticker-show-news): Automatically load html rendering package
13194 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13195 because w3m-fill-column is let-bound" and the error "Symbol's value
13196 as variable is void: w3m-fill-column".
13198 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
13200 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13201 Release services only if they are defined. (Bug#9581)
13203 2011-09-23 Richard Stallman <rms@gnu.org>
13205 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13206 distinguish start of paragraph from start of its text.
13208 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13210 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13211 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13212 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13214 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13216 * international/mule-diag.el (mule-diag): Insert a newline after
13217 each fontset description.
13219 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13221 * simple.el (delete-trailing-whitespace):
13222 Document last change; simplify.
13224 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13226 * simple.el (delete-trailing-whitespace): Also delete
13227 extra newlines at the end of the buffer.
13229 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13230 (picture-newline): Use forward-line so as to ignore fields.
13232 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13234 * subr.el (with-wrapper-hook): Fix edebug spec.
13236 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13238 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13241 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
13243 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13244 Fix nasty bug using wrong cached values.
13246 2011-09-23 Alan Mackenzie <acm@muc.de>
13248 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13250 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
13252 * window.el (pop-to-buffer): Ensure right window is selected if we
13253 chose another frame.
13255 2011-09-22 Eli Zaretskii <eliz@gnu.org>
13257 * simple.el (what-cursor-position): Use get-char-property-change
13258 and next-single-char-property-change, to be able to show display
13259 properties that come from overlays as well as text properties.
13261 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
13263 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13265 * cmuscheme.el (run-scheme, switch-to-scheme):
13266 * cus-edit.el (customize-group, custom-buffer-create)
13267 (customize-browse):
13269 * shell.el (shell):
13270 * mail/sendmail.el (mail):
13271 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13273 2011-09-22 Richard Stallman <rms@gnu.org>
13275 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13276 move back only to line beg, don't move back over blank lines.
13278 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
13280 * files.el (copy-directory): Set directory attributes only in case
13281 they could be retrieved from the source directory. (Bug#9565)
13283 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13285 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13286 (hs-find-block-beginning, hs-hide-level-recursive):
13287 Ignore strings as well as comments. (Bug#9502)
13289 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13291 * progmodes/sql.el (sql-comint-postgres):
13292 Convert port number to a string. (Bug#9566)
13294 2011-09-22 Martin Rudalics <rudalics@gmx.at>
13296 * window.el (quit-window): Undedicate window when switching to
13297 previous buffer. Reported by Thierry Volpiatto
13298 <thierry.volpiatto@gmail.com>.
13299 (special-display-popup-frame): When popping up a new frame reset
13300 its previous buffers to nil. Simplify code.
13302 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
13304 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13305 and process filter, as done also in `shell-command'.
13307 2011-09-21 Martin Rudalics <rudalics@gmx.at>
13309 * window.el (set-window-buffer-start-and-point):
13310 Call set-window-start with NOFORCE argument t.
13311 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13312 (quit-window): Reword doc-string. Handle new format of
13313 quit-restore parameter. Don't delete window if it has a
13314 previous buffer we can show instead of the present one.
13315 (display-buffer-record-window): Rewrite using a new format for
13316 the quit-restore window parameter
13317 (special-display-popup-frame, display-buffer-same-window)
13318 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13319 (display-buffer-pop-up-window, display-buffer-use-some-window):
13320 Adapt symbol passed to display-buffer-record-window.
13321 * help.el (help-window-setup): Handle new format of quit-restore
13324 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13326 * faces.el (face-list): Fix docstring (bug#9564).
13328 * window.el (display-buffer--action-function-custom-type):
13329 Don't include internal functions in the Custom interface.
13331 2011-09-20 Juri Linkov <juri@jurta.org>
13333 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13334 (Info-forward-node, Info-backward-node, Info-next-preorder)
13335 (Info-last-preorder): Use it. (Bug#9528)
13337 2011-09-20 Juri Linkov <juri@jurta.org>
13339 * info.el (Info-last-preorder): Visit last menu item only when
13340 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13342 2011-09-20 Julien Danjou <julien@danjou.info>
13344 * password-cache.el (password-cache-remove): Remove entries even if the
13345 value is nil, so that password with a nil value (negative caching) is
13346 possible to invalidate.
13348 2011-09-20 Lawrence Mitchell <wence@gmx.li>
13350 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13351 all whitespace around breakpoint. (Bug#9553)
13352 (f90-find-breakpoint): Only break at whitespace inside a comment.
13354 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13356 * minibuffer.el (completion-file-name-table): Keep track of errors.
13357 (completion-table-with-predicate): Handle the case where pred1 is nil.
13358 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13360 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13362 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13363 (debugger-return-value): Signal an error if the debugging context does
13364 not await any return value.
13366 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13367 * image-mode.el (image-toggle-display-text)
13368 (image-toggle-display-image): Stay away from evil `intangible'.
13370 2011-09-19 Leo Liu <sdl.web@gmail.com>
13372 * replace.el (occur-revert-arguments): Make it permanent-local.
13373 (occur-mode): Don't call font-lock-defontify.
13375 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
13377 * net/ldap.el (ldap-search-internal): Don't push empty search
13380 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13382 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13384 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
13386 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13387 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13389 2011-09-18 Juri Linkov <juri@jurta.org>
13391 * buff-menu.el (Buffer-menu-mode-map):
13392 * dired.el (dired-mode-map):
13393 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13394 (lisp-interaction-mode-map):
13395 * emacs-lisp/package.el (package-menu-mode-map):
13396 * epa.el (epa-key-list-mode-map):
13397 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13398 (menu-bar-options-menu):
13399 * outline.el (outline-mode-menu-bar-map):
13400 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13401 * vc/vc-dir.el (vc-dir-menu-map):
13402 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13403 Capitalize non-function content words in menu item strings.
13405 * dired.el (dired-mode-map): Add menu item for
13406 `image-dired-dired-toggle-marked-thumbs'.
13408 2011-09-18 Juri Linkov <juri@jurta.org>
13410 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13411 to `isearch-case-fold-search' and restore its original value
13412 after the `isearch-mode' call.
13414 2011-09-18 Juri Linkov <juri@jurta.org>
13416 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13417 because `zgrep' returns 1 for successful matches (bug#9226).
13419 2011-09-18 Juri Linkov <juri@jurta.org>
13421 * info.el (Info-extract-menu-node-name): Check the second match
13422 for empty string (second test-case of bug#9528).
13423 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13424 intermediate nodes to the history (first test-case of bug#9528).
13426 2011-09-18 Juri Linkov <juri@jurta.org>
13428 * info.el (Info-mode-syntax-table): New variable.
13429 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
13431 2011-09-18 Juri Linkov <juri@jurta.org>
13433 * info.el (Info-file-supports-index-cookies):
13434 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13435 outputs one more line for long file names (bug#4142).
13437 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13439 * newcomment.el (comment-normalize-vars): If prompting for
13440 comment-start, set comment-start-skip too (Bug#8424).
13442 2011-09-18 Johan Bockgård <bojohan@gnu.org>
13444 * icomplete.el: Fix previous fix of Bug#5849.
13445 (icomplete-mode): Don't set completion-show-inline-help.
13446 (icomplete-minibuffer-setup): Set completion-show-inline-help
13447 locally during icompletion.
13449 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13451 * woman.el (woman2-process-escapes): Don't delete unrecognized
13452 escapes (Bug#7843).
13454 * files.el (inhibit-first-line-modes-regexps): Add image files.
13455 (hack-local-variables-prop-line): Return nil for malformed
13456 prop-lines (Bug#9044).
13458 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
13460 * net/tramp.el (top): Don't require 'shell.
13461 (tramp-methods): Fix docstring.
13462 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
13463 Return complete remote file name. Handle "smb" case.
13464 Use `tramp-tmpdir', if defined for the respective method.
13465 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13467 * net/tramp-compat.el (top): Require 'shell.
13469 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13470 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13471 `tramp-current-host'.
13472 (tramp-get-remote-tmpdir): Remove.
13474 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13475 `tramp-tmpdir' entries.
13476 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13477 (tramp-smb-handle-file-attributes): Ignore errors.
13478 (tramp-smb-wait-for-output): Check also for process end.
13480 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13482 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13483 when sending QUIT (bug#9312).
13485 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
13487 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13488 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13489 occur-mode-display-occurrence.
13490 (occur-edit-mode): Add usage message.
13491 (occur-cease-edit): New command.
13492 (occur-after-change-function): Use text properties to find the
13493 position of the prefix text.
13494 (occur-engine): Set stickiness of prefix text properties.
13496 2011-09-17 Glenn Morris <rgm@gnu.org>
13498 * progmodes/etags.el (complete-tag):
13499 Fix call to completion-in-region. (Bug#9526)
13501 2011-09-17 Juri Linkov <juri@jurta.org>
13503 * textmodes/ispell.el (ispell-word): Add to the error message
13504 the word, ispell program name and current dictionary (bug#9121).
13505 (ispell-tex-arg-end): Capitalize "error" in the error message.
13507 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13509 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13512 2011-09-17 Juri Linkov <juri@jurta.org>
13514 * window.el (window-safe-min-height, window-safe-min-width):
13515 Fix typos (followup to bug#9522).
13517 2011-09-17 Sven Joachim <svenjoac@gmx.de>
13519 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13521 2011-09-16 Eli Zaretskii <eliz@gnu.org>
13523 * simple.el (line-move): If goal-column is set, move by logical
13524 lines, not by display lines. (Bug#971)
13525 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13526 to reflect the above change.
13528 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13530 * image.el (imagemagick-register-types): Use regexp-opt.
13532 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
13534 * window.el (display-buffer-base-action): Rename from
13535 display-buffer-default-action. Make default value empty.
13536 (display-buffer-overriding-action): Convert to defvar.
13537 (display-buffer-fallback-action): New var.
13539 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
13541 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13543 (package--add-to-archive-contents): If there is a duplicate entry
13544 with an older version, remove it.
13545 (package-menu-mark-delete, package-menu-mark-install)
13546 (package-menu-mark-unmark): Make unused args optional.
13547 (package-menu-mark-obsolete-for-deletion):
13548 Use package-menu-get-status instead of a regexp search.
13549 (package-menu-get-status): Use tabulated-list-entry.
13550 (package-menu-mark-upgrades): New command.
13551 (package-menu-mode-map): Bind it to U. Add it to menu bar.
13552 (package-menu-execute): Do installation before deletion.
13553 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13554 instead of checking major-mode.
13555 (package-menu--find-upgrades): New function.
13557 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13559 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13560 passwords in the log buffer.
13561 (smtpmail-process-filter): Update the process marker so that the
13562 "broken by peer" status message is inserted in the right place.
13564 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13566 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13567 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13568 bibtex-completion-at-point-function.
13569 (bibtex-completion-at-point-function): Use them.
13571 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13573 * mpc.el (mpc-constraints-tag-lookup): New function.
13574 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13575 also to browser "album|playlist".
13577 2011-09-14 Juri Linkov <juri@jurta.org>
13579 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13580 (isearch-edit-string): Use length of `isearch-string' when
13581 `isearch-fail-pos' returns nil.
13582 (isearch-message): Remove duplicate code and call
13583 `isearch-fail-pos' with arg `t'.
13585 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
13587 * replace.el (occur-mode-goto-occurrence): Don't force using other
13590 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13592 2011-09-14 Martin Rudalics <rudalics@gmx.at>
13594 * window.el (display-buffer-window): Remove.
13595 (display-buffer-record-window): Use help-setup window parameter
13596 instead of variable display-buffer-window.
13597 (display-buffer-function, special-display-buffer-names)
13598 (special-display-function): Mention help-setup parameter instead
13599 of display-buffer-window in doc-string.
13600 * help.el (help-window-setup): New argument help-window.
13601 Use help-window-setup parameter instead of display-buffer-window.
13602 Reword some messages.
13603 (with-help-window): Pass window used for displaying the buffer
13604 to help-window-setup. Don't set display-buffer-window.
13606 2011-09-13 Glenn Morris <rgm@gnu.org>
13608 * emacs-lisp/debug.el (debugger-make-xrefs):
13609 Preserve point. (Bug#9462)
13611 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
13613 * window.el (window-deletable-p): Use next-frame.
13615 2011-09-13 Martin Rudalics <rudalics@gmx.at>
13617 * window.el (window-auto-delete): Remove.
13618 (window-deletable-p): Remove argument FORCE. Don't deal with
13619 dedication and previous buffers.
13620 (switch-to-prev-buffer): Don't delete window.
13621 (delete-windows-on): Delete a window's frame if and only if the
13622 window is dedicated.
13623 (replace-buffer-in-windows): Delete buffer's window or frame if
13624 and only if window is dedicated.
13625 (quit-window): Handle quit-restore as before last change.
13626 (bury-buffer): Delete window only if window-deletable-p returns t.
13628 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
13630 * window.el (window-deletable-p): Never delete the last frame on a
13633 2011-09-13 Glenn Morris <rgm@gnu.org>
13635 * help.el (describe-key-briefly): Copy previous standard-output change.
13637 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
13639 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13641 2011-09-13 Glenn Morris <rgm@gnu.org>
13643 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13644 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13646 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
13648 * dired-aux.el (dired-mark-read-string): Don't return default
13649 value on empty input (Bug#9361).
13650 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13651 Omit initial minibuffer contents.
13652 (dired-do-chmod): Signal an error on empty input.
13653 (dired-mark-read-string): Don't return default on empty input.
13655 * files.el (file-modes-symbolic-to-number): Doc fix.
13657 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13659 * international/mule-cmds.el (ucs-completions): Remove.
13660 (read-char-by-name): Use complete-with-action instead; add metadata.
13662 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
13664 * window.el (display-buffer--action-function-custom-type)
13665 (display-buffer--action-custom-type): New vars.
13666 (display-buffer-alist, display-buffer-default-action)
13667 (display-buffer-overriding-action): Add defcustom types.
13669 * frame.el (delete-other-frames): Doc fix (Bug#276).
13671 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13673 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13675 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
13677 Change modes that used same-window-* vars to use switch-to-buffer.
13679 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13680 Use switch-to-buffer.
13682 * cus-edit.el (customize-group, custom-buffer-create)
13683 (customize-browse, custom-buffer-create-other-window):
13684 Use switch-to-buffer or switch-to-buffer-other-window.
13686 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13687 (Info-prev, Info-up, Info-speedbar-goto-node)
13688 (info-display-manual): Use switch-to-buffer.
13689 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13691 * mail/sendmail.el (mail): Use switch-to-buffer.
13692 (mail-recover): Use switch-to-buffer-other-window.
13694 * cmuscheme.el (run-scheme, switch-to-scheme):
13696 * shell.el (shell):
13697 * net/rlogin.el (rlogin):
13698 * net/telnet.el (telnet, rsh):
13699 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13701 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13703 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13705 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13707 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13708 so don't mention it (bug#9301).
13709 (dired-sort-toggle-or-edit): Clarify string further.
13711 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13712 match `x', `w32' and `ns', like the manual says (bug#9029).
13714 * subr.el (eval-after-load): Doc string clarification (bug#9125).
13715 (process-kill-buffer-query-function): Mention the buffer name in
13718 * image-mode.el (image-next-line): The line parameter is mandatory
13721 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13722 which can be useful (bug#9301).
13724 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13726 * subr.el (match-string): Mention that the current buffer should
13727 be the same as the search was done in (bug#9282).
13729 * facemenu.el: Disable the remove-* commands if the mark isn't
13732 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
13734 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13736 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13738 * replace.el (occur-mode-goto-occurrence)
13739 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13740 and display-buffer.
13742 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13745 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13746 special-display and same-window variables.
13747 (mail-other-window): Use switch-to-buffer-other-window.
13748 (mail-other-frame): USe switch-to-buffer-other-frame.
13750 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13751 Use display-buffer-other-frame.
13752 (gdb-display-gdb-buffer): Use pop-to-buffer.
13754 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13756 * progmodes/python.el: Don't set same-window-buffer-names.
13758 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13760 * window.el (display-buffer-alist): Add *Python*.
13762 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
13764 * window.el (display-buffer-alist): Add entry for buffers
13765 previously handled same-window-*.
13766 (display-buffer-alist, display-buffer-default-action)
13767 (display-buffer-overriding-action): Mark as risky.
13768 (display-buffer-alist): Document action function changes.
13769 (display-buffer--same-window-action)
13770 (display-buffer--other-frame-action): New variables.
13771 (switch-to-buffer, display-buffer-other-frame): Use them.
13772 (display-buffer): Rename reuse-frame entry to reusable-frames.
13773 (display-buffer-reuse-selected-window): Function deleted.
13774 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13775 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13776 (display-buffer-special): New function.
13777 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13778 display-buffer-reuse-or-pop-window. Split off special-display
13779 part into display-buffer-special.
13780 (display-buffer-use-some-window): Don't perform any special
13781 pop-up-frames handling.
13782 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
13783 (display-buffer--maybe-same-window): Rename from
13784 display-buffer-maybe-same-window.
13786 * info.el: Don't set same-window-regexps.
13787 (info-setup): New function.
13788 (info-other-window, info): Call it.
13790 * cus-edit.el: Don't set same-window-regexps.
13791 (customize-group): New argument.
13792 (customize-group-other-window): Use it.
13793 (customize-face, customize-face-other-window): Likewise.
13794 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13798 * progmodes/gud.el: Don't set same-window-regexps.
13803 * mail/sendmail.el:
13804 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13806 2011-09-10 Juri Linkov <juri@jurta.org>
13808 * isearch.el (isearch-edit-string): Remove obsolete mention of
13809 `C-w' (`isearch-yank-word-or-char') from docstring.
13810 (isearch-query-replace): Fix typo in docstring (bug#9466).
13812 2011-09-10 Juri Linkov <juri@jurta.org>
13814 * paren.el (show-paren-function): Don't show escaped parens.
13815 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13817 2011-09-10 Eli Zaretskii <eliz@gnu.org>
13819 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13820 (mm-default-file-encoding): Remove autoload forms, they are
13821 replaced with autoload cookies in mml.el and mm-encode.el.
13822 (mail-add-attachment): New command.
13823 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13824 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13826 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13828 2011-09-10 Reuben Thomas <rrt@sc3d.org>
13830 * simple.el (count-words-region): Use buffer if there's no region
13833 2011-09-09 Juri Linkov <juri@jurta.org>
13835 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13836 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13837 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13839 2011-09-09 Alan Mackenzie <acm@muc.de>
13841 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13842 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13844 2011-09-09 Eli Zaretskii <eliz@gnu.org>
13846 Fix for Savannah bug#9392.
13847 * simple.el (mail-encode-mml): New defvar.
13849 * mail/rmail.el (mail-encode-mml): Add a defvar.
13850 (rmail-enable-mime-composing): Default to t.
13851 (rmail-forward): Use MIME method of forwarding only if both
13852 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13853 Set mail-encode-mml non-nil if the MIME method was used.
13855 * mail/sendmail.el (mml-to-mime): Add autoload form.
13856 (mail-encode-mml): Add a defvar.
13857 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13859 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13860 message through mml-to-mime, and reset mail-encode-mml to nil.
13862 2011-09-09 Glenn Morris <rgm@gnu.org>
13864 * woman.el (woman-if-body): When processing an .el block,
13865 do not delete the next .el block as well. (Bug#9447)
13866 (woman-special-characters): Add oq, cq, and hy characters.
13868 2011-09-08 Martin Rudalics <rudalics@gmx.at>
13870 * window.el (window-deletable-p): Make sure window is live before
13871 invoking window-prev-buffers.
13873 2011-09-08 Leo Liu <sdl.web@gmail.com>
13875 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13877 2011-09-08 Juri Linkov <juri@jurta.org>
13879 * progmodes/compile.el (compilation-environment): Make it
13880 a defcustom (bug#8340).
13882 2011-09-08 Martin Rudalics <rudalics@gmx.at>
13884 * window.el (frame-auto-delete): Rename to window-auto-delete.
13885 Make it control auto-deletion of windows and/or frames.
13886 (window-deletable-p): New argument FORCE. Rewrite conditions
13887 for deleting window/frame. (Bug#9419)
13888 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13889 Rewrite handling of case when window/frame can be deleted.
13890 (delete-windows-on): Call window-deletable-p with new FORCE
13891 argument t. (Bug#9456)
13893 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
13895 * help-mode.el (help-mode): Restore autoload.
13897 2011-09-07 Juri Linkov <juri@jurta.org>
13899 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13900 `compilation-environment'. Set buffer-local
13901 `compilation-environment' to `thisenv' later after (funcall mode).
13904 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13905 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13906 instead of replacing its value. (Bug#8340)
13908 2011-09-07 Juri Linkov <juri@jurta.org>
13910 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13911 based on text properties put by `grep-filter' instead of matching
13913 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13914 to the value of `grep-error-screen-columns' (bug#9438).
13916 2011-09-07 Juri Linkov <juri@jurta.org>
13918 * simple.el (next-error-highlight, next-error-highlight-no-select):
13919 Doc fix (bug#9432).
13921 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13923 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13924 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13926 2011-09-07 Leo Liu <sdl.web@gmail.com>
13928 * net/rcirc.el (rcirc-mode): Conditionally initialize
13931 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13933 * emacs-lisp/find-func.el (find-function-C-source): Only set
13934 find-function-C-source-directory after checking that we found a source
13935 file there (bug#9440).
13937 2011-09-06 Alan Mackenzie <acm@muc.de>
13939 * isearch.el (isearch-other-meta-char): Wherever a key list is
13940 unread, "unread" the prefix arg, too. This fixes bug #8901.
13942 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13944 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13946 2011-09-05 Juri Linkov <juri@jurta.org>
13948 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13950 2011-09-05 Juri Linkov <juri@jurta.org>
13952 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13953 keeping point where processing of grep matches begins, and
13954 continue to delete remaining escape sequences from the same point.
13955 (grep-filter): Make leading zero optional in "0?1;31m" because
13956 git-grep emits "\033[1;31m" escape sequences unlike expected
13957 "\033[01;31m" as GNU Grep does (bug#9408).
13958 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13960 2011-09-05 Juri Linkov <juri@jurta.org>
13962 * subr.el (y-or-n-p): Capitalize "yes".
13964 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
13966 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13967 `tramp-cache-unload-hook' where appropriate.
13968 (tramp-methods): Rename `tramp-remote-sh' to
13969 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13970 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13972 * net/tramp-sh.el (top): Don't require 'shell.
13973 (tramp-methods): Add `tramp-remote-shell' and
13974 `tramp-remote-shell-args' entries.
13975 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13976 (tramp-sh-handle-shell-command): Remove.
13977 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13978 Use `tramp-remote-shell'.
13980 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
13982 * mail/sendmail.el (sendmail-query-once-function): Delete.
13983 (sendmail-query-once): Save directly to send-mail-function.
13984 Update message-send-mail-function too.
13986 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13988 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13990 * progmodes/python.el (python-mode-map): Use correct function to
13991 start python interpreter from menu-bar (as reported by Geert
13993 (inferior-python-mode-map): Fix typo.
13994 (python-shell-map): Remove.
13996 2011-09-03 Deniz Dogan <deniz@dogan.se>
13998 * net/rcirc.el (rcirc-print): Simplify code for
13999 rcirc-scroll-show-maximum-output. There is no need to walk
14000 through all windows to find the right one.
14002 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14004 * help.el (help-return-method): Doc fix.
14006 2011-09-03 Martin Rudalics <rudalics@gmx.at>
14008 * window.el (window-deletable-p): Don't return a non-nil value
14009 when there's a buffer that was shown in the window before.
14011 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14012 Set window's previous buffers to nil.
14014 2011-09-03 Eli Zaretskii <eliz@gnu.org>
14016 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14017 newline before and after the tag line, so it doesn't interfere
14018 with determining the paragraph direction of bidirectional text.
14020 2011-09-03 Leo Liu <sdl.web@gmail.com>
14022 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14024 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14026 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
14027 (pop-to-buffer): Change interactive spec. Pass second argument
14028 directly to display-buffer.
14029 (display-buffer): Fix interactive spec. Use functionp to
14030 distinguish between a function and a list of functions.
14032 * abbrev.el (edit-abbrevs):
14033 * arc-mode.el (archive-extract):
14034 * autoinsert.el (auto-insert):
14035 * bookmark.el (bookmark-bmenu-list):
14036 * files.el (find-file):
14037 * view.el (view-buffer):
14038 * progmodes/compile.el (compilation-goto-locus):
14039 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14041 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14043 * window.el (display-buffer-alist): Doc fix.
14044 (display-buffer): Add docstring. Don't treat
14045 display-buffer-default specially.
14046 (display-buffer-reuse-selected-window)
14047 (display-buffer-same-window, display-buffer-maybe-same-window)
14048 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14049 (display-buffer-pop-up-window)
14050 (display-buffer-reuse-or-pop-window)
14051 (display-buffer-use-some-window): New functions.
14052 (display-buffer-default-action): Use them.
14053 (display-buffer-default): Delete.
14054 (pop-to-buffer-1): Fix choice of actions.
14056 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14058 * minibuffer.el (completion--insert-strings): Don't get confused by
14059 completion entries that end with an LF char.
14061 2011-09-01 Eli Zaretskii <eliz@gnu.org>
14063 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14065 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
14067 * window.el (display-buffer): Restore interactive spec.
14068 (display-buffer-same-window, display-buffer-other-window):
14070 (pop-to-buffer-1): New function. Use the above.
14071 (pop-to-buffer, pop-to-buffer-same-window): Use it.
14072 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
14074 * view.el (view-buffer-other-window, view-buffer-other-frame):
14075 Just use pop-to-buffer.
14077 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14079 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14081 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14083 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14085 2011-08-31 Richard Stallman <rms@gnu.org>
14087 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14088 of the separation of rmail-view-buffer from rmail-buffer.
14089 If you say no to "replace original", the decrypt is in the
14090 view buffer. If you say yes, the decrypt goes into the
14093 2011-08-31 Martin Rudalics <rudalics@gmx.at>
14095 * window.el (display-buffer-window): Rewrite doc-string.
14096 (display-buffer-record-window): New function.
14097 (display-buffer-macro-specifiers)
14098 (display-buffer-even-window-sizes, display-buffer-set-height)
14099 (display-buffer-set-width, display-buffer-in-window)
14100 (display-buffer-reuse-window, display-buffer-split-specifiers)
14101 (display-buffer-side-specifiers, display-buffer-split-window-1)
14102 (display-buffer-split-window, display-buffer-split-atom-window)
14103 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14104 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14105 (display-buffer-other-window-means-other-frame)
14106 (display-buffer-normalize-special)
14107 (display-buffer-normalize-default)
14108 (display-buffer-normalize-argument)
14109 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14110 (display-buffer-normalize-specifiers, display-buffer-frame)
14111 (display-buffer-same-window, display-buffer-same-frame)
14112 (display-buffer-other-window)
14113 (display-buffer-same-frame-other-window)
14114 (display-buffer-other-frame, pop-to-buffer-same-window)
14115 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14116 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14117 (switch-to-buffer-same-frame)
14118 (switch-to-buffer-other-window-same-frame)
14119 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14120 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14121 (display-buffer-alist-set): Remove.
14122 (display-buffer-function, special-display-buffer-names)
14123 (special-display-regexps, special-display-function):
14124 In doc-string refer to display-buffer-window and quit-restore
14126 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14127 (special-display-frame-alist, special-display-popup-frame)
14128 (same-window-buffer-names, same-window-regexps, same-window-p)
14129 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14130 (split-window-preferred-function, split-height-threshold)
14131 (split-width-threshold, window-splittable-p)
14132 (split-window-sensibly, window--try-to-split-window)
14133 (window--frame-usable-p, even-window-heights)
14134 (window--even-window-heights, window--display-buffer-1)
14135 (window--display-buffer-2, display-buffer-other-frame):
14136 Restore old Emacs 23 code, order and doc-strings where applicable.
14137 (display-buffer-default, display-buffer-assq-regexp): New functions.
14138 (display-buffer-alist): Rewrite doc-string.
14139 (display-buffer-default-action)
14140 (display-buffer-overriding-action): New variables.
14141 (display-buffer, switch-to-buffer): Rewrite.
14142 (pop-to-buffer): Restore Emacs 23 behavior but use
14143 window-normalize-buffer-to-display.
14144 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14145 Restore Emacs 23 behavior but use
14146 window-normalize-buffer-to-switch-to.
14147 (pop-to-buffer-same-window): Rewrite.
14148 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14149 Rewrite using Emacs 23 options.
14151 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
14153 * net/tramp.el (tramp-root-regexp): Remove.
14154 (tramp-completion-file-name-regexp-unified)
14155 (tramp-completion-file-name-regexp-separate)
14156 (tramp-completion-file-name-regexp-url): Don't use leading volume
14157 letter on w32 systems. (Bug#5303, Bug#9311)
14158 (tramp-drop-volume-letter): Simplify definition.
14159 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
14161 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14163 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14166 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14168 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
14170 2011-08-29 Juri Linkov <juri@jurta.org>
14172 * isearch.el (isearch-done): Don't display message "Mark saved"
14173 when arg `edit' is non-nil to prevent its flicker in the echo area.
14175 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14177 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14178 obsolete packages for deletion.
14180 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14182 * help-mode.el (help-mode-map): Add special-mode-map to parent.
14183 (help-mode): Derive help-mode from special-mode. Don't invoke
14184 view-mode from help-mode.
14185 (help-xref-override-view-map): Remove.
14186 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14187 view-mode is not used anymore.
14189 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14191 * server.el (server-port): Doc fix.
14193 * cus-theme.el (custom-theme-choose-mode): Inherit from
14194 special-mode (Bug#9124).
14195 (custom-theme-choose-mode-map): Add special-mode to parent.
14197 2011-08-28 Alan Mackenzie <acm@muc.de>
14199 * progmodes/cc-fonts.el
14200 (c-make-font-lock-BO-decl-search-function): New function.
14201 (c-basic-matchers-after - "Fontify the clauses after various
14202 keywords"): Extract the three keyword lists for the 3 erroneous
14203 constructs from the list of four, and use the new function above
14204 in place of an old one.
14206 2011-08-28 Deniz Dogan <deniz@dogan.se>
14208 * net/rcirc.el (rcirc-insert-prev-input)
14209 (rcirc-insert-next-input): Remove unused argument.
14211 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14213 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14215 2011-08-27 Alan Mackenzie <acm@muc.de>
14217 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14218 handle function pointer parameters properly.
14220 2011-08-27 Martin Rudalics <rudalics@gmx.at>
14222 * window.el (display-buffer-reuse-window): Fix case where
14223 selected window was reused with non-nil OTHER-WINDOW argument.
14226 2011-08-27 Deniz Dogan <deniz@dogan.se>
14228 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14229 oftc's NickServ messages.
14231 2011-08-27 Glenn Morris <rgm@gnu.org>
14233 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14235 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
14237 * emacs-lisp/package.el (package-install): Call package-initialize
14238 if called interactively.
14240 2011-08-26 Leo Liu <sdl.web@gmail.com>
14242 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14244 2011-08-25 Juri Linkov <juri@jurta.org>
14246 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14247 `search-whitespace-regexp' (bug#9364).
14249 2011-08-25 Juri Linkov <juri@jurta.org>
14251 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14252 `regexp-search-ring' to their global values to protect from
14253 updating by `read-from-minibuffer' (bug#9185).
14255 2011-08-25 Juri Linkov <juri@jurta.org>
14257 * textmodes/ispell.el (ispell-command-loop): Add newline
14258 at the end of the "Use option `i'..." line.
14260 2011-08-25 Juri Linkov <juri@jurta.org>
14262 * battery.el (display-battery-mode): If `battery-status-function'
14263 or `battery-mode-line-format' is nil, display the message and set
14264 `display-battery-mode' to nil (bug#9363).
14266 2011-08-25 Eli Zaretskii <eliz@gnu.org>
14268 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14269 bidi-string-mark-left-to-right; they are unnecessary now.
14271 2011-08-25 Deniz Dogan <deniz@dogan.se>
14273 * net/quickurl.el: Documentation typo fixes.
14275 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
14277 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14279 2011-08-25 Glenn Morris <rgm@gnu.org>
14281 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14283 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14284 (smtpmail-via-smtp): Handle nil response from smtp.
14286 2011-08-24 Juri Linkov <juri@jurta.org>
14288 * proced.el (proced-marked): Inherit from `error' instead of
14289 `font-lock-warning-face'.
14291 * ibuffer.el (ibuffer-marked-face): Change default face from
14292 `font-lock-warning-face' to `warning'.
14293 (ibuffer-deletion-face): Change default face from
14294 `font-lock-type-face' to `error'.
14296 * battery.el (battery-update): Use the face `error' instead of
14297 `font-lock-warning-face' (bug#6117).
14299 2011-08-24 Juri Linkov <juri@jurta.org>
14301 * faces.el (success): Change face color from "Green3" to
14302 "ForestGreen" on light background (bug#9353).
14304 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
14306 * window.el (quit-window): Rename from quit-restore-window.
14307 Use same arglist as old quit-window.
14308 (frame-auto-delete): Doc fix.
14310 * view.el (view-mode-exit): Use quit-window.
14312 2011-08-24 Juri Linkov <juri@jurta.org>
14314 * isearch.el (isearch-ring-adjust1): Start visiting previous
14315 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14316 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14317 for empty search string (when the last search string is reused
14318 automatically) to adjust the isearch ring to the last element and
14319 prepare the correct index for further M-p commands (bug#9185).
14321 2011-08-24 Kenichi Handa <handa@m17n.org>
14323 * international/ucs-normalize.el: If decomposition property of
14324 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14326 (nfd, nfkd): Likewise.
14328 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14330 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14331 from process filters aren't reliably transmitted to the surrounding
14332 accept-process-output.
14333 (mpc-proc-check): New function.
14334 (mpc-proc-sync): Use it (bug#8293)
14336 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14338 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14339 Add compatibility functions (bug#9313).
14341 2011-08-23 Eli Zaretskii <eliz@gnu.org>
14343 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14345 * international/uni-bidi.el: Regenerate.
14347 2011-08-23 Kenichi Handa <handa@m17n.org>
14349 * international/charprop.el:
14350 * international/uni-bidi.el:
14351 * international/uni-category.el:
14352 * international/uni-combining.el:
14353 * international/uni-comment.el:
14354 * international/uni-decimal.el:
14355 * international/uni-decomposition.el:
14356 * international/uni-digit.el:
14357 * international/uni-lowercase.el:
14358 * international/uni-mirrored.el:
14359 * international/uni-name.el:
14360 * international/uni-numeric.el:
14361 * international/uni-old-name.el:
14362 * international/uni-titlecase.el:
14363 * international/uni-uppercase.el: Regenerate.
14365 2011-08-23 Martin Rudalics <rudalics@gmx.at>
14367 * help.el (help-window-setup): Fix message displayed when other
14368 window is reused. (Bug#9341)
14370 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14372 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14373 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14375 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14377 * shell.el (shell-parse-pcomplete-arguments): New function.
14378 (shell-completion-vars): Use it instead (bug#9160).
14380 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14382 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14383 strings and comments (bug#9333).
14385 * emacs-lisp/debug.el (debug-arglist): New function.
14386 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14387 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14389 2011-08-22 Juri Linkov <juri@jurta.org>
14391 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14392 Revert regexp that highlights output switches to its old
14393 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14395 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14396 to check for empty output (bug#9226).
14398 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
14400 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14401 symbol-constituent as the default, as that stops font-lock from
14402 working properly (Bug#8843).
14404 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14406 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14407 `coding-system-for-*' around the process open call to avoid
14408 auth-source side effects.
14409 (smtpmail-try-auth-methods): Expand the secret password.
14410 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14413 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14415 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14417 * emacs-lisp/find-func.el (find-function-noselect): New arg
14420 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14421 signal an error for built-in functions (Bug#6664).
14423 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14425 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14426 (smtpmail-try-auth-methods): Use it.
14428 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14430 * font-lock.el (font-lock-fontify-region)
14431 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14432 (font-lock-default-unfontify-buffer)
14433 (font-lock-default-fontify-region)
14434 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14436 * progmodes/compile.el (compilation-error-properties):
14437 Fix confusion between file struct and message struct (Bug#9319).
14438 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14441 * net/browse-url.el (browse-url-firefox): Don't call
14442 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14444 2011-08-20 Glenn Morris <rgm@gnu.org>
14446 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14448 * tutorial.el (tutorial--default-keys): Update some default bindings.
14450 * files.el (hack-local-variables): Fully ignore case for "mode:".
14452 2011-08-20 Alan Mackenzie <acm@muc.de>
14454 Resolve invalid use of a regexp in regexp-opt.
14456 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14457 detection for a java annotation.
14459 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
14460 detection for a java annotation.
14462 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14464 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14466 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
14468 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14471 2011-08-20 Alan Mackenzie <acm@muc.de>
14473 Fontify CPP expressions correctly when starting in the middle of
14474 such a construct. Mainly for when jit-lock etc. starts a chunk
14477 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
14479 (c-make-font-lock-search-form): New function, extracted from
14480 c-make-font-lock-search-function.
14481 (c-make-font-lock-search-function): Use the above function.
14482 (c-make-font-lock-context-search-function): New function.
14483 (c-cpp-matchers): Enhance the preprocessor expression case with
14485 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14486 which takes an expression.
14488 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14490 2011-08-20 Martin Rudalics <rudalics@gmx.at>
14492 * window.el (display-buffer-reuse-window)
14493 (display-buffer-pop-up-window): Don't reuse or split a side
14496 2011-08-19 Glenn Morris <rgm@gnu.org>
14498 * files.el (hack-local-variables-prop-line, hack-local-variables):
14499 Downcase "Mode:". (Bug#9331)
14501 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
14503 * international/characters.el: Add L and R categories.
14505 * subr.el (bidi-string-mark-left-to-right): Rename from
14506 string-mark-left-to-right. Use category search.
14508 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14510 2011-08-18 Juri Linkov <juri@jurta.org>
14512 * faces.el (error, warning, success): New faces with definitions
14513 copied from old default values of `font-lock-warning-face',
14514 `compilation-warning', `compilation-info' (bug#6117).
14516 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14518 * progmodes/compile.el (compilation-error): Inherit from `error'.
14519 (compilation-warning): Inherit from `warning'.
14520 (compilation-info): Inherit from `success'.
14522 * dired.el (dired-marked): Inherit from `warning'.
14523 (dired-flagged): Inherit from `error'.
14525 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14527 * mail/smtpmail.el (auth-source): Require to avoid problems with
14528 binding variables (bug#9298). Also clean up some unused
14531 * net/network-stream.el (network-stream-open-starttls):
14532 Support using starttls.el without using gnutls-cli.
14534 2011-08-17 Juri Linkov <juri@jurta.org>
14536 * progmodes/grep.el (rgrep): Handle the case when
14537 `grep-find-command' is a cons cell (bug#9278).
14539 2011-08-17 Martin Rudalics <rudalics@gmx.at>
14541 * window.el (display-buffer-pop-up-frame): Run frame creation
14542 function with BUFFER current (as special-display-popup-frame
14543 does). Reported by Drew Adams.
14545 2011-08-17 Daiki Ueno <ueno@unixuser.org>
14547 * epa-mail.el: Simplify GnuPG group expansion using
14549 (epa-mail-group-alist, epa-mail-group-modtime)
14550 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14551 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14552 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14555 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
14557 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14559 2011-08-16 Alan Mackenzie <acm@muc.de>
14561 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14562 Correct, to avoid the inside of macros.
14564 2011-08-16 Richard Stallman <rms@gnu.org>
14566 * epa-mail.el: Handle GnuPG group definitions.
14567 (epa-mail-group-alist, epa-mail-group-modtime)
14568 (epa-mail-gnupg-conf-file): New variables.
14569 (epa-mail-parse-groups, epa-mail-sync-groups)
14570 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14571 (epa-mail-expand-recipients): New functions.
14572 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14574 * mail/rmail.el (rmail-epa-decrypt): New command.
14576 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14577 Don't bind buffer-read-only, just inhibit-read-only.
14578 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14579 (epa-decrypt-armor-in-region): Make error message clearer.
14581 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14583 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14584 and "a2b" to "ab" for `prefix'.
14586 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
14588 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14590 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14591 Fourquet (Bug#8804).
14593 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
14595 * startup.el (argi): Declare as global variable (bug#9275).
14597 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
14599 * subr.el (string-mark-left-to-right): Search the entire string
14600 for RTL script, not just the terminating character. Doc fix.
14602 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14604 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14606 (js--regexp-literal, js-syntax-propertize-function): Remove.
14607 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14608 (js-mode-map): Don't rebind electric keys.
14609 (js-insert-and-indent): Remove.
14610 (js-mode): Setup electric-layout and electric-indent instead.
14612 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14614 2011-08-12 Daiki Ueno <ueno@unixuser.org>
14616 * epa.el (epa-progress-callback-function): Fix the logic of
14617 displaying progress.
14618 * epa-file.el (epa-file-insert-file-contents): Make progress
14619 display more user-friendly.
14620 (epa-file-write-region): Ditto.
14622 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
14624 * subr.el (string-mark-left-to-right): New function.
14626 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14627 Use string-mark-left-to-right.
14628 (list-buffers-noselect): Caller changed.
14630 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14631 Use string-mark-left-to-right.
14632 (tabulated-list-print): Recenter after moving point.
14634 2011-08-10 Juri Linkov <juri@jurta.org>
14636 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14637 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14638 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14640 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
14642 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14645 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
14647 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14648 character. (Bug#6594)
14650 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
14652 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14653 (image-dired--with-db-file): New macro.
14654 (image-dired-write-tags, image-dired-remove-tag)
14655 (image-dired-create-gallery-lists, image-dired-write-comments)
14656 (image-dired-get-comment, image-dired-mark-tagged-files)
14657 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14658 (image-dired-gallery-generate): Use insert-file-contents.
14660 * time.el (display-time-world-list, display-time-world-display):
14661 * time-stamp.el (time-stamp-string):
14662 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14663 set-time-zone-rule (Bug#7337).
14665 2011-08-08 Daiki Ueno <ueno@unixuser.org>
14667 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14668 (epg-error-to-string, epg-errors-to-string): New function.
14669 (epg-wait-for-completion): Reverse errors list.
14670 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14671 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14672 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14673 (epg-sign-keys, epg-generate-key-from-file)
14674 (epg-generate-key-from-string): Format errors by using
14675 epg-errors-to-string (bug#9255).
14676 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14678 2011-08-07 Juri Linkov <juri@jurta.org>
14680 * faces.el (list-faces-display): Remove extra angle bracket
14681 from `help-mode-map'.
14683 * info.el (Info-history-toc-nodes): Doc fix.
14685 * longlines.el (longlines-mode): Doc fix.
14687 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14689 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14690 of statements and in a few more cases (bug#9183).
14692 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14694 (cl-transform-lambda): Use them (bug#9239).
14696 2011-08-05 Martin Rudalics <rudalics@gmx.at>
14698 * window.el (display-buffer-same-window)
14699 (display-buffer-same-frame, display-buffer-other-window)
14700 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14701 (pop-to-buffer-other-window)
14702 (pop-to-buffer-same-frame-other-window)
14703 (pop-to-buffer-other-frame): Make them defuns.
14704 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14706 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14708 * subr.el (make-composed-keymap): Move from C. Change calling
14709 convention, and improve docstring to bring attention to a subtle point.
14710 * minibuffer.el (completing-read-default): Adjust accordingly.
14712 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
14714 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14715 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14717 * net/trampver.el: Update release number.
14719 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14721 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14724 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14726 * mail/sendmail.el (sendmail-query-once): Restore the current
14727 buffer after querying (bug#9074).
14729 * dired.el (dired-flagged): Use different faces for marked and
14730 flagged files (bug#6117).
14732 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14735 * ido.el (ido-mode): Switch off the message if called
14738 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14739 before 587, since it appears that that's more likely to work for
14742 * cus-edit.el (custom-file): When running under emacs -q, always
14743 refuse to save the customizations, even if the .emacs file doesn't
14746 * info.el: Remove the `Info-beginning-of-buffer' function
14749 * net/network-stream.el (network-stream-open-starttls):
14750 Use `starttls-available-p' to see whether starttls.el can be used.
14752 2011-08-01 Martin Rudalics <rudalics@gmx.at>
14754 * window.el (display-buffer-in-window): Don't set dedicated status
14755 of window here (Bug#9215).
14756 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14757 (display-buffer-pop-up-side-window)
14758 (display-buffer-in-side-window): Set dedicated status of window here.
14760 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14762 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14763 before binding generated-autoload-file.
14765 2011-08-01 Deniz Dogan <deniz@dogan.se>
14767 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14769 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
14771 Sync with Tramp 2.2.2.
14773 * net/trampver.el: Update release number.
14775 2011-07-30 Juri Linkov <juri@jurta.org>
14777 * dired-aux.el (dired-touch-initial): Remove function.
14778 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14779 current time, and `default' to the last modification time of the
14780 current marked file (bug#6887).
14782 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14784 * simple.el (goto-line): Use string-to-number to provide a
14785 numeric argument to read-number (bug#9163).
14787 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
14789 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14790 connection process, it could be nil.
14792 2011-07-27 Leo Liu <sdl.web@gmail.com>
14794 Simplify url handling in rcirc-mode.
14796 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14797 (rcirc-browse-url-at-mouse): Remove.
14798 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14800 2011-07-26 Alan Mackenzie <acm@muc.de>
14802 Fontify bitfield declarations properly.
14804 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14805 (c-symbol-chars): Now exported as a lang variable.
14806 (c-not-primitive-type-keywords): New lang variable.
14808 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14809 QT keyword "more" to prevent "more slots: ...." being spuriously
14810 parsed as a bitfield declaration.
14812 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14813 Refactor and enhance to handle bitfield declarations.
14814 (c-punctuation-in): New function.
14815 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14816 declarations properly.
14818 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
14820 * calendar/icalendar.el (icalendar--all-events): Take care of
14821 multiple vcalendars in a single file.
14822 (icalendar--convert-float-to-ical): Checkdoc fixes.
14824 2011-07-25 Deniz Dogan <deniz@dogan.se>
14826 * image.el (insert-image): Clarifying docstring.
14828 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
14830 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14831 `tramp-send-command-and-check' if there is no error.
14832 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14834 2011-07-22 Alan Mackenzie <acm@muc.de>
14836 Prevent cc-langs.elc being loaded at run time.
14838 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14841 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
14842 "(require 'cc-langs)". Quote a form so it will evaluate at
14843 (cc-mode's) compilation time.
14845 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
14847 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14848 loading. (Bug#9114)
14850 2011-07-21 Martin Rudalics <rudalics@gmx.at>
14852 * window.el (display-buffer-pop-up-window)
14853 (display-buffer-pop-up-side-window)
14854 (display-buffer-in-side-window): Call display-buffer-set-height
14855 and display-buffer-set-width after setting the new window's
14856 buffer so `fit-window-to-buffer' and friends work on the right buffer.
14858 2011-07-20 Sam Steingold <sds@gnu.org>
14860 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14861 (etags-tags-included-tables): Call `convert-standard-filename' on
14862 the file names contained in TAGS so that windows Emacs can handle
14863 TAGS files created by cygwin ctags.
14865 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14867 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14868 which apparently didn't work.
14870 2011-07-19 Roland Winkler <winkler@gnu.org>
14872 * proced.el (proced-send-signal): For *Marked Processes* buffer
14873 put point at beginning of buffer.
14875 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
14877 * proced.el (proced-format): Make header lines align with the text
14880 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14882 * view.el (view-buffer): Allow running in `special' modes if we're
14883 visiting a file (bug#8615).
14885 2011-07-19 Martin Rudalics <rudalics@gmx.at>
14887 * window.el (display-buffer-alist-of-strings-p)
14888 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14890 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14893 2011-07-18 Alan Mackenzie <acm@muc.de>
14895 Fontify declarators properly when, e.g., a jit-lock chunk begins
14896 inside a declaration.
14898 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14900 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14902 (c-complex-decl-matchers): Insert reference to
14903 c-font-lock-enclosing-decls.
14905 * progmodes/cc-engine.el (c-backward-single-comment):
14906 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14907 to nil around calls to (forward-comment -1).
14909 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14911 * image.el (put-image): Doc typo fix.
14913 * progmodes/etags.el (tags-search): Doc typo fix.
14915 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14916 password if we get errors 550 to 554.
14918 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14920 * net/gnutls.el (gnutls-log-level): Remove.
14922 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14923 indentation character (bug#6380).
14925 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14927 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14928 to clarify what the problem is (bug#4291).
14930 * simple.el (current-kill): Clarify what
14931 `interprogram-paste-function' does (bug#7500).
14932 (auto-fill-mode): Document `auto-fill-function' in relation to
14933 `auto-fill-mode' (bug#2470).
14935 2011-07-16 Lawrence Mitchell <wence@gmx.li>
14937 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14938 method if slot is read-only (bug#9035).
14940 2011-07-16 Martin Rudalics <rudalics@gmx.at>
14942 * frame.el (select-frame-set-input-focus): New argument NORECORD.
14943 * window.el (pop-to-buffer): Select window used even if it was
14944 selected before, see discussion of (Bug#8615), (Bug#6954).
14945 Pass argument NORECORD on to select-frame-set-input-focus.
14947 2011-07-15 Glenn Morris <rgm@gnu.org>
14949 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
14952 2011-07-09 Lawrence Mitchell <wence@gmx.li>
14954 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14955 (gnutls-negotiate): Use it.
14957 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14959 * net/gnutls.el (gnutls-negotiate):
14960 Upcase `gnutls-algorithm-priority'.
14962 2011-07-15 Glenn Morris <rgm@gnu.org>
14964 * jka-compr.el (jka-compr-verbose): Move from here...
14965 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14966 Add missing :version tag.
14967 * info.el: No need to require jka-compr when compiling.
14969 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14971 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14972 (gnutls-negotiate): Use it.
14974 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14976 * info.el (Info-beginning-of-buffer): New command.
14977 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14978 announcing `b' as the key (bug#8325).
14979 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
14981 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14983 * international/mule-cmds.el
14984 (describe-specified-language-support): Make the error message
14985 clearer (bug#8905).
14987 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14989 * isearch.el (isearch-barrier): Add a doc string, since it's
14990 mentioned in a function doc string (bug#8678).
14992 2011-07-15 Martin Rudalics <rudalics@gmx.at>
14994 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14995 buffer argument (Bug#9083) and self-identifying label argument.
14997 2011-07-15 Glenn Morris <rgm@gnu.org>
14999 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15001 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15003 * man.el (Man-fontify-manpage): Fix message when formatting the
15004 man page (bug#7929).
15006 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15008 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15009 argument LRM; if non-nil, append an invisible LRM character to the
15011 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15012 last argument non-nil, when formatting buffer names.
15013 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15014 paragraph direction.
15016 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15018 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15019 the man page name (bug#7929).
15021 * image.el (put-image): Mention the `put-image' overlay property
15024 * scroll-bar.el (set-scroll-bar-mode): Mention that
15025 `scroll-bar-mode' lists the values (bug#7772).
15027 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15028 command (bug#7729).
15030 * rect.el (apply-on-rectangle): Return the point after the last
15032 (string-rectangle): Go to the point after the last operation
15035 * printing.el (pr-toggle-region): Clarify the documentation
15036 slightly (bug#7493).
15038 * time.el (display-time-update):
15039 Allow `display-time-mail-function' to return nil (bug#7158).
15040 Fix suggested by Detlev Zundel.
15042 * vc/diff.el (diff): Clarify the order the file names are read
15045 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15046 the doc string (bug#7015).
15048 * font-lock.el (font-lock-maximum-decoration): Mention what
15049 numeric levels mean (bug#6935).
15051 * startup.el (initial-buffer-choice): Don't mention the `none'
15052 selection, which is against policy.
15054 2011-07-14 Martin Rudalics <rudalics@gmx.at>
15056 * window.el (display-buffer-normalize-special):
15057 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
15059 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15061 * subr.el (version<, version<=, version=): Mention "-CVS" and
15062 "-12345" alpha version numbers.
15064 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15066 * bindings.el: Add advertised binding for set-mark-command
15069 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15071 * bindings.el (mode-line-other-buffer):
15072 * bookmark.el (bookmark-bmenu-2-window):
15073 * bs.el (bs-cycle-next, bs-cycle-previous):
15074 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15077 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15080 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
15082 * follow.el (follow-debug-message, follow-redisplay):
15083 * jka-cmpr-hook.el (with-auto-compression-mode):
15084 Fix typos in docstrings.
15086 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15088 * subr.el (with-silent-modifications): Clarify somewhat what the
15089 macro inhibits (bug#6525).
15091 * simple.el (eval-expression): Note what it does if called
15092 interactively (bug#6495).
15094 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15096 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15097 Use pop-to-buffer buffer-or-name if it is nil.
15099 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15100 Remove switch-to-buffer.
15102 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15104 * files.el (make-directory): Clarify that an error will be raised
15105 if there's an error (bug#6397).
15107 * startup.el (initial-buffer-choice): Add `none' as a choice
15110 * subr.el (add-hook): Clarify section about buffer-local hooks
15113 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15115 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15117 * tabify.el (untabify): Preserve the current column so that point
15118 doesn't move (bug#6032).
15120 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15122 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15123 Rewrite to avoid awkward possessive "s" (bug#5986).
15125 2011-07-13 Glenn Morris <rgm@gnu.org>
15127 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15128 (dired-insert-directory): Give a message the first time
15129 if ls is found not to support --dired.
15131 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15133 * simple.el (toggle-truncate-lines): Clarify what is toggled
15134 (bug#5580). Text by Drew Adams.
15136 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15138 * simple.el (blink-matching-open): Make the error message from the
15139 last change less verbose.
15141 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15143 * font-lock.el (font-lock-comment-face): Use the high contrast
15144 "yellow" color for font-lock-comment-face on low color terminals
15145 using a dark background color (bug#4221).
15147 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15149 * dired.el (dired-insert-set-properties): Make the doc string
15150 reflect what it does now (bug#5325).
15152 * simple.el (blink-matching-open): Say that we were unable to find
15153 the match within the limit, if we're limited (bug#5122).
15155 * international/mule-cmds.el (prefer-coding-system): Add an
15156 example (bug#4869).
15158 * progmodes/etags.el (tags-search): Document `file-list-form'
15161 2011-07-13 Lawrence Mitchell <wence@gmx.li>
15163 * net/browse-url.el (browse-url-default-browser)
15164 (browse-url-browser-function): Make the default browser choice a
15165 bit more logical (bug#4300). Also clean up the doc string.
15167 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15169 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15170 binary endings (bug#4440).
15172 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15174 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15175 which can be pretty annoying (bug#8971).
15177 * jka-compr.el (jka-compr-verbose): New variable, and use
15178 throughout (bug#8971).
15180 * info.el (Info-find-file): Fall back on the installation
15181 directory if we can't find the info node anywhere else.
15183 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15185 * vc/vc.el (vc-revert-file):
15186 Don't set file time-stamp in the past. (Bug#5181)
15188 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15190 * files.el (after-find-file): Give a better error message when
15191 trying to find a symlink that points to a file that doesn't exist
15194 * progmodes/cc-vars.el: Remove (probably) misleading comment
15197 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15199 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15201 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15203 * mouse-sel.el: Hack restoring functionality, while keeping
15204 compatibility with 2010-07-03 changes to mouse selection.
15205 (mouse-sel-primary-overlay): New var.
15206 (mouse-sel-selection-alist): Use it.
15207 (mouse-sel-mode): Doc fix; remove points that are default features
15210 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15212 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15213 Fix previous fix (bug#2490).
15215 2011-07-12 Roland Winkler <winkler@gnu.org>
15217 * textmodes/bibtex.el (bibtex-initialize):
15218 Use pop-to-buffer-same-window.
15219 (bibtex-search-entries): Fix interactive call.
15221 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15223 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15224 Fontise bytecomp Error lines more correctly (bug#2490).
15225 Fix suggested by Johan Bockgård.
15227 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15229 * dired-x.el (dired-guess-default): Use `delete-dups'.
15231 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15233 * dired.el (dired-mark-prompt):
15234 * dired-aux.el (dired-read-shell-command): Doc fix.
15236 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15238 * mail/sendmail.el (sendmail-query-once):
15239 Use `customize-save-variable' unconditionally, now that it works under
15242 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15244 * cus-edit.el (custom-file): Take an optional no-error variable.
15245 (customize-save-variable): Set the variable, and give a warning if
15246 running under "emacs -q".
15248 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
15250 * loadhist.el (unload-feature-special-hooks):
15251 Add `auto-coding-functions', `fill-nobreak-predicate' and
15252 `find-directory-functions' (bug#5327).
15254 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15256 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15258 * cus-edit.el (custom-guess-name-alist): -alist variables should
15259 use the `alist' type (bug#3120). Suggested by Drew Adams.
15261 * printing.el: Add documentation to all the `pr-toggle-' commands.
15263 2011-07-11 Leo Liu <sdl.web@gmail.com>
15265 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15266 backends where it makes sense (bug#2623).
15268 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15270 * dired-x.el (dired-guess-default): Remove duplicate shell command
15271 entries (bug#2028).
15272 (dired-guess-default): Fix grammar in doc string (bug#2028).
15273 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
15275 * subr.el (remove-duplicates): New conveniency function.
15277 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15279 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15282 2011-07-10 Martin Rudalics <rudalics@gmx.at>
15284 * window.el (display-buffer-normalize-default): Don't invert
15285 meaning of even-window-heights. Reported by Eli Zaretskii
15288 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15290 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15292 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
15294 * window.el (display-buffer): Fix arguments to
15295 display-buffer-reuse-window in last change.
15297 * faces.el (link): Use a less saturated blue on light backgrounds.
15299 * startup.el (fancy-startup-text, fancy-about-text)
15300 (fancy-startup-tail): Use font-lock faces, for background safety.
15302 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15304 * emulation/viper-cmd.el (viper-change-state-to-vi):
15305 Limit triggering of abbrev expansion (Bug#9038).
15307 2011-07-09 Martin Rudalics <rudalics@gmx.at>
15309 * window.el (display-buffer-default-specifiers): Remove.
15310 (display-buffer-macro-specifiers): Remove default specifiers.
15311 (display-buffer-alist): Default to nil.
15312 (display-buffer-reuse-window): New optional argument other-window.
15313 (display-buffer-pop-up-window): Allow splitting internal
15314 windows. Check whether a live window was created.
15315 (display-buffer-other-window-means-other-frame)
15316 (display-buffer-normalize-arguments): Rename to
15317 display-buffer-normalize-argument and rewrite. Set the
15318 other-window specifier.
15319 (display-buffer-normalize-special): New function.
15320 (display-buffer-normalize-options): Rename to
15321 display-buffer-normalize-default and rewrite.
15322 (display-buffer-normalize-options-inhibit): Remove.
15323 (display-buffer-normalize-specifiers): Rewrite.
15324 (display-buffer): Process other-window specifier and call
15325 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15327 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
15328 (display-buffer-alist-set): Don't handle 'unset default values.
15329 (display-buffer-in-window, display-buffer-alist-set):
15330 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
15331 <tassilo@member.fsf.org>.
15333 2011-07-09 Leo Liu <sdl.web@gmail.com>
15335 * register.el (insert-register): Restore accidental change on
15336 2011-06-26. (Bug#9028)
15338 2011-07-09 Glenn Morris <rgm@gnu.org>
15340 * subr.el (remq): Handle the empty list. (Bug#9024)
15342 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15344 * mail/sendmail.el (send-mail-function): No longer delay custom
15346 * custom.el (custom-initialize-delay): Doc fix.
15348 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15350 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15352 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
15354 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15355 human-friendly prompt.
15357 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15359 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15360 provided by a particular plugin.
15362 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15364 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15365 save customizations (with "emacs -Q"), just set the variable
15366 instead of erroring out.
15368 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15370 2011-07-08 Juri Linkov <juri@jurta.org>
15372 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15373 (archive-zip-update-case): Use 7z if found by `executable-find'.
15374 The order of searching the available programs is the same as in
15375 `archive-zip-extract' (bug#8968).
15377 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15379 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15380 (menu-bar-options-menu): Tweak descriptions.
15382 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15384 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15385 menu items into verb phrases (bug#1421). Also refill to fit under
15388 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15390 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15391 (Info-read-node-name): Doc fix (Bug#1084).
15393 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15394 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15395 (end-of-sexp, beginning-of-sexp)
15396 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15397 (forward-symbol, forward-same-syntax, word-at-point)
15398 (sentence-at-point): Doc fix (Bug#1144).
15400 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15402 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15403 should cover it (bug#1281).
15405 * cus-edit.el (custom-show): Mark as obsolete.
15407 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
15408 negotiation fails, then possibly try again with a non-encrypted
15409 connection (bug#9017).
15411 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15414 2011-07-07 Richard Stallman <rms@gnu.org>
15416 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15417 property, and handle its changed format.
15418 Look for the correct line number.
15419 Use file's line contents (but not past first =) to find
15420 correct line in message.
15422 2011-07-07 Kenichi Handa <handa@m17n.org>
15424 * international/characters.el (build-unicode-category-table):
15426 (unicode-category-table): Set it by unicode-property-table-internal.
15428 * international/mule-cmds.el (char-code-property-alist): Move to
15430 (get-char-code-property): Call unicode-property-table-internal to
15431 load a file. Call get-unicode-property-internal where necessary.
15432 (put-char-code-property): Call unicode-property-table-internal to
15433 load a file. Call put-unicode-property-internal where necessary.
15434 put-unicode-property-internal where necessary.
15435 (char-code-property-description):
15436 Call unicode-property-table-internal to load a file.
15438 * international/charprop.el:
15439 * international/uni-bidi.el:
15440 * international/uni-category.el:
15441 * international/uni-combining.el:
15442 * international/uni-comment.el:
15443 * international/uni-decimal.el:
15444 * international/uni-decomposition.el:
15445 * international/uni-digit.el:
15446 * international/uni-lowercase.el:
15447 * international/uni-mirrored.el:
15448 * international/uni-name.el:
15449 * international/uni-numeric.el:
15450 * international/uni-old-name.el:
15451 * international/uni-titlecase.el:
15452 * international/uni-uppercase.el: Regenerate.
15454 * loadup.el: Load international/charprop.el before
15455 international/characters.
15457 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15459 * window.el (next-buffer, previous-buffer): Signal an error if
15460 called from a minibuffer window.
15462 * bindings.el: Revert 2011-07-04 change.
15464 2011-07-06 Richard Stallman <rms@gnu.org>
15466 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15467 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15468 Treat markers like ints.
15469 (rmail-mime-entity): Doc fix.
15471 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15473 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15474 defcustom again for backwards compatibility.
15476 * simple.el (shell-command-on-region): Fill.
15478 * dired-aux.el (dired-kill-line): Add a doc string.
15480 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15481 to "\\sw\\|\\s_" (bug#358).
15483 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15484 (dired-unmark-backward): Ditto.
15485 (dired-flag-backup-files): Ditto.
15487 * dired-x.el (dired-mark-sexp): Ditto.
15489 2011-07-06 Richard Stallman <rms@gnu.org>
15491 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15492 (rmail-mime-entity): New arg TRUNCATED.
15493 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15495 (rmail-mime-save): Warn if entity is truncated.
15496 (rmail-mime-toggle-hidden): Likewise, for showing.
15497 (rmail-mime-process-multipart): Record when an entity is truncated.
15499 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15500 if ENTITY is a string.
15502 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15504 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
15505 of faces when `M-C-x'-ing their definitions (bug#8378).
15506 Also clean up the code slightly.
15508 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
15509 because that makes the colors go away.
15511 * mail/sendmail.el (send-mail-function): Change the default to
15512 `sendmail-query-once'.
15513 (sendmail-query-once): Add an autoload cookie.
15515 * net/network-stream.el (network-stream-open-starttls): Try using
15516 a plain connection even if the server offered STARTTLS, and we
15517 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15518 capability. This should make smtpmail.el work in slightly more
15521 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
15523 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15525 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15527 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15529 * progmodes/sql.el: Version 3.0
15530 (sql-product-alist): Add product :completion-object,
15531 :completion-column, and :statement attributes.
15532 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
15533 (sql-mode-syntax-table): Mark all punctuation.
15534 (sql-font-lock-keywords-builder): Temporarily remove fallback on
15536 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
15537 (sql-mode-oracle-font-lock-keywords): Improve.
15538 (sql-oracle-show-reserved-words): New function for development.
15539 (sql-product-font-lock): Simplify for source code buffers.
15540 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15542 (sql-highlight-product): Set product specific syntax table.
15543 (sql-mode-map): Add statement movement functions.
15544 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15546 (sql-statement-regexp, sql-beginning-of-statement)
15547 (sql-end-of-statement, sql-signum): New functions.
15548 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
15549 (sql-show-sqli-buffer): Bug fix.
15550 (sql-interactive-mode): Store connection data as buffer local.
15551 (sql-connect): Add NEW-NAME parameter. Redesign interaction
15552 with sql-interactive-mode.
15553 (sql-save-connection): Save buffer local settings.
15554 (sql-connection-menu-filter): Change menu entry name.
15555 (sql-product-interactive): Bug fix.
15556 (sql-preoutput-hold): New variable.
15557 (sql-interactive-remove-continuation-prompt): Bug fixes.
15558 (sql-debug-redirect): New variable.
15559 (sql-str-literal): New function.
15560 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
15562 (sql-oracle-save-settings, sql-oracle-restore-settings)
15563 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15564 (sql-completion-object, sql-completion-column)
15565 (sql-completion-sqlbuf): New variables.
15566 (sql-build-completions-1, sql-build-completions)
15567 (sql-try-completion): New functions.
15568 (sql-read-table-name): Use them.
15569 (sql-contains-names): New buffer local variable.
15570 (sql-list-all, sql-list-table): Use it.
15571 (sql-oracle-completion-types): New variable.
15572 (sql-oracle-completion-object, sql-sqlite-completion-object)
15573 (sql-postgres-completion-object): New functions.
15575 2011-07-06 Glenn Morris <rgm@gnu.org>
15577 * window.el (pop-to-buffer): Doc fix.
15579 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
15581 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15583 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
15585 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
15587 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
15589 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
15591 * button.el (button): Inherit from link face. Suggested by Dan
15594 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15596 * progmodes/gdb-mi.el: Fit in 80 columns.
15597 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15600 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15601 if imenu is simply not configured (bug#8941).
15603 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15605 * allout.el (allout-post-undo-hook): New allout outline-change
15606 event hook to signal undo activity.
15607 (allout-post-command-business): Run allout-post-undo-hook if an
15608 undo just occurred.
15609 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15610 * allout-widgets.el (allout-widgets-after-undo-function):
15611 Ensure the integrity of the current item's decoration after it has been
15612 in the vicinity of an undo.
15613 (allout-widgets-mode): Include allout-widgets-after-undo-function
15614 on the new allout-post-undo-hook.
15616 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15618 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15619 Let define-derived-mode define it.
15620 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15621 cycles of abbrev-table inheritance (bug#8998).
15623 2011-07-05 Roland Winkler <winkler@gnu.org>
15625 * textmodes/bibtex.el: Add support for biblatex.
15626 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15627 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15628 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15629 (bibtex-entry-alist, bibtex-field-alist): New variables.
15630 (bibtex-entry-field-alist): Obsolete alias for
15631 bibtex-BibTeX-entry-alist.
15632 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15633 (bibtex-set-dialect): New command.
15634 (bibtex-entry-type, bibtex-entry-head)
15635 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15636 Bind via bibtex-set-dialect.
15637 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15638 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15639 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15640 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15641 Define via bibtex-set-dialect.
15642 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15643 Obey bibtex-no-opt-remove-re.
15644 (bibtex-vec-push, bibtex-vec-incr): New functions.
15645 (bibtex-format-entry, bibtex-field-list)
15646 (bibtex-print-help-message, bibtex-validate)
15647 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15649 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15651 * progmodes/compile.el (compilation-goto-locus):
15652 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15653 * bs.el (bs-cycle-next, bs-cycle-previous):
15654 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15655 * bindings.el (mode-line-other-buffer):
15656 * autoinsert.el (auto-insert):
15657 * arc-mode.el (archive-extract):
15658 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15660 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15662 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15663 Fix check of `emacs-lock-unlockable-modes'.
15664 Coerce true values of `emacs-lock--try-unlocking' to t.
15666 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15668 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15669 * emacs-lock.el: New file.
15671 2011-07-05 Julien Danjou <julien@danjou.info>
15673 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15674 than `boundp' to check if face is set.
15676 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15678 * register.el (registerv-make):
15679 * window.el (window-min-height): Fix typos in docstrings.
15681 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15683 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
15686 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
15688 * server.el (server-execute): Catch quit and call
15689 `server-return-error' to pass the error back to emacsclient and
15690 close the connection (bug#8942).
15692 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15694 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15695 insecure exception for current topic. Also note that auto-saves
15696 are handled differently.
15698 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
15699 State variables for tracking auto-save inhibition situation.
15701 (allout-write-contents-hook-handler): Rename from
15702 'allout-write-file-hook-handler', and describe how it depends on
15703 write-contents-functions sensitivity to non-nil value to prevent
15706 (allout-auto-save-hook-handler): Remove. auto-save does not check
15707 this in individual buffers, only in the starting buffer, so this
15708 is not the right way for us to inhibit auto-save in a buffer
15709 according to its condition.
15711 (allout-mode): Use new allout-write-contents-hook-handler, and
15712 only with write-contents-functions. Remove auto-save provisions -
15713 they're implemented elsewhere.
15715 (allout-before-change-handler): If undo is in progress, note that
15716 for attention of allout-post-command-business.
15718 (allout-post-command-business): If the command we're following was
15719 an undo, check for change in the status of encrypted items and
15720 adjust auto-save inhibitions accordingly.
15722 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15723 according to whether there are or aren't any plain-text topics
15724 pending encryption.
15726 (allout-inhibit-auto-save-info-for-decryption):
15727 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15728 if there are plain-text topics pending encryption.
15730 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15731 buffer-saved-size and some allout state to not inhibit auto-saves
15732 if there are no longer any plain-text topics pending encryption.
15734 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15735 No longer provide for exemption of the current topic.
15737 2011-07-04 Juri Linkov <juri@jurta.org>
15739 Add 7z operations to delete and save changed members (bug#8968).
15740 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15742 (archive-7z-write-file-member): New function.
15743 (archive-7z-summarize): Fix the number of dashes in the
15746 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15748 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15751 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
15753 * bindings.el: Ignore next-buffer and previous-buffer in
15754 minibuffer-local-map.
15756 * font-lock.el (font-lock-builtin-face): Change light background
15757 color to dark slate blue (Bug#6693).
15759 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15761 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15763 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15765 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15766 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15767 Add switch-to-buffer.
15769 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15771 * isearch.el (isearch-search-fun-function): Clarify further the
15772 meaning of the function returned.
15774 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
15776 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15778 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15779 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15781 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15782 `tramp-default-remote-path' does not exist.
15783 (tramp-send-command-and-read): New optional argument NOERROR.
15784 (tramp-open-connection-setup-interactive-shell)
15785 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15786 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15787 (tramp-process-sentinel): Flush also process' connection property.
15788 (tramp-sh-handle-start-file-process): Do not set process
15789 sentinel. It is done now ...
15790 (tramp-maybe-open-connection): ... here. (Bug#8929)
15792 2011-07-04 MON KEY <monkey@sandpframing.com>
15794 * play/animate.el (animate-string): Doc fixes and allow changing
15795 the buffer name (bug#5417).
15797 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15799 * play/animate.el (animation-buffer-name): Rename from *animate*.
15801 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15803 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15804 This is simpler and helps future-proof the code.
15805 (timer-until): Use time-subtract and float-time.
15806 (timer--time-less-p): Use time-less-p.
15808 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
15810 * type-break.el (timep): Use the value of `float-time' to avoid a
15811 byte-compiler warning.
15813 * server.el (server-eval-and-print): Return any result, even nil.
15815 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15817 * type-break.el: Accept time formats that the builtins accept.
15818 (timep, type-break-time-difference): Accept any format that
15819 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15820 This is simpler and helps future-proof the code.
15821 (type-break-time-difference): Round rather than ignoring
15822 subseconds components.
15824 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15826 * info.el (Info-apropos-matches): Make non-interactive, since it
15827 doesn't seem to do anything useful as a command (bug#8829).
15829 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
15831 * frame.el (frame-background-mode, frame-set-background-mode):
15832 Move from faces.el.
15833 (frame-default-terminal-background): New function.
15835 * custom.el (custom-push-theme): Don't record faces in `changed'
15836 theme; this doesn't work correctly for per-frame face settings.
15837 (disable-theme): Use face-set-after-frame-default to reset faces.
15838 (custom--frame-color-default): New function.
15840 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15842 * dired.el (dired-flagging-regexp): Remove unused variable
15845 2011-03-29 Kevin Ryde <user42@zip.com.au>
15847 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15848 `perl-Test2' extend to match possible "fail #N" rep count
15851 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15853 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15854 `smtpmail-via-smtp' now returns the error instead of nil.
15856 * isearch.el (isearch-search-fun-function): Clarify the doc string
15859 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
15861 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15862 unnecessary spaces (bug#8987).
15864 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15866 * net/network-stream.el (open-network-stream): Use the
15867 :end-of-capability command thoughout.
15869 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15871 * net/network-stream.el (open-network-stream): Add the
15872 :end-of-capability command parameter, used by pop3.el.
15874 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15876 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15878 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15879 for list)" (bug#6475).
15881 * files.el (file-expand-wildcards): Ignore non-readable
15882 sub-directories while trying to find matches instead of signaling
15883 an error (bug#6297).
15885 * man.el (Man-reference-regexp): Allow matching possible
15886 word-wrapped references (bug#6289).
15888 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15889 for consistency with the other vc buffers (bug#6197).
15890 (vc-checkin): Ditto.
15892 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15894 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15896 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15898 * custom.el (defcustom): Clarify that :set is only used in the
15899 Customize user interface (bug#6089).
15901 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15902 associated with a file, refuse to run instead of erroring out
15905 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15906 the doc string, since it appears that using `fill-column' always
15907 controls the width (bug#7845).
15909 * simple.el (shell-command-on-region): Say where the error output
15910 went if `shell-command-default-error-buffer' is set (bug#6857).
15912 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15914 * allout.el (allout-yank-processing): Adjust cursor position for
15915 backwards-deleted space.
15917 (allout-rebullet-heading): Register changes with
15918 allout-exposure-changed-hook, so the modified topic is properly
15921 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15923 * minibuffer.el (completion-in-region): Document PREDICATE
15926 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15927 of keyword/argument pairs (bug#6904).
15929 * replace.el (multi-occur):
15930 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
15932 2011-07-02 Drew Adams <drew.adams@oracle.com>
15934 * dired.el (dired-mark-if): Make the message about whether it's
15935 marking or unmarking clearer (bug#8523).
15937 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15939 * disp-table.el (display-table-print-array): New function.
15940 (describe-display-table): Use it to print the vectors more pretty
15943 2011-07-02 Martin Rudalics <rudalics@gmx.at>
15945 * window.el (window-state-get-1): Don't assign clone numbers.
15946 Add clone-of item to list of window parameters.
15947 (window-state-put-2): Don't process clone numbers.
15948 (display-buffer-alist): Fix doc-string.
15950 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15952 * subr.el (remq): Don't allocate if it's not needed.
15953 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15954 (keymap--merge-bindings): New functions.
15955 (keymap-canonicalize): Use them to refine the canonicalization.
15956 * minibuffer.el (minibuffer-local-completion-map)
15957 (minibuffer-local-must-match-map): Move initialization from C.
15958 (minibuffer-local-filename-completion-map): Move initialization from C;
15959 don't inherit from anything here.
15960 (minibuffer-local-filename-must-match-map): Make obsolete.
15961 (completing-read-default): Use make-composed-keymap to combine
15962 minibuffer-local-filename-completion-map with either
15963 minibuffer-local-must-match-map or
15964 minibuffer-local-filename-completion-map.
15966 2011-07-01 Glenn Morris <rgm@gnu.org>
15968 * type-break.el (type-break-time-sum): Use dolist.
15970 * textmodes/flyspell.el (flyspell-word-search-backward):
15971 Replace CL function.
15973 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15975 * mouse.el (mouse--strip-first-event): New function.
15976 (function-key-map): Use it to map fringe clicks to normal clicks
15979 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15980 (vc-bzr-revision-completion-table): Add support for annotate and date.
15982 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15983 inherit from parent.
15985 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15987 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
15988 (dired-show-file-type): Doc fixup (bug#8818).
15990 * dired.el (dired-mode): Fix up the doc string as suggested by
15991 Drew Adams (bug#8817).
15993 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15994 cookie, since the manual says that it should be possible to add
15995 this function to `find-file-hook' (bug#8709).
15997 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15999 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16000 here. Noted Ted Zlatanov as the maintainer.
16001 (cfengine-common-settings, cfengine-common-syntax): New functions
16002 to set up common things between `cfengine-mode' and
16004 (cfengine3-mode): New mode.
16005 (cfengine3-defuns cfengine3-defuns-regex
16006 (cfengine3-class-selector-regex cfengine3-category-regex)
16007 (cfengine3-vartypes cfengine3-font-lock-keywords)
16008 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
16009 (cfengine3-indent-line): Add from cfengine3.el.
16011 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
16013 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16015 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16017 2011-07-01 Martin Rudalics <rudalics@gmx.at>
16019 * window.el (same-window-buffer-names, same-window-regexps)
16020 (same-window-p, special-display-frame-alist)
16021 (special-display-popup-frame, special-display-function)
16022 (special-display-buffer-names, special-display-regexps)
16023 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16024 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16025 (split-window-preferred-function, split-height-threshold)
16026 (split-width-threshold, even-window-heights)
16027 (display-buffer-mark-dedicated, window-splittable-p)
16028 (split-window-sensibly, window-safely-shrinkable-p):
16030 (display-buffer): Don't spread args with function specifier
16031 because special-display-popup-frame won't like it.
16033 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16035 Time-stamp simplifications and fixes.
16036 These improve accuracy slightly, and future-proof the code
16037 against some potential changes to current-time format.
16039 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16040 by using time-since and float-time.
16042 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16043 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16044 + NNN microseconds".
16046 * type-break.el (type-break-time-sum): Rewrite using time-add.
16048 * play/hanoi.el (hanoi-current-time-float): Remove.
16049 All uses replaced by float-time.
16051 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16052 This yields a more-accurate answer.
16053 (rng-time-to-float): Remove; no longer needed.
16055 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16057 * calendar/timeclock.el (timeclock-seconds-to-time):
16058 Defalias to seconds-to-time, since they're the same thing.
16060 * emacs-lisp/elp.el (elp-elapsed-time):
16061 * emacs-lisp/benchmark.el (benchmark-elapse):
16062 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16064 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16066 * window.el (bury-buffer): Don't iconify the only frame.
16067 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16068 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16070 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
16072 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16073 Add mouse-yank-primary.
16075 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16077 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16079 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16081 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16082 (find-library-name): Use it to find relative load names when provided
16083 absolute file name (bug#8803).
16085 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16087 * textmodes/flyspell.el (flyspell-word): Consider words that
16088 differ only in case as potential doublons (bug#5687).
16090 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16091 Remove two rather uninteresting debugging-like messages to make
16092 debbugs.el more silent.
16094 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16095 a password-like phrase.
16097 2011-06-30 Masatake YAMATO <yamato@redhat.com>
16099 * progmodes/cc-guess.el: New file.
16101 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
16103 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16104 derived from `c-basic-common-init'.
16106 * progmodes/cc-mode.el (top-level): Require cc-guess.
16107 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16109 2011-06-30 Lawrence Mitchell <wence@gmx.li>
16111 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16113 2011-06-30 Alan Mackenzie <acm@muc.de>
16115 * progmodes/cc-engine.el (c-guess-continued-construct):
16116 Correct the handling of template-args-cont, particularly for when font
16117 lock is disabled. Name this case as "CASE G".
16119 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16121 * allout.el (allout-yank-processing): Fix injection of extra space
16122 between bullet and non-whitespace character in first topic when
16123 pasting, ensuring that the actual spacing in the pasted topic
16124 following the bullet char is preserved. This extra space was
16125 causing pasted encrypted topics to get a decrypted status even
16126 when the content was actually still encrypted. Now the decryption
16127 status from before the paste is preserved.
16129 (allout-flag-region): Set all allout overlays so they evaporate
16130 when reduced to zero length (evanescent), to prevent overlay
16133 2011-06-30 Glenn Morris <rgm@gnu.org>
16135 * w32-fns.el (w32-charset-info-alist): Declare.
16137 * find-dired.el (find-grep-options): Simplify.
16139 * term/ns-win.el (ns-set-resource): Declare.
16141 * ses.el (row, col): Declare dynamic variables honestly.
16143 * textmodes/reftex-parse.el (index-tags): Declare.
16145 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
16147 * cus-edit.el (customize-push-and-save): New function.
16149 * files.el (hack-local-variables-confirm): Use it.
16151 * custom.el (load-theme): New arg NO-CONFIRM.
16152 Use customize-push-and-save (Bug#8720).
16153 (custom-enabled-themes): Doc fix.
16155 * cus-theme.el (customize-create-theme)
16156 (custom-theme-merge-theme): Callers to load-theme changed.
16158 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16160 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16161 short URLs have at least one dot in them (bug #7614).
16163 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16164 nil, because using a pty is apparently too slow (bug #895).
16166 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16168 * mail/sendmail.el (sendmail-query-once): New function.
16169 (sendmail-query-once-function): New variable.
16171 2011-06-29 Glenn Morris <rgm@gnu.org>
16173 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16175 * ses.el (top-level): Require cl when compiling.
16176 (ses-set-localvars): Fix error statement.
16177 Call it at compile time to silence a storm of warnings.
16179 2011-06-29 Martin Rudalics <rudalics@gmx.at>
16181 * window.el (normalize-live-buffer): Rename to
16182 window-normalize-buffer.
16183 (normalize-live-frame): Rename to window-normalize-frame.
16184 (normalize-any-window): Rename to window-normalize-any-window.
16185 (normalize-live-window): Rename to window-normalize-live-window.
16186 (make-window-atom): Rename to window-make-atom.
16187 (window-resize-reset): Rename to window--resize-reset.
16188 (window-resize-reset-1): Rename to window--resize-reset-1.
16189 (resize-mini-window): Rename to window--resize-mini-window.
16190 (resize-subwindows-skip-p): Rename to
16191 window--resize-subwindows-skip-p.
16192 (resize-subwindows-normal): Rename to
16193 window--resize-subwindows-normal.
16194 (resize-subwindows): Rename to window--resize-subwindows.
16195 (resize-other-windows): Rename to window--resize-siblings.
16196 (resize-this-window): Rename to window--resize-this-window.
16197 (resize-root-window): Rename to window--resize-root-window.
16198 (resize-root-window-vertically): Rename to
16199 window--resize-root-window-vertically.
16200 (normalize-buffer-to-display): Rename to
16201 window-normalize-buffer-to-display.
16202 (normalize-buffer-to-switch-to): Rename to
16203 window-normalize-buffer-to-switch-to.
16204 Correspondingly update all callers of the functions listed
16206 (display-buffer-alist, display-buffer-normalize-arguments)
16207 (display-buffer-normalize-options, display-buffer)
16208 (display-buffer-alist-set): Use "function" instead of
16211 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
16213 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16214 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16215 debbugs.gnu.org. Mention acknowledgment email.
16217 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16219 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16220 buffer multibyteness, since it shouldn't matter.
16222 2011-06-28 Martin Rudalics <rudalics@gmx.at>
16224 * window.el (display-buffer-in-side-window): Handle dedicated
16225 windows as in display-buffer-reuse-window.
16226 (display-buffer-normalize-alist): Use value of override
16228 (display-buffer-normalize-specifiers): Use value of
16229 other-window-means-other-frame specifier.
16230 (display-buffer-alist): Rewrite some texts in widgets.
16231 (display-buffer): Spread arguments when calling function
16232 specified by fun-with-args.
16234 2011-06-28 Deniz Dogan <deniz@dogan.se>
16236 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16239 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16240 selectors (Bug#5732).
16241 (css-proprietary-nmstart-re): Use `regexp-opt'.
16243 2011-06-27 Jari Aalto <jari.aalto@cante.net>
16245 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16246 (eshell-ls-date-format): New defcustom.
16247 (eshell-ls-file): Use it.
16249 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16251 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16253 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16255 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16256 (ange-ftp-make-tmp-name): New arg.
16257 (ange-ftp-file-local-copy): Use it.
16259 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
16261 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16262 no-conversion (Bug#8870).
16264 2011-06-27 Martin Rudalics <rudalics@gmx.at>
16266 * window.el (window-right, window-left, window-child)
16267 (window-child-count, window-last-child)
16268 (window-iso-combination-p, walk-window-tree-1)
16269 (window-atom-check-1, window-tree-1, delete-window)
16270 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16271 new naming conventions - window-vchild, window-hchild,
16272 window-next and window-prev are now called window-top-child,
16273 window-left-child, window-next-sibling and window-prev-sibling
16275 (resize-window-reset): Rename to window-resize-reset.
16276 (resize-window-reset-1): Rename to window-resize-reset-1.
16277 (resize-window): Rename to window-resize.
16278 (window-min-height, window-min-width)
16279 (resize-mini-window, resize-this-window, resize-root-window)
16280 (resize-root-window-vertically, adjust-window-trailing-edge)
16281 (enlarge-window, shrink-window, maximize-window)
16282 (minimize-window, delete-window, quit-restore-window)
16283 (split-window, balance-windows, balance-windows-area-adjust)
16284 (balance-windows-area, window-state-put-2)
16285 (display-buffer-even-window-sizes, display-buffer-set-height)
16286 (display-buffer-set-width, set-window-text-height)
16287 (fit-window-to-buffer): Rename all "resize-window" prefixed
16288 calls to use the "window-resize" prefix convention.
16289 (display-buffer-alist): Fix symbol for label specifier.
16290 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16291 corresponding specifier.
16292 Reported by Juanma Barranquero <lekktu@gmail.com>.
16294 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16296 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16298 (ses-call-printer): Does not pass an empty string to formatter when the
16299 cell is empty to keep from barking printer Calc math-format-value.
16301 2011-06-27 Richard Stallman <rms@gnu.org>
16303 * battery.el (battery-mode-line-limit): New variable.
16304 (battery-update): Handle it.
16306 * mail/rmailmm.el (rmail-mime-process-multipart):
16307 Handle truncated messages.
16309 2011-06-27 Glenn Morris <rgm@gnu.org>
16311 * progmodes/flymake.el (flymake-err-line-patterns):
16312 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16314 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16316 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
16317 (ses--clean-!, ses--clean-_): New functions.
16318 (ses-range): Add configurability of readout order, and conversion
16321 * ses.el (ses-repair-cell-reference-all): New function.
16322 (ses-cell-symbol): Set macro as safe, so that it can be used in
16325 * ses.el: Update cycle detection algorithm.
16326 (ses-localvars): Add ses--Dijkstra-attempt-nb and
16327 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
16328 (ses-set-localvars): New function.
16329 (ses-make-cell): Add property-list as a cell element.
16330 (ses-cell-property-get-fun, ses-cell-property-get)
16331 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
16332 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16334 (ses-cell-property-set, ses-cell-property-pop)
16335 (ses-cell-property-get-handle): New macro.
16336 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16337 New aliases, used for code readability.
16338 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16340 (ses-self-reference-early-detection): New defcustom.
16341 (ses-formula-references): Robustify against self-referring cells.
16342 (ses-mode): Use ses-set-localvars.
16343 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16344 before lauching the update processing.
16345 (ses-initialize-Dijkstra-attempt): New function.
16346 (ses-recalculate-cell): Update for cycle detection based on
16347 Dijkstra algorithm.
16349 * ses.el: Fix commenting and indenting convention.
16351 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16353 * bs.el (bs-cycle-next): Complete last change.
16355 2011-06-27 Drew Adams <drew.adams@oracle.com>
16357 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16359 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16361 * net/network-stream.el (network-stream-open-starttls):
16362 Don't re-get capabilities unless we've reestablished connection.
16363 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16365 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16366 to binary to possibly avoid line encoding issues on Windows (among
16369 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16371 * net/network-stream.el (open-network-stream): Return an :error
16372 saying what the problem was, if possible.
16374 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16377 * net/network-stream.el (network-stream-open-starttls): If we
16378 wanted to use STARTTLS, and the server offered it, but we weren't
16379 able to because we had no STARTTLS support, then close the connection.
16380 (open-network-stream): Return an :error element, if present.
16382 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16384 * hl-line.el (hl-line-sticky-flag): Doc fix.
16385 (global-hl-line-sticky-flag): New option (Bug#8323).
16386 (global-hl-line-highlight): Obey it.
16388 * vc/vc.el (vc-revert-show-diff): Default to t.
16390 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16392 * allout-widgets.el (allout-widgets-post-command-business):
16393 Stop decorating intermediate isearch matches. They're not being
16394 undecorated when an isearch is continued past, and isearch
16395 automatically collapses them. This leads to "widget leaks", where
16396 decorated items accumulate in collapsed areas. Lines with lots of
16397 hidden widgets can slow down cursor travel, substantially.
16398 Too much complicated machinery would be needed to ensure undecoration,
16399 so we're doing without this nicety.
16401 (allout-widgets-tally-string): Don't try to do a hash-table-count
16402 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16403 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16404 *Messages* when allout-widgets-maintain-tally is t.
16406 2011-06-26 Martin Rudalics <rudalics@gmx.at>
16408 * window.el (display-buffer-normalize-argument): Rename to
16409 display-buffer-normalize-arguments. Handle special meaning of
16410 LABEL argument. Respect special-display-function when popping up
16411 a new frame. Fix code searching for a window showing the buffer
16413 (display-buffer-normalize-specifiers):
16414 Call display-buffer-normalize-arguments.
16415 (display-buffer-in-window): Don't undedicate the window if its
16416 buffer remains the same.
16417 Reported by Drew Adams <drew.adams@oracle.com>.
16418 (display-buffer-alist): Add choice for same-window macro
16420 (display-buffer): Mention special meaning of LABEL argument in
16421 doc-string. Fix quoting. Don't pop up a new frame even as
16424 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
16426 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16427 avoid deleting the current window in some cases (bug#8911).
16429 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16431 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16434 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16436 * net/network-stream.el (network-stream-open-starttls):
16437 Use built-in TLS support if `gnutls-available-p' is true.
16438 (network-stream-open-tls): Ditto.
16440 2011-06-26 Leo Liu <sdl.web@gmail.com>
16442 * register.el (registerv): New struct.
16443 (registerv-make): New function.
16444 (jump-to-register, describe-register-1, insert-register):
16445 Support the jump-func, print-func and insert-func slot of a registerv
16448 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16450 * vc/vc.el (vc-revert-show-diff): New defcustom.
16451 (vc-diff-internal): New arg specifying diff buffer.
16452 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16453 reuse an existing *vc-diff* buffer (Bug#8927).
16455 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16457 2011-06-26 Glenn Morris <rgm@gnu.org>
16459 * progmodes/f90.el (f90-critical-indent): New option.
16460 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16461 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16462 (f90-mode): Doc fix.
16463 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16464 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16465 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16466 (f90-match-end): Handle block, critical.
16468 2011-06-25 Glenn Morris <rgm@gnu.org>
16470 * calendar/diary-lib.el (diary-included-files): Doc fix.
16471 (diary-include-files): New function, extracted from
16472 diary-include-other-diary-files and diary-mark-included-diary-files.
16473 (diary-include-other-diary-files, diary-mark-included-diary-files):
16474 Just call diary-include-files.
16475 (diary-mark-entries): Reset diary-included-files on first call.
16477 * calendar/diary-lib.el (diary-mark-entries)
16478 (diary-mark-included-diary-files):
16479 Visit included diary-files in temp buffers.
16481 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16482 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16483 (f90-start-block-re, f90-imenu-generic-expression)
16484 (f90-looking-at-program-block-start, f90-no-block-limit):
16485 Add support for submodules.
16487 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16488 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
16490 2011-06-25 Eli Zaretskii <eliz@gnu.org>
16492 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16493 buffer-file-type before setting its value, to avoid disastrous
16494 global effects on decoding files for DOS/Windows systems. (Bug#8780)
16496 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
16498 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16500 * ses.el (ses-unload-function):
16501 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16503 * proced.el (proced-unload-function):
16504 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16506 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16508 * server.el (server-create-window-system-frame): Add parameters arg.
16509 (server-process-filter): Doc fix. Handle frame-parameters.
16511 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
16513 Fix bug#8730, bug#8781.
16515 * loadhist.el (unload--set-major-mode): New function.
16516 (unload-feature): Use it.
16518 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16519 (python-unload-function): New function.
16521 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16523 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16525 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16527 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16528 the candidates list.
16530 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
16532 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16534 2011-06-23 Richard Stallman <rms@gnu.org>
16536 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16537 (rmail-variables): Set next-error-move-function.
16538 (rmail-what-message): Take argument POS.
16539 (rmail-next-error-move): New function.
16541 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16543 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16544 messages for adjacent non-terminals.
16546 2011-06-23 Richard Stallman <rms@gnu.org>
16548 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
16549 (rmail-show-message-1): Preserve buffer modified flag.
16550 (rmail-start-mail): Don't specify use of rmail-mail-return;
16551 that's done by mail-bury now.
16552 (rmail-mail-return): Handle arg NEWBUF.
16554 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
16556 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16559 2011-06-23 Martin Rudalics <rudalics@gmx.at>
16561 * window.el (get-lru-window, get-mru-window)
16562 (get-largest-window): Never return a minibuffer window.
16563 (display-buffer-pop-up-window): Fix a bug that could lead to
16564 reusing the minibuffer window.
16565 (display-buffer): Pass original specifier argument to
16566 display-buffer-function instead of the normalized one.
16567 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16569 2011-06-22 Leo Liu <sdl.web@gmail.com>
16571 * minibuffer.el (completing-read-function)
16572 (completing-read-default): Move from minibuf.c.
16574 2011-06-22 Richard Stallman <rms@gnu.org>
16576 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16577 to Rmail even if not started by a special Rmail command.
16579 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16580 Copy the buffer currently showing just one message.
16582 2011-06-22 Roland Winkler <winkler@gnu.org>
16584 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16585 (bibtex-clean-entry): First delete the old key so that a
16586 customized algorithm for generating the new key does not get
16587 confused by the old key.
16588 (bibtex-url): Obey regexp of first step.
16589 (bibtex-search-entries): Do not use add-to-list with local
16592 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16594 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16595 stored a user name, then query for the password first, instead of
16596 waiting for SMTP to give an error message and the trying again.
16598 2011-06-22 Lawrence Mitchell <wence@gmx.li>
16600 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16601 BUFFER in call-process.
16603 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16605 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16607 (smtpmail-try-auth-methods): Require user name and password from
16610 2011-06-22 Martin Rudalics <rudalics@gmx.at>
16612 * window.el (display-buffer-default-specifiers)
16613 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16614 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
16615 (split-window): Normalize SIDE argument (Bug#8916).
16617 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16618 (special-display-frame-alist, special-display-popup-frame):
16619 Remove duplicate declarations. These are now in window.el.
16621 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16623 * mail/smtpmail.el (smtpmail-via-smtp):
16624 Set :use-starttls-if-possible so that we always use STARTTLS if the
16625 server supports it. SMTP servers that support STARTTLS commonly
16628 * net/network-stream.el (network-stream-open-starttls): Support
16629 upgrading to STARTTLS always, even if we don't have built-in support.
16630 (open-network-stream): Add the :always-query-capabilities keyword.
16632 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16633 upgrades with `open-network-stream', and rely solely on
16634 auth-source for all credentials. Big changes throughout the file,
16636 (smtpmail-auth-credentials): Remove.
16637 (smtpmail-starttls-credentials): Remove.
16638 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16641 * net/network-stream.el (network-stream-open-starttls):
16642 Provide support for client certificates both for external and built-in
16644 (auth-source): Require.
16645 (open-network-stream): Document the :client-certificate keyword.
16646 (network-stream-certificate): Change cert-cert to cert and
16649 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
16651 * net/tramp-cache.el (top): Don't load the persistency file when
16652 "emacs -Q" has been called.
16654 2011-06-21 Tim Harper <timcharper@gmail.com>
16656 * term/ns-win.el (ns-initialize-window-system):
16657 Set application-specific `ApplePressAndHoldEnabled' system
16658 resource to NO as it is not yet supported by the NS port.
16660 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
16662 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16663 (list-dynamic-libraries): ...not here.
16665 2011-06-21 Leo Liu <sdl.web@gmail.com>
16667 * subr.el (sha1): Implement sha1 using secure-hash.
16669 2011-06-21 Martin Rudalics <rudalics@gmx.at>
16671 * window.el (display-buffer-alist): In default value do not
16672 enforce searching a window on any but the selected frame.
16673 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16674 (display-buffer-select-window): Remove function.
16675 (display-buffer-in-window): When a window on another frame gets
16676 reused, do not select it any more but just raise its frame if
16677 necessary (Bug#8851) and (Bug#8856).
16678 (display-buffer-normalize-options): Handle pop-up-frames related
16679 options more faithfully.
16680 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16681 window if it is on another frame.
16682 (display-buffer-alist, display-buffer-default-specifiers):
16683 Don't make new frame unsplittable by default.
16684 (display-buffer-normalize-argument): Fix doc-string typo and use
16685 'same-frame-other-window instead of 'other-window when associating
16686 with display-buffer-macro-specifiers.
16688 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16690 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16692 (5x5-mode-map, 5x5-mode-menu): Bind them.
16693 (5x5-draw-grid): Tweak the solver's rendering.
16695 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16697 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16698 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16700 2011-06-21 Drew Adams <drew.adams@oracle.com>
16702 * menu-bar.el: Use function variable instead of switch-to-buffer.
16703 (menu-bar-select-buffer-function): New variable.
16704 (menu-bar-update-buffers): Use it (bug#8876).
16706 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16708 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16711 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16713 * x-dnd.el (x-dnd-version-from-flags)
16714 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16715 and long as number (Bug#8899).
16716 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16718 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16720 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
16721 (completion-try-completion, completion-all-completions): Compute the
16722 metadata argument if it's missing; make it optional (bug#8795).
16724 * wid-edit.el: Use lex-bind and move towards completion-at-point.
16725 (widget-complete): Use new :completion-function property.
16726 (widget-completions-at-point): New function.
16727 (default): Use :completion-function instead of :complete.
16728 (widget-default-completions): Rename from widget-default-complete;
16730 (widget-string-complete, widget-file-complete, widget-color-complete):
16732 (file, symbol, function, variable, coding-system, color):
16733 * international/mule-cmds.el (default-input-method, charset)
16734 (language-info-custom-alist):
16735 * cus-edit.el (face): Use new property :completions.
16737 * progmodes/pascal.el (pascal-completions-at-point): New function.
16738 (pascal-mode): Use it.
16739 (pascal-mode-map): Use completion-at-point.
16740 (pascal-toggle-completions): Make obsolete.
16741 (pascal-complete-word, pascal-show-completions):
16742 * progmodes/octave-mod.el (octave-complete-symbol):
16743 Redefine as obsolete alias.
16744 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16745 Signal absence of completion info for old Octave,
16746 (inferior-octave-complete): Redefine as obsolete alias.
16747 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16748 (meta-completions-at-point): Rename from meta-complete-symbol and
16749 adapt it for use on completion-at-point-functions.
16750 (meta-common-mode): Use it.
16751 (meta-looking-at-backward, meta-match-buffer): Remove.
16752 (meta-complete-symbol): Redefine as obsolete alias.
16753 (meta-common-mode-map): Use completion-at-point.
16754 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16755 (makefile-mode-map): Use completion-at-point.
16756 (makefile-completions-at-point): Rename from makefile-complete and
16757 adapt it for use on completion-at-point-functions.
16758 (makefile-mode): Use it.
16759 (makefile-complete): Redefine as obsolete alias.
16761 2011-06-20 Deniz Dogan <deniz@dogan.se>
16763 * net/rcirc.el: Delete trailing whitespaces once and for all.
16765 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16767 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16769 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
16771 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16773 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16775 2011-06-19 Martin Rudalics <rudalics@gmx.at>
16777 * window.el (display-buffer-other-window-means-other-frame):
16778 Call display-buffer-normalize-alist.
16779 (display-buffer-normalize-specifiers-1): Rename to
16780 display-buffer-normalize-argument. New argument other-frame.
16782 (display-buffer-normalize-specifiers-2): Rename to
16783 display-buffer-normalize-options.
16784 (display-buffer-normalize-alist-1): New function.
16785 (display-buffer-normalize-specifiers-3): Rename to
16786 display-buffer-normalize-alist.
16787 Call display-buffer-normalize-alist-1.
16788 (display-buffer-normalize-options-inhibit): New variable.
16789 (display-buffer-normalize-specifiers): Rewrite calling
16790 display-buffer-normalize-alist,
16791 display-buffer-normalize-argument, and
16792 display-buffer-normalize-options. Don't call the latter if
16793 display-buffer-normalize-options-inhibit is non-nil.
16794 (frame-auto-delete): New option.
16795 (window-deletable-p): Use frame-auto-delete.
16796 (window-list-no-nils, window-state-ignored-parameters)
16797 (window-state-get-1, window-state-get, window-state-put-list)
16798 (window-state-put-1, window-state-put-2, window-state-put):
16800 (display-buffer-normalize-options): Move special-display-p group
16801 after pop-up-frame group (Bug#8851) and (Bug#8856).
16803 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
16805 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16807 (rx-submatch-n): New function.
16810 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16813 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16815 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16817 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16818 anytime existing face settings are present (Bug#8889).
16820 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16821 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16822 Remove unused argument.
16824 2011-06-18 Martin Rudalics <rudalics@gmx.at>
16826 * window.el (display-buffer-default-specifiers):
16827 Remove pop-up-frame. Add pop-up-window-min-height,
16828 pop-up-window-min-width, and another reuse-window specifier
16829 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
16830 (display-buffer-normalize-specifiers-2):
16831 Handle split-height-threshold and split-width-threshold also when
16832 pop-up-windows is unset. Add a reuse-window specifier for the
16833 case popping up a new window fails.
16834 (special-display-popup-frame): Remove double quoting.
16835 (display-buffer-normalize-specifiers-1): Fix thinko.
16837 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16839 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16840 according to comint-completion-addsuffix.
16842 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16843 (pcomplete-suffix-list): Mark as obsolete.
16844 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16845 pcomplete-seen in the closure.
16846 (pcomplete-comint-setup): Setup completion-at-point as well.
16847 (pcomplete--entries): New function.
16848 (pcomplete--env-regexp): New var.
16849 (pcomplete-entries): Rewrite to work with partial-completion and
16850 without relying on pcomplete-suffix-list.
16851 (pcomplete-pare-list): Remove, unused.
16853 2011-06-17 Martin Rudalics <rudalics@gmx.at>
16855 * window.el (display-buffer-alist): Set pop-up-window-min-height
16856 and pop-up-window-min-width in default value. Reported by
16857 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16858 other-window-means-other-frame.
16859 (display-buffer-macro-specifiers): Comment out entry for
16860 other-window specifier.
16861 (display-buffer-other-window-means-other-frame): New function.
16862 (display-buffer-normalize-specifiers-1): New arguments
16863 buffer-name and label. Treat other-window case specially.
16864 (display-buffer-normalize-specifiers-2): Treat other-window case
16866 (display-buffer-normalize-specifiers-3): New function.
16867 (display-buffer-normalize-specifiers):
16868 Call display-buffer-normalize-specifiers-3.
16870 2011-06-17 Martin Rudalics <rudalics@gmx.at>
16872 * window.el (same-window-p): Fix two typos introduced when
16873 adding with-no-warnings.
16874 (display-buffer-normalize-specifiers-1): Don't check
16875 pop-up-frames for 'unset initialization.
16876 (display-buffer-normalize-specifiers-2): Major rewrite using
16877 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16878 (pop-up-frames, display-buffer-reuse-frames)
16879 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16880 Suggested by David Engster <deng@randomsample.de>.
16881 (even-window-heights): Initialize to 'unset.
16882 (display-buffer-alist-set): Handle new 'unset initializations.
16883 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16886 2011-06-16 Martin Rudalics <rudalics@gmx.at>
16888 * window.el (display-buffer-normalize-specifiers-1):
16889 Respect current value of pop-up-frames for most reasonable values of
16890 second argument of display-buffer (Bug#8865).
16891 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16892 (switch-to-buffer-other-window-same-frame)
16893 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16895 (display-buffer): Don't check noninteractive when calling
16896 display-buffer-pop-up-frame.
16897 (display-buffer-pop-up-frame): Never pop up a frame in
16898 noninteractive mode (Bug#8857).
16899 (enlarge-window, shrink-window): Don't report an error when the
16900 window can't be resized as requested (Bug#8862).
16902 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16904 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16906 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16908 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16910 2011-06-15 Alan Mackenzie <acm@muc.de>
16912 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16913 for declarators, disable knr checking to speed up for normal files.
16914 2: Refactor, replacing a sequence of nested if forms by a cond form.
16916 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16918 * net/network-stream.el (open-network-stream): Add the keyword
16919 :always-query-capabilities for the case where you want to force a
16920 `plain' network connection, but the protocol still requires the
16921 capabilitiy command (i.e., SMTP and EHLO).
16923 * subr.el (process-live-p): Rename from `process-alive-p' for
16924 consistency with other `-live-p' functions.
16926 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16928 * window.el (same-window-buffer-names, same-window-regexps)
16929 (special-display-frame-alist, special-display-popup-frame)
16930 (special-display-function, special-display-buffer-names)
16931 (special-display-regexps, pop-up-frame-alist)
16932 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16933 (pop-up-windows, split-window-preferred-function)
16934 (split-height-threshold, split-width-threshold, even-window-heights)
16935 (display-buffer-mark-dedicated): Don't encourage the use of
16936 display-buffer-alist from Elisp code.
16938 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16940 * progmodes/python.el (python-mode): Derive from prog-mode.
16941 * progmodes/ps-mode.el (ps-mode):
16942 * progmodes/mixal-mode.el (mixal-mode):
16943 * progmodes/cfengine.el (cfengine-mode):
16944 * progmodes/ld-script.el (ld-script-mode): Likewise.
16946 2011-06-15 Martin Rudalics <rudalics@gmx.at>
16948 * window.el (display-buffer-alist): Trim default value to avoid
16949 popping up a new frame (Bug#8857) or reusing an arbitrary window
16951 (display-buffer): Do not fall back on popping up a new frame in
16952 batch mode (Bug#8857).
16954 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
16956 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16957 (custom-theme-summary): New function.
16958 (customize-themes): Use it.
16960 2011-06-13 Glenn Morris <rgm@gnu.org>
16962 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16964 2011-06-13 Martin Rudalics <rudalics@gmx.at>
16966 * help.el (help-window): Remove variable.
16967 (help-window-point-marker, temp-buffer-max-height)
16968 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16969 (help-print-return-message): Don't set help-window.
16970 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16971 (help-window-setup-finish): Remove.
16972 (help-window-display-message, help-window-setup)
16973 (with-help-window): Major rewrite based on new
16974 display-buffer-window variable.
16976 * help-mode.el (help-mode-finish): Remove help-window related
16979 * view.el (view-exits-all-viewing-windows): Remove reference to
16980 view-return-to-alist in doc-string.
16981 (view-return-to-alist): Make obsolete.
16982 (view-buffer): Call pop-to-buffer-same-window and remove
16984 (view-buffer-other-window): Call pop-to-buffer-other-window and
16985 simplify code. Ignore second argument.
16986 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16987 simplify code. Ignore second argument.
16988 (view-return-to-alist-update): Make obsolete.
16989 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16990 Rewrite using quit-restore window parameters.
16991 (view-mode-exit): Rename second argument to EXIT-ONLY.
16992 Rewrite using quit-restore-window.
16993 (View-exit, View-exit-and-edit, View-leave, View-quit)
16994 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16995 appropriate arguments.
16996 (view-end-message): Use quit-restore window parameter.
16998 * window.el (display-buffer-function): Rewrite doc-string.
16999 (display-buffer-window, display-buffer-alist): New variables.
17000 (display-buffer-split-specifiers)
17001 (display-buffer-side-specifiers)
17002 (display-buffer-macro-specifiers): New constants.
17003 (display-buffer-even-window-sizes, display-buffer-set-height)
17004 (display-buffer-set-width, display-buffer-select-window)
17005 (display-buffer-in-window, display-buffer-reuse-window)
17006 (display-buffer-split-window-1, display-buffer-split-window)
17007 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17008 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17009 (display-buffer-in-side-window, normalize-buffer-to-display)
17010 (display-buffer-normalize-specifiers-1)
17011 (display-buffer-normalize-specifiers-2)
17012 (display-buffer-normalize-specifiers, display-buffer-frame):
17014 (display-buffer): Major rewrite.
17015 (display-buffer-other-window, display-buffer-other-frame)
17016 (pop-to-buffer, switch-to-buffer-other-window)
17017 (switch-to-buffer-other-frame): Rewrite.
17018 (display-buffer-same-window, display-buffer-same-frame)
17019 (display-buffer-same-frame-other-window)
17020 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17021 (pop-to-buffer-other-window)
17022 (pop-to-buffer-same-frame-other-window)
17023 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17024 (switch-to-buffer-other-window-same-frame): New functions.
17025 (same-window-p, special-display-p): Rewrite disabling warnings.
17027 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17028 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17030 (same-window-buffer-names, same-window-regexps)
17031 (special-display-frame-alist, special-display-popup-frame)
17032 (special-display-function, special-display-buffer-names)
17033 (special-display-regexps, pop-up-frame-alist)
17034 (pop-up-frame-function, split-window-preferred-function)
17035 (split-height-threshold, split-width-threshold)
17036 (even-window-heights): Make obsolete.
17038 2011-06-12 Glenn Morris <rgm@gnu.org>
17040 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
17041 Misc simplifications.
17043 2011-06-12 Martin Rudalics <rudalics@gmx.at>
17045 * window.el (window-safely-shrinkable-p): Restore function which
17046 was inadvertently removed in change from 2011-06-11. Declare as
17049 * calendar/calendar.el (calendar-generate-window):
17050 Use window-iso-combined-p instead of combination of one-window-p and
17051 window-safely-shrinkable-p.
17053 2011-06-12 Glenn Morris <rgm@gnu.org>
17055 * progmodes/fortran.el (fortran-mode-syntax-table):
17056 * progmodes/f90.el (f90-mode-syntax-table):
17057 Set % to punctuation. (Bug#8820)
17058 (f90-find-tag-default): Remove, no longer needed.
17060 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17062 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17064 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
17066 * image.el (image-animated-p): Return animation delay in seconds.
17067 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17068 (image-animate-timeout): Remove DELAY argument. Don't assume
17069 every subimage has the same delay; get it from image-animated-p.
17070 (image-animate): Caller changed.
17072 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
17074 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17075 to ignored backtrace functions.
17077 2011-06-11 Glenn Morris <rgm@gnu.org>
17079 * calendar/appt.el (appt-disp-window-function): Doc fix.
17080 (appt-check): Handle overlapping appointments. (Bug#8337)
17082 2011-06-11 Martin Rudalics <rudalics@gmx.at>
17084 * window.el (window-tree-1, window-tree): New functions, moving
17085 the latter to window.el.
17086 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17087 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17088 (bw-refresh-edges): Remove.
17089 (balance-windows-1, balance-windows-2): New functions.
17090 (balance-windows): Rewrite in terms of window tree functions,
17091 balance-windows-1 and balance-windows-2.
17092 (bw-adjust-window): Remove.
17093 (balance-windows-area-adjust): New function with functionality of
17094 bw-adjust-window but using resize-window.
17095 (set-window-text-height): Rewrite doc-string.
17096 Use normalize-live-window and resize-window.
17097 (enlarge-window-horizontally, shrink-window-horizontally):
17098 Rename argument to DELTA.
17099 (window-buffer-height): New function.
17100 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17101 Rewrite using new window resize routines.
17102 (kill-buffer-and-window, mouse-autoselect-window-select):
17103 Use ignore-errors instead of condition-case.
17104 (quit-window): Call delete-frame instead of delete-windows-on
17105 for the only buffer on frame.
17107 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17109 * loadup.el (top-level): Load window before files for the sake
17110 of replace-buffer-in-windows.
17112 * files.el (read-buffer-to-switch)
17113 (switch-to-buffer-other-window)
17114 (switch-to-buffer-other-frame, display-buffer-other-frame):
17117 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17118 (previous-buffer): Move to window.el.
17120 * bindings.el (unbury-buffer): Move to window.el.
17122 * window.el (delete-other-windows-vertically): Move after
17123 definition of delete-other-windows.
17124 (other-window, delete-windows-on, replace-buffer-in-windows):
17125 Move here from window.c.
17126 (record-window-buffer, unrecord-window-buffer)
17127 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17128 (switch-to-next-buffer): New functions.
17129 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17130 from simple.el. Call switch-to-next-buffer.
17131 (previous-buffer): Move here from simple.el.
17132 Call switch-to-prev-buffer.
17133 (bury-buffer): Move here from buffer.c. Switch to previous
17134 buffer when window cannot be deleted.
17135 (unbury-buffer): Move here from bindings.el.
17136 (ctl-x-map): Move binding for other-window from window.c to
17138 (read-buffer-to-switch, switch-to-buffer-other-window)
17139 (switch-to-buffer-other-frame): Move here from files.el.
17140 (normalize-buffer-to-switch-to): New functions.
17141 (switch-to-buffer): Move here from buffer.c.
17142 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
17144 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17146 * window.el (window-min-height, window-min-width): Move here
17147 from window.c. Add defcustoms and rewrite doc-strings.
17148 (resize-mini-window, resize-window): New functions.
17149 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17150 Move here from window.c.
17151 (maximize-window, minimize-window): New functions.
17152 (delete-window, delete-other-windows, split-window): Move here
17154 (window-split-min-size): New function.
17155 (split-window-keep-point): Mention split-window-above-each-other
17156 instead of split-window-vertically.
17157 (split-window-above-each-other, split-window-vertically):
17158 Rename split-window-vertically to split-window-above-each-other
17159 and provide defalias for old definition.
17160 (split-window-side-by-side, split-window-horizontally):
17161 Rename split-window-horizontally to split-window-side-by-side
17162 and provide defalias for the old definition.
17163 (ctl-x-map): Move bindings for delete-window,
17164 delete-other-windows and enlarge-window here from window.c.
17165 Replace bindings for split-window-vertically and
17166 split-window-horizontally by bindings for
17167 split-window-above-each-other and split-window-side-by-side.
17169 * cus-start.el (all): Remove entries for window-min-height and
17170 window-min-width. Add entries for window-splits and
17173 2011-06-09 Glenn Morris <rgm@gnu.org>
17175 * calendar/appt.el (appt-mode-line): New function.
17176 (appt-check, appt-disp-window): Use it.
17178 * files.el (hack-one-local-variable-eval-safep):
17179 Allow minor-modes with explicit +/-1 arguments.
17181 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17183 * term/xterm.el (xterm): Add defgroup.
17184 (xterm-extra-capabilities): Add defcustom to supply known xterm
17185 capabilities, skip querying them, or query them (default).
17186 (terminal-init-xterm): Use it.
17187 (terminal-init-xterm-modify-other-keys): New function to set up
17188 modifyOtherKeys support to simplify `terminal-init-xterm'.
17190 2011-06-09 Martin Rudalics <rudalics@gmx.at>
17192 * window.el (resize-window-reset, resize-window-reset-1)
17193 (resize-subwindows-skip-p, resize-subwindows-normal)
17194 (resize-subwindows, resize-other-windows, resize-this-window)
17195 (resize-root-window, resize-root-window-vertically)
17196 (window-deletable-p, window-or-subwindow-p)
17197 (frame-root-window-p): New functions.
17199 2011-06-09 Glenn Morris <rgm@gnu.org>
17201 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17202 (ange-ftp-get-files): Use it.
17204 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17206 * mail/sendmail.el (mail-recover-1, mail-recover):
17207 * files.el (recover-file, recover-session):
17208 Handle dired-listing-switches not being just a single short option.
17210 2011-06-09 Glenn Morris <rgm@gnu.org>
17212 * calendar/appt.el (appt-display-message, appt-disp-window):
17213 Handle lists of appointments.
17215 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17217 * window.el (one-window-p): Move down in code.
17218 Rewrite doc-string.
17219 (window-current-scroll-bars): Rewrite doc-string.
17220 Normalize live window argument.
17221 (walk-windows, get-window-with-predicate, count-windows):
17222 Rewrite doc-string. Use window-list-1.
17223 (window-in-direction-2, window-in-direction, get-mru-window):
17226 2011-06-08 Reuben Thomas <rrt@sc3d.org>
17228 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17229 Doc fix (Bug#8713).
17231 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
17233 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17235 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
17237 * loadhist.el (unload-feature-special-hooks):
17238 Add `comint-output-filter-functions'.
17240 2011-06-08 Ivan Kanis <gnu@kanis.fr>
17242 * calendar/appt.el (appt-check): Move some initializations into the let.
17244 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17246 * window.el (window-height): Defalias to window-total-height.
17247 (window-width): Defalias to window-body-width.
17249 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
17251 * image-mode.el (image-toggle-animation): New command.
17252 (image-mode-map): Bind it to RET.
17253 (image-mode): Update message.
17254 (image-toggle-display-image): Avoid a spurious cache flush.
17255 (image-transform-rotation): Doc fix.
17256 (image-transform-properties): Return quickly in the normal case.
17257 (image-animate-loop): Rename from image-animate-max-time.
17259 * image.el (image-animate-max-time): Move to image-mode.el.
17260 (create-animated-image): Remove unnecessary function.
17261 (image-animate): Rename from image-animate-start. New arg.
17262 (image-animate-stop): Remove; just use image-animate-timer.
17263 (image-animate-timer): Use car-safe.
17264 (image-animate-timeout): Rename argument.
17266 2011-06-07 Martin Rudalics <rudalics@gmx.at>
17268 * window.el (get-lru-window, get-largest-window): Move here from
17269 window.c. Rename first argument to ALL-FRAMES.
17270 Rephrase doc-strings.
17271 (get-buffer-window-list): Rewrite using window-list-1.
17272 Rephrase doc-string.
17273 (window-safe-min-height, window-safe-min-width): New constants.
17274 (window-size-ignore, window-min-size, window-min-size-1)
17275 (window-sizable, window-sizable-p, window-size-fixed-1)
17276 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17277 (window-max-delta-1, window-max-delta, window-resizable)
17278 (window-resizable-p, window-total-height, window-total-width)
17279 (window-body-width): New functions.
17280 (window-full-height-p, window-full-width-p): Rewrite using
17282 (window-body-height): Rewrite using window-body-size.
17284 2011-06-06 Martin Rudalics <rudalics@gmx.at>
17286 * window.el (window-right, window-left, window-child)
17287 (window-child-count, window-last-child, window-any-p)
17288 (normalize-live-buffer, normalize-live-frame)
17289 (normalize-any-window, normalize-live-window)
17290 (window-iso-combination-p, window-iso-combined-p)
17291 (window-iso-combinations)
17292 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17293 (windows-with-parameter, window-with-parameter)
17294 (window-atom-root, make-window-atom, window-atom-check-1)
17295 (window-atom-check, window-side-check, window-check):
17297 (ignore-window-parameters, window-sides, window-sides-vertical)
17298 (window-sides-slots): New variables.
17299 (window-size-fixed): Move down in code. Minor doc-string fix.
17301 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17303 * comint.el (comint-dynamic-complete-as-filename)
17304 (comint-dynamic-complete-filename): Correctly call
17305 completion-in-region.
17307 2011-06-05 Deniz Dogan <deniz@dogan.se>
17309 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17312 2011-06-05 Deniz Dogan <deniz@dogan.se>
17314 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17315 (rcirc): Use it to prompt for encryption.
17317 2011-06-05 Roland Winkler <winkler@gnu.org>
17319 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17320 (bibtex-search-entries): New command bound to C-c C-a.
17321 (bibtex-display-entries): New function.
17323 2011-06-05 Roland Winkler <winkler@gnu.org>
17325 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17326 (bibtex-insert-kill): After yanking insert newline if necessary.
17327 (bibtex-initialize): Call bibtex-string-files-init only once.
17328 (bibtex-mode): Do not call easy-menu-add.
17329 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17330 (bibtex-yank): Set arg properly if nil.
17332 2011-06-05 Roland Winkler <winkler@gnu.org>
17334 * textmodes/bibtex.el (bibtex-search-entry-globally):
17336 (bibtex-search-entry): Use it.
17338 2011-06-05 Roland Winkler <winkler@gnu.org>
17340 * textmodes/bibtex.el (bibtex-entry-format): New option
17342 (bibtex-format-entry, bibtex-reformat): Honor this option.
17343 (bibtex-parse-entry): Return fields in proper order.
17345 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
17347 * doc-view.el (doc-view-remove-if): Move computation of result out
17348 of `dolist' to silence misleading lexical-binding warning.
17350 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
17352 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17353 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17355 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17357 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17360 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17362 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17363 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17364 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17365 (tramp-parse-putty):
17366 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17367 (tramp-completion-function-alist-ssh)
17368 (tramp-completion-function-alist-telnet)
17369 (tramp-completion-function-alist-su)
17370 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17373 * net/tramp-ftp.el:
17375 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17376 load "tramp.el" `tramp-set-completion-function'.
17378 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17380 * shell.el: Require and use pcomplete.
17381 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17382 (shell-completion-vars): Set pcomplete-default-completion-function.
17384 2011-06-04 Deniz Dogan <deniz@dogan.se>
17386 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17389 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17391 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17393 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
17395 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17396 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17397 * vc/log-view.el (log-view-beginning-of-defun):
17398 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17399 (smerge-refine-forward, smerge-refine-chopup-region):
17400 Silence warning for unused `dotimes' counter variables.
17402 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17404 * net/tramp.el (tramp-with-progress-reporter): Rename from
17405 with-progress-reporter. Use `declare'.
17406 * net/tramp-smb.el:
17408 * net/tramp-gvfs.el: Update all uses.
17410 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17412 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17413 buffer isn't killed before making it current.
17415 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17417 Silence various byte-compiler warnings.
17418 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17419 `access-type' and new obsolescence format.
17420 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17422 (byte-compile-check-variable): New `access-type' argument.
17423 Only warn if the access-type is obsolete.
17424 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17425 (byte-compile-variable-set): Adjust callers.
17426 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17427 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17428 setting it as obsolete.
17429 * simple.el (minibuffer-completing-symbol):
17430 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17431 access as obsolete.
17432 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17434 * international/quail.el (quail-mouse-choose-completion): Remove unused
17435 code referring to obsolete var.
17436 (quail-choose-completion-string): Remove.
17437 * server.el (server-clients-with, server-kill-buffer-query-function)
17438 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17439 * proced.el (proced-send-signal):
17440 * emacs-lisp/lisp.el (lisp-complete-symbol):
17441 Replace completion-annotate-function with completion-extra-properties.
17443 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17445 * simple.el (goto-line): Use read-number.
17446 (overriding-map-is-bound): Remove.
17447 (saved-overriding-map): Change default.
17448 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17449 Take the map as argument.
17450 (universal-argument, negative-argument, digit-argument): Use it.
17451 (restore-overriding-map): Adjust.
17452 (do-auto-fill): Use fill-forward-paragraph.
17453 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17455 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17456 (minibuffer-inactive-mode): New major mode.
17457 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17458 the *Messages* buffer" hack.
17459 (mouse-popup-menubar): Don't burp if the event is a normal key.
17461 Miscellaneous tweaks.
17462 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17463 lexical scoping as in subr.el's dolist and dotimes.
17464 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17465 Silence compiler warning.
17466 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17467 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17468 * international/ccl.el (ccl-compile): Trivial simplification.
17469 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17470 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17471 `printflag' argument.
17472 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17473 Purecopy the whole obsolescence data.
17475 2011-06-01 Leo Liu <sdl.web@gmail.com>
17477 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17478 improve doc-string as suggested by Marco Pessotto
17479 <melmothx@gmail.com>.
17480 (rcirc-print): Fix last change.
17482 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17484 * minibuffer.el (complete-with-action): Return nil for the metadata and
17485 boundaries of non-functional tables.
17486 (completion-table-dynamic): Return nil for the metadata.
17487 (completion-table-with-terminator): Add default case, using
17488 complete-with-action.
17489 (completion--metadata): New function.
17490 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17491 to try and avoid pathological performance problems.
17492 (completion--embedded-envvar-table): Return `category' metadata.
17494 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17496 * subr.el (process-alive-p): New tiny convenience function.
17498 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17500 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17501 content but also its previous major mode.
17503 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
17505 * emacs-lisp/debug.el (debug): Restore the previous content of the
17506 *Backtrace* buffer when we exit with C-M-c.
17508 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17510 * minibuffer.el: Add metadata method to completion tables.
17511 (completion-category-overrides): New defcustom.
17512 (completion-metadata, completion--field-metadata)
17513 (completion-metadata-get, completion--styles)
17514 (completion--cycle-threshold): New functions.
17515 (completion-try-completion, completion-all-completions):
17516 Add `metadata' argument to choose completion-styles.
17517 (completion--do-completion): Use metadata to choose cycling.
17518 (completion-all-sorted-completions): Use metadata for sorting.
17519 Remove :completion-cycle-penalty which is not needed any more.
17520 (completion--try-word-completion): Add `metadata' argument.
17521 (minibuffer-completion-help): Check metadata for annotation function
17523 (completion-file-name-table): Return `category' metadata.
17524 (minibuffer-completing-file-name): Make obsolete.
17525 * simple.el (minibuffer-completing-symbol): Make obsolete.
17526 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17527 completion-try-completion.
17529 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17531 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17533 2011-05-30 Leo Liu <sdl.web@gmail.com>
17535 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
17536 (rcirc-print): Decode all incoming messages (bug#8744).
17537 (rcirc-decode-coding-system): Allow value nil for automatic coding
17540 2011-06-01 Glenn Morris <rgm@gnu.org>
17542 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17544 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17546 * image.el (image-animate-max-time): Allow nil and t values.
17548 (create-animated-image): Doc fix.
17549 (image-animate-start): Remove second arg; just use
17550 image-animate-max-time.
17551 (image-animate-timeout): Doc fix. Args changed.
17553 * image-mode.el (image-toggle-display-image): Ensure that the
17554 image spec passed to the animate timer is the same object as in
17555 the buffer's display property (Bug#6981).
17556 (image-transform-properties): Doc fix.
17558 * image.el (image-animate-max-time): Default to nil.
17560 2011-05-29 Martin Rudalics <rudalics@gmx.at>
17562 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17563 entire buffer list (Bug#8184).
17565 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17567 * image.el (imagemagick-types-inhibit)
17568 (imagemagick-register-types): Doc fix.
17570 2011-05-29 Deniz Dogan <deniz@dogan.se>
17572 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17575 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17577 * select.el: Don't perform clipboard-manager saving in hooks;
17578 leave the hooks empty.
17580 2011-05-28 Leo Liu <sdl.web@gmail.com>
17582 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17583 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17584 (occur-edit-mode): New major mode (Bug#8463).
17585 (occur-after-change-function): New function.
17586 (occur-engine): Give Occur tags a read-only property.
17588 2011-05-28 Kevin Ryde <user42@zip.com.au>
17590 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17592 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17594 * bindings.el (help-echo): Make the initial non-indicator dash
17595 empty on graphical terminals (Bug#7295).
17597 * files.el (auto-mode-alist): Move config rule after the
17598 in-stripping one (Bug#8547).
17600 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17602 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17603 setting (Bug#8740).
17605 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17607 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17608 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17611 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17613 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17615 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17617 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17618 (hs-hide-block-at-point, hs-find-block-beginning)
17619 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17622 2011-05-28 Glenn Morris <rgm@gnu.org>
17624 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17626 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17628 * help-fns.el (describe-function-1): If the function is a derived
17629 major mode, print the parent mode.
17631 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17632 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17634 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17636 * minibuffer.el (completion--capf-wrapper): Check applicability before
17637 returning non-nil for non-exclusive completion data.
17638 * progmodes/etags.el (tags-completion-at-point-function):
17639 * info-look.el (info-lookup-completions-at-point): Mark as
17641 (info-complete): Adjust accordingly.
17643 * info-look.el: Convert to lexical-binding and completion-at-point.
17644 (info-lookup-completions-at-point): New function.
17645 (info-complete): Use it and completion-in-region.
17647 2011-05-28 Drew Adams <drew.adams@oracle.com>
17649 * isearch.el: Let M-e start with point at the first mismatched char.
17650 (isearch-fail-pos): New function.
17651 (isearch-edit-string): Use it.
17653 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17655 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17657 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
17659 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17660 traversal functions for avl-trees.
17661 (avl-tree--stack): New struct.
17662 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17663 (avl-tree-enter): Add optional `updatefun' arg.
17664 (avl-tree--do-enter): Add optional `updatefun' arg.
17665 Change return value.
17666 (avl-tree-delete): Add optional `test' and `nilflag' args.
17667 (avl-tree--do-delete): Add `test' and `nilflag' args.
17668 Change return value.
17669 (avl-tree-member): Add optional `nilflag'
17670 (avl-tree-member-p): New function.
17671 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17672 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17673 (avl-tree-stack-empty-p): New functions.
17675 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17676 avl-tree--del-balance1 and make it work both ways.
17677 (avl-tree--del-balance2): Remove.
17678 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17679 make it work both ways.
17680 (avl-tree--enter-balance2): Remove.
17681 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17683 (avl-tree--mapc, avl-tree-map): Add direction argument.
17685 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
17687 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17689 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
17691 * select.el: Support clipboard managers with built-in function
17692 x-clipboard-manager-save, via delete-frame-functions and
17694 (xselect-convert-to-targets): Add MULTIPLE target to list.
17695 (xselect-convert-to-save-targets): New function.
17697 2011-05-27 Kenichi Handa <handa@m17n.org>
17699 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17700 let-binding rfc2047-encode-encoded-words to nil.
17702 2011-05-27 Glenn Morris <rgm@gnu.org>
17704 * mail/emacsbug.el: Don't require url-util.
17706 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17708 * files.el (set-auto-mode):
17709 Also respect mode: entries at the end of the file. (Bug#8586)
17711 2011-05-26 Glenn Morris <rgm@gnu.org>
17713 * files.el (hack-local-variables-prop-line, hack-local-variables):
17714 Downcase mode names, as seems to be traditional.
17715 (hack-local-variables, hack-local-variables-apply): Doc fixes.
17717 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17718 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17720 2011-05-25 Julien Danjou <julien@danjou.info>
17722 * textmodes/rst.el (rst-define-level-faces): Do not define face
17723 symbol if it is already defined.
17725 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17727 * play/5x5.el (5x5-new-game, 5x5-randomize):
17728 Reset 5x5-solver-output to nil when a new grid is cast.
17729 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17730 these debugging traces, as defmacro breaks the compiled code.
17732 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17734 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17736 2011-05-24 Leo Liu <sdl.web@gmail.com>
17738 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17739 (vc-bzr-sha1): Adapt.
17741 * sha1.el: Remove. Function `sha1' is now builtin.
17743 * bindings.el: Provide sha1 feature.
17745 2011-05-24 Kenichi Handa <handa@m17n.org>
17747 * mail/sendmail.el: Require `rfc2047'.
17748 (mail-insert-from-field): Do not perform RFC2047 encoding.
17749 (mail-encode-header): New function.
17750 (sendmail-send-it): Set buffer-file-coding-system of the work
17751 buffer to the return value of select-message-coding-system.
17752 Call mail-encode-header.
17754 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17756 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
17758 * mail/supercite.el (sc-default-cite-frame):
17759 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
17761 2011-05-24 Glenn Morris <rgm@gnu.org>
17763 * progmodes/python.el (brm-menu): Declare.
17765 * emulation/viper.el (viper-set-hooks): Declare.
17767 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17768 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17769 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17770 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17771 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17772 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17774 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17776 Add an :exit-function for completion-at-point.
17778 * minibuffer.el (completion--done): New fun.
17779 (completion--do-completion): Use it. New arg `expect-exact'.
17780 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17781 since completion--do-completion does it for us now.
17782 (minibuffer-force-complete): Use completion--done and
17783 completion--replace. Handle sole-completion case with more care.
17784 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17785 (completion-extra-properties): New var.
17786 (completion-annotate-function): Make obsolete.
17787 (minibuffer-completion-help): Adjust accordingly.
17788 Use completion-list-insert-choice-function.
17789 (completion-at-point, completion-help-at-point):
17790 Bind completion-extra-properties.
17791 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17792 * simple.el (completion-list-insert-choice-function): New var.
17793 (completion-setup-function): Preserve it.
17794 (choose-completion): Pay attention to it, shuffle the code a bit.
17795 (choose-completion-string): New arg `insert-function'.
17797 * textmodes/bibtex.el: Convert to lexical binding.
17798 (bibtex-mode-map): Use completion-at-point.
17799 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17800 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17801 (bibtex-complete): Define as obsolete alias.
17802 (bibtex-complete-internal): Remove.
17803 (bibtex-format-entry): Remove unused sub-group in regexp.
17804 * shell.el (shell--command-completion-data)
17805 (shell-environment-variable-completion):
17806 * pcomplete.el (pcomplete-completions-at-point):
17807 * comint.el (comint--complete-file-name-data): Use :exit-function
17808 instead of completion-table-with-terminator so it also works for
17811 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17813 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17815 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17818 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17820 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17822 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17823 customization variable and implement: If non-nil, auto-fill will
17824 be inhibited while on topic's header line.
17826 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17828 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
17829 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
17830 always have a solution in grid size = 5 cases.
17831 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17832 (5x5-solver-output, 5x5-log-buffer): New vars.
17833 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17834 Make these variables buffer local to achieve 5x5 multi-session-ness.
17835 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17836 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17837 (5x5-solve-suggest): New funs.
17838 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17839 randomize a grid so that we ensure that there is always a solution.
17840 (5x5-make-random-grid): Allow other movement than flipping.
17842 2011-05-23 Kevin Ryde <user42@zip.com.au>
17844 * emacs-lisp/advice.el (ad-read-advised-function):
17845 Use `function-called-at-point' as the default, if it has
17846 advice and passes PREDICATE.
17848 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17850 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17851 byte-compile-lambda if it's actually a lambda.
17853 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17854 Fix function quoting. Use backquote better.
17856 2011-05-22 Yuanle Song <sylecn@gmail.com>
17858 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17859 matching (Bug#8516).
17861 2011-01-22 Jari Aalto <jari.aalto@cante.net>
17863 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17864 different face (Bug#8178).
17866 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
17868 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17869 defface (Bug#8144).
17871 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17873 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17874 funcall as well (bug#8712). Warn when performing those conversions.
17875 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17877 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17879 2011-05-22 Glenn Morris <rgm@gnu.org>
17881 * files.el (hack-local-variables-prop-line): Small simplifications.
17882 (hack-local-variables, hack-local-variables-prop-line):
17883 If MODE-ONLY, return the mode, rather than just `t'.
17885 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17887 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17889 2011-05-21 Glenn Morris <rgm@gnu.org>
17891 * files.el (hack-local-variables-prop-line, hack-local-variables):
17892 If only interested in the mode, don't bother doing the other stuff.
17894 * image-mode.el (image-after-revert-hook):
17895 Redraw all frames on which the image is visible. (Bug#8567)
17897 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17899 * wid-edit.el (widget-checklist-match-inline):
17900 Fix 2011-04-19 change. (Bug#8649)
17902 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17904 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17905 Also allow singlespace after single-letter capitals followed by a dot.
17907 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17908 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17910 2011-05-20 Nix <nix@esperi.org.uk>
17912 * files.el (basic-save-buffer-2):
17913 Fix handling of break-hardlink-on-save with non-existent files.
17915 2011-05-19 Deniz Dogan <deniz@dogan.se>
17917 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
17918 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
17920 2011-05-19 Glenn Morris <rgm@gnu.org>
17922 * progmodes/f90.el (f90-type-def-re):
17923 Handle "type, bind(c)". (Bug#8691)
17925 * emacs-lisp/autoload.el (batch-update-autoloads):
17926 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17928 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
17930 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17931 property for the correct connection in case of multihops.
17933 2011-05-18 Glenn Morris <rgm@gnu.org>
17935 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
17936 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17938 Rationalize calendar handling of day and month abbrev-arrays.
17939 * calendar/calendar.el (calendar-customized-p): New function.
17940 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17941 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17943 (calendar-abbrev-length, calendar-day-abbrev-array)
17944 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17945 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17946 Elements may no longer be nil.
17947 (calendar-day-name, calendar-month-name):
17948 Update for changed nature of abbrev arrays.
17949 * calendar/diary-lib.el (diary-name-pattern):
17950 Update for changed nature of abbrev arrays.
17951 (diary-mark-entries-1): Update calendar-make-alist calls.
17952 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17953 * calendar/cal-html.el (cal-html-day-abbrev-array):
17954 Simply inherit from calendar-day-abbrev-array.
17956 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17958 * progmodes/grep.el (grep-mode): Disable default
17959 compilation-directory-matcher setting (bug#8684).
17961 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
17963 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17964 instead of "head" and "tail". There were problems with SunOS 5.9,
17965 and it performs better.
17967 2011-05-17 Glenn Morris <rgm@gnu.org>
17969 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17971 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17972 Replace obsolete function.
17974 * shell.el (pcomplete-parse-arguments-function): Declare.
17976 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17977 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17978 (appt-check): Doc fixes.
17979 (appt-disp-window-function, appt-delete-window-function):
17980 Remove needless special case in custom :type.
17981 (appt-display-count): Default to 0, not nil.
17982 (appt-check): Reset appt-display-count to 0, not nil.
17984 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
17986 * progmodes/python.el (python-font-lock-keywords):
17987 Add the Python 3.X keyword "nonlocal" (bug#8639).
17989 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17991 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17993 2011-05-16 Kevin Ryde <user42@zip.com.au>
17995 * info-look.el (makefile-automake-mode): New setups, looking in
17996 automake manual, then makefile-mode.
17997 (makefile-mode): Remove automake manual, have it just in
17998 makefile-automake-mode since there's various things different or
17999 not relevant to plain make.
18000 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18001 believe a hypothetical automake-mode would go to makefile-mode,
18002 not the other way around.
18004 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
18006 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18007 hunk-end tags (Bug#8672).
18009 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18010 vc-annotate-show-diff-revision-at-line (Bug#8671).
18012 2011-05-14 Glenn Morris <rgm@gnu.org>
18014 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18015 in the middle of an existing one with multiple authors. (Bug#8645)
18016 (change-log-font-lock-keywords): Also handle multiple author lines
18017 with leading tabs. (Bug#8644)
18019 * calendar/appt.el (appt-check): Rename some local variables.
18020 Some simplification/reordering.
18022 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18023 (feedmail-sendmail-f-doesnt-sell-me-out)
18024 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18025 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18026 (feedmail-queue-runner-message-sender): Set :version.
18027 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18028 (bbdb-dwim-net-address, vm-mail): Declare.
18029 (feedmail-binmail-gnulinuxish-template):
18030 Rename from feedmail-binmail-linuxish-template.
18031 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18032 Use insert-buffer-substring.
18034 2011-05-14 Bill Carpenter <bill@carpenter.org>
18036 * mail/feedmail.el (feedmail-patch-level): Increase.
18037 (feedmail-debug): New custom group.
18038 (feedmail-confirm-outgoing-timeout)
18039 (feedmail-sendmail-f-doesnt-sell-me-out)
18040 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18041 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18042 (feedmail-sender-line, feedmail-from-line)
18043 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
18044 (feedmail-spray-this-address)
18045 (feedmail-spray-address-fiddle-plex-list)
18046 (feedmail-queue-use-send-time-for-date)
18047 (feedmail-queue-use-send-time-for-message-id)
18048 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18049 (feedmail-buffer-eating-function):
18051 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18052 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18053 (feedmail-message-action-scroll-down): New functions.
18054 (feedmail-queue-directory, feedmail-queue-draft-directory):
18055 Use expand-file-name.
18056 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18057 Remove C-v help entry.
18058 (feedmail-queue-buffer-file-name): New variable.
18059 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18060 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18061 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18062 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18063 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18064 (feedmail-message-action-toggle-spray)
18065 (feedmail-run-the-queue-no-prompts)
18066 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18067 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18068 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18069 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18070 (feedmail-envelope-deducer, feedmail-fiddle-from)
18071 (feedmail-fiddle-sender, feedmail-default-date-generator)
18072 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18073 (feedmail-fiddle-spray-address)
18074 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18075 (feedmail-fiddle-list-of-fiddle-plexes)
18076 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18077 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18078 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18079 Change default. Doc fix.
18080 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18081 (feedmail-binmail-linuxish-template): New constant.
18082 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18083 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18084 (feedmail-send-it): Add debug call.
18085 Use feedmail-queue-buffer-file-name, and
18086 feedmail-send-it-immediately-wrapper.
18087 (feedmail-message-action-send): Add debug call.
18088 Use feedmail-send-it-immediately-wrapper.
18089 (feedmail-queue-express-to-queue): Add debug call.
18090 Run feedmail-queue-express-hook.
18091 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18092 (feedmail-message-action-help-blat):
18093 Rename from feedmail-queue-send-edit-prompt-help-first.
18094 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18095 Check line-endings. Handle errors better.
18096 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18097 Doc fix. Add debug call.
18098 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18099 Use feedmail-queue-send-edit-prompt-inner.
18100 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18101 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18102 from feedmail-queue-send-edit-prompt.
18103 (feedmail-queue-send-edit-prompt-help)
18104 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18105 (feedmail-tidy-up-slug): Add debug call.
18106 Respect feedmail-queue-slug-suspect-regexp.
18107 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18108 (feedmail-dump-message-to-queue): Add debug call.
18109 Expand queue-directory.
18110 (feedmail-dump-message-to-queue): Change message slightly.
18111 Use feedmail-say-chatter.
18112 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18113 (feedmail-send-it-immediately-wrapper): New function.
18114 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18115 Insert empty string rather than newline. Handle full-frame case.
18116 Use catch/throw. Use feedmail-say-chatter.
18117 (feedmail-fiddle-from): Try mail-host-address.
18118 (feedmail-default-message-id-generator): Doc fix.
18119 Bind system-time-locale. Handle missing end.
18120 (feedmail-fiddle-x-mailer): Add debug call.
18121 Handle feedmail-x-mailer-line being nil.
18122 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18123 Add debug call. Use buffer-substring-no-properties.
18124 (feedmail-say-debug, feedmail-say-chatter): New functions.
18125 (feedmail-find-eoh): Give an explicit error.
18127 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
18129 * net/newst-treeview.el (newsticker-treeview-face): Change default
18130 family from helvetica to sans.
18131 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
18132 etc/images/newsticker.
18134 * net/newst-reader.el (newsticker-feed-face): Change default
18135 family from helvetica to sans.
18137 * net/newst-plainview.el (newsticker-new-item-face)
18138 (newsticker-old-item-face, newsticker-immortal-item-face)
18139 (newsticker-obsolete-item-face, newsticker-date-face)
18140 (newsticker-statistics-face): Change default family from
18142 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
18143 etc/images/newsticker.
18145 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18146 (newsticker--process-auto-mark-filter-match): Tell user about
18149 2011-05-13 Didier Verna <didier@xemacs.org>
18151 Common Lisp indentation improvements on defmethod and lambda-lists.
18152 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18154 (lisp-lambda-list-keyword-parameter-indentation)
18155 (lisp-lambda-list-keyword-parameter-alignment)
18156 (lisp-lambda-list-keyword-alignment): New customizable user options.
18157 (lisp-indent-defun-method): Improve docstring.
18158 (extended-loop-p): Fix comment.
18159 (lisp-indent-lambda-list-keywords-regexp): New variable.
18160 (lisp-indent-lambda-list): New function.
18161 (lisp-indent-259): Use it.
18162 (lisp-indent-defmethod): Support for more than one
18163 method qualifier and properly indent methods lambda-lists.
18164 (defgeneric): Provide a missing common-lisp-indent-function property.
18166 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18168 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18169 bounds for the empty string (bug#8667).
18171 2011-05-13 Glenn Morris <rgm@gnu.org>
18173 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18175 * mail/sendmail.el (sendmail-program): Try executable-find first.
18176 (sendmail-send-it): `sendmail-program' cannot be unbound.
18178 * calendar/appt.el (appt-make-list): Simplify.
18179 (appt-time-msg-list): Doc fix.
18180 (appt-check): Change mode-line message at the time of the appointment.
18182 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18184 * progmodes/ld-script.el (ld-script-keywords)
18185 (ld-script-builtins): Update keywords list.
18187 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18189 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18191 * shell.el (shell-completion-vars): New function.
18193 * simple.el (read-shell-command): Use it.
18194 (blink-matching-open): No need for " [...]" in minibuffer-message.
18196 2011-05-12 Glenn Morris <rgm@gnu.org>
18198 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18199 (appt-check): Simplify.
18201 2011-05-12 Eli Zaretskii <eliz@gnu.org>
18203 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
18204 literal "/dev/null".
18206 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18208 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18211 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
18213 * progmodes/which-func.el (which-function):
18214 Use add-log-current-defun instead of add-log-current-defun-function,
18215 which might not be defined (Bug#8260).
18217 2011-05-12 Glenn Morris <rgm@gnu.org>
18219 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18220 Let byte-compile-initial-macro-environment always take precedence.
18222 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18224 * net/rcirc.el: Add support for SSL/TLS connections.
18225 (rcirc-server-alist): New field `encryption'.
18226 (rcirc): Check `encryption' settings.
18227 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18228 Merge make-local-variable into `set'.
18229 (rcirc--connection-open-p): New function.
18230 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18231 the process is not a network process (e.g. running gnutls-cli).
18232 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18233 Make rcirc-(en|de)code-coding-system local here.
18234 (rcirc-mode): Merge make-local-variable into `set'.
18235 (rcirc-parent-buffer): Make permanent buffer-local.
18236 (rcirc-multiline-minor-mode): Don't do it here.
18237 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18238 there's no server buffer.
18240 2011-05-11 Glenn Morris <rgm@gnu.org>
18242 * newcomment.el (comment-kill): Prefix "unused" local.
18244 * term/w32console.el (get-screen-color): Declare.
18246 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18247 Handle symbol elements of byte-compile-initial-macro-environment.
18249 2011-05-10 Leo Liu <sdl.web@gmail.com>
18251 * bookmark.el (bookmark-bmenu-mode-map):
18252 Bind bookmark-bmenu-search to `/'.
18254 * mail/footnote.el: Convert to utf-8 encoding.
18255 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18256 (Footnote-unicode): New function.
18257 (footnote-style-alist): Add unicode style to the list.
18258 (footnote-style): Doc fix.
18260 2011-05-10 Jim Meyering <meyering@redhat.com>
18262 Fix doubled-word typos.
18263 * international/quail.el (quail-insert-kbd-layout): and and -> and
18264 * kermit.el: and and -> and
18265 * net/ldap.el (ldap-search-internal): to to -> to
18266 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18267 * progmodes/js.el (js-mode): and and -> and
18268 * textmodes/artist.el (artist-move-to-xy): at at -> at
18269 (artist-draw-region-trim-line-endings): if if -> if
18270 And Safetyc -> Safety.
18271 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18273 2011-05-10 Glenn Morris <rgm@gnu.org>
18274 Stefan Monnier <monnier@iro.umontreal.ca>
18276 * files.el (hack-one-local-variable-eval-safep):
18277 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18279 2011-05-10 Glenn Morris <rgm@gnu.org>
18281 * calendar/diary-lib.el (diary-list-entries-hook)
18282 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18283 (diary-nongregorian-marking-hook, diary-list-entries)
18284 (diary-include-other-diary-files, diary-mark-entries)
18285 (diary-mark-included-diary-files): Doc fixes.
18287 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18289 * misc.el: Require tabulated-list.el during compilation.
18291 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18293 * progmodes/compile.el (compilation-start):
18294 Run compilation-filter-hook for the async case too.
18295 (compilation-filter-hook): Doc fix.
18297 2011-05-09 Deniz Dogan <deniz@dogan.se>
18299 * wdired.el: Remove outdated installation comment. Fix usage
18302 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18304 * misc.el: Implement new command `list-dynamic-libraries'.
18305 (list-dynamic-libraries--loaded-only-p): New variable.
18306 (list-dynamic-libraries--refresh): New function.
18307 (list-dynamic-libraries): New command.
18309 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18311 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18312 Fix the ant regexp to handle end-line and end-column info from jikes.
18313 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18314 higher priority to avoid clobbering by gnu.
18316 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18318 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18319 if the face has existing theme settings (Bug#8454).
18321 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18323 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18324 Only match variables declared via `my' or `our' (Bug#8261).
18326 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18327 special file names `.' and `..' (Bug#8259).
18329 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18331 * progmodes/grep.el (grep-mode-font-lock-keywords):
18332 Remove buffer-changing entries.
18333 (grep-filter): New function.
18334 (grep-mode): Add it to compilation-filter-hook.
18336 * progmodes/compile.el (compilation-filter-hook)
18337 (compilation-filter-start): New defvars.
18338 (compilation-filter): Call compilation-filter-hook prior to
18339 updating the process mark.
18341 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18343 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18345 2011-05-07 Eli Zaretskii <eliz@gnu.org>
18347 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18348 mailclient-send-it even if window-system is nil. (Bug#8595)
18350 * term/w32console.el (terminal-init-w32console):
18351 Call get-screen-color and use its output to set the frame
18352 background-mode. (Bug#8597)
18354 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18356 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18357 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18359 (defgeneric, eieio--defmethod): Use them.
18360 (eieio-defgeneric): Remove.
18361 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18363 2011-05-07 Glenn Morris <rgm@gnu.org>
18365 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18366 Use let rather than let*.
18367 (timeclock-find-discrep): Remove unused local.
18369 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18371 * calendar/appt.el (appt-time-msg-list): Doc fix.
18373 2011-05-06 Noah Friedman <friedman@splode.com>
18375 * apropos.el (apropos-print-doc): Only use
18376 emacs-lisp-docstring-fill-column when it is bound to an integer,
18377 per that variable's documentation.
18379 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18381 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
18382 and warnings are not silently discarded (e.g. use -d instead of -P).
18384 2011-05-06 Glenn Morris <rgm@gnu.org>
18386 * calendar/appt.el (appt-message-warning-time): Doc fix.
18387 (appt-warning-time-regexp): New option.
18388 (appt-make-list): Respect appt-message-warning-time.
18390 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18392 (diary-add-to-list): Strip comments from the displayed string.
18393 (diary-mode): Set comment-start and comment-end.
18395 * vc/diff-mode.el (smerge-refine-subst): Declare.
18396 (diff-refine-hunk): Don't require smerge-mode when compiling.
18398 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
18400 * simple.el (list-processes): Return nil as the docstring says.
18402 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18404 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18406 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18407 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18408 determining of binary transfer. (Bug#7383)
18410 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18412 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18413 Fix port computation bug. (Bug#8618)
18415 2011-05-05 Glenn Morris <rgm@gnu.org>
18417 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18419 * simple.el (shell-dynamic-complete-functions)
18420 (comint-dynamic-complete-functions): Declare.
18422 * net/network-stream.el (gnutls-negotiate):
18423 * simple.el (tabulated-list-print): Fix declarations.
18425 * progmodes/gud.el (syntax-symbol, syntax-point):
18426 Remove unnecessary and incorrect declarations.
18428 * emacs-lisp/check-declare.el (check-declare-scan):
18429 Handle byte-compile-initial-macro-environment in bytecomp.el.
18431 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18433 Fix earlier half-done eieio-defmethod change (bug#8338).
18434 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18435 Streamline and change calling convention.
18436 (defmethod): Adjust accordingly and simplify.
18437 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18438 new eieio--defmethod.
18439 (slot-boundp): Minor CSE simplification.
18441 2011-05-05 Milan Zamazal <pdm@zamazal.org>
18443 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18444 (glasses-make-readable): Use glasses-separate-capital-groups.
18446 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
18448 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18449 (warning-series): Doc fix.
18450 (display-warning): Don't try to create the buffer if we just found it.
18452 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
18454 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18455 (autoload-find-generated-file): New function.
18456 (generate-file-autoloads): Bind generated-autoload-file to
18458 (update-file-autoloads, update-directory-autoloads):
18459 Use autoload-find-generated-file. If called interactively, prompt for
18460 output file (Bug#7989).
18461 (batch-update-autoloads): Doc fix.
18463 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
18465 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18467 2011-05-04 Glenn Morris <rgm@gnu.org>
18469 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18470 function, so it follows changes in calendar-date-style.
18471 (diary-fancy-date-matcher): New function.
18472 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18473 (diary-fancy-font-lock-fontify-region-function):
18474 Use diary-fancy-date-pattern as a function.
18476 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18477 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18479 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18481 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18482 instead of positional arguments. Allow :keylist and :crlfiles
18484 (open-gnutls-stream): Call it.
18486 * net/network-stream.el (network-stream-open-starttls): Adjust to
18487 call `gnutls-negotiate' with :process and :hostname arguments.
18489 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18491 * minibuffer.el (completion--message): New function.
18492 (completion--do-completion, minibuffer-complete)
18493 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18494 (completion--do-completion): Don't ignore completion-auto-help when in
18497 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18498 internal encoding (e.g. tibetan zero is not whitespace).
18499 (global-whitespace-mode): Prefer save-current-buffer.
18500 (whitespace-trailing-regexp): Remove useless save-match-data.
18501 (whitespace-empty-at-bob-regexp): Minor simplification.
18503 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
18505 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18507 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18509 * textmodes/ispell.el (ispell-add-per-file-word-list):
18510 Use `concat' to create string for insertion.
18512 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18514 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18515 Avoid open-line which runs post-self-insert-hook.
18516 (bibtex-fill-entry): Remove unused `end' var.
18518 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18520 * textmodes/ispell.el (ispell-add-per-file-word-list):
18521 Protect against `nil' value of `comment-start' (Bug#8579).
18523 2011-05-03 Leo Liu <sdl.web@gmail.com>
18525 * isearch.el (isearch-yank-pop): New command.
18526 (isearch-mode-map): Bind it to `M-y'.
18527 (isearch-forward): Mention it.
18529 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18531 * simple.el (minibuffer-complete-shell-command): Remove.
18532 (minibuffer-local-shell-command-map): Use completion-at-point.
18533 (read-shell-command): Setup completion vars here instead.
18534 (read-expression-map): Bind TAB to symbol completion.
18536 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18537 error directly rather via storing it into `results'.
18539 2011-05-02 Leo Liu <sdl.web@gmail.com>
18541 * vc/diff.el: Fix description.
18543 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18545 * server.el (server-eval-at): New function.
18547 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18549 * net/network-stream.el (open-network-stream): Take a :nowait
18550 parameter and pass it on to `make-network-process'.
18551 (network-stream-open-plain): Ditto.
18553 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18555 * faces.el (face-spec-set-match-display): Don't match toolkit
18556 options on terminal frames.
18558 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18560 * progmodes/pascal.el: Use lexical binding.
18561 (pascal-mode-map): Remove author preferences.
18563 * pcomplete.el (pcomplete-std-complete): Don't abuse
18564 completion-at-point.
18566 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
18568 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18569 removing code that has been dead since 1991 or so.
18571 * startup.el (command-line): When warning about "_emacs", use a
18572 delayed warning to allow the user to filter it out.
18574 2011-04-28 Deniz Dogan <deniz@dogan.se>
18576 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18577 user has not joined.
18579 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18581 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18582 aren't any completions at point.
18584 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
18586 * subr.el (display-delayed-warnings): New function.
18587 (delayed-warnings-hook): New variable.
18589 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18591 * minibuffer.el (completion-at-point, completion-help-at-point):
18592 Don't presume that a given completion-at-point-function will always
18593 use the same calling convention.
18595 * pcomplete.el (pcomplete-completions-at-point):
18596 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18597 pcomplete-seen is non-nil.
18598 (pcomplete-comint-setup): Also recognize the new comint/shell
18599 completion functions.
18600 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18601 pcomplete-seen is non-nil.
18603 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
18605 * calendar/icalendar.el (diary-lib): Add require statement.
18606 (icalendar--create-uid): Read out a uid from a text-property on
18607 the first character in the entry. This allows for code to add its
18608 own uid to the entry.
18609 (icalendar--convert-float-to-ical): Add export of
18610 `diary-float'-entries save for those with the optional DAY
18613 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18615 * subr.el (shell-quote-argument): Use alternate escaping strategy
18616 when we spot a variable reference in a string.
18618 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18620 * cus-start.el (all): Define customization for debug-on-event.
18622 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18624 * subr.el (shell-quote-argument): Escape correctly under Windows.
18626 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18628 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18630 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
18632 * net/tramp.el (tramp-process-actions): Add POS argument.
18633 Delete region between POS and (pos).
18635 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18636 Use `nil' position in `tramp-process-actions' call.
18637 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18639 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18640 position in `tramp-process-actions' call.
18642 * net/trampver.el: Update release number.
18644 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18646 * custom.el (defcustom): Obey lexical-binding.
18648 Fix octave-inf completion problems reported by Alexander Klimov.
18649 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18650 Inherit from octave-mode-syntax-table.
18651 (inferior-octave-mode): Set info-lookup-mode.
18652 (inferior-octave-completion-at-point): New function.
18653 (inferior-octave-complete): Use it and completion-in-region.
18654 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18655 comint-filename-completion.
18656 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18657 symbol elements which shouldn't be word elements.
18658 (octave-font-lock-keywords, octave-beginning-of-defun)
18659 (octave-function-header-regexp): Adjust regexps accordingly.
18660 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18662 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
18664 * net/gnutls.el (gnutls-errorp): Declare before first use.
18666 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18668 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18669 verify-error, and verify-hostname-error parameters. Check whether
18670 default trustfile exists before going to use it. Add missing
18671 argument to gnutls-message-maybe call. Return value.
18672 Reported by Claudio Bley <claudio.bley@gmail.com>.
18673 (open-gnutls-stream): Add usage example.
18675 * net/network-stream.el (network-stream-open-starttls): Give host
18676 parameter to `gnutls-negotiate'.
18677 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
18678 * subr.el (shell-quote-argument): Escape correctly under Windows.
18680 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
18682 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18683 Use correct match group (bug#8438).
18685 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
18687 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18688 (package-menu--generate): New arg specifying packages to show.
18689 (package-menu-refresh, package-menu-execute, list-packages):
18691 (package-show-package-list): New function, replacing deleted
18692 package--list-packages (renamed because it is non-internal).
18694 * finder.el (finder-list-matches): Use package-show-package-list
18695 instead of deleted package--list-packages.
18697 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18698 Based on a previous implementation by Juanma Barranquero (Bug#8366).
18699 (vc-annotate-mode-map): Bind it to RET.
18701 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18703 * progmodes/etags.el (next-file): Don't use set-buffer to change
18704 buffers (Bug#8478).
18706 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
18708 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18710 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18711 (apropos-accumulator): Doc fix.
18712 (apropos-function, apropos-macro, apropos-command)
18713 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18714 (apropos-plist): Add face property.
18715 (apropos-symbols-internal): Fix indentation.
18716 (apropos-print): Simplify help, and recognize apropos-multi-type.
18717 (apropos-print-doc): Use button-type-get to extract the button's
18718 face property. Fill docstring (Bug#8352).
18720 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
18722 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18724 * play/mpuz.el (mpuz-silent): Doc fix.
18725 (mpuz-mode-map): Use mapc.
18726 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18727 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18728 Fix typos in docstrings.
18730 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18731 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18733 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18735 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
18737 * minibuffer.el (completion--do-completion): Avoid the "Next char
18738 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18740 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18741 mouse-2 into unread-command-events, it is interpreted correctly.
18743 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
18744 (image-toggle-display): Doc fix.
18746 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
18748 * textmodes/page.el (what-page): Use line-number-at-pos to
18749 calculate line number (Bug#6825).
18751 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
18753 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18754 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18755 Pass argument NO-DEFAULT to `find-tag-interactive'.
18757 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
18759 Lexical-binding cleanup.
18761 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18762 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18763 * progmodes/ada-prj.el (ada-prj-initialize-values)
18764 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18765 (ada-prj-show-value):
18766 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18767 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18768 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18769 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18770 * progmodes/bug-reference.el (bug-reference-push-button):
18771 * progmodes/fortran.el (fortran-line-length):
18772 * progmodes/glasses.el (glasses-change):
18773 * progmodes/octave-mod.el (octave-fill-paragraph):
18774 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18775 (python-pdbtrack-grub-for-buffer, python-sentinel):
18776 * progmodes/sql.el (sql-save-connection):
18777 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18778 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18779 Mark unused parameters.
18781 * progmodes/compile.el (compilation--flush-directory-cache)
18782 (compilation--flush-parse, compile-internal): Mark unused parameters.
18783 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18784 (compilation-next-error-function): Remove unused variable `timestamp'.
18786 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18787 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18789 * progmodes/dcl-mode.el (dcl-end-of-command):
18790 Remove unused variable `start'.
18791 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18792 (dcl-option-value-basic, dcl-option-value-offset)
18793 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18794 Mark unused parameters.
18795 (dcl-save-local-variable): Remove unused variable `val'.
18798 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18799 Mark unused parameters.
18800 (delphi-ignore-changes): Move before first use.
18801 (delphi-charset-token-at): Remove unused variable `start'.
18802 (delphi-else-start): Remove unused variable `if-count'.
18803 (delphi-comment-block-start, delphi-comment-block-end):
18804 Remove unused variable `kind'.
18805 (delphi-indent-line): Remove unused variable `new-point'.
18807 * progmodes/ebrowse.el (ebrowse-files-list)
18808 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18809 Mark unused parameters. Don't quote `lambda'.
18810 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18811 Don't quote `lambda'.
18812 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18813 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18814 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18815 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18816 Use `ignore-errors'.
18817 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18818 (ebrowse-view/find-file-and-search-pattern)
18819 (ebrowse-view/find-member-declaration/definition):
18820 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18821 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18822 Rename parameter PREFIX-ARG to PREFIX.
18823 (ebrowse-tags-read-name): Remove unused variables `start' and
18825 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18828 * progmodes/etags.el (local-find-tag-hook): Declare.
18829 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18830 Mark unused parameters.
18832 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18833 (executable-interpret): Mark unused parameter.
18835 * progmodes/flymake.el (flymake-process-sentinel)
18836 (flymake-after-change-function)
18837 (flymake-create-temp-with-folder-structure)
18838 (flymake-get-include-dirs-dot): Mark unused parameters.
18839 (flymake-safe-delete-directory): Remove unused variable `err'.
18841 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18842 (speedbar-timer-fn, speedbar-line-text)
18843 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18844 (speedbar-center-buffer-smartly): Declare functions.
18845 (gdb-find-watch-expression): Remove unused variable `array'.
18846 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18847 (gdb-starting): Mark unused parameters.
18848 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18849 (gdb-table-string): Remove unused variable `res'.
18850 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18851 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18852 (gdb-display-buffer): Remove unused variable `cur-size'.
18854 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18855 allow lexical-binding compilation.
18856 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18857 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18858 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18859 Mark unused parameters.
18860 (gud-gdb-marker-filter): Remove unused variable `match'.
18861 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18862 lambda expressions and funcall them, instead of using `fset'.
18864 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18865 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18867 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18868 variable `header-beg'; use `let'.
18870 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18871 `restart', `last-sexp' and `at-do'.
18873 * progmodes/js.el (js--debug): Mark unused parameter.
18874 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18875 (js--splice-into-items): Remove unused variable `item'.
18876 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18878 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18879 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18880 (makefile-complete): Remove unused variable `try'.
18881 (makefile-fill-paragraph, makefile-match-function-end):
18882 Mark unused parameters.
18884 * progmodes/octave-inf.el (inferior-octave-complete):
18885 Remove unused variable `proc'.
18886 (inferior-octave-output-digest): Mark unused parameter.
18888 * progmodes/perl-mode.el (perl-calculate-indent):
18889 Remove unused variable `err'.
18891 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18892 (prolog-indent-line): Mark unused parameters.
18893 (prolog-indent-line): Remove unused variable `beg'.
18895 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18896 (reporter-dont-compact-list): Declare.
18898 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18899 Remove unused variable `char'.
18900 (sh-debug): Mark unused parameter.
18901 (sh-get-indent-info): Remove unused variable `start'.
18902 (sh-calculate-indent): Remove unused variable `var'.
18904 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18905 (simula-electric-keyword): Remove unused variable `null'.
18906 (simula-search-backward, simula-search-forward): Remove unused
18907 variables `begin' and `end'.
18909 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18910 Remove unused variable `pos'.
18911 (vera-electric-tab, vera-comment-uncomment-region):
18912 Mark unused parameters.
18913 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18915 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
18917 * emacs-lisp/package.el (package--builtins, package-alist)
18918 (package-load-descriptor, package-built-in-p, package-activate)
18919 (define-package, package-installed-p)
18920 (package-compute-transaction, package-buffer-info)
18921 (package--push): Doc fix. Distinguish more clearly between
18922 version strings and version lists.
18924 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
18926 Lexical-binding cleanup.
18928 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18929 (5x5-make-mutate-best):
18930 * play/fortune.el (fortune-in-buffer):
18931 * play/gomoku.el (gomoku-init-display):
18932 * play/solitaire.el (solitaire, solitaire-do-check):
18933 * play/tetris.el (tetris-default-update-speed-function):
18934 Mark unused parameters.
18936 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18937 (bubbles--shift): Remove unused variable `char-org'.
18938 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18939 (bubbles--show-images): Remove unused variable `char'.
18941 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18942 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18943 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18944 (decipher-analyze-buffer): Use ?\s.
18945 (decipher-make-checkpoint): Remove unused variable `mapping'.
18947 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18949 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18950 Remove unused variable `result'; use `let'.
18952 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18953 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18954 (gametree-children-shown-p, gametree-compute-reduced-score):
18955 Use `ignore-errors'.
18957 * play/handwrite.el (ps-lpr-switches): Declare.
18958 (handwrite): Remove unused variables `pmin' and `lastp'.
18960 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18962 * play/landmark.el (landmark-init-display)
18963 (landmark-update-naught-weights): Mark unused parameters.
18964 (landmark-y): Remove unused variable `noise'. Simplify.
18965 (landmark-human-plays): Remove unused variable `score'.
18967 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18968 (mpuz-try-proposal): Remove unused variable `game'.
18970 * play/zone.el (life-patterns): Declare.
18972 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
18974 * vc/vc.el (ediff-vc-internal): Declare function.
18976 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18978 * shell.el: Use lexical-binding and std completion UI.
18979 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18980 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18981 comint-preoutput-filter-functions rather than on
18982 comint-output-filter-functions.
18983 (shell-command-completion, shell--command-completion-data)
18984 (shell-filename-completion, shell-environment-variable-completion)
18985 (shell-c-a-p-replace-by-expanded-directory): New functions.
18986 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18987 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18988 (shell-dynamic-complete-environment-variable): Use them.
18989 (shell-dynamic-complete-as-environment-variable)
18990 (shell-dynamic-complete-as-command): Remove.
18991 (shell-match-partial-variable): Match past point.
18992 * comint.el: Clean up use of completion-at-point-functions.
18993 (comint-completion-at-point): New function.
18994 (comint-mode): Use it completion-at-point-functions.
18995 (comint-dynamic-complete): Make it obsolete.
18996 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18997 (comint-c-a-p-replace-by-expanded-history): New function.
18998 (comint-dynamic-complete-functions)
18999 (comint-replace-by-expanded-history): Use it.
19000 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19001 termination strings. Try harder to avoid second try-completion.
19002 (completion-in-region-mode-map): Disable bindings that don't work yet.
19004 * comint.el: Use lexical-binding. Require CL.
19005 (comint-dynamic-complete-functions): Use comint-filename-completion.
19006 (comint-completion-addsuffix): Tweak custom type.
19007 (comint-filename-completion, comint--common-suffix)
19008 (comint--common-quoted-suffix, comint--table-subvert)
19009 (comint--complete-file-name-data): New functions.
19010 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19011 (comint-dynamic-list-filename-completions): Use them.
19012 (comint-dynamic-simple-complete): Make obsolete.
19014 * minibuffer.el (completion-in-region-mode):
19015 Keep completion-in-region-mode--predicate global.
19016 (completion-in-region--postch):
19017 Assume completion-in-region-mode--predicate is not null.
19019 * progmodes/flymake.el (flymake-start-syntax-check-process):
19020 Obey `dir'. Simplify.
19022 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19023 we're in VC after all.
19025 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19027 * vc/vc.el (vc-diff-build-argument-list-internal)
19028 (vc-version-ediff, vc-ediff): New commands.
19029 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19031 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19033 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19036 * obsolete/erc-hecomplete.el: Make obsolete.
19037 * obsolete/: Standardize obsolescence info in the header.
19039 2011-04-20 Glenn Morris <rgm@gnu.org>
19041 * calendar/solar.el (solar-horizontal-coordinates):
19042 Use the longitude argument rather than `calendar-longitude'.
19043 (solar-date-next-longitude): Remove unused locals.
19045 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19047 * whitespace.el: New version 13.2.1.
19049 2011-04-20 felix <EmacsWiki> (tiny change)
19051 * whitespace.el (global-whitespace-mode): Keep highlight when
19052 switching between major modes on a file.
19054 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19056 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19057 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19058 multi-line comments as well.
19060 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
19062 Lexical-binding cleanup.
19064 * arc-mode.el (archive-mode-revert):
19065 * cmuscheme.el (scheme-interactively-start-process):
19066 * custom.el (custom-initialize-delay):
19067 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19068 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19069 * emacs-lock.el (emacs-lock-clear-sentinel):
19070 * ezimage.el (defezimage):
19071 * follow.el (follow-avoid-tail-recenter):
19072 * fringe.el (set-fringe-mode-1):
19073 * generic-x.el (bat-generic-mode-compile):
19074 * help-mode.el (help-info-variable, help-do-xref)
19075 (help-mode-revert-buffer):
19076 * help.el (view-emacs-todo):
19077 * iswitchb.el (iswitchb-completion-help):
19078 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19079 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19080 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19081 * locate.el (locate-update):
19082 * longlines.el (longlines-encode-region)
19083 (longlines-after-change-function):
19084 * outline.el (outline-isearch-open-invisible):
19085 * ps-def.el (declare-function, charset-dimension, char-width)
19087 * ps-mule.el (ps-mule-plot-string):
19088 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19089 (recentf-edit-list-select, recentf-edit-list-validate)
19090 (recentf-open-files-action):
19091 * rect.el (delete-whitespace-rectangle-line)
19092 (rectangle-number-line-callback):
19093 * register.el (window-configuration-to-register)
19094 (frame-configuration-to-register):
19095 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19096 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19097 (xselect-convert-to-targets, xselect-convert-to-delete)
19098 (xselect-convert-to-filename, xselect-convert-to-charpos)
19099 (xselect-convert-to-lineno, xselect-convert-to-colno)
19100 (xselect-convert-to-os, xselect-convert-to-host)
19101 (xselect-convert-to-user, xselect-convert-to-class)
19102 (xselect-convert-to-name, xselect-convert-to-integer)
19103 (xselect-convert-to-atom, xselect-convert-to-identity):
19104 * subr.el (declare, ignore, process-kill-without-query)
19105 (text-clone-maintain):
19106 * terminal.el (te-get-char, te-tic-sentinel):
19107 * tool-bar.el (tool-bar-make-keymap):
19108 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19109 * type-break.el (type-break-mode, type-break-noninteractive-query):
19110 * view.el (View-back-to-mark):
19111 * wid-browse.el (widget-browse-action, widget-browse-widget)
19112 (widget-browse-widgets, widget-browse-sexp):
19113 * widget.el (define-widget-keywords):
19114 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19115 Mark unused parameters.
19117 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19118 (align-areas): Remove unused variable `look'.
19119 (align-region): Remove unused variables `real-end' and `pos-list'.
19121 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19123 * bindings.el (mode-line-modified, mode-line-remote):
19124 Mark unused parameters.
19125 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19127 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19128 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19130 * comint.el (comint-history-isearch-pop-state)
19131 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19132 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19133 (comint-substitute-in-file-name): Doc fix.
19135 * completion.el (cmpl-statistics-block): Mark unused parameter.
19136 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19137 (save-completions-to-file, load-completions-from-file):
19138 Remove unused local variable `e'.
19140 * composite.el (compose-chars): Remove unused variable `len'.
19141 (lgstring-insert-glyph): Remove unused variable `g'.
19142 (compose-glyph-string): Remove unused variables `ascent',
19143 `descent', `lbearing' and `rbearing'.
19144 (compose-glyph-string-relative): Remove unused variables
19145 `lbearing', `rbearing' and `wadjust'.
19146 (compose-gstring-for-graphic): Remove unused variables `header',
19147 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19148 (compose-gstring-for-terminal): Remove unused variables `header'
19149 and `nchars'. Use `let', not `let*'.
19151 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19152 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19153 (Custom-buffer-done, custom-buffer-create-internal)
19154 (custom-browse-visibility-action, custom-browse-group-tag-action)
19155 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19156 (widget-magic-mouse-down-action, custom-toggle-parent)
19157 (custom-add-parent-links, custom-toggle-hide-variable)
19158 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19159 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19160 (custom-face-menu-create, custom-variable-menu-create, get)
19161 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19162 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19163 (customize-apropos): Remove unused variable `tests'.
19164 (custom-group-value-create): Remove unused variable `hidden-p'.
19165 (sort-fold-case): Declare.
19167 * cus-theme.el (custom-reset-standard-faces-list)
19168 (custom-reset-standard-variables-list): Declare.
19169 (customize-create-theme, custom-theme-revert, custom-theme-write)
19170 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19171 Mark unused parameters.
19173 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19175 * delim-col.el (delimit-columns-max): Move defvar before first use.
19177 * descr-text.el (describe-char-categories): Don't quote `lambda'.
19178 (describe-char): Don't quote `lambda'. Mark unused parameter.
19180 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19181 (auto-insert): Declare.
19182 (desktop-restore-file-buffer): Rename desktop-* parameters;
19184 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19185 (desktop-buffer): Rename desktop-* parameters.
19187 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19188 (dframe-reposition-frame-xemacs, dframe-help-echo)
19189 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19190 Mark unused parameters.
19192 * dired-aux.el (backup-extract-version-start, overwrite-query)
19193 (overwrite-backup-query, rename-regexp-query)
19194 (rename-non-directory-query): Declare.
19195 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19196 (dired-add-entry): Remove unused variable `orig-file-name'.
19197 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19198 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19199 `dired-copy-preserve-time' directly.
19200 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19201 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19203 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19204 (dired-virtual-revert, dired-make-relative-symlink):
19205 Mark unused parameters.
19206 (manual-program): Declare.
19207 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19208 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19209 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19211 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19213 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19215 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19218 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19220 * electric.el (Electric-command-loop): Rename parameter
19221 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19223 * expand.el (expand-in-literal): Remove unused variable `here'.
19225 * facemenu.el (facemenu-add-new-color):
19226 Remove unused variable `docstring'.
19228 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19229 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19230 (face-attr-construct): Mark unused parameter. Doc fix.
19231 (read-color): Remove unused variable `hex-string'.
19233 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19234 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19235 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19236 (display-buffer-other-frame): Remove unused variable `old-window'.
19237 (kill-buffer-hook): Declare.
19238 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19239 Mark unused parameters.
19240 (after-find-file): Pass 1 to `auto-save-mode', not t.
19242 * files-x.el (auto-insert): Declare.
19243 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19245 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
19246 variable `buf'. Mark unused parameter.
19247 (find-lisp-insert-directory): Mark unused parameter.
19249 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19250 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19251 (format-common-tail): Remove, unused.
19252 (format-deannotate-region): Remove unused variable `loc'.
19253 (format-annotate-region): Remove unused variable `p'.
19254 (format-annotate-single-property-change): Remove unused variables
19255 `default' and `tail'.
19257 * forms.el (read-file-filter): Declare.
19258 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19260 * frame.el (frame-creation-function-alist): Mark unused parameter.
19261 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19263 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19264 Remove unused parameters.
19265 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19266 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19268 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19269 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19270 (hfy-prepare-tag-map): Mark unused parameters.
19271 (htmlfontify-buffer): Use `called-interactively-p'.
19273 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19274 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19275 (ibuffer-do-occur): Mark unused parameters.
19276 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19277 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19279 * ibuffer.el: Don't quote `lambda'.
19280 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19281 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19282 Mark unused parameters.
19284 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19285 (ido-completing-read): Mark unused parameters.
19286 (ido-copy-current-word): Mark unused parameters;
19287 remove unused variable `name'.
19288 (ido-sort-merged-list): Remove unused parameter `dirs'.
19290 * ielm.el (ielm-input-sender): Mark unused parameter.
19291 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19292 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19293 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19294 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19295 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19297 * image-dired.el (image-dired-display-thumbs): Remove unused
19298 variables `curr-file' and `count'.
19299 (image-dired-remove-tag): Remove unused variable `start'.
19300 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19301 variable `curr-file'
19302 (image-dired-rotate-original): Remove unused variable `temp-file'.
19303 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19304 Remove unused variable `file'.
19305 (image-dired-gallery-generate): Remove unused variable `curr'.
19306 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19308 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19310 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19312 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19314 * isearch.el (minibuffer-history-symbol): Declare.
19315 (isearch-edit-string): Remove unused variable `err'.
19316 (isearch-message-prefix, isearch-message-suffix):
19317 Mark unused parameters.
19319 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19321 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19323 * makesum.el (double-column): Remove unused variable `cnt'.
19325 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19326 (ido-ignore-item-temp-list): Declare.
19328 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19329 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19330 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19331 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19334 * mouse-sel.el (mouse-extend-internal):
19335 Remove unused variable `orig-window-frame'.
19337 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19338 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19339 Move declarations before first use.
19340 (pcomplete-opt): Mark unused parameters; doc fix.
19342 * proced.el (proced-revert): Mark unused parameter.
19343 (proced-send-signal): Remove unused variable `err'.
19345 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19346 Rename parameter PREFIX-ARG to ARG.
19347 (ps-basic-plot-string, ps-basic-plot-whitespace):
19348 Mark unused parameters.
19350 * replace.el (replace-count): Define.
19351 (occur-revert-function): Mark unused parameters.
19352 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19353 (isearch-case-fold-search, isearch-string): Declare.
19354 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19355 bind `case-fold-search'. Remove unused variables `beg' and `end',
19357 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19358 COUNT and bind `replace-count'.
19359 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19362 * savehist.el (print-readably, print-string-length): Declare.
19364 * shadowfile.el (shadow-expand-cluster-in-file-name):
19365 Remove unused variable `cluster'.
19366 (shadow-copy-file): Remove unused variable `i'.
19367 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19368 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19369 (shadow-define-literal-group, shadow-define-regexp-group)
19370 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19372 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19373 (shell): Use `called-interactively-p'.
19374 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19376 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19377 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19378 (delete-backward-char): Remove unused variable `ocol'.
19379 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19380 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19381 (event-apply-hyper-modifier, event-apply-shift-modifier)
19382 (event-apply-control-modifier, event-apply-meta-modifier):
19383 Mark unused parameters.
19384 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19385 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19387 * speedbar.el (speedbar-ignored-directory-expressions)
19388 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19389 (speedbar-find-file, speedbar-dir-follow)
19390 (speedbar-directory-buttons-follow, speedbar-tag-find)
19391 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19392 (speedbar-buffers-line-directory, speedbar-buffer-click):
19393 Mark unused parameters.
19394 (speedbar-tag-file): Remove unused variable `mode'.
19395 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19397 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19399 * talk.el (talk): Remove unused variable `display'.
19401 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19402 (tar-write-region-annotate): Mark unused parameter.
19404 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19405 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19406 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19407 warning by another.
19409 * time-stamp.el (time-stamp-string-preprocess):
19410 Remove unused variable `require-padding'.
19412 * tree-widget.el (widget-glyph-enable): Declare.
19413 (tree-widget-action): Mark unused parameter.
19415 * w32-fns.el (x-get-selection): Mark unused parameter.
19416 (autoload-make-program, generated-autoload-file): Declare.
19418 * wdired.el (wdired-revert): Mark unused parameters.
19419 (wdired-xcase-word): Remove unused variable `err'.
19421 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19422 (whitespace-help-scroll): Remove unused variable `data-help'.
19424 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19425 (widget-image-insert, widget-after-change, default)
19426 (widget-default-format-handler, widget-default-notify)
19427 (widget-default-prompt-value, widget-info-link-action)
19428 (widget-url-link-action, widget-function-link-action)
19429 (widget-variable-link-action, widget-file-link-action)
19430 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19431 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19432 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19433 (widget-insert-button-action, widget-delete-button-action, visibility)
19434 (widget-documentation-link-action, widget-documentation-string-action)
19435 (widget-const-prompt-value, widget-regexp-match, symbol)
19436 (widget-coding-system-prompt-value)
19437 (widget-key-sequence-value-to-external, sexp)
19438 (widget-sexp-value-to-internal, character, vector, cons)
19439 (widget-choice-prompt-value, widget-boolean-prompt-value)
19440 (widget-color--choose-action): Mark unused parameters.
19441 (widget-item-match-inline, widget-choice-match-inline)
19442 (widget-checklist-match, widget-checklist-match-inline)
19443 (widget-group-match): Rename parameter VALUES to VALS.
19444 (widget-field-value-set): Remove unused variable `size'.
19445 (widget-color-action): Remove unused variables `value' and `start'.
19447 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
19448 variable `dir'. Doc fix.
19449 (windmove-find-other-window): Don't pass it.
19451 * window.el (count-windows): Mark unused parameter.
19452 (bw-adjust-window): Remove unused variable `err'.
19454 * woman.el (woman-file-name): Remove unused variable `default'.
19455 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19456 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19457 (global-font-lock-mode): Declare.
19458 (woman-decode-region): Mark unused parameter.
19459 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19461 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19462 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19463 (x-dnd-handle-moz-url): Remove unused variable `title'.
19464 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19466 * xml.el (xml-parse-tag, xml-parse-attlist):
19467 Remove unused variable `pos'.
19469 2011-04-19 Glenn Morris <rgm@gnu.org>
19471 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19472 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19473 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19474 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19475 * calendar/cal-html.el (cal-html-insert-minical):
19476 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19477 (calendar-mark-date-pattern):
19478 Prefix "unused" locals.
19480 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19481 optional argument `style'.
19483 * calendar/appt.el (appt-make-list):
19484 * calendar/cal-china.el (calendar-chinese-date-string):
19485 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19486 (diary-hebrew-yahrzeit):
19487 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19488 * calendar/calendar.el (calendar-generate-window):
19489 * calendar/time-date.el (time-to-days):
19490 Remove unused local variables.
19492 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
19494 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19495 glyphless-char-display table.
19496 (tabulated-list-glyphless-char-display): New var.
19498 2011-04-18 Sam Steingold <sds@gnu.org>
19500 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19501 to acknowledgments.
19503 2011-04-17 Glenn Morris <rgm@gnu.org>
19505 * calendar/diary-lib.el (diary-sexp-entry):
19506 * calendar/holidays.el (holiday-sexp):
19507 Set debug-on-error rather than the removed stack-trace-on-error.
19509 2011-04-16 Glenn Morris <rgm@gnu.org>
19511 * progmodes/f90.el: Use lexical-binding.
19512 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19514 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19516 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19517 (mail-mode): Setup mailalias completion here instead.
19518 * mail/mailalias.el: Use lexical-binding.
19519 (pattern, mailalias-done): Declare dynamic.
19520 (mail-completion-at-point-function): New function, from mail-complete.
19521 (mail-complete): Use it.
19522 (mail-completion-expand): New function.
19523 (mail-get-names): Use it.
19524 (mail-directory, mail-directory-process, mail-directory-stream):
19525 Don't use `pattern' for lexically bound arg.
19527 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19529 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19530 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19531 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19533 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19534 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19535 (byte-interactive-p): Define them again, for use when inlining
19538 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
19540 * loadup.el: Use `string-to-number', not `string-to-int'.
19542 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19544 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19545 gud-gdb-complete-command.
19546 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19547 (gud-gdb-completion-at-point): New function.
19548 (gud-gdb-completions): Remove.
19550 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
19552 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19553 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19554 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19555 whether `executable-find' is bound.
19557 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19559 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19561 * minibuffer.el (completion-in-region-mode-predicate)
19562 (completion-in-region-mode--predicate): New vars.
19563 (completion-in-region, completion-in-region--postch)
19564 (completion-in-region-mode): Use them.
19565 (completion--capf-wrapper): Also return the hook function.
19566 (completion-at-point, completion-help-at-point):
19567 Adjust and provide a predicate.
19569 Preserve arg names for advice of subr and lexical functions (bug#8457).
19570 * help-fns.el (help-function-arglist): Consolidate the subr and
19571 new-byte-code cases. Add argument `preserve-names' to extract names
19572 from the docstring when needed.
19573 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19574 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19575 (ad-arglist): Use help-function-arglist's new arg.
19576 (ad-definition-type): Use cond.
19578 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
19580 * autorevert.el (auto-revert-handler):
19581 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19582 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19583 Don't quote lambda.
19585 * image-mode.el (image-transform-set-scale):
19586 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19588 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19590 * net/network-stream.el (network-stream-open-starttls): Only do
19591 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
19592 Upgrades via gnutls-cli are too slow to be done opportunistically.
19594 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
19596 * dframe.el (dframe-current-frame): Remove spurious quote.
19598 2011-04-12 Glenn Morris <rgm@gnu.org>
19600 * calendar/cal-tex.el (cal-tex-end-document):
19601 Try to automatically use latin1 input if needed.
19603 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19604 Don't try to cons a mark onto an empty element.
19606 2011-04-11 Leo Liu <sdl.web@gmail.com>
19608 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19610 (ido-kill-buffer-at-head): Support killing virtual buffers.
19612 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
19614 * minibuffer.el (completion-show-inline-help): New var.
19615 (completion--do-completion, minibuffer-complete)
19616 (minibuffer-force-complete, minibuffer-complete-word):
19617 Inhibit minibuffer messages if completion-show-inline-help is nil.
19619 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19620 to avoid interference from inline help (Bug#5849).
19622 2011-04-10 Leo Liu <sdl.web@gmail.com>
19624 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19627 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
19629 * image-mode.el (image-toggle-display-image): Signal an error if
19631 (image-transform-mode, image-transform-resize)
19632 (image-transform-set-rotation): Doc fix.
19633 (image-transform-set-resize): Delete.
19634 (image-transform-set-scale, image-transform-fit-to-height)
19635 (image-transform-fit-to-width): Handle image-toggle-display-image
19636 and image-transform-resize directly.
19638 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
19640 * doc-view.el (doc-view-fit-width-to-window)
19641 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19642 New functions for fitting the shown image to the Emacs window size.
19643 (doc-view-mode-map): Add bindings for the new functions.
19645 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
19647 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
19648 Fix typo in docstring.
19650 2011-04-08 Eli Zaretskii <eliz@gnu.org>
19652 * files.el (file-size-human-readable): Produce one digit after
19653 decimal, like "ls -lh" does.
19655 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19656 the file size representation.
19658 * simple.el (list-processes): If async subprocesses are not
19659 available, error out with a clear error message.
19661 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
19663 * help.el (help-form-show): New function, to be called from C.
19664 Put help-form output in a buffer named differently than *Help*.
19666 2011-04-08 Eli Zaretskii <eliz@gnu.org>
19668 * files.el (file-size-human-readable): New function.
19670 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19671 computing the representation inline. Don't require `cl'.
19673 2011-04-08 Glenn Morris <rgm@gnu.org>
19675 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19677 * net/browse-url.el (browse-url-firefox):
19678 Test system-type, not system-configuration.
19680 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19681 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19682 Use log-edit-empty-buffer-p. (Bug#7598)
19684 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19685 (rlogin-mode-map): Initialize in the defvar.
19686 (rlogin): Use ignore-errors.
19688 * replace.el (occur-mode-map): Some fixes for menu items.
19690 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19692 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19694 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
19696 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19697 issuing unused warnings.
19699 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19702 * simple.el: Lisp reimplement of list-processes. Based on an
19703 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19704 (process-menu-mode): New major mode.
19705 (list-processes--refresh, list-processes):
19706 (process-menu-visit-buffer): New functions.
19708 * files.el (save-buffers-kill-emacs): Don't assume any return
19709 value of list-processes, which is undocumented anyway.
19711 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
19713 * emacs-lisp/tabulated-list.el: New file.
19715 * emacs-lisp/package.el: Use Tabulated List mode.
19716 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19717 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19718 table format using Tabulated List mode variables.
19719 (package--push): New macro, replacing package-list-maybe-add.
19720 (package-menu--generate): Use package--push. Renamed from
19721 package--generate-package-list.
19722 (package-menu-refresh, list-packages): Use it.
19723 (package-menu--print-info): Rename from package-print-package.
19724 Return insertion data instead of inserting it directly.
19725 (package-menu-describe-package, package-menu-execute):
19726 Use tabulated-list-get-id.
19727 (package-menu-mark-delete, package-menu-mark-install)
19728 (package-menu-mark-unmark, package-menu-backup-unmark)
19729 (package-menu-mark-obsolete-for-deletion):
19730 Use tabulated-list-put-tag.
19731 (package--list-packages, package-menu-revert)
19732 (package-menu-get-package, package-menu-get-version)
19733 (package-menu-sort-by-column): Functions deleted.
19734 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19735 (package-menu--status-predicate, package-menu--version-predicate)
19736 (package-menu--name-predicate)
19737 (package-menu--description-predicate): Handle arguments in the
19738 Tabulated List format.
19739 (package-list-packages-no-fetch): Call list-packages.
19741 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
19743 * files.el (after-find-file-from-revert-buffer): Remove variable.
19744 (after-find-file): Don't bind it.
19745 (revert-buffer-in-progress-p): New variable.
19746 (revert-buffer): Bind it.
19747 Pass nil for `after-find-file-from-revert-buffer'.
19749 * saveplace.el (save-place-find-file-hook): Use new variable
19750 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19752 2011-04-06 Glenn Morris <rgm@gnu.org>
19754 * Makefile.in (AUTOGEN_VCS): New variable.
19755 (autoloads): Use $AUTOGEN_VCS.
19757 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19758 * calendar/calendar.el (calendar-mode-map):
19759 Check for toolkit scroll bars. (Bug#8305)
19761 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
19763 * minibuffer.el (completion-in-region--postch)
19764 (completion-in-region-mode): Remove unnecessary messages.
19766 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
19768 * font-lock.el (font-lock-refresh-defaults):
19769 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19770 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19772 * info.el (Info-directory-list, Info-read-node-name-2)
19773 (Info-split-parameter-string): Doc fixes.
19774 (Info-virtual-nodes): Reflow docstring.
19775 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19776 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19777 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19778 Fix typos in docstrings.
19779 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19780 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19781 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19782 (Info-restore-desktop-buffer): Mark unused parameters.
19783 (Info-directory-find-file, Info-directory-find-node)
19784 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19785 (Info-virtual-index-find-node, Info-apropos-find-file)
19786 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
19787 Mark unused parameters; fix typos in docstrings.
19788 (Info-virtual-index): Remove unused local variable `nodename'.
19790 2011-04-05 Deniz Dogan <deniz@dogan.se>
19792 * net/rcirc.el: Update my e-mail address.
19793 (rcirc-mode-map): Remove M-o binding.
19795 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
19797 * startup.el (command-line): Save the cursor's theme-face
19798 directly, instead of using face-override-spec.
19800 * custom.el (load-theme): Minor optimization in assigning faces.
19802 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
19804 * help-fns.el (describe-variable): Complete all variables having
19805 documentation, including keywords.
19806 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19808 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
19810 Convert to lexical-binding.
19812 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19813 (bs--get-marked-string, bs--get-modified-string)
19814 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19815 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19816 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19818 * ehelp.el (electric-help-execute-extended)
19819 (electric-help-ctrl-x-prefix):
19820 * hexl.el (hexl-revert-buffer-function):
19821 * linum.el (linum-after-change, linum-after-scroll):
19822 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19824 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19826 2011-04-04 Daiki Ueno <ueno@unixuser.org>
19833 * epg.el: Use lexical binding.
19835 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
19837 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19839 * textmodes/flyspell.el (flyspell-word): Recognize default
19840 dictionary case for flyspell-mark-duplications-exceptions.
19841 Use regexp matching for languages.
19842 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19843 default dictionary (Bug#7926).
19845 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
19847 * emacs-lisp/package.el (package--with-work-buffer):
19848 Recognize https URLs.
19850 * net/network-stream.el: Move from gnus/proto-stream.el.
19851 Change prefix to network-stream throughout.
19852 (open-protocol-stream): Merge into open-network-stream, leaving
19853 open-protocol-stream as an alias. Handle nil BUFFER args.
19855 * subr.el (open-network-stream): Move to net/network-stream.el.
19857 2011-04-02 Glenn Morris <rgm@gnu.org>
19859 * find-dired.el (find-exec-terminator): New option.
19860 (find-ls-option): Test for -ls support.
19861 (find-ls-subdir-switches): Test for -b in find-ls-option.
19862 (find-dired, find-grep-dired): Doc fixes.
19863 (find-dired): Use find-exec-terminator.
19865 * find-dired.el (find-ls-option, find-ls-subdir-switches)
19866 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19867 (find-name-arg): Remove purecopy.
19869 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19870 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19871 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19872 accordingly. Don't add the null-device if not needed.
19874 * files.el (save-some-buffers): Doc fix.
19876 2011-04-02 Eli Zaretskii <eliz@gnu.org>
19878 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19880 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
19882 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19883 Use `dolist' rather than `mapcar'.
19885 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19887 Add lexical binding.
19889 * subr.el (apply-partially): Use new closures rather than CL.
19890 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19891 (dolist, dotimes): Use slightly different expansion for lexical code.
19892 (functionp): Move to C.
19893 (letrec): New macro.
19894 (with-wrapper-hook): Use it and apply-partially instead of CL.
19895 (eval-after-load): Preserve lexical-binding.
19896 (save-window-excursion, with-output-to-temp-buffer): Turn them
19899 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19901 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19903 (help-add-fundoc-usage): Don't add `Not documented'.
19904 (help-function-arglist): Handle closures, subroutines, and new
19905 byte-code-functions.
19906 (help-make-usage): Remove leading underscores.
19907 (describe-function-1): Handle closures.
19908 (describe-variable): Use special-variable-p for completion.
19910 * files.el (lexical-binding): Declare safe.
19912 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19913 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19914 (pcase): Add `let' pattern.
19915 Change memoization so it actually works.
19916 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19917 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19920 * emacs-lisp/macroexp.el: Use lexical binding.
19921 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19922 Don't convert ' to #' without checking that it's indeed quoting
19925 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
19926 Use eval-sexp-add-defvars.
19927 (eval-sexp-add-defvars): New fun.
19929 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19931 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19933 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19934 than the internal `byte-compile-lambda'.
19935 (defmethod): Don't hide code under quotes.
19936 (eieio-defmethod): New `code' argument.
19938 * emacs-lisp/eieio-comp.el: Remove.
19940 * emacs-lisp/edebug.el (edebug-eval-defun)
19941 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19942 (edebug-toggle): Avoid `eval'.
19944 * emacs-lisp/disass.el (disassemble-internal): Handle new
19946 (disassemble-1): Handle new byte codes.
19948 * emacs-lisp/cl.el (pushnew): Silence warning.
19950 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19951 (cl-byte-compile-throw): Remove.
19952 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19954 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19957 * emacs-lisp/cconv.el: New file.
19959 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19960 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19961 (byte-compile-initial-macro-environment):
19962 Handle declare-function here.
19963 (byte-compile--lexical-environment): New var.
19964 (byte-stack-ref, byte-stack-set, byte-discardN)
19965 (byte-discardN-preserve-tos): New lap codes.
19966 (byte-interactive-p): Don't use any more.
19967 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19969 (byte-compile-lapcode): Use them and handle new lap codes.
19970 (byte-compile-obsolete): Remove.
19971 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19972 (byte-compile-arglist-warn): Check late def of inlinable funs.
19973 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19974 since they should have been expanded by now.
19975 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19976 (byte-compile-from-buffer): Remove unused second arg.
19977 (byte-compile-preprocess): New function.
19978 (byte-compile-toplevel-file-form): New function to distinguish
19979 file-form calls from outside from file-form calls from hunk-handlers.
19980 (byte-compile-file-form): Simplify.
19981 (byte-compile-file-form-defsubst): Remove.
19982 (byte-compile-file-form-defmumble): Simplify now that
19983 byte-compile-lambda always returns a byte-code-function.
19984 (byte-compile): Preprocess.
19985 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19986 Remove, not used any more.
19987 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19988 (byte-compile-make-args-desc): New funs.
19989 (byte-compile-lambda): Handle lexical functions. Always return
19990 a byte-code-function.
19991 (byte-compile-reserved-constants): New var, to make up room for
19992 closed-over variables.
19993 (byte-compile-constants-vector): Obey it.
19994 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19995 (byte-compile-macroexpand-declare-function): New function.
19996 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19997 byte-code-functions.
19998 (byte-compile-form): Check obsolescence here.
19999 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20000 (byte-compile-variable-ref): Remove.
20001 (byte-compile-dynamic-variable-op): New fun.
20002 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20003 (byte-compile-variable-set): New funs.
20004 (byte-compile-discard): Add 2 args.
20005 (byte-compile-stack-ref, byte-compile-stack-set)
20006 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20007 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20008 macroexpand-all instead.
20009 (byte-compile-quote-form): Remove.
20010 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20011 (byte-compile-bind, byte-compile-unbind): New funs.
20012 (byte-compile-let): Handle let* and lexical binding.
20013 (byte-compile-let*): Remove.
20014 (byte-compile-catch, byte-compile-unwind-protect)
20015 (byte-compile-track-mouse, byte-compile-condition-case):
20016 Handle a new :fun-body form, used for lexical scoping.
20017 (byte-compile-save-window-excursion)
20018 (byte-compile-with-output-to-temp-buffer): Remove.
20019 (byte-compile-defun): Simplify.
20020 (byte-compile-stack-adjustment): New fun.
20021 (byte-compile-out): Use it.
20022 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20024 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20027 * emacs-lisp/byte-opt.el: Use lexical binding.
20028 (byte-inline-lapcode): Remove (to bytecomp).
20029 (byte-compile-inline-expand): Pay attention to inlining to/from
20030 lexically bound code.
20031 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20033 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20034 any more and don't call compiler-macros.
20035 (byte-compile-splice-in-already-compiled-code): Remove.
20036 (byte-code): Don't inline any more.
20037 (disassemble-offset): Receive `bytes' as argument rather than via
20039 (byte-compile-tag-number): Declare before first use.
20040 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20041 `return' even if make-spliceable.
20042 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20043 obsolete interactive-p.
20044 (byte-optimize-lapcode): Optimize new lap-codes.
20045 Don't trip up on new form of `byte-constant' lap code.
20047 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20049 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20051 * custom.el (custom-initialize-default, custom-declare-variable):
20054 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20056 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20057 (COMPILE_FIRST): Add macroexp and cconv.
20058 * makefile.w32-in: Mirror changes in Makefile.in.
20060 * vc/cvs-status.el:
20064 * vc/smerge-mode.el:
20065 * textmodes/bibtex-style.el:
20066 * textmodes/css-mode.el:
20074 * emacs-lisp/smie.el:
20077 * abbrev.el: Use lexical binding.
20079 2011-04-01 Eli Zaretskii <eliz@gnu.org>
20081 * info.el (info-display-manual): New function.
20083 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20085 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20087 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20089 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
20090 an entry for that server in rcirc-authinfo. (Bug#8385)
20092 2011-03-31 Glenn Morris <rgm@gnu.org>
20094 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20096 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20098 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20100 * progmodes/python.el (python-default-interpreter)
20101 (python-python-command-args, python-jython-command-args)
20102 (python-which-shell, python-which-args, python-which-bufname)
20103 (python-file-queue, python-comint-output-filter-function)
20104 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20105 variables and functions.
20107 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20109 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20110 (completion-in-region-mode): New minor mode.
20111 (completion-in-region): Use it.
20112 (completion-in-region--data, completion-in-region-mode-map): New vars.
20113 (completion-in-region--postch): New function.
20114 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20116 (completion--capf-wrapper): New function.
20117 (completion-at-point): Use it to track well-behavedness of
20119 (completion-help-at-point): New command.
20121 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20123 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20124 syntax class to search for whitespace on a single line
20125 (Message-ID: <4D938140.4030905@redhat.com>).
20127 2011-03-30 Leo Liu <sdl.web@gmail.com>
20129 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20131 (edit-abbrevs-map): Bind them here.
20132 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20134 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20136 * allout.el (allout-hide-by-annotation, allout-flag-region):
20137 Reduce possibility of overlay leakage by making them volatile.
20139 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20140 hash is not shared between buffers. Mode initialization is
20141 responsible for giving it a useful starting value.
20142 (allout-item-span): Reduce possibility of overlay leakage by
20143 making them volatile.
20144 (allout-widgets-count-buttons-in-region): Add diagnostic function
20145 for tracking down button overlay leaks.
20147 2011-03-29 Leo Liu <sdl.web@gmail.com>
20149 * ido.el (ido-read-internal): Use the default history var
20150 minibuffer-history if no HISTORY is specified.
20152 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20154 * net/imap.el (imap-shell-open, imap-process-connection-type):
20155 Use imap-process-connection-type for 'shell' streams as well as
20156 Kerberos, SSL, other subprocesses.
20158 2011-03-28 Leo Liu <sdl.web@gmail.com>
20160 * abbrev.el (abbrev-table-empty-p): New function.
20161 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20162 nonempty ones. (Bug#5937)
20164 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20166 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20168 2011-03-27 Leo Liu <sdl.web@gmail.com>
20170 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20171 for foreground and background colors.
20172 (ansi-color-make-color-map): Adapt.
20174 2011-03-25 Leo Liu <sdl.web@gmail.com>
20176 * midnight.el (midnight-time-float): Remove. Note it calculates
20177 the microsecond component incorrectly and seconds-to-time does the
20179 Remove redundant (require 'timer).
20181 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20182 (ido-completions): Remove unused arguments. (Bug#8329)
20184 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20186 * minibuffer.el (completion--flush-all-sorted-completions):
20187 Remove itself from hook.
20188 (completion-at-point): Let the functions perform the completion
20189 immediately and return nil or t.
20190 * comint.el (comint-dynamic-complete-functions): Now identical to
20191 completion-at-point-functions.
20192 (comint-dynamic-list-input-ring): Remove unused var `index'.
20193 (comint--match-partial-filename, comint--unquote&expand-filename):
20194 New funs, split from comint-match-partial-filename.
20195 (comint-dynamic-complete): Use completion-at-point.
20196 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20198 2011-03-24 Drew Adams <drew.adams@oracle.com>
20200 * thingatpt.el: Support `defun'.
20202 2011-03-23 Leo Liu <sdl.web@gmail.com>
20204 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20206 * help-mode.el (help-mode-finish): Tweak regexp.
20208 2011-03-23 Glenn Morris <rgm@gnu.org>
20210 * eshell/esh-opt.el (eshell-eval-using-options):
20211 Do not bind unused local variable `eshell-option-stub'.
20213 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20215 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20217 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20218 keymap variable in `with-no-warnings' to avoid a warning when the
20219 keymap has been already `defconst'ed.
20221 2011-03-22 Leo Liu <sdl.web@gmail.com>
20223 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20224 encode all chars in abbrevs; otherwise use emacs-mule or
20225 utf-8-emacs. (Bug#8308)
20227 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20229 * simple.el (backward-delete-char-untabify):
20230 Avoid warning about using `delete-backward-char'.
20232 * image.el (image-type-file-name-regexps): Make it variable.
20233 `imagemagick-register-types' modifies it, and the user may want
20234 to add new extensions for known image types.
20235 (imagemagick-register-types): Throw error if not using ImageMagick.
20237 2011-03-22 Leo Liu <sdl.web@gmail.com>
20239 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20240 located before rcirc-prompt-end-marker.
20241 (rcirc-complete): Error if point is not after rcirc prompt.
20242 Handle the case when table is nil.
20243 (rcirc-user-authenticated): Define to fix compiler warning.
20245 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
20247 * custom.el (custom--inhibit-theme-enable): Make it affect only
20248 custom-theme-set-variables and custom-theme-set-faces.
20249 (provide-theme): Ignore custom--inhibit-theme-enable.
20250 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20251 (custom-enabling-themes): Delete variable.
20252 (enable-theme): Accept only loaded themes as arguments.
20253 Ignore the special custom-enabled-themes variable.
20254 (custom-enabled-themes): Forbid themes from setting this.
20255 Eliminate use of custom-enabling-themes.
20256 (custom-push-theme): Quote "changed" custom var entry.
20258 2011-03-21 Leo Liu <sdl.web@gmail.com>
20260 * ido.el (ido-read-internal): Add ido-selected to history instead
20263 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20265 * subr.el (deferred-action-list, deferred-action-function):
20268 2011-03-21 Leo Liu <sdl.web@gmail.com>
20270 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20271 change on 2011-02-13 (bug#8309).
20273 * minibuffer.el (read-file-name-function): Change default value.
20274 (read-file-name--defaults): Rename from read-file-name-defaults.
20275 (read-file-name-default): Rename from read-file-name.
20276 (read-file-name): Call read-file-name-function.
20278 2011-03-21 Glenn Morris <rgm@gnu.org>
20280 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20283 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
20285 * cus-theme.el: Add missing provide statement.
20286 (customize-create-theme): Extract theme value correctly.
20287 (custom-theme-visit-theme): Autoload.
20288 (customize-create-theme): Prompt before inserting default faces.
20290 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20292 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20293 units and musical notes.
20295 2011-03-20 Leo Liu <sdl.web@gmail.com>
20297 * ido.el (ido-read-internal): Use completing-read-default.
20298 (ido-completing-read): Fix compatibility with completing-read.
20300 2011-03-20 Christian Ohler <ohler@gnu.org>
20302 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20303 (ert-delete-all-tests): Use `called-interactively-p' rather than
20305 (ert--make-xrefs-region): Respect END.
20307 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20309 * dired-aux.el (dired-create-directory): Signal an error if the
20310 directory already exists (Bug#8246).
20312 * facemenu.el (list-colors-display): Call list-faces-display
20313 inside with-help-window.
20314 (list-colors-print): Use display property to align the final
20315 column, instead of checking window-width.
20317 2011-03-19 Eli Zaretskii <eliz@gnu.org>
20319 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
20320 windows-nt systems.
20321 (emerge-protect-metachars): Quote correctly for ms-dos and
20322 windows-nt systems.
20324 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
20326 * info.el (info-initialize): Replace all uses of `:' with
20327 path-separator for compatibility with non-Unix systems.
20328 Cache quoting of path-separator. (Bug#8258)
20330 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
20332 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20333 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20334 (mouse-avoidance-mode): Fix typos in docstrings.
20336 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20338 * startup.el (package-subdirectory-regexp): Move from package.el.
20339 Omit \\` and \\', and let callers add them.
20341 * emacs-lisp/package.el (package-strip-version)
20342 (package-load-all-descriptors): Add \\` and \\' to
20343 package-subdirectory-regexp before using it.
20344 (package-untar-buffer): New arg DIR; ensure that file untars only
20345 into this expected directory. Remove superfluous delete-region.
20346 (package-unpack): Caller changed.
20347 (package-tar-file-info): Use package-subdirectory-regexp.
20349 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
20351 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20352 diff-mode-shared-map (bug#8284).
20353 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
20355 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20357 * calendar/time-date.el (format-seconds): Use assoc instead of
20358 assoc-string, since assoc-string doesn't exist in XEmacs.
20360 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
20362 * custom.el (custom-known-themes): Reflow docstring.
20363 (custom-theme-load-path): Fix typo in docstring.
20364 (load-theme): Fix typo in error message.
20365 (custom-available-themes, custom-variable-theme-value):
20366 Use `let', not `let*'.
20368 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20370 * calc/README: Mention inclusion of musical notes.
20372 * calc/calc-units.el (calc-lu-quant): Rename from
20373 `calc-logunits-quantity'.
20374 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20375 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20376 (calc-db): Rename from `calc-dblevel'.
20377 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20378 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20379 (calc-np): Rename from `calc-nplevel'.
20380 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20381 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20382 (calc-lu-plus): Rename from `calc-logunits-add'.
20383 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20384 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20385 (calc-lu-minus): Rename from `calc-logunits-sub'.
20386 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20387 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20388 (calc-lu-times): Rename from `calc-logunits-mul'.
20389 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20390 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20391 (calc-lu-divide): Rename from `calc-logunits-div'.
20392 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20393 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20395 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20396 functions being autoloaded.
20398 * calc/calc.el (calc-lu-power-reference): Rename from
20399 `calc-logunits-power-reference'.
20400 (calc-lu-field-reference): Rename from
20401 `calc-logunits-field-reference'.
20403 * calc/calc-help.el (calc-l-prefix-help):
20404 Mention musical note functions.
20406 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20408 * minibuffer.el (completion-all-sorted-completions):
20409 Use :completion-cycle-penalty text property if present.
20411 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20413 * allout.el (allout-yank-processing): Adjust for new rebulleting
20414 regime so bullet being yanked is used without prompting the user
20417 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20419 * startup.el (command-line): Warn the user that _emacs is deprecated.
20421 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20423 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20424 (delphi-verbose, delphi-comment-face, delphi-string-face)
20425 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20426 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20427 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20428 (delphi-new-comment-line, delphi-font-lock-defaults)
20429 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20430 Fix typos in docstrings.
20432 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20434 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
20435 Invert the roles of character and string values for INSTEAD, so a
20436 string is used for the more common case of a defaulting prompt.
20438 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20440 * progmodes/ruby-mode.el (ruby-backward-sexp):
20441 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20442 * play/gamegrid.el (gamegrid-make-face):
20443 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20444 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20445 * notifications.el (notifications-notify):
20446 * net/xesam.el (xesam-search-engines):
20447 * net/quickurl.el (quickurl-list-insert):
20448 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20450 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
20452 * startup.el (command-line): Update package subdirectory regexp.
20454 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20456 * allout.el (allout-abbreviate-flattened-numbering)
20457 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20459 * subr.el (read-char-choice): Only show the cursor after the prompt,
20460 not after the answer.
20462 2011-03-15 Kevin Ryde <user42@zip.com.au>
20464 * help-fns.el (variable-at-point): Skip leading quotes, if any
20467 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20469 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20472 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
20474 * shell.el (shell): When called interactively, offer to change the
20475 shell file name on remote hosts.
20477 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20479 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20480 integration for LDAP parameters. The host, base, user or binddn,
20481 and secret tokens can be specified in a netrc file, for instance.
20482 This is optional because an `auth-source' parameter must be
20483 specified in the search attributes.
20485 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
20487 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20489 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20491 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20492 into declaration. Remove redundant and harmful binding.
20494 2011-03-12 Eli Zaretskii <eliz@gnu.org>
20496 * files.el (file-ownership-preserved-p): Pass `integer' as an
20497 explicit 2nd argument to `file-attributes'. If the file's owner
20498 is the Administrators group on Windows, and the current user is
20499 Administrator, consider that a match.
20501 * server.el (server-ensure-safe-dir): Consider server directory
20502 safe on MS-Windows if its owner is the Administrators group while
20503 the current Emacs user is Administrator. Use `=' to compare
20504 numerical UIDs, since they could be integers or floats.
20506 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
20508 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20510 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
20512 Sync with Tramp 2.2.1.
20514 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20516 * net/trampver.el: Update release number.
20518 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20520 * progmodes/compile.el (compilation--previous-directory): Fix up
20521 various nil/dead-marker mismatches (bug#8014).
20522 (compilation-directory-properties, compilation-error-properties):
20523 Don't call it at a position past the one we're about to change.
20525 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20526 Disable obsolescence warnings in the file that declares it.
20528 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20530 * allout-widgets.el (allout-widgets-tally):
20531 Initialize allout-widgets-tally as a hash table rather than nil to
20532 prevent mode-line redisplay warnings. Also, clarify the module
20533 description and fix a comment typo.
20535 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
20537 * help-fns.el (describe-variable): Don't complete keywords.
20538 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20540 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
20542 * emacs-lisp/package.el (package-version-join): Impose a standard
20543 string representation for pre/alpha/beta version lists.
20544 (package-unpack-single): Standardize the directory name by passing
20545 it through package-version-join.
20546 (package-strip-rcs-id): Accept any version string that does not
20547 signal an error in version-to-list.
20549 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
20551 * simple.el (delete-trailing-whitespace): Return nil for the
20552 benefit of `write-file-functions'.
20554 2011-03-10 Glenn Morris <rgm@gnu.org>
20556 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20558 * vc/vc-git.el (vc-git-program): New option.
20559 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20560 (vc-git--call): Use it.
20562 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20564 * cus-edit.el (Custom-newline): If no button at point, look
20565 for a subgroup button at start-of-line. (Bug#2298)
20567 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20569 2011-03-10 Julien Danjou <julien@danjou.info>
20571 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20572 `cursor-type' is nil.
20574 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20576 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20578 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20580 * allout.el: Change so yank of distinctive-bullet items
20581 preserves the existing header prefix, rebulleting it if necessary,
20582 rather than replacing it. This is necessary for proper operation
20583 of cooperative addons like allout-widgets.
20584 (allout-make-topic-prefix, allout-rebullet-heading):
20585 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20586 value as alternate bullet to be used, instead of prompting the user
20587 for a bullet character.
20589 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
20591 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20592 Do not use `tramp-file-name-port', because this returns also
20593 `tramp-default-port'.
20595 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20597 * net/rcirc.el (rcirc-handler-001): Remove useless
20598 with-rcirc-process-buffer.
20599 (rcirc-check-auth-status): Swap arguments to string-match.
20601 2011-03-09 Glenn Morris <rgm@gnu.org>
20603 * shell.el (shell-mode):
20604 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20606 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20607 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20609 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
20611 * emacs-lisp/package.el (package-refresh-contents)
20612 (package-menu-execute): Use condition-case-no-debug.
20614 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
20616 * simple.el (shell-command-to-string): Use `process-file'.
20618 * emacs-lisp/package.el (package-tar-file-info): Handle also
20621 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20622 Use `equal' for upload base check.
20624 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20626 * textmodes/texinfo.el (texinfo-environments):
20627 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20629 2011-03-08 Glenn Morris <rgm@gnu.org>
20631 * cus-start.el (cursor-in-non-selected-windows):
20632 Fix :set quoting oddness. (Bug#8192)
20634 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20635 in some setf expressions. (Bug#2159)
20637 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
20639 * custom.el (custom-available-themes): Return themes in
20640 alphabetical order.
20642 See ChangeLog.15 for earlier changes.
20644 ;; Local Variables:
20648 Copyright (C) 2011-2012 Free Software Foundation, Inc.
20650 This file is part of GNU Emacs.
20652 GNU Emacs is free software: you can redistribute it and/or modify
20653 it under the terms of the GNU General Public License as published by
20654 the Free Software Foundation, either version 3 of the License, or
20655 (at your option) any later version.
20657 GNU Emacs is distributed in the hope that it will be useful,
20658 but WITHOUT ANY WARRANTY; without even the implied warranty of
20659 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20660 GNU General Public License for more details.
20662 You should have received a copy of the GNU General Public License
20663 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.