1 2012-10-26 Bastien <bzg@altern.org>
2 Stefan Monnier <monnier@iro.umontreal.ca>
4 * face-remap.el: Use lexical-binding.
5 (text-scale-adjust): Improve docstring. Use itself for the temporary
6 overlay-map bindings, so as to repeat the "Use..." message each time.
8 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
10 * emacs-lisp/macroexp.el (macroexp--expand-all):
11 Obey byte-compile-warning-enabled-p (bug#12486).
13 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
14 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
16 2012-10-26 Martin Rudalics <rudalics@gmx.at>
18 * mouse.el (mouse-drag-line): Move last form into preceding when
21 * help.el (resize-temp-buffer-window): Fix doc-string.
23 2012-10-25 David Engster <deng@randomsample.de>
25 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
26 Remove. This feature is already integrated in imenu.
28 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
29 always loaded. Require `speedbar' unconditionally.
31 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
33 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
35 * minibuffer.el (minibuffer-force-complete): Fix thinko.
37 * net/ldap.el (ldap-search-internal): The official ldif format starts
38 with a "version: 1" header (bug#12724).
40 * emacs-lisp/package.el (package-installed-p): Warn if not ready
43 2012-10-25 Glenn Morris <rgm@gnu.org>
45 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
47 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
49 * minibuffer.el (minibuffer-force-complete): Use one more marker
50 for the temporary-overlay-map command (bug#12619).
52 2012-10-24 Chong Yidong <cyd@gnu.org>
54 * time.el (display-time-world-mode): Derive from special-mode.
55 (display-time-world): Use display-buffer (Bug#12708).
56 (display-time-world-mode-map): Variable deleted.
57 (display-time-world-display): Wrap the final delete-char inside
60 2012-10-24 Chong Yidong <cyd@gnu.org>
62 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
65 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
67 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
69 * minibuffer.el (completion--all-sorted-completions-location): New var.
70 (completion--cache-all-sorted-completions)
71 (completion--flush-all-sorted-completions): Use it.
72 (completion-in-region, completion-in-region--postch)
73 (completion-at-point, completion-help-at-point): Use markers in
74 completion-in-region--data (bug#12619).
76 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
78 * progmodes/compile.el (compilation-start): Try to handle common
79 quoting of `cd' argument (bug#12640).
81 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
84 2012-10-23 Glenn Morris <rgm@gnu.org>
86 * progmodes/gud.el (gud-menu-map):
87 Check gdb-active-process is bound. (Bug#12358)
89 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
91 * repeat.el (repeat): Set real-this-command (bug#12232).
93 * htmlfontify.el (hfy-post-html-hook):
94 * filesets.el (filesets-cache-fill-content-hook):
95 * arc-mode.el (archive-extract-hook):
96 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
97 * net/rcirc.el (rcirc-sentinel-functions)
98 (rcirc-receive-message-functions, rcirc-activity-functions)
99 (rcirc-print-functions):
100 * net/dbus.el (dbus-event-error-functions):
101 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
102 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
103 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
104 * term/sun.el (sun-raw-prefix-hooks):
105 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
107 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
109 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
110 Set `tramp-chunksize' to 1. This improves the performance.
111 (tramp-smb-wait-for-output): Add timeout to
112 `tramp-accept-process-output' calls.
114 2012-10-23 Chong Yidong <cyd@gnu.org>
116 * faces.el (font-list-limit): Define as an obsolete variable.
118 * startup.el (command-line):
119 * cus-start.el: Don't refer to font-list-limit.
121 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
123 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
125 * subr.el (internal-temp-output-buffer-show): Rename from
126 temp-output-buffer-show, since previously compiled files expect this name.
128 2012-10-23 Glenn Morris <rgm@gnu.org>
130 * image.el (image-type-from-file-name): If multiple types match,
131 return the first one that is supported. (Bug#9045)
133 2012-10-22 Glenn Morris <rgm@gnu.org>
135 * image.el (imagemagick-enabled-types): Doc fix.
137 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
139 * progmodes/which-func.el (which-func-current): The hash-table may have
140 an explicit nil (bug#12338).
142 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
144 * electric.el (electric-pair-delete-selection-self-insert-function):
145 Rename to electric-pair-will-use-region, return a boolean.
146 (electric-pair-mode): Adjust accordingly. Don't require delsel.
148 * delsel.el (delete-selection-helper): Use a function instead of a hook.
149 (delete-selection-pre-hook): Use use-region-p.
150 (delete-selection-self-insert-function): Remove.
151 (self-insert-command): Obey self-insert-uses-region-functions.
152 (self-insert-iso): Revert to previous setting, since we don't actually
153 know what that command does.
154 (delete-selection-self-insert-hooks): Remove.
156 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
158 * delsel.el (delete-selection-helper): New function, extracted from
159 delete-selection-pre-hook.
160 (delete-selection-pre-hook): Use it.
161 (delete-selection-self-insert-function): New function.
162 (delete-selection-self-insert-hooks): New hook.
163 (self-insert-command, self-insert-iso): Use it.
164 * electric.el (electric-pair-syntax): New function, extracted from
165 electric-pair-post-self-insert-function.
166 (electric-pair-post-self-insert-function): Use it.
167 (electric-pair-delete-selection-self-insert-function): New function.
168 (electric-pair-mode): Require delsel and setup
169 delete-selection-self-insert-hooks (bug#11520).
171 2012-10-20 Chong Yidong <cyd@gnu.org>
173 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
174 no changes to show (Bug#12586).
176 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
177 list explicitly (Bug#12571).
179 2012-10-20 Arne Jørgensen <arne@arnested.dk>
181 * progmodes/flymake.el (flymake-create-temp-inplace):
184 2012-10-20 Eli Zaretskii <eliz@gnu.org>
186 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
188 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
190 * calc/calc-units.el (math-extract-units): Properly extract powers
193 2012-10-20 Daniel Colascione <dancol@dancol.org>
195 * frame.el (make-frame): Set x-display-name as we used to in order
196 to unbreak creating an X11 frame from an Emacs daemon started
199 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
201 * minibuffer.el (minibuffer-force-complete): Make the next completion use
202 the same completion-field (bug@12221).
204 2012-10-19 Martin Rudalics <rudalics@gmx.at>
206 * emacs-lisp/debug.el (debug): Record height of debugger window
207 also when debugger will be back (Bug#8789).
209 2012-10-18 Chong Yidong <cyd@gnu.org>
211 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
212 Convert to defcustom.
213 (gdb-get-source-file): Don't bind pop-up-windows.
215 * progmodes/gud.el (gud-display-line): Don't specially re-use
216 other frames for the gdb-mi case (Bug#12648).
218 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
220 * emacs-lisp/advice.el: Clean up commentary a bit.
221 (ad-do-advised-functions, ad-with-originals): Use `declare'.
222 (byte-code-function-p): Never redefine.
224 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
226 2012-10-18 Glenn Morris <rgm@gnu.org>
228 * dired.el (dired-sort-toggle): Some ls implementations only allow
229 a single option string. (Bug#12666)
231 * minibuffer.el (completion-cycle-threshold): Doc fix.
233 2012-10-17 Kenichi Handa <handa@gnu.org>
235 * international/mule.el (set-keyboard-coding-system):
236 Recover input meta mode when the new coding system doesn not use 8-bit.
237 Supply TERMINAL arg to set-input-meta-mode.
239 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de> (tiny change)
241 * wdired.el (wdired-old-marks): New variable.
242 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
243 (wdired-do-renames): Move point with renamed file and don't lose
244 mark status (Bug#11795).
246 2012-10-16 Juri Linkov <juri@jurta.org>
248 * replace.el (query-replace-help): Mention multi-buffer replacement
249 keys in the Help message. (Bug#12655)
251 2012-10-15 Chong Yidong <cyd@gnu.org>
253 * emacs-lisp/byte-run.el (defsubst): Doc fix.
255 2012-10-14 Eli Zaretskii <eliz@gnu.org>
257 * window.el (display-buffer): Doc fix.
259 * progmodes/compile.el (compilation-error-regexp-alist-alist):
260 Adjust the msft regexp to the output of Studio 2010, and move msft
261 before edg-1. See the discussion on emacs-devel,
262 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
265 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
267 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
268 (oset): Move uses of object-class-fast macro after its definition.
270 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
272 2012-10-13 Chong Yidong <cyd@gnu.org>
274 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
275 enabled, re-enable it (Bug#11963).
277 2012-10-13 Martin Rudalics <rudalics@gmx.at>
279 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
280 non-nil, restore window configuration (Bug#12623).
282 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
284 * help-fns.el (describe-variable, describe-function-1):
285 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
287 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
289 2012-10-12 Glenn Morris <rgm@gnu.org>
291 * mail/rmailsum.el (rmail-header-summary):
292 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
294 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
296 * progmodes/python.el (python-mode-map):
297 Replace subtitute-key-definition with proper command remapping.
298 (python-nav--up-list): Fix behavior for blocks on the same level.
300 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
302 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
304 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
305 changes to the format of load-history.
307 * international/mule-cmds.el (read-char-by-name): Move let-binding of
308 completion-ignore-case in case that var is buffer-local (bug#12615).
310 2012-10-11 Kenichi Handa <handa@gnu.org>
312 * international/eucjp-ms.el: Re-generated.
314 2012-10-10 Kenichi Handa <handa@gnu.org>
316 * select.el (xselect--encode-string): If a coding is specified for
317 selection, and that is compatible with COMPOUND_TEXT, use it.
319 2012-10-10 Martin Rudalics <rudalics@gmx.at>
321 * window.el (switch-to-buffer-preserve-window-point): New option.
323 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
325 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
327 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
328 Don't document nil as a useful value (bug#12583).
330 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
332 * net/tramp.el (tramp-debug-message):
333 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
334 (with-tramp-progress-reporter): Rename from
335 `tramp-with-progress-reporter'.
336 (with-tramp-file-property, with-tramp-connection-property):
337 Move from tramp-cache.el, rename from `with-file-property' and
338 `with-connection-property', respectively.
340 * net/tramp-cache.el: Remove `with-file-property' and
341 `with-connection-property'.
346 * net/tramp-smb.el: Adapt callees.
348 * net/trampver.el: Update release number.
350 2012-10-09 Glenn Morris <rgm@gnu.org>
352 * w32-fns.el (set-message-beep):
353 * term/w32-win.el (set-message-beep): Update declarations.
355 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
357 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
358 (mode-line-widen, mode-line-input-method-map)
359 (mode-line-coding-system-map, mode-line-remote)
360 (mode-line-unbury-buffer, mode-line-bury-buffer)
361 (mode-line-next-buffer, mode-line-previous-buffer):
362 Replace save-selected-window+select-window => with-selected-window.
364 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
365 * progmodes/cc-vars.el (bq-process): Remove, unused.
367 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
369 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
371 Implemented `backward-up-list'-like navigation.
372 * progmodes/python.el (python-nav-up-list)
373 (python-nav-backward-up-list): New functions.
374 (python-mode-map): Define substitute key for backward-up-list to
375 python-nav-backward-up-list.
377 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
379 * progmodes/python.el (python-fill-paragraph): Rename from
380 python-fill-paragraph-function. Fixed fill-paragraph for
381 decorators (Bug#12605).
383 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
385 * progmodes/python.el (python-shell-output-filter): Handle extra
386 carriage return in OSX (Bug#12409).
388 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
390 Fix shell handling of unbalanced quotes and parens in output.
391 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
392 (python-syntax-propertize-function): Use it.
393 (python-shell-output-syntax-table): New var.
394 (inferior-python-mode): Prevent unbalanced parens/quotes from
395 previous output mess with current input context.
397 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
399 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
400 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
402 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
404 * ffap.el (ffap-replace-file-component): Support Tramp file name
405 syntax, not only ange-ftp's one.
407 2012-10-08 Glenn Morris <rgm@gnu.org>
409 * cus-start.el (message-log-max): Set :version.
411 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
413 2012-10-08 Martin Rudalics <rudalics@gmx.at>
415 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
416 the minibuffer window (Bug#10851).
418 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
420 Enhancements on forward-sexp movement.
421 * progmodes/python.el (python-nav-beginning-of-statement)
422 (python-nav-end-of-statement): Return point-marker.
423 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
424 (python-info-current-symbol)
425 (python-info-statement-starts-block-p): Rename from
426 python-info-beginning-of-block-p.
427 (python-info-statement-ends-block-p): Rename from
428 python-info-end-of-block-p.
429 (python-info-beginning-of-statement-p)
430 (python-info-end-of-statement-p)
431 (python-info-beginning-of-block-p, python-info-end-of-block-p):
434 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
436 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
437 frame-selected-windows.
439 2012-10-08 Daniel Colascione <dancol@dancol.org>
441 * battery.el (battery-status-function): Check for
442 w32-battery-status itself, not system-time windows-nt.
444 * frame.el: Require cl-lib.
445 (display-format-alist): New variable mapping frame types to
446 functions that initialize them.
447 (window-system-for-display): New function: interprets
448 display-format-alist.
449 (make-frame-on-display): Remove existing display-selection logic
450 and just forward to make-frame, which will now DTRT.
451 (make-frame): Restructure to use window-system-for-display to
452 figure out how to create a frame on a given display.
453 (display-mouse-p): Look for frame-type w32, not a particular
456 * loadup.el: Load w32 lisp code when we have the w32 feature.
458 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
459 system-type windows-nt.
461 * server.el (server-create-window-system-frame): Look for window
463 (server-proces-filter): Only force a window system when windows-nt
464 _and_ w32. Explain why.
466 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
467 of window systems we configure for the mode.
469 * startup.el (command-line): Mark window system is initialized
472 * common-win.el (x-select-text): Look for w32, not windows-nt.
474 * ns-win.el: Require cl-lib. Add ourselves to
475 display-format-alist.
476 (ns-initialize-window-system): Assert we're not initialized twice.
478 * w32-win.el: Enable lexical binding; require cl-lib; add
479 ourselves to display-format-alist.
480 (w32-handle-dropped-file): Convert incoming dropped files from
481 Windows paths to Cygwin ones before passing them on to the rest of
483 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
484 (w32-initialize-window-system): Assert we're not initialized twice.
486 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
487 (x-initialize-window-system): Assert we're not initialized twice.
489 * w32-common-fns.el: New File.
490 (w32-version, w32-using-nt, w32-get-clipboard-data)
491 (w32-set-clipboard-data, x-set-selection, x-get-selection)
492 (w32-charset-info-alist, x-last-selected, text)
493 (x-get-selection-value, x-selection-value): Move here.
495 * w32-fns.el: Require w32-common-fns.
496 (w32-version, w32-using-nt, w32-get-clipboard-data)
497 (w32-set-clipboard-data, x-set-selection, x-get-selection)
498 (w32-charset-info-alist, x-last-selected, text)
499 (x-get-selection-value, x-selection-value): Move to
503 (w32-allow-system-shell, w32-system-shells): Define only in
506 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
508 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
509 (read-passwd): Remove a few more potential sources of leaks.
511 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
513 * progmodes/python.el (inferior-python-mode)
514 (python-shell-make-comint): Fix initialization of local
515 variables copied from parent buffer.
517 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
519 * term/ns-win.el (ns-read-file-name): Update declaration to match
521 (ns-respond-to-change-font): Change fontsize separatly so we are sure
522 it is set when font is acted upon.
524 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
526 Enhancements to indentation.
527 * progmodes/python.el (python-indent-context): Give priority to
528 inside-string context. Make comments indentation markers.
529 (python-indent-region): Do not mess with strings, unless it's the
530 enclosing set of quotes.
532 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
534 * window.el (internal--before-save-selected-window)
535 (internal--after-save-selected-window): New functions extracted from
536 save-selected-window. Make sure we return the `alist' we construct.
537 (save-selected-window): Use them.
539 * textmodes/tex-mode.el (tex-recenter-output-buffer):
540 Use with-selected-window.
542 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
543 forms that define macros (bug#12593).
545 2012-10-07 Kenichi Handa <handa@gnu.org>
547 * international/mule-conf.el (compound-text-with-extensions):
548 Add :mime-charset property as x-ctext.
550 2012-10-07 Stefan Merten <smerten@oekonux.de>
552 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
553 (rst-indent-literal-normal, rst-indent-literal-minimized)
554 (rst-indent-comment): Correct :version tag.
555 (rst-official-cvs-rev): Correct version string.
557 2012-10-07 Glenn Morris <rgm@gnu.org>
559 * mail/rmailmm.el (rmail-mime-process-multipart):
560 Do not confuse a multipart message with an epilogue
561 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
563 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
565 Fix shell output retrieval and comint-prompt-regexp init.
566 * progmodes/python.el (inferior-python-mode):
567 (python-shell-make-comint): Fix initialization of
568 comint-prompt-regexp from copied file local variables.
569 (python-shell-fetched-lines): Remove var.
570 (python-shell-output-filter-in-progress): Rename from
571 python-shell-fetch-lines-in-progress.
572 (python-shell-output-filter-buffer): Rename from
573 python-shell-fetch-lines-string.
574 (python-shell-fetch-lines-filter): Delete function.
575 (python-shell-output-filter): New function.
576 (python-shell-send-string-no-output): Use them.
578 2012-10-07 Glenn Morris <rgm@gnu.org>
580 * hi-lock.el (hi-lock-process-phrase):
581 Try to make it less fragile. (Bug#7161)
583 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
585 2012-10-06 Glenn Morris <rgm@gnu.org>
587 * ehelp.el (electric-help-mode): Use help-mode rather than
588 non-existent mode `help'.
589 (electric-help-map): Use button-buffer-map. (Bug#10917)
591 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
592 (reftex-create-bibtex-footer): Fix custom types.
594 * progmodes/sh-script.el (sh-indent-after-continuation):
597 * textmodes/rst.el (rst-preferred-decorations)
598 (rst-shift-basic-offset): Clarify obsolescence versions.
600 * profiler.el (profiler): Add missing group :version tag.
601 * avoid.el (mouse-avoidance-banish-position):
602 * proced.el (proced-renice-command):
603 * calc/calc.el (calc-ensure-consistent-units):
604 * calendar/icalendar.el (icalendar-import-format-uid):
605 * net/tramp.el (tramp-save-ad-hoc-proxies):
606 * progmodes/bug-reference.el (bug-reference-bug-regexp):
607 * progmodes/flymake.el (flymake-error-bitmap)
608 (flymake-warning-bitmap, flymake-fringe-indicator-position):
609 * progmodes/sh-script.el (sh-indent-after-continuation):
610 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
611 (verilog-before-save-font-hook, verilog-after-save-font-hook):
612 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
613 (vhdl-array-index-record-field-in-sensitivity-list)
614 (vhdl-indent-comment-like-next-code-line):
615 * textmodes/reftex-vars.el (reftex-ref-style-alist)
616 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
617 (reftex-cite-key-separator, reftex-create-bibtex-header)
618 (reftex-create-bibtex-footer):
619 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
620 (rst-indent-literal-normal, rst-indent-literal-minimized)
621 (rst-indent-comment): Add missing custom :version tags.
623 * calendar/timeclock.el (timeclock-modeline-display):
624 Add missing obsolete alias for renamed user option.
626 * strokes.el (strokes-modeline-string):
627 * emulation/crisp.el (crisp-mode-modeline-string):
628 * eshell/esh-mode.el (eshell-status-in-modeline):
629 Aliases to defcustoms must come before the defcustom.
631 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
632 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
633 (cal-tex-cursor-week-monday): Doc fixes.
634 (cal-tex-cursor-week2-summary): Doc fix.
635 Rename from cal-tex-cursor-week-at-a-glance.
637 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
638 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
640 * calendar/calendar.el (calendar-mode-map):
641 Add cal-tex-cursor-week2-summary.
643 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
645 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
647 * subr.el (read-passwd-map): New var.
648 (read-passwd): Use `read-string' again.
649 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
651 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
653 * register.el (append-to-register, prepend-to-register):
654 Deactivate mark, as does `copy-to-register' (bug#12389).
656 2012-10-06 Chong Yidong <cyd@gnu.org>
658 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
660 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
662 * international/characters.el: Fix simple mistake ((car chars) ->
663 elt), delete duplicated code.
665 2012-10-06 Glenn Morris <rgm@gnu.org>
667 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
669 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
671 * color.el (color-hsl-to-rgb): Fix incorrect results for
672 small and large hue values. (Bug#12559)
674 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
676 Enhancements to docstring formatting when filling paragraphs.
677 * progmodes/python.el (python-fill-docstring-style): Rename from
678 python-fill-string-style. Added new style.
679 (python-fill-string): Use new style. Better checks for
682 2012-10-05 Glenn Morris <rgm@gnu.org>
684 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
686 * color.el (color-name-to-rgb, color-rgb-to-hex)
687 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
688 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
689 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
690 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
692 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
694 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
696 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
697 to get the correct size across symlinks.
699 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
701 2012-10-04 Juri Linkov <juri@jurta.org>
703 * replace.el (query-replace-interactive): Declare obsolete.
704 (query-replace-read-from): Add the last incremental search string
705 to the list of default values accessible via M-n.
706 (map-query-replace-regexp): Use `read-regexp'.
707 (query-replace, query-replace-regexp, query-replace-regexp-eval)
708 (map-query-replace-regexp, replace-string, replace-regexp):
709 Fix docstrings to replace mentions of `query-replace-interactive'
710 with alternatives. (Bug#12526)
712 2012-10-04 Juri Linkov <juri@jurta.org>
714 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
715 (dired-pop-to-buffer): Declare obsolete.
716 (dired-mark-pop-up): Doc fix.
718 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
720 Allow user to set docstring style for fill-paragraph.
721 * progmodes/python.el
722 (python-fill-comment-function, python-fill-string-function)
723 (python-fill-decorator-function, python-fill-paren-function):
724 Remove :safe for defcustoms.
725 (python-fill-string-style): New defcustom
726 (python-fill-paragraph-function): Enhance context detection.
727 (python-fill-string): Honor python-fill-string-style settings.
729 2012-10-04 Martin Rudalics <rudalics@gmx.at>
731 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
732 after setting its buffer (Bug#10805).
734 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
736 Fix cornercase for string syntax.
737 * progmodes/python.el (python-syntax-propertize-function):
738 Simplify and enhance the regexp for unescaped quotes. Now it also
739 matches quotes in weird situations like the single quote in
741 (python-syntax-stringify): Simplify num-quotes detecting code.
743 2012-10-03 Glenn Morris <rgm@gnu.org>
745 * help-macro.el (three-step-help):
746 Revert 2012-09-29 change. (Bug#12567)
748 2012-10-03 Martin Rudalics <rudalics@gmx.at>
750 * menu-bar.el (kill-this-buffer): Don't do anything when
751 `menu-frame' is not alive or visible (Bug#8184).
753 * emacs-lisp/debug.el (debug): When quitting the debugger window
754 restore current buffer (Bug#12502).
756 2012-10-02 Chong Yidong <cyd@gnu.org>
758 * progmodes/hideif.el (hif-lookup, hif-defined):
759 Handle semantic-c-takeover-hideif.
761 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
763 Change sampling interval units from ms to ns.
764 * profiler.el (profiler-sampling-interval): Change units
765 from ms to ns, multiplying the default by 1000000 so that
767 (profiler-report-cpu-line-format): Give enough room for
768 the maximum counters on 64-bit hosts.
769 (profiler-report-render-calltree-1): Call them "CPU samples",
770 not "Time (ms)", since they are not milliseconds now (and
773 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
775 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
776 Fix querying BBDB for entries without a last name (Bug#11580).
778 2012-10-02 Chong Yidong <cyd@gnu.org>
780 * emacs-lisp/eieio.el: Restore Version header.
782 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
784 * vc/diff-mode.el (diff--auto-refine-data): New var.
785 (diff-hunk): Use it to delay refinement.
786 (diff-mode): Remove overlays when we turn off font-lock.
788 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
789 (table-initialize-table-fixed-width-mode)
790 (table-set-table-fixed-width-mode): Remove functions.
791 (table-command-list): Move initialization into declaration.
792 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
793 (table-with-cache-buffer): Use `declare'.
794 (table-span-cell): Simplify via CSE.
795 (table-fixed-width-mode): Use define-minor-mode.
796 (table-call-interactively, table-funcall, table-apply): Remove.
797 (table-function): New function, to replace them.
799 * bookmark.el (bookmark-search-pattern): Remove var.
800 (bookmark-read-search-input): Remove function.
801 (bookmark-bmenu-search): Reimplement using a minibuffer.
803 * faces.el (modeline): Remove obsolete face name.
805 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
806 and give a non-nil default value.
807 (add-change-log-entry): Simplify accordingly.
809 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
811 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
812 (vc-git-log-edit-toggle-amend): New function.
813 (vc-git-log-edit-toggle-signoff): New function.
814 (vc-git-log-edit-mode): New major mode.
815 (vc-git-log-edit-mode-map): Keymap for it.
816 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
818 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
820 (log-edit-toggle-header): New function.
821 (log-edit-extract-headers): Accept function values in HEADERS alist.
823 2012-10-01 David Engster <deng@randomsample.de>
825 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
826 from symbol property and change message to be more consistent with
828 (eieio-describe-generic): Add filename for each implementation.
829 Fix indices for generic and normal methods.
830 (eieio-method-def, eieio-class-def): New buttons.
831 (eieio-help-find-method-definition)
832 (eieio-help-find-class-definition): New functions.
833 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
834 class, constructor and method definitions.
836 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
837 information in symbol property.
838 (scoped-class): Remove.
839 (eieio-slot-name-index, call-next-method): Check if it is bound.
841 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
843 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
844 (eieio-custom-mode): New major mode.
845 (eieio-customize-object): Use it.
847 2012-10-01 Eric Ludlam <zappo@gnu.org>
849 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
850 specifying the expected class, and whether subclassing is allowed.
851 (eieio-persistent-convert-list-to-object):
852 (eieio-persistent-validate/fix-slot-value)
853 (eieio-persistent-slot-type-is-class-p): New functions.
854 (eieio-named::slot-missing): Doc fix.
856 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
857 Stop using unused publd variable.
859 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
860 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
861 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
862 (eieio-speedbar-handle-click): Do not specify a class for the
863 method. Fixes method invocation order problems with EDE.
865 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
867 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
868 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
870 2012-10-01 Karl Fogel <kfogel@red-bean.com>
872 * bookmark.el (bookmark-version-control): Give tags in the
873 :type choices (Bug#12309), and improve doc string.
874 (bookmark-write-file): Bind `print-circle' to `t' to allow
875 circular custom bookmark types. (Bug#12503)
877 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
879 Revert the FOLLOW-SYMLINKS change for file-attributes.
880 * files.el (remote-file-name-inhibit-cache, after-find-file):
881 * time.el (display-time-file-nonempty-p): Undo last change.
883 * profiler.el (profiler-sampling-interval): Change default back to 1.
884 See Stefan Monnier in
885 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
887 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
889 Shell output catching a la gud-gdb.
890 * progmodes/python.el (python-shell-fetch-lines-in-progress)
891 (python-shell-fetch-lines-string, python-shell-fetched-lines):
893 (python-shell-fetch-lines-filter): New function.
894 (python-shell-send-string-no-output): Use them.
896 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
898 * profiler.el (profiler-sampling-interval): Rename from
899 profiler-sample-interval.
900 (profiler-sampling-interval): Default to 10.
901 (profiler-find-profile): New command (was profiler-find-log).
902 (profiler-find-profile-other-window): New command.
903 (profiler-find-profile-other-frame): New command.
904 (profiler-profile): Introduce API-level data structure.
906 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
908 file-attributes has a new optional arg FOLLOW-SYMLINKS.
909 * files.el (remote-file-name-inhibit-cache):
910 * time.el (display-time-file-nonempty-p): Use it.
911 * files.el (after-find-file): Don't chase links before calling
912 file-exists-p, as file-exists-p already does the right thing.
914 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
916 Merge from standalone RefTeX repository.
918 The following ChangeLog entries are shortened versions of the
919 original ones with file paths adapted. A not so strongly edited
920 version of the original ChangeLog can be found in the commit log.
922 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
923 (reftex-arg-cite): Use `reftex-cite-key-separator'.
924 Correctly handle new value type returned by `reftex-citation'.
926 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
927 that entries with whitespace at various places are found.
928 Doc fix. Include entries that are cross-referenced from cited entries.
929 Include @String definitions in the resulting bib file. Add header
930 and footer defined in `reftex-create-bibtex-header' and
931 `reftex-create-bibtex-footer'.
932 (reftex-do-citation): Make it possible again to insert
933 non-existent entries. Save match data when asking for optional
934 arguments. Return all keys, not just the first one.
935 (reftex-all-used-citation-keys): Fix regexp to correctly extract
936 all citations in the same line.
937 (reftex-parse-bibtex-entry): Accept additional optional argument
938 `raw' and keep quotes or braces if it is non-nil. Match fields
939 containing hyphens besides word constituents.
940 (reftex-get-string-refs): New function.
941 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
942 and ask if it should be reread in case it did.
943 (reftex-pop-to-bibtex-entry)
944 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
945 entries with spaces or tabs in front of arguments.
946 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
947 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
948 Match entries containing numbers and symbol constituents.
949 (reftex-do-citation, reftex-figure-out-cite-format):
950 Use `reftex-cite-key-separator'.
952 * textmodes/reftex-dcr.el: Move provide statement to end of file.
953 (reftex-mouse-view-crossref): Explain why point is set.
955 * textmodes/reftex-global.el: Whitespace changes.
957 * textmodes/reftex-index.el: Move provide statement to end of
959 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
960 (reftex-index-visit-phrases-buffer): Set marker when visiting
961 buffer. This allows for returning from the phrases file to the
962 file one was just editing instead of the file where the last
963 phrases was added from.
964 (reftex-index-phrases-syntax-table): New variable. Give ?\"
965 punctuation syntax as it usually is not used as string quote in
966 TeX-related modes and may occur unmatched. The change also
967 prevents fontification of quoted content.
968 (reftex-index-phrases-mode): Use it.
970 * textmodes/reftex-parse.el (reftex-parse-from-file):
971 Move backward one char if a `\' was matched after a section macro.
972 (reftex-parse-from-file): Use beginning of match instead of end as
975 * textmodes/reftex-ref.el: Adapt creation of
976 `reftex-<package>-<macro>' functions to new structure of
977 `reftex-ref-style-alist'.
978 (reftex-reference): Use `reftex-ref-style-list' function.
979 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
980 reference macro if `reftex-ref-macro-prompt' is non-nil.
981 (reftex-reference): Pass refstyle to `reftex-format-special'.
982 Determine reference macro by looking at
983 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
984 Use only one special format function.
985 (reftex-varioref-vref, reftex-fancyref-fref)
986 (reftex-fancyref-Fref): Remove definitions. The functions are now
987 generated from `reftex-ref-style-alist'.
988 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
990 (reftex-format-special): New function.
992 * textmodes/reftex-sel.el
993 (reftex-select-cycle-ref-style-internal): Adapt to new structure
994 of `reftex-ref-style-alist'. Remove code for testing macro type.
995 (reftex-select-toggle-varioref)
996 (reftex-select-toggle-fancyref): Remove.
997 (reftex-select-cycle-ref-style-internal)
998 (reftex-select-cycle-ref-style-forward)
999 (reftex-select-cycle-ref-style-backward): New functions.
1000 (reftex-select-label-map): Use `v' and `V' for general cycling
1001 through reference styles. Add `p' for switching between number
1002 and page reference types.
1004 * textmodes/reftex-toc.el (reftex-re-enlarge):
1005 Call `enlarge-window' only if there is something to do because in Emacs
1006 the horizontal version throws an error even if the parameter is 0.
1008 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1009 (reftex-plug-into-AUCTeX): Doc fix.
1010 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1011 string. Adapt to new name.
1012 (reftex-ref-style-alist): Change structure so that it is not
1013 possible to use multiple different package names within a style.
1014 Remove the symbols for symbols for macro type distinction.
1015 Add characters for macro selection.
1016 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1017 (reftex-create-bibtex-footer): New variables.
1018 (reftex-format-ref-function): Mention third argument of special
1020 (reftex-ref-style-alist, reftex-ref-style-default-list):
1022 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1023 to new implementation. Mark as obsolete. Add compatibility code
1024 for honoring the variable values in case they are set.
1025 (reftex-cite-format-builtin, reftex-bibliography-commands):
1026 Add support for ConTeXt.
1027 (reftex-format-ref-function, reftex-format-cite-function):
1029 (reftex-cite-key-separator): New variable.
1031 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1032 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1033 `reftex-syntax-table' because parens have to retain their paren
1034 syntax in order for parsing of BibTeX entries like @book(...) to
1036 (reftex-in-comment): Do not error out if `comment-start-skip' is
1037 not set. Deal correctly with escaped comment characters.
1038 (reftex-tie-multifile-symbols): Add doc string.
1039 Initialize `reftex-ref-style-list'.
1040 (reftex-untie-multifile-symbols): Add doc string.
1041 (reftex-add-index-macros): Doc fix.
1042 (reftex-ref-style-activate, reftex-ref-style-toggle)
1043 (reftex-ref-style-list): New functions.
1044 (reftex-mode-menu): Use them. Adapt to new structure of
1045 `reftex-ref-style-alist'.
1046 (reftex-select-with-char): Kill the RefTeX Select buffer when
1048 (reftex-remove-if): New function.
1049 (reftex-erase-all-selection-and-index-buffers)
1050 (reftex-mode-menu): Reference styles are now computed from
1051 `reftex-ref-style-alist'. Fix typo.
1052 (reftex-report-bug): New function.
1053 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1054 algorithms with O(n log n). Introduce optional argument SORT (not
1057 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1059 Enhancements for triple-quote string syntax.
1060 * progmodes/python.el (python-syntax-propertize-function):
1061 Match both quote cases in one regexp.
1062 (python-syntax-stringify): Handle matches properly.
1064 2012-09-30 Juri Linkov <juri@jurta.org>
1066 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
1067 to nil around the call to `insert' to prevent
1068 directory time modification by lock_file. (Bug#2295)
1069 * tar-mode.el (tar-summarize-buffer): Idem.
1071 2012-09-30 Juri Linkov <juri@jurta.org>
1073 * facemenu.el (list-colors-sort): Add option "Luminance".
1074 (list-colors-sort-key): Implement it.
1076 * vc/diff-mode.el (diff-refine-removed):
1077 * vc/ediff-init.el (ediff-fine-diff-A):
1078 * vc/smerge-mode.el (smerge-refined-removed):
1079 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1081 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1083 * term/ns-win.el (x-file-dialog): New function.
1085 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
1087 * ido.el (ido-max-directory-size): Default to nil; the current
1088 default is small for POSIX systems, and impractical on Windows 7
1089 now that lstat returns directory sizes for NTFS.
1091 2012-09-30 Martin Rudalics <rudalics@gmx.at>
1093 In buffer display functions handle window-height/window-width
1094 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
1095 * window.el (window--display-buffer): New argument ALIST.
1096 Obey window-height and window-width alist entries.
1097 (window--try-to-split-window): New argument ALIST.
1098 Bind window-combination-limit to t when the window's size shall be
1099 changed and window-combination-limit equals `window-size'.
1100 (display-buffer-in-atom-window)
1101 (display-buffer-in-major-side-window)
1102 (display-buffer-in-side-window, display-buffer-same-window)
1103 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1104 (display-buffer-pop-up-window, display-buffer-below-selected)
1105 (display-buffer-at-bottom, display-buffer-in-previous-window)
1106 (display-buffer-use-some-window): Adjust all callers of
1107 window--display-buffer and window--try-to-split-window.
1108 (fit-frame-to-buffer): New option.
1109 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1111 (display-buffer-in-major-side-window): Evaluate window-height /
1112 window-width alist entries.
1114 * help.el (temp-buffer-resize-frames)
1115 (temp-buffer-resize-regexps): Remove options.
1116 (temp-buffer-resize-mode): Adjust doc-string.
1117 (resize-temp-buffer-window): Don't consult
1118 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1119 temp-buffer-resize-frames.
1121 * dired.el (dired-mark-pop-up):
1122 Call display-buffer-below-selected with a fit-window-to-buffer alist
1125 2012-09-30 Chong Yidong <cyd@gnu.org>
1127 * server.el (server-host): Document the security implications.
1128 (server-auth-key): Doc fix.
1130 * startup.el (initial-buffer-choice): Doc fix.
1132 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1134 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1137 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1139 * help-fns.el (help-fns--obsolete): Fix last change.
1141 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1143 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1144 (minor-mode-map-alist): Remove redundant code.
1146 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1147 visited in a buffer.
1148 (cvs-insert-visited-file): New function.
1149 (find-file-hook): Use it.
1151 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1153 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1155 (log-edit-empty-buffer-p): Don't require a space after a header.
1157 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1159 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1161 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1162 a proper minor-mode.
1164 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1166 2012-09-29 Glenn Morris <rgm@gnu.org>
1168 * winner.el (winner-mode): Remove variable (let define-minor-mode
1170 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1172 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1173 (winner-mode): Use define-minor-mode.
1175 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1176 the full definition in loaddefs, rather than duplicating it.
1178 * help-macro.el (three-step-help): No need to autoload defcustom.
1180 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1181 (inferior-lisp-program, inferior-lisp-load-command)
1182 (inferior-lisp-prompt, inferior-lisp-mode-hook):
1183 No need to autoload defcustoms.
1185 * hippie-exp.el (hippie-expand-try-functions-list)
1186 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1187 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1188 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
1189 (hippie-expand-only-buffers): No need to autoload defcustoms.
1190 * progmodes/vhdl-mode.el (vhdl-line-expand):
1191 Explicitly load hippie-exp, so it does not get autoloaded
1192 while hippie-expand-try-functions-list is let-bound.
1194 2012-09-28 Glenn Morris <rgm@gnu.org>
1196 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1198 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1199 Only "cl.el" counts as cl these days.
1201 2012-09-28 Juri Linkov <juri@jurta.org>
1203 Display archive errors in the echo area instead of inserting
1206 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1207 to STDERR-TEST that can be a regexp matching a successful output.
1208 Create a temporary file and redirect stderr to it. Search for
1209 STDERR-TEST in the stderr output and display it in the echo area
1210 if no match is found.
1211 (archive-extract-by-file): New function like
1212 `archive-extract-by-stdout' but extracting archives to files
1213 and looking for successful matches in stdout. Function body is
1214 mostly copied from `archive-rar-extract'.
1215 (archive-rar-extract): Use `archive-extract-by-file'.
1216 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1218 2012-09-28 Leo Liu <sdl.web@gmail.com>
1220 * pcomplete.el (pcomplete-show-completions):
1221 Use minibuffer-message to make pcomplete usable in minibuffer.
1223 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1225 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1227 * type-break.el: Use lexical-binding.
1228 (type-break-mode): Use define-minor-mode.
1230 * emacs-lisp/pcase.el (pcase--mark-used): New.
1231 (pcase--u1): Use it (bug#12512).
1233 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1234 in load-history with the right file name.
1236 2012-09-28 Tassilo Horn <tsdh@gnu.org>
1238 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1239 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1240 (doc-view-get-bounding-box): Make bounding box slicing work for
1241 ODF and DVI documents.
1243 2012-09-28 Glenn Morris <rgm@gnu.org>
1245 * type-break.el (type-break-mode, type-break-interval)
1246 (type-break-good-rest-interval, type-break-keystroke-threshold):
1247 No need to autoload.
1248 (type-break-good-rest-interval, type-break-keystroke-threshold):
1251 2012-09-28 Chong Yidong <cyd@gnu.org>
1253 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1256 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1258 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
1260 2012-09-27 Glenn Morris <rgm@gnu.org>
1262 * faces.el (x-display-name): Declare (for without-x builds).
1264 * linum.el (linum-format): Don't autoload it. Improve :type.
1266 * progmodes/tcl.el: Don't require outline when compiling.
1267 (outline-regexp, outline-level): Declare.
1268 * textmodes/sgml-mode.el: Don't require outline when compiling.
1269 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1271 * term.el (term-ansi-reset):
1272 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1274 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1275 files for RCS and SCCS. (Bug#9781)
1277 2012-09-27 Chong Yidong <cyd@gnu.org>
1279 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1280 change; value should be t.
1282 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1284 * image-mode.el: Use lexical-binding.
1285 (image-mode-winprops): Use t to stand for the window of
1286 a buffer that's not displayed.
1287 * doc-view.el (doc-view-new-window-function): Handle the new
1289 (doc-view-enlarge): Make it a real nop if the size is not changed.
1290 (doc-view-display): Handle the case where the buffer is not (yet?)
1291 displayed in any window.
1292 (doc-view-saved-settings): New var.
1293 (doc-view-mode): Use it.
1294 (doc-view-fallback-mode): Set it.
1296 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1297 Set lexical-binding.
1298 (minibuffer-eldef-shorten-default): New var.
1299 (minibuffer-default-in-prompt-regexps): Use it for new default.
1300 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1302 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1304 * international/uni-bidi.el:
1305 * international/uni-category.el:
1306 * international/uni-name.el:
1307 * international/uni-numeric.el: Regenerate.
1309 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1310 Stefan Monnier <monnier@iro.umontreal.ca>
1312 * profiler.el: New file.
1314 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1316 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1317 (testcover-reinstrument): Simplify with CSE.
1319 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1321 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1323 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1325 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1326 (verilog-auto-input, verilog-auto-insert-lisp)
1327 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1328 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1329 (verilog-auto-unused, verilog-auto-wire)
1330 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1331 newline. Reported by Andrew Jones.
1332 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1333 Reported by Brad Dobbie.
1334 (verilog-batch-delete-trailing-whitespace):
1335 Create verilog-batch-delete-trailing-whitespace.
1336 Reported by Brad Dobbie.
1337 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1338 parameters from another module. Reported by Dan Katz.
1339 (verilog-auto, verilog-auto-assign-modport)
1340 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1341 AUTOINOUTMODPORT for UVM interface module shell generation.
1342 Reported by Brad Dobbie.
1343 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1345 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1346 Reported by Matt Martin.
1348 2012-09-25 Martin Rudalics <rudalics@gmx.at>
1350 * window.el (window--resize-child-windows): When resizing child
1351 windows proportionally, process them in reverse order to
1352 preserve the "when splitting a window the new one gets the odd
1354 (window--resize-root-window-vertically): When resizing the
1355 minibuffer window try to affect only windows at the bottom of the
1358 2012-09-25 Chong Yidong <cyd@gnu.org>
1360 * subr.el (declare): Doc fix.
1362 * help-fns.el (help-fns--obsolete): Handle macros properly.
1364 2012-09-25 Chong Yidong <cyd@gnu.org>
1366 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1367 this function obsolete.
1369 * calendar/cal-x.el (calendar-two-frame-setup)
1370 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1371 * calendar/calendar.el (american-calendar, european-calendar)
1372 (calendar-for-loop):
1373 * comint.el (comint-dynamic-simple-complete)
1374 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1375 * desktop.el (desktop-load-default):
1376 * dired-x.el (dired-omit-here-always)
1377 (dired-hack-local-variables, dired-default-directory):
1378 * emacs-lisp/derived.el (derived-mode-class):
1379 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1380 * emacs-lock.el (toggle-emacs-lock):
1381 * epa.el (epa-display-verify-result):
1382 * epg.el (epg-sign-keys, epg-start-sign-keys)
1383 (epg-passphrase-callback-function):
1384 * eshell/esh-util.el (eshell-for):
1385 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1386 (eshell-add-to-window-buffer-names):
1387 * files.el (locate-file-completion):
1388 * imenu.el (imenu-example--create-c-index)
1389 (imenu-example--create-lisp-index)
1390 (imenu-example--lisp-extract-index-name)
1391 (imenu-example--name-and-position):
1392 * international/mule-cmds.el (princ-list):
1393 * international/mule-diag.el (decode-codepage-char):
1394 * international/mule-util.el (detect-coding-with-priority):
1395 * iswitchb.el (iswitchb-read-buffer):
1396 * mail/mailalias.el (mail-complete):
1397 * mail/sendmail.el (mail-sent-via):
1398 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1399 (mouse-major-mode-menu):
1400 * password-cache.el (password-read-and-add):
1401 * pcomplete.el (pcomplete-parse-comint-arguments):
1402 * progmodes/sh-script.el (sh-maybe-here-document):
1403 * replace.el (query-replace-regexp-eval):
1404 * savehist.el (savehist-load):
1405 * simple.el (choose-completion-delete-max-match):
1406 * term.el (term-dynamic-simple-complete):
1407 * vc/ediff-init.el (ediff-check-version):
1408 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1409 * vc/vc.el (vc-diff-switches-list):
1410 * view.el (view-return-to-alist-update): Likewise.
1412 * subr.el (eval-next-after-load, makehash, insert-string)
1413 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1415 (mode-line-inverse-video): Variable deleted.
1417 * international/mule-util.el (string-to-sequence): Remove.
1419 * calendar/calendar.el (calendar-version):
1420 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1421 (icalendar-convert-diary-to-ical):
1422 * cus-edit.el (custom-mode):
1423 * ansi-color.el (ansi-color-unfontify-region):
1424 * international/latin1-disp.el (latin1-char-displayable-p):
1425 * progmodes/cwarn.el (turn-on-cwarn-mode):
1426 * progmodes/which-func.el (which-func-update-1):
1427 Use define-obsolete-function-alias.
1429 * net/newst-backend.el (newsticker-cache-filename):
1430 * net/newst-treeview.el (newsticker-groups-filename):
1431 Fix incorrect obsolescence declaration.
1433 * allout.el (allout-passphrase-hint-string): Likewise.
1434 (allout-init): Use a declare form to mark obsolete.
1436 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1437 this applies to functions.
1439 * iswitchb.el (iswitchb-read-buffer): Move code of
1440 iswitchb-define-mode-map here, and delete that obsolete function.
1442 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1443 font-lock-reference-face.
1445 2012-09-25 Glenn Morris <rgm@gnu.org>
1447 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1450 * eshell/em-term.el (eshell-term-name):
1451 Default to term-term-name. (Bug#12485)
1453 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1455 * progmodes/python.el (python-shell-send-buffer): Better handling
1456 of "if __name__ == '__main__':" conditionals when sending the buffer.
1458 2012-09-24 Glenn Morris <rgm@gnu.org>
1460 * eshell/esh-cmd.el (eshell-find-alias-function):
1461 Tighten up file-name regexp. (Bug#12499)
1463 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1465 Enhancements for triple-quote string syntax.
1466 * progmodes/python.el (python-quote-syntax): Remove.
1467 (python-syntax-propertize-function): New value.
1468 (python-syntax-count-quotes, python-syntax-stringify):
1471 2012-09-24 Chong Yidong <cyd@gnu.org>
1473 * mail/supercite.el (sc-version): Remove obsolete function.
1474 (sc-describe): Don't mark as obsolete, since it is bound.
1475 (sc-submit-bug-report): Remove.
1477 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1478 (cvs-commit-buffer-require-final-newline): Remove.
1479 (log-edit-require-final-newline)
1480 (log-edit-changelog-full-paragraphs): Default to t.
1482 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1483 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1484 * vc/vc.el (vc-checkout-carefully): Likewise.
1486 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1487 (emerge-version): Remove.
1489 * progmodes/compile.el (compile-internal): Remove.
1490 (compilation-parse-errors-function): Fix typo.
1492 * international/mule.el (set-char-table-default): Remove.
1493 (set-coding-priority, make-coding-system, generic-char-p)
1494 (charset-list, charset-bytes, charset-id): Use declare to mark
1495 functions as obsolete.
1497 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1498 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1499 * vc/vc-hooks.el (vc-default-registered): Don't use
1500 vc-master-templates.
1502 * font-lock.el (font-lock-reference-face):
1503 Use define-obsolete-variable-alias.
1505 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1506 * calendar/calendar.el (calendar-font-lock-keywords):
1507 * calendar/diary-lib.el (diary-font-lock-keywords)
1508 (diary-fancy-font-lock-keywords):
1509 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1510 * textmodes/reftex-index.el (reftex-insert-index):
1511 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1512 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1513 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1514 * progmodes/prolog.el (prolog-font-lock-keywords):
1515 * progmodes/idlwave.el (idlwave-idl-keywords):
1516 * progmodes/ada-mode.el (ada-font-lock-keywords):
1517 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1519 2012-09-24 Glenn Morris <rgm@gnu.org>
1521 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1523 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1525 * progmodes/python.el (python-indent-line): More consistent cursor
1528 2012-09-23 Stefan Merten <smerten@oekonux.de>
1530 * textmodes/rst.el: Fix compiler warning.
1532 2012-09-23 Roland Winkler <winkler@gnu.org>
1534 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1535 Transcribe also LaTeX hyphenation.
1536 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1537 bibtex-reformat-previous-options.
1539 2012-09-23 Roland Winkler <winkler@gnu.org>
1541 * proced.el (proced-renice-command): New variable.
1542 (proced-marked-processes): New function.
1543 (proced-with-processes-buffer): New macro.
1544 (proced-send-signal): Use them.
1545 (proced-renice): New command bound to r.
1547 2012-09-23 Roland Winkler <winkler@gnu.org>
1549 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1550 ibuffer-saved-filter-groups has one element, shortcut the call of
1551 completing-read. (Bug#12331)
1553 2012-09-23 Chong Yidong <cyd@gnu.org>
1555 * bindings.el (mode-line-toggle-read-only):
1556 * bs.el (bs-toggle-readonly):
1557 * buff-menu.el (Buffer-menu-toggle-read-only):
1558 * dired.el (dired-toggle-read-only):
1559 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1561 2012-09-23 Chong Yidong <cyd@gnu.org>
1563 * image.el (image-type-available-p): Adapt to init-image-library
1566 2012-09-22 Juri Linkov <juri@jurta.org>
1568 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1569 `dired-toggle-read-only'. (Bug#12462)
1571 2012-09-22 Martin Rudalics <rudalics@gmx.at>
1573 * subr.el (temp-output-buffer-show): New function.
1574 (with-output-to-temp-buffer): Call temp-output-buffer-show
1575 instead of internal-temp-output-buffer-show.
1577 2012-09-22 Chong Yidong <cyd@gnu.org>
1579 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1582 * repeat.el (repeat): Doc fix (Bug#12348).
1584 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1587 * simple.el (shell-command-on-region): Doc fix.
1588 (read-only-mode): Doc fix.
1590 2012-09-22 Eli Zaretskii <eliz@gnu.org>
1592 * emacs-lisp/timer.el (run-with-idle-timer)
1593 (timer-activate-when-idle): Warn against reinvoking an idle timer
1594 from within its own timer action. (Bug#12447)
1596 2012-09-22 Martin Rudalics <rudalics@gmx.at>
1598 * cus-start.el (window-combination-limit): Add new optional
1600 * window.el (temp-buffer-window-show)
1601 (window--try-to-split-window): Handle new values of
1602 window-combination-limit (Bug#1806).
1603 (split-window): Test window-combination-limit for t instead of
1605 (display-buffer-at-bottom): New buffer display action function.
1606 * help.el (temp-buffer-resize-regexps): New option.
1607 (temp-buffer-resize-mode): Rewrite doc-string.
1608 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
1609 Don't resize reused window. Suggested by Glenn Morris.
1611 2012-09-22 Stefan Merten <smerten@oekonux.de>
1613 * textmodes/rst.el: Revamp section title faces.
1614 (rst-official-version)
1615 (rst-package-emacs-version-alist): Sync with official version
1617 (rst-faces-defaults, rst-set-level-default)
1618 (rst-level-face-max, rst-level-face-base-color)
1619 (rst-level-face-base-light, rst-level-face-format-light)
1620 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1621 (rst-adornment-faces-alist): Match new setup.
1622 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1623 (rst-level-5, rst-level-6): New faces.
1625 2012-09-22 Chong Yidong <cyd@gnu.org>
1627 * simple.el (undo): Handle indirect buffers (Bug#8207).
1629 2012-09-21 Leo Liu <sdl.web@gmail.com>
1631 IDO: Disable match re-ordering for buffer switching.
1632 * ido.el (ido-buffer-disable-smart-matches): New variable.
1633 (ido-set-matches-1): Use it. (Bug#2042)
1635 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
1637 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1638 Fix 2011-05-17 change. (Bug#12418)
1640 2012-09-21 Leo Liu <sdl.web@gmail.com>
1642 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1644 2012-09-21 Glenn Morris <rgm@gnu.org>
1646 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1647 Be more robust about locating simple.el.
1649 2012-09-21 Glenn Morris <rgm@gnu.org>
1651 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1653 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1655 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1657 2012-09-20 Juri Linkov <juri@jurta.org>
1659 * replace.el (query-replace-read-from): Use `read-regexp' instead
1660 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1661 (occur-read-primary-args): Use `read-regexp' instead of
1663 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1664 `read-from-minibuffer'.
1665 * isearch.el (isearch-occur): Use `read-regexp' instead of
1667 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1668 `read-from-minibuffer'.
1669 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1670 of `read-string'. (Bug#7567)
1672 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1673 and allow accepting a list of strings prepended to a list of
1674 standard default values. Doc fix. (Bug#12321)
1676 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1678 * replace.el (read-regexp): Don't add ": " when PROMPT already
1679 ends with a colon and space. (Bug#12321)
1681 2012-09-20 Tassilo Horn <tsdh@gnu.org>
1683 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1686 2012-09-20 Stefan Merten <smerten@oekonux.de>
1688 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
1689 Fixes feature request bug#11711.
1690 (rst-mode): Create `imenu-create-index-function'.
1691 (rst-get-stripped-line): Delete after refactoring.
1692 (rst-section-tree, rst-section-tree-rec)
1693 (rst-section-tree-point): Refactor and document properly.
1694 (rst-imenu-find-adornments-for-position)
1695 (rst-imenu-convert-cell, rst-imenu-create-index):
1698 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1700 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1701 (macroexp--expand-all): Use it.
1702 (macroexp--funcall-and-return): Remove by folding it into its sole
1703 caller (macroexp--warn-and-return).
1704 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1705 Use macroexp--obsolete-warning.
1707 * calc/calc.el: Fix last change by removing the whole chunk, since it
1708 was only needed back when Calc was not bundled.
1710 2012-09-20 Martin Rudalics <rudalics@gmx.at>
1712 * emacs-lisp/debug.el (debug): Restore assignment to
1713 debugger-old-buffer removed on 2012-09-08.
1715 2012-09-20 Juri Linkov <juri@jurta.org>
1717 * dired-aux.el (dired-diff): Remove (require 'diff) since
1718 `diff-latest-backup-file' is now autoloaded.
1720 2012-09-20 Chong Yidong <cyd@gnu.org>
1722 * vc/diff.el (diff-latest-backup-file): Autoload.
1724 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1726 * calc/calc.el: Remove redundant autoload shape check.
1727 (sel-mode): Don't defvar.
1728 (calc-get-stack-element): Add `sel-mode' arg instead.
1729 (calc-top, calc-top-list): Pass it this additional argument.
1730 * calc/calc-store.el (calc-store-map):
1731 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1732 (calc-map-equation, calc-outer-product, calc-inner-product):
1733 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1735 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1737 2012-09-19 Juri Linkov <juri@jurta.org>
1739 * dired-aux.el (dired-diff): Add (require 'diff) because
1740 `diff-latest-backup-file' is not autoloaded.
1741 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1742 of `dired-get-filename' to t to not report error when there is
1743 no default file on the current line.
1745 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1747 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1748 macroexp--eval-if-compile.
1749 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1750 (macroexp--expand-all): Use them (bug#12371).
1752 * doc-view.el (doc-view-guess-paper-size)
1753 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1755 2012-09-19 Tassilo Horn <tsdh@gnu.org>
1757 New feature: set optimal slice from BoundingBox information.
1758 * doc-view.el (doc-view-mode-map): Add keybinding.
1759 (doc-view-menu): Add menu entry.
1760 (doc-view-set-slice): Adapt docstring.
1761 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1762 (doc-view-scale-bounding-box)
1763 (doc-view-set-slice-from-bounding-box): New functions.
1764 (doc-view-paper-sizes): New defvar.
1766 2012-09-19 Glenn Morris <rgm@gnu.org>
1768 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1769 (byte-compile-log-warning): Autoload. (Bug#12371)
1771 * calendar/calendar.el (calendar-american-month-header)
1772 (calendar-european-month-header, calendar-iso-month-header)
1773 (calendar-month-header): New options.
1774 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1775 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1777 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1779 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1781 2012-09-18 Juri Linkov <juri@jurta.org>
1783 * dired-aux.el (dired-diff): Restore original functionality of
1784 getting the default value, but keep new feature of using the
1785 latest existing backup file (`diff-latest-backup-file').
1787 2012-09-18 Juri Linkov <juri@jurta.org>
1789 * dired.el (dired-mark): If the region is active in Transient Mark
1790 mode, mark all files in the active region. Doc fix.
1791 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1792 Doc fix. (Bug#10624)
1794 2012-09-18 Juri Linkov <juri@jurta.org>
1796 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1797 attributes for M-n are pulled from the file at point.
1798 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1799 Suggested by Drew Adams. (Bug#10624)
1801 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1803 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1804 whitespace after "end".
1805 (ruby-do-end-to-brace): Collapse block to one line if it fits
1808 2012-09-18 Martin Rudalics <rudalics@gmx.at>
1810 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1812 (debug): Don't remove debugger window when debugger is expected
1815 2012-09-18 Chong Yidong <cyd@gnu.org>
1817 * custom.el (defface): Doc fix.
1819 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1821 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1823 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1824 to initialize query-on-exit; then test that instead (bug#12288).
1826 2012-09-17 Stefan Merten <smerten@oekonux.de>
1828 * textmodes/rst.el: Add support for `testcover'.
1829 (rst-defcustom-testcover, rst-testcover-add-compose)
1830 (rst-testcover-add-1value): New functions.
1831 (rst-portable-mark-active-p): Replace by `use-region-p'.
1832 (rst-update-section, rst-classify-adornment)
1833 (rst-find-title-line): Mark `1value' forms.
1834 (rst-classify-adornment): Remove superfluous form.
1835 (rst-update-section, rst-get-adornments-around)
1836 (rst-adornment-complete-p, rst-get-next-adornment)
1837 (rst-adjust, rst-promote-region)
1838 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1839 (rst-find-pfx-in-region, rst-section-tree-rec)
1840 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1841 (rst-toc-node, rst-toc, rst-forward-section)
1842 (rst-iterate-leftmost-paragraphs)
1843 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1844 (rst-bullet-list-region)
1845 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1846 (rst-compile-find-conf, rst-compile)
1847 (rst-repeat-last-character): Fix style.
1849 2012-09-17 Chong Yidong <cyd@gnu.org>
1851 * comint.el (comint--complete-file-name-data): Don't add a space
1852 if the status is `sole'; that adds a gratuitous space in the
1853 completion-cycling case (Bug#12092).
1855 * pcomplete.el (pcomplete-completions-at-point): Likewise.
1857 2012-09-17 Richard Stallman <rms@gnu.org>
1859 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1860 only in the mime-shown mode, not in raw mode.
1861 (rmail-mime): Toggle off mime by displaying the message without
1862 mime processing. (Bug#12305)
1864 * mail/rmail.el (rmail-retry-failure):
1865 Turn off mime processing first. (Bug#12037)
1867 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1869 2012-09-17 Chong Yidong <cyd@gnu.org>
1871 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1872 (shell-dynamic-complete-functions): Convert to defcustom.
1873 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1875 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1876 * comint.el (comint-prompt-read-only):
1877 * custom.el (defcustom):
1878 * hi-lock.el (hi-lock-mode):
1879 * ibuffer.el (ibuffer-formats):
1880 * ielm.el (ielm-prompt-read-only):
1881 * novice.el (disable-command):
1882 * saveplace.el (toggle-save-place):
1883 * speedbar.el (speedbar-supported-extension-expressions):
1884 * startup.el (auto-save-list-file-prefix, init-file-user)
1885 (after-init-hook, inhibit-startup-echo-area-message):
1886 * strokes.el (strokes-help):
1887 * time-stamp.el (time-stamp):
1888 * calendar/calendar.el (calendar, diary-file):
1889 * calendar/diary-lib.el (diary-mail-entries, diary)
1890 (diary-list-entries-hook):
1891 * calendar/holidays.el (holidays, calendar-holidays):
1892 * calendar/lunar.el (lunar-phases):
1893 * calendar/solar.el (sunrise-sunset):
1894 * emulation/edt.el (edt-load-keys):
1895 * emulation/viper.el (viper-mode):
1896 * eshell/em-alias.el (eshell-command-aliases-list):
1897 * eshell/esh-util.el (eshell-convert-numeric-arguments):
1898 * international/ogonek.el (ogonek-information):
1899 * net/tramp-cmds.el (tramp-bug):
1900 * net/quickurl.el (quickurl-reread-hook-postfix):
1901 * play/decipher.el (decipher-font-lock-keywords):
1902 * progmodes/cc-styles.el (c-set-style):
1903 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
1904 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1905 * progmodes/octave-mod.el (octave-mode):
1906 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
1907 * progmodes/verilog-mode.el (verilog-read-defines):
1908 * textmodes/two-column.el (2C-mode): Likewise.
1910 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
1912 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
1913 that holds many addresses.
1915 2012-09-16 Chong Yidong <cyd@gnu.org>
1917 * align.el (align-areas): Call the indication function with
1918 positions instead of markers for arguments (Bug#12343).
1920 * files.el (parse-colon-path): Use split-string (Bug#12351).
1922 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
1923 (display-buffer-function): Mark as obsolete.
1925 * progmodes/compile.el (compilation-parse-errors): Accept list
1926 values similar to font-lock-keywords (Bug#12136).
1927 Suggested by Oleksandr Manzyuk.
1928 (compilation-error-regexp-alist): Doc fix.
1930 2012-09-15 Glenn Morris <rgm@gnu.org>
1932 * version.el (emacs-bzr-version-bzr): New function.
1933 (emacs-bzr-get-version): Add optional EXTERNAL argument.
1935 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
1936 checkouts, check the parent dirstate matches the branch.
1937 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
1940 * version.el (emacs-bzr-version): Doc fix.
1941 (emacs-bzr-version-dirstate): New function.
1942 (emacs-bzr-get-version): For lightweight checkouts, if the parent
1943 is local try and check that it matches the branch. If not, just
1944 use dirstate information. (Bug#12441)
1946 2012-09-14 Juri Linkov <juri@jurta.org>
1948 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
1951 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1953 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
1955 * emacs-lisp/edebug.el: Miscellaneous cleanup.
1956 Remove obsolete byte-compiler hack that tried to silence some warnings.
1957 (edebug-submit-bug-report): Remove.
1958 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
1959 Remove aliases, use the un-prefixed name instead.
1960 (edebug-pop-to-buffer): Consider other frames.
1961 (edebug-original-read):: Make it more obvious that it's always defined.
1962 (edebug--make-form-data-entry, edebug--form-data-name)
1963 (edebug--form-data-begin, edebug--form-data-end): Rename from the
1964 single-dashed name, and implement with cl-defstruct.
1965 (edebug-set-form-data-entry): Use the standard accessors.
1966 (edebug-make-top-form-data-entry): Use push.
1967 (edebug-no-match): Drop useless `funcall'.
1968 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
1970 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
1971 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
1972 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
1973 (easy-menu-define, with-custom-print): Remove redundant specs.
1974 (edebug-outside-overriding-local-map)
1975 (edebug-outside-overriding-terminal-local-map): Remove, unused.
1976 (edebug--display): Bind unread-command-events directly to nil rather
1977 than binding it to unread-command-events and later setting it to nil.
1978 (edebug--display): Kill edebug-eval-buffer here...
1979 (edebug--recursive-edit): ...rather than here.
1980 Bind standard-output and standard-input.
1981 (edebug-eval): Check cl-macroexpand-all is fboundp.
1982 (edebug-temp-display-freq-count): Fix last change.
1984 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
1985 * subr.el (noreturn, 1value): Add `debug' spec.
1986 * emacs-lisp/advice.el: Require cl-lib.
1987 (ad-copy-tree): Remove, use copy-tree instead.
1988 (ad-dolist): Remove use dolist or cl-dolist instead.
1989 (ad-do-return): Remove, use cl-return instead.
1990 (defadvice): Add `debug' spec.
1992 2012-09-13 Juri Linkov <juri@jurta.org>
1994 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
1997 2012-09-13 Glenn Morris <rgm@gnu.org>
1999 * calc/calc.el (math-compose-expr):
2000 * calc/calc-ext.el (math-compose-expr):
2001 * progmodes/cc-defs.el (cl-macroexpand-all):
2002 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2003 (cl-macroexpand-all): Update declarations.
2005 * vc/vc.el: No need to require ediff.
2006 (ediff-load-version-control): Declare.
2007 (ediff-vc-internal): Fix declaration.
2008 (vc-version-ediff): Require ediff.
2010 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2012 Use a more backwards-compatible timer format (Bug#12430).
2013 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2014 being right after USECS, as that better supports old code that
2015 inadvisedly looked directly at the timer vector.
2017 2012-09-13 Kenichi Handa <handa@gnu.org>
2019 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2020 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2021 `coding-priority' property of these language environment.
2023 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2025 Fix glitches caused by addition of psec to timers (Bug#12430).
2026 * image.el (image-animate-timer):
2027 * time.el (display-time-world-timer):
2028 Use timer--function and timer--args rather than raw access to
2031 2012-09-13 Glenn Morris <rgm@gnu.org>
2033 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2034 If not compiling a file, try using load-file-name.
2036 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2038 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2040 (edebug-update-eval-list): Use `push'.
2042 * emacs-lisp/edebug.el: Use lexical-binding.
2043 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2044 Mark unused args with underscore.
2045 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2046 (edebug-form-data): Use defvar-local.
2047 (edebug-make-before-and-after-form, edebug-make-after-form):
2049 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2050 Not dynamically scoped any more.
2051 (edebug--enter-trace): Add arguments `function' and `args'.
2052 Rename from edebug-enter-trace.
2053 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2054 (edebug--update-coverage): Add `after-index' and `value' args.
2055 Rename from edebug-update-coverage.
2056 (edebug-slow-after): Call it accordingly.
2057 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2058 edebug-recursive-edit.
2059 (edebug--display): Call it accordingly. Add args `value',
2060 `offset-index', and `arg-mode'. Rename from edebug-display.
2061 (edebug-debugger, edebug): Call it accordingly.
2062 (edebug-eval-display-list): Use dolist.
2064 2012-09-12 Juri Linkov <juri@jurta.org>
2066 * info.el (Info-search): Don't check for isearch-mode and
2067 isearch-regexp before let-binding search-spaces-regexp to
2068 Info-search-whitespace-regexp.
2069 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2070 search-whitespace-regexp if isearch-lax-whitespace or
2071 isearch-regexp-lax-whitespace is non-nil.
2072 (Info-mode): Don't set local variable search-whitespace-regexp.
2073 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2075 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2077 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2078 (debugger-env-macro): Remove support for unread-command-char.
2080 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2081 the temporary map re-appearing on emulation-mode-map-alists.
2083 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2086 * ehelp.el (with-electric-help): Accept functions in
2087 electric-help-form-to-execute.
2088 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2089 And replace unread-command-char -> unread-command-events.
2091 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
2093 Sync with Tramp 2.2.6.
2095 * net/tramp.el (tramp-accept-process-output): Don't use
2096 JUST-THIS-ONE in the XEmacs case.
2098 * net/trampver.el: Update release number.
2100 2012-09-12 Martin Rudalics <rudalics@gmx.at>
2102 * emacs-lisp/debug.el (debugger-previous-window-height):
2104 (debug): When debugger-jumping-flag is non-nil try to restore
2105 height of debugger window. (Bug#8789)
2107 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2109 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2110 overriding-local-map and pre/post-command-hook here.
2111 (edebug-recursive-edit): Do it here instead (bug#12345).
2112 (edebug-outside-unread-command-char): Remove all uses of
2113 unread-command-char.
2115 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2116 inhibit-debugger is bound instead.
2118 2012-09-11 Bastien Guerry <bzg@gnu.org>
2120 * subr.el (set-temporary-overlay-map): Add a docstring.
2123 2012-09-11 Bastien Guerry <bzg@gnu.org>
2125 * minibuffer.el (completion-table-subvert): Fix docstring.
2128 2012-09-11 Bastien Guerry <bzg@gnu.org>
2130 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
2132 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2134 * progmodes/sql.el: Version 3.1
2135 (sql-db2-escape-newlines): New variable.
2136 (sql-escape-newlines-filter): Use it.
2138 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
2140 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2142 2012-09-10 Dan Nicolaescu <dann@gnu.org>
2144 * vc/diff-mode.el (diff-mode-menu):
2145 Bind diff-remove-trailing-whitespace.
2147 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2149 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
2150 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2151 (emacs-lisp-byte-code-mode): New functions.
2152 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2153 (eval-defun-2): Remove bogus interactive spec.
2154 (lisp-indent-line): Remove redundant whole-exp code, now done in
2155 indent-according-to-mode.
2156 (save-match-data): Remove redundant indent data.
2158 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2161 2012-09-09 Juri Linkov <juri@jurta.org>
2163 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2164 (replace-lax-whitespace, query-replace-regexp)
2165 (query-replace-regexp-eval, replace-regexp): Doc fix.
2166 (perform-replace, replace-highlight): Let-bind
2167 isearch-lax-whitespace to replace-lax-whitespace and
2168 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2170 * isearch.el (isearch-query-replace): Let-bind
2171 replace-lax-whitespace to isearch-lax-whitespace and
2172 replace-regexp-lax-whitespace to
2173 isearch-regexp-lax-whitespace. (Bug#10885)
2175 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2177 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2179 2012-09-09 Alan Mackenzie <acm@muc.de>
2181 * progmodes/cc-engine.el (c-state-cache-init):
2182 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2183 (c-record-parse-state-state):
2184 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
2186 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2188 * register.el (register-separator): Rename from
2189 separator-register. All uses changed. Doc fix.
2190 (register): Fix version.
2192 2012-09-09 Chong Yidong <cyd@gnu.org>
2194 * replace.el (query-replace-map): Bind four new symbols for
2195 requesting window scrolling.
2197 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2198 query-replace-map (Bug#8948).
2200 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2202 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2203 since they are now in query-replace-map.
2205 * window.el (scroll-other-window-down): Make the arg optional.
2207 2012-09-09 Chong Yidong <cyd@gnu.org>
2209 * files.el (hack-local-variables-confirm): Use quit-window to kill
2210 the *Local Variables* buffer.
2212 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2214 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2215 not just expect to be at its beginning. Adjust callees.
2216 Succeed when do-end block has no space before the pipe character.
2217 (ruby-brace-to-do-end): When the original block is one-liner,
2218 convert to multiline. Reindent the result.
2220 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
2222 * register.el (register): New group.
2223 (separator-register): New user option.
2224 (increment-register): Route it to `append-to-register', if
2225 register contains text. Implication is that `C-x r +' can now be
2226 used for appending to a text register (bug#12217).
2227 (append-to-register, prepend-to-register): Add separator based on
2228 `separator-register'.
2230 2012-09-08 Alan Mackenzie <acm@muc.de>
2232 AWK Mode: make auto-newline work when there's "==" in the pattern.
2233 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2235 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2236 Test more rigorously for "=" token.
2238 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2240 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2241 Only fail when reached LIMIT.
2243 2012-09-08 Chong Yidong <cyd@gnu.org>
2245 * dired.el (dired-mode-map): Don't bind M-=.
2247 * dired-aux.el (dired-diff): Use backup file as default.
2249 2012-09-08 Drew Adams <drew.adams@oracle.com>
2251 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2253 2012-09-08 Chong Yidong <cyd@gnu.org>
2255 * subr.el (syntax-after, syntax-class): Doc fix.
2257 2012-09-08 Martin Rudalics <rudalics@gmx.at>
2259 * window.el (display-buffer-in-previous-window): New buffer
2260 display action function.
2262 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2263 (debugger-previous-window): New variable.
2264 (debug): Rewrite using display-buffer-in-previous-window,
2265 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2267 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2269 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2271 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2273 * progmodes/python.el (python-shell-send-string):
2274 When default-directory is remote, create temp file on remote
2276 (python-shell-send-file): When file is remote, pass local view of
2277 file paths to remote Python interpreter. (Bug#12340)
2279 2012-09-07 Chong Yidong <cyd@gnu.org>
2281 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2283 * files.el (after-find-file): Don't fail on a read-only buffer if
2284 require-final-newline is `visit' or `visit-save' (Bug#11156).
2286 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2288 * userlock.el (ask-user-about-supersession-threat):
2289 Use read-char-choice (Bug#12093).
2291 2012-09-07 Chong Yidong <cyd@gnu.org>
2293 * subr.el (buffer-narrowed-p): New function.
2295 * ses.el (ses-widen):
2296 * simple.el (count-words--buffer-message):
2297 * net/browse-url.el (browse-url-of-buffer): Use it.
2299 * simple.el (count-words-region): Don't signal an error if there
2300 is a non-nil prefix arg and the mark is not set.
2302 * help.el (describe-key-briefly): Allow the message to be seen
2303 when invoked from the minibuffer (Bug#7014).
2305 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2307 * progmodes/ruby-mode.el (ruby-end-of-defun)
2308 (ruby-beginning-of-defun): Simplify, allow indentation before
2309 block beginning and end keywords.
2310 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2311 (ruby-end-of-defun): Expect that the point is at the beginning of
2314 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2316 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2318 (cl--make-usage-args): Strip _ from argument names.
2320 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2322 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2323 obsolete alias speedbar-key-map.
2324 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2325 (vhdl-index-menu-init): Don't use obsolete variable
2326 font-lock-maximum-size.
2328 2012-09-06 Chong Yidong <cyd@gnu.org>
2330 * frame.el (window-system-version): Mark as obsolete.
2332 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2333 of obsolete variable speedbar-key-map.
2335 2012-09-06 Juri Linkov <juri@jurta.org>
2337 * replace.el (replace-lax-whitespace): New defcustom.
2338 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2339 (replace-string, replace-regexp): Mention it in docstrings.
2340 (perform-replace, replace-highlight): Let-bind
2341 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2342 to the values of replace-lax-whitespace and regexp-flag.
2343 Don't let-bind search-whitespace-regexp. (Bug#10885)
2345 * isearch.el (isearch-query-replace): Let-bind
2346 replace-lax-whitespace instead of let-binding
2347 replace-search-function and replace-re-search-function.
2348 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2349 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2350 (isearch-toggle-symbol): Set isearch-regexp to nil
2351 in isearch-word mode (like in isearch-toggle-word).
2353 2012-09-06 Juri Linkov <juri@jurta.org>
2355 * replace.el (replace-search-function)
2356 (replace-re-search-function): Set default values to nil.
2357 (perform-replace): Let-bind isearch-related variables based on
2358 replace-related values, call `isearch-search-fun' and let-bind
2359 the result to `search-function'. Remove code that sets
2360 `search-function' and `search-string' separately for
2362 (replace-highlight): Add new argument `delimited-flag' and
2363 rename other arguments to the names used in `perform-replace'.
2364 Let-bind `isearch-word' to the argument `delimited-flag'.
2365 (Bug#10885, bug#10887)
2367 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2369 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2370 ruby-beginning-of-indent, simplify, allow all keywords to have
2371 indentation before them.
2372 (ruby-beginning-of-indent): Adjust for above. Search until the
2373 found point is not inside a string or comment.
2374 (ruby-font-lock-keywords): Allow symbols to start with "@"
2375 character, give them higher priority than variables.
2376 (ruby-syntax-propertize-function)
2377 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2378 matchers. Expression expansions are not comments when inside a
2379 string, and there comment syntax status is irrelevant.
2380 (ruby-match-expression-expansion): New function. Check that
2381 expression expansion is inside a string, and it's not escaped.
2382 (ruby-font-lock-keywords): Use it.
2384 2012-09-05 Martin Rudalics <rudalics@gmx.at>
2386 * help.el (temp-buffer-max-height): New default value.
2387 (temp-buffer-resize-frames): New option.
2388 (resize-temp-buffer-window): Optionally resize frame.
2390 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2391 (fit-frame-to-buffer): New function.
2393 2012-09-05 Glenn Morris <rgm@gnu.org>
2395 * emulation/cua-rect.el (cua--init-rectangles):
2396 * textmodes/picture.el (picture-mode-map):
2397 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2398 like forward-char and backward-char. (Bug#12317)
2400 2012-09-05 Leo Liu <sdl.web@gmail.com>
2402 * progmodes/flymake.el (flymake-warning-re): New variable.
2403 (flymake-parse-line): Use it.
2405 2012-09-05 Glenn Morris <rgm@gnu.org>
2407 * calendar/holidays.el (holiday-christian-holidays):
2408 Rename an entry. (Bug#12289)
2410 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2412 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2415 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2417 * loadup.el: Load macroexp. Remove hack.
2418 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2419 (macroexp--expand-all): Use it to get better warnings.
2420 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2421 (internal-macroexpand-for-load): New functions.
2422 (macroexp--pending-eager-loads): New var.
2423 (emacs-startup-hook): New hack to replace one in loadup.el.
2424 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2425 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2426 (cl-psetf): Simplify.
2427 (cl-defstruct): Add indent rule.
2429 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2431 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2432 over `user-mail-address' for the SMTP MAIL FROM envelope.
2433 (smtpmail-via-smtp): Ditto.
2435 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2437 * progmodes/ruby-mode.el: Clean up keybindings.
2438 (ruby-mode-map): Don't bind ruby-electric-brace,
2439 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2440 backward-kill-word, reindent-then-newline-and-indent.
2441 (ruby-mark-defun): Remove.
2442 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2443 (ruby-mode): Set local beginning-of-defun-function and
2444 end-of-defun-function values.
2446 2012-09-03 Martin Rudalics <rudalics@gmx.at>
2448 * window.el (temp-buffer-window-setup-hook)
2449 (temp-buffer-window-show-hook): New hooks.
2450 (temp-buffer-window-setup, temp-buffer-window-show)
2451 (with-temp-buffer-window): New functions.
2452 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2453 (special-display-popup-frame): Make sure the window used shows BUFFER.
2455 * help.el (temp-buffer-resize-mode): Fix doc-string.
2456 (resize-temp-buffer-window): New optional argument WINDOW.
2458 * files.el (recover-file, save-buffers-kill-emacs):
2459 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2461 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
2463 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2464 remote definition of `default-directory', ensure we can connect.
2466 2012-09-02 Juri Linkov <juri@jurta.org>
2468 Toggle whitespace matching mode with M-s SPC.
2469 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2471 * isearch.el (search-whitespace-regexp): Doc fix.
2472 Remove cons cell customization.
2473 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2474 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2476 (isearch-forward, isearch-forward-regexp): Doc fix.
2477 (isearch-toggle-lax-whitespace): New command.
2478 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2479 (re-search-forward-lax-whitespace)
2480 (re-search-backward-lax-whitespace): New functions.
2481 (isearch-whitespace-regexp): Remove function.
2482 (isearch-query-replace): Let-bind replace-search-function and
2483 replace-re-search-function.
2484 (isearch-occur): Let-bind search-spaces-regexp according to the
2485 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2486 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2487 condition for C-q SPC.
2488 (isearch-search-fun-default): Use new functions mentioned above.
2489 (isearch-search-forward, isearch-search-backward): Remove functions.
2490 (isearch-search): Don't let-bind search-spaces-regexp.
2491 (isearch-lazy-highlight-space-regexp): Remove variable.
2492 (isearch-lazy-highlight-lax-whitespace)
2493 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2494 (isearch-lazy-highlight-new-loop): Use them.
2495 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2497 2012-09-02 Chong Yidong <cyd@gnu.org>
2499 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2501 2012-09-02 Glenn Morris <rgm@gnu.org>
2503 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2505 2012-09-01 Glenn Morris <rgm@gnu.org>
2507 * term.el: Tidy up menu definitions.
2508 (term-mode-map): Use easymenu for In/Out, Complete menus.
2509 (term-pager-break-map): Initialize in the defvar.
2510 (term-terminal-menu, term-signals-menu): Define with easymenu.
2511 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2512 (term-pager-menu): New, extracted from term-process-pager.
2513 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2514 (term-update-mode-line): Propertize line/char and page items.
2515 (term-process-pager): Move keymap initialization elsewhere.
2517 2012-09-01 Martin Rudalics <rudalics@gmx.at>
2519 * window.el (switch-to-prev-buffer): Handle additional values of
2520 BURY-OR-KILL argument. Don't switch in minibuffer window.
2521 (switch-to-next-buffer): Don't switch in minibuffer window.
2522 (quit-restore-window): New function based on quit-window.
2523 Handle additional values of former KILL argument.
2524 (quit-window): Call quit-restore-window with appropriate
2525 interpretation of KILL argument.
2526 (display-buffer-below-selected): New buffer display action
2529 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2531 * minibuffer.el (completion-at-point-functions): Complete docstring
2534 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2536 Better seed support for (random).
2537 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2538 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2539 * play/mpuz.el, play/tetris.el, play/zone.el:
2540 * calc/calc-comb.el (math-init-random-base):
2541 * play/blackbox.el (bb-init-board):
2542 * play/life.el (life):
2543 * server.el (server-use-tcp):
2544 * type-break.el (type-break):
2545 Remove unnecessary call to (random t).
2546 * net/sasl.el (sasl-unique-id-function):
2547 Change (random t) to (random), now that the latter is more random.
2548 * play/life.el (life-initialized): Remove no-longer-needed var.
2550 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2552 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2553 Consider frame's buffer predicate when choosing the buffer.
2556 2012-08-30 Richard Stallman <rms@gnu.org>
2558 * simple.el (special-mode-map): Delete binding for `z'.
2560 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2562 * progmodes/compile.el (compilation-always-kill): Doc fix.
2564 2012-08-30 Chong Yidong <cyd@gnu.org>
2566 * window.el (display-buffer-reuse-frames): Make the obsolescence
2567 message more informative.
2569 2012-08-30 Glenn Morris <rgm@gnu.org>
2571 * paren.el (show-paren-delay):
2572 Add a :set function. Doc fix. (Bug#12297)
2574 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2576 * progmodes/compile.el (compilation-always-kill): New var.
2577 (compilation-start): Use it.
2579 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2581 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2582 * files.el (read-only-mode): Move to simple.el.
2584 * files.el (read-only-mode): New minor mode.
2585 (toggle-read-only): Use it and mark obsolete.
2586 (find-file--read-only):
2587 * vc/vc.el (vc-next-action, vc-checkout):
2588 * vc/vc-cvs.el (vc-cvs-checkout):
2589 * obsolete/vc-mcvs.el (vc-mcvs-update):
2590 * ffap.el (ffap--toggle-read-only): Update callers.
2592 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
2594 * eshell/esh-ext.el (eshell-external-command): Do not examine
2595 remote shell scripts.
2596 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
2598 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2601 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2603 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2605 2012-08-28 Leo Liu <sdl.web@gmail.com>
2607 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2608 completion-at-point. (Bug#12220)
2610 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2612 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2614 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2616 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2617 be buffer-local; add delete-trailing-whitespace (bug#12259).
2619 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
2621 * progmodes/hideif.el (hif-compress-define-list):
2622 Fix typo. (Bug#11951)
2624 2012-08-28 Dan Nicolaescu <dann@gnu.org>
2626 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2627 buffer local setting.
2629 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2630 rcirc-encode-coding-system.
2632 2012-08-28 Leo Liu <sdl.web@gmail.com>
2634 * net/rcirc.el (rcirc-split-message): New function.
2635 (rcirc-send-message): Use it. (Bug#12051)
2637 2012-08-28 Juri Linkov <juri@jurta.org>
2639 * info.el (Info-fontify-node): Hide empty lines at the end of
2640 the node. (Bug#12272)
2642 2012-08-27 Drew Adams <drew.adams@oracle.com>
2644 * dired.el (dired-pop-to-buffer): Make window start at beginning
2645 of buffer (Bug#12281).
2647 2012-08-26 Chong Yidong <cyd@gnu.org>
2649 * window.el (special-display-regexps, special-display-frame-alist)
2650 (special-display-buffer-names, special-display-function)
2651 (display-buffer-reuse-frames): Mark as obsolete.
2653 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2655 * help.el (help-print-return-message): Don't treat
2656 display-buffer-reuse-frames specially.
2658 2012-08-26 Chong Yidong <cyd@gnu.org>
2660 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2661 New variable, replacing gdb-frame-parameters.
2662 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2663 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2664 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2665 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2666 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2667 the functions directly with gdb-display-buffer-other-frame-action.
2668 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2669 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2670 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2671 (gdb-display-registers-buffer): Define directly.
2672 (def-gdb-display-buffer): Macro deleted.
2673 (gdb-display-buffer): Remove second and third args, callers don't
2674 use them. Defer to the default display-buffer behavior, apart
2675 from making windows dedicated.
2676 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2678 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2680 * window.el (display-buffer-pop-up-frame): Handle a
2681 pop-up-frame-parameters alist entry.
2682 (display-buffer): Document it.
2684 2012-08-26 Chong Yidong <cyd@gnu.org>
2686 * isearch.el (search-whitespace-regexp): Make string and nil
2687 values apply to both ordinary and regexp search. Allow a cons
2688 cell value to distinguish between the two.
2689 (isearch-whitespace-regexp, isearch-search-forward)
2690 (isearch-search-backward): New functions.
2691 (isearch-occur, isearch-search-fun-default, isearch-search)
2692 (isearch-lazy-highlight-new-loop): Use them.
2693 (isearch-forward, isearch-forward-regexp): Doc fix.
2695 2012-08-26 Chong Yidong <cyd@gnu.org>
2697 * faces.el (help-argument-name): Always inherit from italic
2700 2012-08-25 Martin Rudalics <rudalics@gmx.at>
2702 * window.el (window--even-window-heights): Even heights when
2703 WINDOW and the selected window form a vertical combination.
2704 (display-buffer-use-some-window): Provide that window used gets
2705 sized back by quit-window. (Bug#11880) and (Bug#12091)
2707 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2709 Fix file time stamp problem with bzr and CVS (Bug#12001).
2710 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2711 in the file's time stamp, since the version control system loses
2714 2012-08-22 Juri Linkov <juri@jurta.org>
2716 * info.el (Info-fontify-node): Hide the suffix of the
2717 Info file name in the header line. (Bug#12187)
2719 2012-08-22 Glenn Morris <rgm@gnu.org>
2721 * calendar/cal-tex.el (cal-tex-weekly-common):
2722 Restore leading blank page.
2724 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
2726 * misc.el (forward-to-word, backward-to-word): Activate or extend
2727 the region under `shift-select-mode'. (Bug#12231)
2729 2012-08-22 Bastien Guerry <bzg@gnu.org>
2731 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2732 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2733 gives details on why the space is never needed.
2735 2012-08-22 Martin Rudalics <rudalics@gmx.at>
2737 * window.el (walk-window-tree, window-with-parameter):
2738 New optional argument MINIBUF to control whether these functions
2739 should run on the minibuffer window.
2740 (window-at-side-list): Don't operate on minibuffer window.
2741 (window-in-direction): Simplify and rewrite doc-string.
2742 (window--size-ignore): Rename to window--size-ignore-p.
2744 (display-buffer-in-atom-window, window--major-non-side-window)
2745 (window--major-side-window, display-buffer-in-major-side-window)
2746 (delete-side-window, display-buffer-in-side-window):
2748 (window--side-check, window-deletable-p, delete-window)
2749 (delete-other-windows, split-window): Handle side windows and
2750 atomic windows appropriately.
2751 (window--display-buffer): Call display-buffer-record-window also
2752 when the window buffer did not change.
2754 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2756 * help-fns.el (help-fns--key-bindings):
2757 Abbreviate non-symbol remap targets. (Bug#12174)
2759 2012-08-22 Martin Rudalics <rudalics@gmx.at>
2761 * dired.el (dired-mark-remembered): Don't clobber point.
2764 2012-08-22 Glenn Morris <rgm@gnu.org>
2766 * progmodes/bug-reference.el (bug-reference): New custom group.
2767 (bug-reference-bug-regexp): Make it a defcustom.
2769 2012-08-22 Daiki Ueno <ueno@unixuser.org>
2771 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2772 (js-paren-indent-offset, js-square-indent-offset)
2773 (js-curly-indent-offset): Add :safe (Bug#12257).
2775 2012-08-22 Edward O'Connor <hober0@gmail.com>
2777 * json.el (json-key-format): Add error properties.
2778 (json-encode-key): New function.
2779 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2780 Use json-encode-key.
2782 2012-08-22 Glenn Morris <rgm@gnu.org>
2784 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2785 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2786 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2787 Update for above change.
2789 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2791 * cus-face.el (custom-face-attributes): Fix customize type for the
2792 :underline attribute. (Bug#11805)
2794 2012-08-21 Martin Rudalics <rudalics@gmx.at>
2796 * window.el (window-point-1, set-window-point-1): Remove.
2797 (window-in-direction, record-window-buffer)
2798 (set-window-buffer-start-and-point, split-window-below)
2799 (window--state-get-1, display-buffer-record-window):
2800 Replace calls to window-point-1 and set-window-point-1 by calls to
2801 window-point and set-window-point respectively.
2803 2012-08-21 Glenn Morris <rgm@gnu.org>
2805 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2806 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2809 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2810 (cal-tex-shortday): New function.
2811 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2812 (cal-tex-cursor-filofax-daily): Use the above.
2814 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2816 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2817 (cal-tex-cursor-filofax-week): Use them.
2819 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2821 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2822 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2824 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2825 (cal-tex-end-document): Don't rely on buffer name.
2827 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2829 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2830 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2831 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2834 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2835 (cal-tex-cursor-week, cal-tex-cursor-week2)
2836 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2837 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2838 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2839 (cal-tex-insert-preamble, cal-tex-b-document)
2840 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2841 Improve cal-tex-cmd usage.
2843 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2844 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2845 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2846 (cal-tex-weekly-paper): New function.
2847 (cal-tex-cursor-week, cal-tex-cursor-week2)
2848 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2849 (cal-tex-cursor-day): Use it.
2851 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2852 (cal-tex-cursor-filofax-week): Remove leading blank page.
2854 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2855 Add autoload cookie. For now at least, don't use color, since
2856 no other cal-tex function does.
2858 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2859 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2860 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2862 2012-08-21 Juri Linkov <juri@jurta.org>
2864 * info.el (Info-file-attributes): New variable.
2865 (info-insert-file-contents): Add file attributes to
2866 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2867 `Info-toc-nodes' when previous modtime of the Info file is less
2869 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2870 of info.el. (Bug#12230)
2872 2012-08-20 Glenn Morris <rgm@gnu.org>
2874 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2875 * calendar/holidays.el (calendar-holiday-list):
2876 Report errors with display-warning rather than beep'n'sleep.
2878 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
2880 * net/tramp.el (tramp-accept-process-output): Accept only output
2881 from PROC. Otherwise, process filters and sentinels might be
2882 confused. (Bug#12145)
2884 2012-08-20 Chong Yidong <cyd@gnu.org>
2886 * descr-text.el (describe-text-properties-1): Use overlays-in to
2887 report on empty overlays (Bug#3322).
2889 2012-08-20 Glenn Morris <rgm@gnu.org>
2891 * mail/rmailout.el (rmail-output-read-file-name):
2892 Trap and report errors in rmail-output-file-alist elements.
2894 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2895 since most non-font-lock faces are not also variables).
2897 2012-08-20 Edward Reingold <reingold@iit.edu>
2899 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2900 New function. (Bug12160)
2902 2012-08-19 Glenn Morris <rgm@gnu.org>
2904 * mail/rmailout.el (rmail-output-read-file-name):
2905 Fix previous change (when the alist is nil or does not match).
2907 2012-08-19 Chong Yidong <cyd@gnu.org>
2909 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2912 2012-08-18 Chong Yidong <cyd@gnu.org>
2914 * simple.el (yank-handled-properties): New defcustom.
2915 (yank-excluded-properties): Add font-lock-face and category.
2918 * subr.el (remove-yank-excluded-properties):
2919 Obey yank-handled-properties. The special handling of font-lock-face
2920 and category is now done this way, instead of being hard-coded.
2921 (insert-for-yank-1): Remove font-lock-face handling.
2922 (yank-handle-font-lock-face-property)
2923 (yank-handle-category-property): New function.
2925 2012-08-17 Glenn Morris <rgm@gnu.org>
2927 * mail/rmailout.el (rmail-output-read-file-name):
2928 Check rmail-output-file-alist against the full message body
2929 in the correct rmail buffer. (Bug#12214)
2931 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
2933 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2934 Eliminate superfluous prompt. (Bug#12203)
2936 2012-08-17 Chong Yidong <cyd@gnu.org>
2938 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2939 font spec, set the font directly (Bug#3228).
2941 2012-08-17 Martin Rudalics <rudalics@gmx.at>
2943 * window.el (delete-window): Fix last fix.
2945 2012-08-16 Martin Rudalics <rudalics@gmx.at>
2947 * window.el (window-valid-p): Move to window.c.
2948 (window-child, window-child-count, window-last-child)
2949 (window-normalize-window, window-combined-p)
2950 (window-combinations, window-atom-root, window-min-size)
2951 (window-sizable, window-sizable-p, window-size-fixed-p)
2952 (window-min-delta, window-max-delta, window--resizable)
2953 (window--resizable-p, window-resizable, window-total-size)
2954 (window-full-height-p, window-full-width-p, window-body-size)
2955 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2956 (minimize-window, window-deletable-p, delete-window)
2957 (delete-other-windows, set-window-buffer-start-and-point)
2958 (next-buffer, previous-buffer, split-window, balance-windows-2)
2959 (set-window-text-height, window-buffer-height)
2960 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
2961 (truncated-partial-width-window-p): Minor code adjustments.
2962 In doc-strings state whether the argument window has to denote a
2963 live, valid or any window.
2965 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2967 * progmodes/subword.el (subword-forward-function)
2968 (subword-backward-function, subword-forward-regexp)
2969 (subword-backward-regexp): New variables.
2970 (subword-forward, subword-forward-internal, subword-backward-internal):
2971 Use new variables, eg so that different "word" definitions
2972 can be easily used. (Bug#11411)
2974 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2976 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2977 for composite selectors.
2978 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2979 operation just because we can't find a previous revision.
2981 2012-08-15 Chong Yidong <cyd@gnu.org>
2983 * frame.el (set-frame-font): Accept font objects.
2985 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2987 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2989 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2991 * man.el (Man-overstrike-face, Man-underline-face)
2992 (Man-reverse-face): Remove variables.
2993 (Man-overstrike, Man-underline, Man-reverse): New faces.
2994 (Man-fontify-manpage): Use them instead of the variables.
2995 (Man-cleanup-manpage): Comment change.
2996 (Man-ansi-color-map): New variable.
2997 (Man-fontify-manpage): Use it.
2998 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3000 Implement ANSI SGR parameters 22-27 (bug#12146).
3001 * ansi-color.el (ansi-colors): Doc fix.
3002 (ansi-color-context, ansi-color-context-region): Doc fix.
3003 (ansi-color--find-face): New function.
3004 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3005 Rename the local variable `face' to `codes' since it is now a list of
3006 ansi codes. Doc fix.
3007 (ansi-color-get-face): Remove.
3008 (ansi-color-parse-sequence): New function, derived from
3009 ansi-color-get-face.
3010 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3013 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3015 * subr.el (read-passwd): Allow use from a minibuffer.
3017 2012-08-14 Eli Zaretskii <eliz@gnu.org>
3019 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3020 inside comments and strings as identifiers.
3022 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3023 expression to evaluate. This allows to evaluate expressions with
3024 embedded whitespace.
3025 (gud-tooltip-tips): Add a blank before the newline in the
3026 message-box text, for the benefit of message-box emulation on
3029 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3030 messages from GDB, pop them up in a tooltip to give feedback to
3032 (gdb-tooltip-print-1): Quote the expression to evaluate.
3033 This allows to evaluate expressions with embedded whitespace.
3034 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3035 if the TTY name is nil or empty (which happens when communicating
3036 with the inferior via pipes, e.g. on MS-Windows).
3037 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3038 don't send that to the GUD buffer.
3040 2012-08-14 Glenn Morris <rgm@gnu.org>
3042 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3043 Optimize away setq-default with no args, as for setq. (Bug#12195)
3045 2012-08-14 Chong Yidong <cyd@gnu.org>
3047 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3049 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3052 2012-08-14 Glenn Morris <rgm@gnu.org>
3054 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3056 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
3058 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3059 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3060 Use cached shell name.
3062 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3064 * progmodes/python.el (python-shell-send-string):
3065 (python-shell-send-setup-code): Do not use `format' with `message'.
3067 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3069 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3070 (ruby-percent-literal-beg-re): New constant.
3071 (ruby-syntax-general-delimiters-goto-beg): Rename to
3072 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3073 (ruby-syntax-propertize-general-delimiters): Rename to
3074 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3075 popular term. Adjust comments everywhere.
3076 (ruby-syntax-propertize-percent-literal): Only propertize when not
3077 inside a simple string or comment. When the literal is unclosed,
3078 leave the text after it unpropertized.
3079 (ruby-syntax-methods-before-regexp): New constant.
3080 (ruby-syntax-propertize-function): Use it to recognize regexps.
3081 Don't look at the text after regexp, just use the whitelist.
3083 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3085 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3086 non-nil always load the compiled file if it exists. (Bug#12197)
3088 2012-08-14 Chong Yidong <cyd@gnu.org>
3090 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3091 (hi-lock-set-pattern): When deciding whether to use font lock or
3092 overlays, look at font-lock-mode instead of font-lock-fontified
3094 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3095 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3097 2012-08-14 Daiki Ueno <ueno@unixuser.org>
3099 * subr.el (internal--after-with-selected-window): Fix typo
3102 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3104 Use `completion-table-dynamic' for completion functions.
3105 * progmodes/python.el
3106 (python-shell-completion--do-completion-at-point)
3107 (python-shell-completion--get-completions):
3109 (python-shell-completion-complete-at-point): New function.
3110 (python-completion-complete-at-point): Use it.
3112 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
3114 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3115 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3117 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3119 * subr.el (function-get): Refine `autoload' arg so it can also
3120 autoload functions for gv.el (bug#12191).
3121 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3124 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3125 Prefer pcase-let over destructuring-bind.
3126 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3127 Also, remove whitespace as we go, rather than after accumulating the
3130 * subr.el (internal--before-with-selected-window)
3131 (internal--after-with-selected-window): Fix typo seleted->selected.
3132 (with-selected-window): Adjust callers.
3133 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3135 2012-08-13 Bastien Guerry <bzg@gnu.org>
3137 * window.el (special-display-popup-frame): Minor docstring
3138 enhancement. (Bug#12172)
3140 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3142 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3144 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3147 * files.el (hack-local-variables-filter): Remove useless eval.
3149 2012-08-13 Martin Rudalics <rudalics@gmx.at>
3151 * subr.el (with-selected-window): Fix last change.
3153 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3155 * subr.el (internal--before-with-seleted-window)
3156 (internal--after-with-seleted-window): New functions.
3157 (with-selected-window): Use them, to replace dependency on
3160 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3162 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3163 binding for `newline'.
3164 (ruby-move-to-block): When moving backward, stop at block opening,
3166 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3167 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3168 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3169 `ruby-toggle-block'.
3171 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3173 * ibuffer.el (ibuffer-do-toggle-read-only):
3174 * dired.el (dired-toggle-read-only):
3175 * buff-menu.el (Buffer-menu-toggle-read-only):
3176 * bindings.el (mode-line-toggle-read-only):
3177 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3179 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3181 * descr-text.el (describe-char): Put the overlays over the
3182 "displayed as" character.
3184 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3186 * calc/calc-units.el (math-default-units-table): Give an
3188 (math-put-default-units): Add options to put composite units and
3189 unit systems in the default units table.
3190 (calc-convert-units): Send composite units to
3191 `math-put-default-units' when appropriate.
3193 2012-08-11 Glenn Morris <rgm@gnu.org>
3195 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3197 * tutorial.el (help-with-tutorial):
3198 * emacs-lisp/copyright.el (copyright-update-directory):
3199 * emacs-lisp/autoload.el (autoload-find-generated-file)
3200 (autoload-find-file): Disable local eval: (for insurance).
3202 * files.el (hack-local-variables-filter): If an eval: form is not
3203 known to be safe, and enable-local-variables is :safe, then ignore
3204 the form totally, as is done for non-eval forms. (Bug#12155)
3205 This is CVE-2012-3479.
3207 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3209 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3210 (rx-form): Simplify.
3212 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3214 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3215 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3216 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3217 (ruby-syntax-propertize-function): Adjust for changes in
3218 `ruby-syntax-propertize-heredoc'.
3220 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3222 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3223 binding (use `M-;' instead).
3224 (ruby-singleton-class-p): New function.
3225 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
3227 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3229 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3231 2012-08-10 Chong Yidong <cyd@gnu.org>
3233 * progmodes/python.el (python-shell-get-process-name): Don't mess
3234 with same-window-buffer-names.
3236 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3237 (eshell-remove-from-window-buffer-names): Make obsolete.
3238 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3239 (eshell): Just use pop-to-buffer-same-window instead.
3241 2012-08-10 Chong Yidong <cyd@gnu.org>
3243 * bindings.el: Bind M-= back to count-words-region.
3245 * simple.el (count-words-region): Accept a prefix arg for acting
3246 on the entire buffer.
3247 (count-words--buffer-message): New helper function.
3249 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3251 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3252 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3253 (event-start, event-end): Use posn-at-point to return a more
3255 (posnp): New function.
3256 * mouse.el (popup-menu-normalize-position): Use it.
3258 2012-08-10 Masatake YAMATO <yamato@redhat.com>
3260 * mouse.el (popup-menu-normalize-position): New function.
3261 (popup-menu): Use `popup-menu-normalize-position' to normalize
3262 the form for POSITION argument.
3264 * term/x-win.el (x-menu-bar-open):
3265 Use the value returend from (posn-at-point) as position
3266 passed to `popup-menu'.
3268 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3270 * calc/calccomp.el (math-compose-expr): Add extra argument
3271 indicating that parentheses should be put around products in
3272 denominators. Give multiplication precedence over division during
3275 2012-08-09 Chong Yidong <cyd@gnu.org>
3277 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3278 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3279 (Man-untabify-command, manual-program): Convert to defcustom
3282 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3284 * descr-text.el (describe-char): Don't insert extra newlines
3287 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3288 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3290 * align.el (align-region): Delete temporary markers (Bug#10047).
3291 Plus some code cleanups.
3293 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3295 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3296 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3297 (python-shell-internal-last-output): Use make-local-variable
3298 instead of make-variable-buffer-local.
3300 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3302 * progmodes/python.el: Enhancements to forward-sexp.
3303 (python-nav-forward-sexp): Rename from
3304 python-nav-forward-sexp-function.
3305 (python-nav--forward-sexp, python-nav--backward-sexp):
3308 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3310 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3311 modes and simplification modes.
3313 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3315 * delsel.el (delete-selection-pre-hook): Don't propagate the
3316 file-supersession signals (bug#12161).
3318 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3320 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3321 (cl-map-extents): Add compatibility aliases (bug#12135).
3323 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
3325 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3326 tests by `ignore-error'.
3327 (tramp-find-shell): Open also a new shell, when cache is already
3328 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3330 2012-08-08 Juri Linkov <juri@jurta.org>
3332 * bookmark.el: Add `defaults' property to the bookmark record.
3333 (bookmark-current-buffer): Doc fix.
3334 (bookmark-make-record): Add `defaults' property with default values
3335 to the bookmark record.
3336 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3337 with `bookmark-insert-current-bookmark'.
3338 (bookmark-set): Get `defaults' property from the bookmark record
3339 and use it in `read-from-minibuffer'.
3340 (bookmark-insert-current-bookmark): Remove function.
3342 * info.el (Info-bookmark-make-record): Add `defaults' property
3343 with values of canonical Info node name, the current Info file
3344 name and the current Info node name. (Bug#12107)
3346 2012-08-08 Juri Linkov <juri@jurta.org>
3348 * files.el (basic-save-buffer): Use `buffer-name' as the default
3349 of `read-file-name' when buffer is not visiting a file (bug#12128).
3351 2012-08-08 Juri Linkov <juri@jurta.org>
3353 * info.el (Info-isearch-search): Doc fix.
3354 (Info-search): Change search-failed message from "initial node" to
3355 "end of node" (bug#12078).
3356 (Info-isearch-search): Change `isearch-string-state' to
3357 `isearch--state-string'.
3359 2012-08-08 Glenn Morris <rgm@gnu.org>
3361 * language/persian.el: Remove file.
3362 * language/misc-lang.el: Move unique part of persian.el here.
3363 * loadup.el: Remove language/persian.
3365 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3367 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3369 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3371 * progmodes/python.el Fixed defsubst warning.
3372 (python-syntax-context) Rename from python-info-ppss-context.
3373 (python-syntax-context-type): Rename from
3374 python-info-ppss-context-type.
3375 (python-syntax-comment-or-string-p): Rename from
3376 python-info-ppss-comment-or-string-p.
3378 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3380 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3382 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3384 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3385 a defcustom that is quoted with backquote.
3387 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3388 Fix handling of interactive spec when the body uses return.
3389 (math-do-arg-check, math-define-function-body): Use backquote forms.
3390 * calc/calc-ext.el (math-defcache): Likewise.
3391 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3392 * allout.el (allout-new-exposure): Likewise.
3393 * calc/calcalg2.el (math-tracing-integral): Likewise.
3394 * info.el (Info-last-menu-item): Likewise.
3395 * emulation/vip.el (vip-loop): Likewise.
3396 * textmodes/artist.el (artist-funcall): Likewise.
3397 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3398 Construct menu-item directly.
3400 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3403 2012-08-07 Chong Yidong <cyd@gnu.org>
3405 * simple.el (deactivate-mark): Preserve text properties when
3406 saving the primary selection (Bug#8384).
3408 2012-08-07 Kevin Ryde <user42@zip.com.au>
3410 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3411 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3412 and continue processing (Bug#12110).
3414 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3416 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3417 syntax-propertize-function (bug#10095).
3419 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3421 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3422 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3423 describe-function-1.
3424 (describe-function-1): Use them. Move compiler macro after sig.
3425 (help-fns--compiler-macro): Use function-get. Assume we're already in
3426 standard-output. Adjust layout to new call order.
3428 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3429 re-binding a symbol that has a symbol-macro (bug#12119).
3431 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3433 * language/persian.el: New file. (Bug#11812)
3434 * loadup.el: Add language/persian.el.
3436 2012-08-06 Chong Yidong <cyd@gnu.org>
3438 * window.el (window--maybe-raise-frame): New function.
3439 (window--display-buffer): Split off from here.
3440 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3441 (display-buffer-pop-up-window, display-buffer-use-some-window):
3442 Obey an inhibit-switch-frame action alist entry.
3443 (display-buffer): Update doc.
3445 * replace.el (occur-after-change-function): Avoid losing focus by
3446 using the inhibit-switch-frame display parameter (Bug#12139).
3448 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3450 Make internal shell process buffer names start with space.
3451 * progmodes/python.el (python-shell-make-comint): Add optional
3453 (run-python-internal): Use it.
3454 (python-shell-internal-get-or-create-process): Check for new
3455 internal buffer names.
3457 2012-08-06 Glenn Morris <rgm@gnu.org>
3459 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
3460 Do less getting and setting of environment variables.
3462 2012-08-05 Chong Yidong <cyd@gnu.org>
3464 * proced.el (proced): Add substitution string to docstring to
3465 trigger autoloading of the proced library on C-h f (Bug#1768).
3467 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3468 Don't show defvars which have no second argument (Bug#8638).
3470 * imenu.el (imenu-generic-expression): Move documentation here
3471 from imenu--generic-function.
3472 (imenu--generic-function): Refer to imenu-generic-expression.
3474 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
3476 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3477 indentation declaration.
3478 (viper-loop): Add indentation declaration (Bug#7025).
3480 2012-08-05 Chong Yidong <cyd@gnu.org>
3482 * help-fns.el (describe-variable): Add hyperlink for
3483 directory-local variables files. Improve buffer-local and
3484 permanent-local reporting; suggested by MON KEY (Bug#6644).
3486 * help-mode.el (help-dir-local-var-def): New button type.
3488 * files.el (kill-buffer-hook): Provide a defvar.
3490 2012-08-05 Glenn Morris <rgm@gnu.org>
3492 * eshell/esh-ext.el (eshell/addpath):
3493 Also update eshell-path-env. (Bug#12013)
3495 2012-08-05 Chong Yidong <cyd@gnu.org>
3497 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
3499 * fringe.el (fringe-styles): Add docstring.
3500 (fringe--check-mode): New function.
3501 (set-fringe-mode, set-fringe-style): Use it.
3502 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3504 * files.el (set-auto-mode): Fix invalid setq call.
3506 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3508 * isearch.el: Misc simplification; use defstruct.
3509 (isearch-mode-map): Dense maps now work like sparse ones.
3510 (isearch--state): New defstruct.
3511 (isearch-string-state, isearch-message-state, isearch-point-state)
3512 (isearch-success-state, isearch-forward-state)
3513 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3514 (isearch-wrapped-state, isearch-barrier-state)
3515 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3516 replaced by defstruct's accessors.
3517 (isearch--set-state): Rename from isearch-top-state and change
3519 (isearch-push-state): Use new isearch--get-state.
3520 (isearch-toggle-word): Disable regexp when enabling word.
3521 (isearch-message-prefix): Remove unused arg _c-q-hack.
3522 (isearch-message-suffix): Remove unused arg _ellipsis.
3524 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3526 * simple.el (list-processes--refresh): For a server use :host or
3527 :local as the address.
3528 (list-processes): Doc fix.
3530 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
3532 * lisp/mpc.el: Support password in host argument.
3533 (mpc--proc-connect): Parse and use new password element.
3534 Set mpc-proc variable instead of returning process.
3535 (mpc-proc): Adjust accordingly.
3537 2012-08-03 Eli Zaretskii <eliz@gnu.org>
3539 * whitespace.el (whitespace-display-mappings): Use Unicode
3540 codepoints, instead of emacs-mule codepoints. See
3541 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3544 * files.el (file-truename): Don't skip symlink-chasing part on
3545 windows-nt. Incorporate the resolution of 8+3 short aliases on
3546 Windows into the loop that recursively chases symlinks.
3547 Compare directory and its parent case-insensitively on MS-Windows and
3550 2012-08-03 Chong Yidong <cyd@gnu.org>
3552 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3554 * sort.el (sort-regexp-fields): Doc fix.
3556 2012-08-03 Tassilo Horn <tsdh@gnu.org>
3558 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3559 labels regex position point at the expected place.
3561 2012-08-03 MON KEY <monkey@sandpframing.com>
3563 * net/imap.el (imap-interactive-login, imap-authenticate)
3564 (imap-mailbox-lsub, imap-mailbox-list)
3565 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3566 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3567 (imap-parse-response): Doc fix.
3569 2012-08-03 João Távora <joaotavora@gmail.com>
3571 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3572 if sexp scanning does not move point (Bug#5734).
3574 2012-08-02 Tassilo Horn <tsdh@gnu.org>
3576 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3577 Add listings, minted, and ctable packages.
3578 (reftex-label-alist-builtin): Move listings, minted, and ctable
3579 entries before LaTeX.
3580 (reftex-label-alist): Docfix.
3582 2012-08-02 Bastien Guerry <bzg@gnu.org>
3584 * replace.el (occur): Fix docstring (bug#12122).
3586 2012-08-02 Glenn Morris <rgm@gnu.org>
3588 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3590 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3592 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3593 * international/mule-cmds.el: Create
3594 inactivate-current-input-method-function as an obsolete alias for
3595 deactivate-current-input-method-function. See Katsumi Yamaoka in
3596 <http://bugs.gnu.org/10150#46>.
3598 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3600 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3603 2012-08-01 Glenn Morris <rgm@gnu.org>
3605 * progmodes/autoconf.el (autoconf-definition-regexp):
3606 Add AH_TEMPLATE, adjust submatch numbering.
3607 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3608 (autoconf-current-defun-function): Update for above change.
3609 (autoconf-current-defun-function): First skip to end of current word.
3611 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3613 * calendar/cal-html.el (cal-html-insert-agenda-days):
3614 Fix typo. (Bug#12018)
3616 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3618 Shell processes: enhancements to startup and CEDET compatibility.
3619 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3620 (python-shell-make-comint): accept-process-output at startup.
3621 (run-python-internal): Set inferior-python-mode-hook to nil.
3622 (python-shell-internal-get-or-create-process): call sit-for.
3623 (python-preoutput-result): Add obsolete alias.
3624 (python-shell-internal-send-string): Use it.
3625 (python-shell-send-setup-code): Remove call to
3626 accept-process-output.
3628 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3630 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3633 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3635 * calc-mode.el (calc-basic-simplification-mode): Rename from
3636 `calc-limited-simplification-mode'.
3637 (calc-alg-simplification-mode): New function.
3638 (calc-set-simplify-mode): Adjust message.
3640 * calc.el (calc-set-mode-line): Adjust mode line display for
3641 basic simplification mode.
3643 * calc-help.el (calc-m-prefix-help): Update help message.
3645 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3646 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3648 2012-07-31 Bastien Guerry <bzg@gnu.org>
3650 * man.el (man): Fix comment. (bug#12101)
3652 2012-07-31 Martin Rudalics <rudalics@gmx.at>
3654 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3655 Don't return a non-nil value when no suitable buffer was found.
3657 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3659 * progmodes/python.el (run-python-internal): Disable font lock for
3662 2012-07-30 Stefan Merten <smerten@oekonux.de>
3664 * textmodes/rst.el: Silence `checkdoc-ispell'.
3665 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3666 (rst-official-version, rst-official-cvs-rev)
3667 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3668 (rst-mode-map): New key binding.
3670 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3672 Update .PHONY listings in makefiles.
3673 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3674 autoloads, update-subdirs, updates, bzr-update, update-authors,
3675 compile-onefile, compile-calc, backup-compiled-files,
3676 compile-after-backup, compile-one-process, mh-autoloads,
3677 bootstrap-clean, distclean, maintainer-clean.
3679 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3681 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3682 (calc-set-mode-line): Don't display "AlgSimp ".
3684 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3685 (calc-lim-simplify-mode): New function.
3686 (calc-set-simplify-mode): Default to 'alg.
3687 (calc-default-simplify-mode): Make algebraic simplifications
3690 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3691 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3693 * calc/calc-help.el (calc-m-prefix-help): Change messages to
3694 indicate new simplification modes.
3696 * calc/README: Mention new default simplification mode.
3698 * calc/calc.el (math-normalize-error): New variable.
3699 (math-normalize): Set `math-normalize-error' to t
3700 when there's an error.
3702 * calc/calc-alg.el (math-simplify): Don't simplify when
3703 `math-normalize' returns an error.
3705 2012-07-29 Eli Zaretskii <eliz@gnu.org>
3707 * international/mule-cmds.el (set-locale-environment): Revert last
3708 change, since display-graphic-p returns nil when this function is
3709 called during startup. Instead...
3711 * term/w32console.el (terminal-init-w32console): ...setup the
3712 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3714 2012-07-29 Juri Linkov <juri@jurta.org>
3716 * simple.el (goto-line): Don't display default line number in the
3717 prompt because it should be displayed by `read-number' (bug#9952).
3718 Add the current line number to the defaults of `goto-line' to
3719 allow its easier modification by users with `M-n' (bug#9201).
3721 * subr.el (read-number): Support multiple default values like in
3722 other minibuffer reading functions. Replace `read' with
3723 `string-to-number' for consistency with `number-to-string'.
3725 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3727 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3728 * emulation/viper-init.el (viper-deactivate-input-method-action):
3729 Rename from viper-inactivate-input-method-action.
3730 (viper-deactivate-input-method):
3731 Rename from viper-inactivate-input-method.
3732 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3733 * international/mule-cmds.el (deactivate-input-method):
3734 Rename from inactivate-input-method.
3735 Also run input-method-deactivate-hook.
3736 (deactivate-current-input-method-function):
3737 Rename from inactivate-current-input-method-function.
3738 (input-method-deactivate-hook): New hook.
3739 (input-method-inactivate-hook): Mark obsolete.
3740 (inactivate-input-method): Mark obsolete.
3742 * international/quail.el (quail-activate):
3743 Also run quail-deactivate-hook.
3744 (quail-deactivate): Rename from quail-inactivate.
3745 * international/robin.el (robin-activate):
3746 Also run robin-deactivate-hook.
3747 (robin-deactivate): Rename from robin-inactivate.
3749 2012-07-29 Chong Yidong <cyd@gnu.org>
3751 * simple.el (indicate-copied-region): New function.
3752 (kill-ring-save): Split off from here.
3754 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3755 (kill-rectangle): Set deactivate-mark to t on read-only error.
3757 * register.el (copy-to-register, copy-rectangle-to-register):
3758 Deactivate the mark, and use indicate-copied-region (Bug#10056).
3759 (append-to-register, prepend-to-register): Call indicate-copied-region.
3761 2012-07-29 Juri Linkov <juri@jurta.org>
3763 * simple.el (async-shell-command-buffer): New defcustom.
3764 (shell-command): Use it. (Bug#4719)
3766 2012-07-28 Eli Zaretskii <eliz@gnu.org>
3768 * international/mule-cmds.el (set-locale-environment): In a
3769 console session on MS-Windows, set up keyboard and terminal
3770 encoding from the OEM codepage, not the ANSI codepage.
3773 2012-07-28 Chong Yidong <cyd@gnu.org>
3775 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3778 2012-07-28 Leo Liu <sdl.web@gmail.com>
3780 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3781 the alist (bug#12029).
3783 2012-07-28 Eli Zaretskii <eliz@gnu.org>
3785 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3786 (compile-always, compile-first)
3787 ($(lisp)/calendar/cal-loaddefs.el)
3788 ($(lisp)/calendar/diary-loaddefs.el)
3789 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3790 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3791 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3792 instead of on update-subdirs.
3793 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3795 2012-07-28 Chong Yidong <cyd@gnu.org>
3797 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3798 directory if vc-deduce-backend returns nil (Bug#7350).
3800 * simple.el (delete-trailing-lines): New option.
3801 (delete-trailing-whitespace): Obey it (Bug#11879).
3803 2012-07-28 David Engster <deng@randomsample.de>
3805 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3806 Explanation of new 'symbol-qnames feature in doc-strings.
3807 (xml-maybe-do-ns): Return expanded names as plain symbols if
3808 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3809 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3811 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3813 Consistent completion in inferior python with emacs -nw.
3814 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3815 binding in inferior-python-mode-map with "\t".
3816 (python-shell-completion-complete-at-point)
3817 (python-completion-complete-at-point): Remove interactive spec.
3819 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3821 * calc/calccomp.el (math-compose-expr): Undo previous change.
3823 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3825 * progmodes/python.el (python-mode-map): Add keybinding for
3827 (python-shell-make-comint): Fix pop-to-buffer call.
3828 (run-python): Autoload. New arg SHOW.
3829 (python-shell-get-or-create-process): Do not pop python process
3832 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
3834 * notifications.el (notifications-on-action-signal)
3835 (notifications-on-closed-signal): Use also the bus address for the map.
3836 (notifications-notify, notifications-close-notification)
3837 (notifications-get-capabilities): Add optional argument BUS.
3839 2012-07-27 Tassilo Horn <tsdh@gnu.org>
3841 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3842 Add support for the lstlisting and minted environments, and for the
3844 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3845 labels written in keyvals syntax.
3847 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3849 * calc/calccomp.el (math-compose-expr): Use parentheses when
3850 there is a product in the denominator of a fraction.
3852 2012-07-26 Eli Zaretskii <eliz@gnu.org>
3854 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3855 ($(lisp)/calendar/diary-loaddefs.el)
3856 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3857 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3858 Fixes failures in parallel bootstrap because subdirs.el is being
3859 rewritten while the autoload files are built at the same time,
3860 which needs to load subdirs.el.
3862 2012-07-26 Martin Rudalics <rudalics@gmx.at>
3864 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3865 (mouse-drag-line): Don't exit tracking when a switch-frame or
3866 switch-window event occurs (Bug#12006).
3868 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3870 * mouse.el (popup-menu): Fix last change.
3872 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3874 Autoload from Lisp with more care. Follow aliases when looking for
3875 function properties.
3876 * subr.el (autoloadp): New function.
3877 (symbol-file): Use it.
3878 (function-get): New function.
3879 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3881 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3882 (lisp-indent-function):
3883 * emacs-lisp/gv.el (gv-get):
3884 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3885 * emacs-lisp/byte-opt.el (byte-optimize-form):
3886 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3887 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3889 * emacs-lisp/cl.el: Don't propagate function properties any more.
3891 * speedbar.el (speedbar-add-localized-speedbar-support):
3892 * emacs-lisp/disass.el (disassemble-internal):
3893 * desktop.el (desktop-load-file):
3894 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3895 (describe-function-1):
3896 * emacs-lisp/find-func.el (find-function-noselect):
3897 * emacs-lisp/elp.el (elp-instrument-function):
3898 * emacs-lisp/advice.el (ad-has-proper-definition):
3899 * apropos.el (apropos-safe-documentation, apropos-macrop):
3900 * emacs-lisp/debug.el (debug-on-entry):
3901 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3902 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3903 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3905 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3907 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3908 function, not an obsolete variable (Bug#12046).
3910 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3912 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3914 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3916 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3917 window only if it is still live (Bug#12034).
3919 2012-07-25 Martin Rudalics <rudalics@gmx.at>
3921 * subr.el (redirect-frame-focus): Add advertised calling
3922 convention (Bug#12030).
3924 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3926 Prefer typical American spelling for "acknowledgment".
3927 * vc/add-log.el (change-log-acknowledgment): Rename from
3928 change-log-acknowledgement, with an alias for the old name.
3930 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3932 * calc-alg.el (math-simplify-divide): Don't cross multiply
3933 in an equation when the lhs is a variable.
3935 2012-07-24 Julien Danjou <julien@danjou.info>
3937 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3940 2012-07-23 Eli Zaretskii <eliz@gnu.org>
3942 * startup.el (command-line): Don't display an empty user name in
3943 the error message about non-existent home directory, when
3944 init-file-user was set to an empty string. See
3945 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3946 for the details and context.
3948 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3950 * ses.el (ses-cell-formula-aset): New macro.
3951 (ses-cell-references-aset): New macro.
3952 (ses-cell-p): New function.
3953 (ses-rename-cell): Do no longer rely on complex operations like
3954 ses-cell-set-formula or ses-set-cell to change the cell and handle
3955 the undo at the same time, but rather use lower level new macros
3956 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
3957 the undo directly. Refresh the mode line.
3959 2012-07-21 Leo Liu <sdl.web@gmail.com>
3961 * progmodes/cc-cmds.el (c-defun-name):
3962 Use match-string-no-properties instead for consistency.
3964 2012-07-20 Leo Liu <sdl.web@gmail.com>
3966 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3969 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3971 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3973 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3974 * progmodes/bug-reference.el, misearch.el: Provide themselves
3977 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3978 of narrowed buffer (bug#11966).
3980 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3982 * ses.el (ses-rename-cell): Set new name also in reference list of
3983 cells of which the renamed cell depends.
3985 2012-07-20 Masatake YAMATO <yamato@redhat.com>
3987 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3988 to check whether menu-bar is shown or not. If not shown,
3989 show the menu-bar as a popup menu instead of using tmm.
3990 * mouse.el (popup-menu): Accept `point' as `position' argument.
3992 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3994 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3995 up inside string symbol literal (bug#11923).
3997 2012-07-20 Eli Zaretskii <eliz@gnu.org>
3999 * startup.el (fancy-startup-text): Read the whole tutorial, not
4000 just its first 256 bytes. Prevents gibberish in display of the
4003 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4005 Drop idle buffer compaction due to an absence of the
4007 * compact.el: Remove.
4009 2012-07-19 Sam Steingold <sds@gnu.org>
4011 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4012 vc-bzr-pull & vc-bzr-merge-branch.
4013 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4014 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4015 for consistency with compilation-error-regexp-alist.
4016 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4017 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4018 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4019 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4021 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4023 * emacs-lisp/chart.el: Use lexical-binding.
4024 (chart-emacs-storage): Don't hardcode the list of entries.
4026 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4028 Next round of tweaks caused by Fgarbage_collect changes.
4029 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4031 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4033 Compact buffers when idle.
4034 * compact.el: New file.
4036 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4038 * subr.el (eventp): Presume that if it looks vaguely like an event,
4039 it's an event (bug#10190).
4041 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4043 Enhancements to ppss related code (thanks Stefan).
4044 * progmodes/python.el (python-indent-context)
4045 (python-indent-calculate-indentation, python-indent-dedent-line)
4046 (python-indent-electric-colon, python-nav-forward-block)
4047 (python-mode-abbrev-table)
4048 (python-info-assignment-continuation-line-p): Simplify checks
4050 (python-info-continuation-line-p): Cleanup.
4051 (python-info-ppss-context): Do not catch 'quote.
4052 (python-info-ppss-context-type)
4053 (python-info-ppss-comment-or-string-p): Simplify.
4055 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4057 * progmodes/python.el: Enhancements to eldoc support.
4058 (python-info-current-symbol): New function.
4059 (python-eldoc-at-point): Use python-info-current-symbol.
4060 (python-info-current-defun): Fix cornercase on first defun scan.
4061 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4062 and signal error when no inferior python process is available.
4064 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4066 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4067 assume it's always t.
4068 (vc-git-registered): Remove caching, the function is only called
4070 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4072 2012-07-18 Chong Yidong <cyd@gnu.org>
4074 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4076 * simple.el (count-words): Report on narrowing (Bug#9959).
4078 * bindings.el: Bind M-= to count-words.
4080 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4082 2012-07-18 Masatake YAMATO <yamato@redhat.com>
4084 * progmodes/sh-script.el (sh-imenu-generic-expression):
4085 Capture a function with `function' keyword and without parentheses
4086 like "function FOO" (bug#11856).
4088 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4090 * window.el (split-window-sensibly): Make WINDOW argument
4093 2012-07-18 Chong Yidong <cyd@gnu.org>
4095 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4097 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4098 and make C-x 8 RET exit isearch (Bug#11439).
4100 * international/iso-transl.el: Move isearch-mode-map key
4101 definitions to isearch.el.
4103 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4105 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4106 (eieio-defclass): Use gv-define-setter when possible.
4108 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4110 Reflect recent changes in Fgarbage_collect.
4111 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4112 reflect new format of data returned by Fgarbage_collect.
4114 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4116 New utility functions + python-info-ppss-context fix (Bug#11910).
4117 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4118 (python-info-ppss-comment-or-string-p): New functions.
4119 (python-info-ppss-context): Small fix for string check.
4121 2012-07-17 Juri Linkov <juri@jurta.org>
4123 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4124 (dired-do-async-shell-command): Don't add `*' at the end of the
4125 command (Bug#11815).
4126 (dired-do-shell-command): Doc fix.
4127 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4128 Join the individual commands using either "&" or ";" as the
4129 separator depending on the values of these trailing characters.
4130 At the end re-add the trailing "&". (Bug#10598)
4132 * simple.el (async-shell-command): Sync the interactive spec with
4133 `shell-command'. Doc fix.
4134 (shell-command): Doc fix.
4136 2012-07-17 Juri Linkov <juri@jurta.org>
4138 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4140 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4142 Final renames and doc fixes for movement commands (bug#11899).
4143 * progmodes/python.el (python-nav-beginning-of-statement):
4144 Rename from python-nav-statement-start.
4145 (python-nav-end-of-statement): Rename from
4146 python-nav-statement-end.
4147 (python-nav-beginning-of-block): Rename from
4148 python-nav-block-start.
4149 (python-nav-end-of-block): Rename from python-nav-block-end.
4151 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4153 * progmodes/python.el (python-shell-send-string-no-output):
4154 Allow accept-process-output to quit, keeping shell process ready for
4155 future interactions (Bug#11868).
4157 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4159 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4161 * emacs-lisp/elint.el (elint-find-args-in-code):
4162 Use help-function-arglist, so as to handle lexical byte-code.
4164 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4167 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4169 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4170 Avoid spuriously marking the buffer as modified because of c-is-sws.
4172 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4173 as not-a-comment (bug#11946).
4175 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4176 for uninterned vars.
4178 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4179 Use read-event since we don't really want to read chars but bytes.
4181 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4182 $$..$$ but also $..$ using regexps (bug#11953).
4183 Use tex-verbatim for \url and \path.
4184 (tex-font-lock-keywords): Define as defconst like the others.
4185 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4187 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4189 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4190 alias for insert-char.
4192 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4194 * progmodes/python.el: Simplified imenu implementation.
4195 (python-nav-jump-to-defun): Remove command.
4196 (python-mode-map): Use `imenu' instead.
4197 (python-nav-list-defun-positions-cache)
4198 (python-imenu-include-defun-type, python-imenu-make-tree)
4199 (python-imenu-subtree-root-label, python-imenu-index-alist):
4201 (python-nav-list-defun-positions, python-nav-read-defun)
4202 (python-imenu-tree-assoc, python-imenu-make-element-tree)
4203 (python-imenu-make-tree, python-imenu-create-index):
4205 (python-mode): Update to interact with imenu by setting
4206 `imenu-extract-index-name-function' only.
4208 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4210 * progmodes/python.el: Enhancements to navigation commands.
4211 (python-nav-backward-sentence)
4212 (python-nav-forward-sentence): Remove.
4213 (python-nav-backward-statement, python-nav-forward-statement)
4214 (python-nav-statement-start, python-nav-statement-end)
4215 (python-nav-backward-block, python-nav-forward-block)
4216 (python-nav-block-start, python-nav-block-end)
4217 (python-nav-forward-sexp-function)
4218 (python-info-current-line-comment-p)
4219 (python-info-current-line-empty-p): New functions.
4220 (python-indent-context): Use `python-nav-statement-start'.
4222 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
4224 * eshell/em-ls.el (eshell/ls): Use `apply'.
4226 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4227 multi-hops, instead of Tramp internals.
4229 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4231 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4232 when F1 and F2 are located on different hosts.
4234 2012-07-14 Chong Yidong <cyd@gnu.org>
4236 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4237 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4238 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4239 (xterm-mouse--read-event-sequence-1000)
4240 (xterm-mouse--read-event-sequence-1006): New functions. For old
4241 mouse protocol, handle M-mouse-X events correctly.
4242 (xterm-mouse-event): New arg specifying mouse protocol.
4243 (turn-on-xterm-mouse-tracking-on-terminal)
4244 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
4245 sequence to toggle extended coordinates on newer XTerms.
4246 This appears to be harmless on terminals which do not support this.
4248 2012-07-14 Leo Liu <sdl.web@gmail.com>
4250 Add fringe bitmap indicators for flymake. (Bug#11253)
4251 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4252 (flymake-make-overlay): New arg BITMAP.
4253 (flymake-error-bitmap, flymake-warning-bitmap)
4254 (flymake-fringe-indicator-position): New user variables.
4256 * fringe.el: New bitmap exclamation-mark.
4258 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4260 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4263 2012-07-14 Chong Yidong <cyd@gnu.org>
4265 * electric.el (electric-pair-post-self-insert-function): Fix pair
4266 insertion in empty-region case (Bug#11520).
4268 2012-07-14 Chong Yidong <cyd@gnu.org>
4270 * bindings.el: Consolidate ctl-x-r-map bindings.
4271 Bind copy-rectangle-as-kill to C-x r w.
4273 * rect.el, register.el: Move bindings to bindings.el.
4275 2012-07-14 Reuben Thomas <rrt@sc3d.org>
4277 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4279 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4281 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4283 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
4285 * bindings.el (top): Use `mapc' instead of `mapcar'.
4287 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4289 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
4291 * progmodes/sql.el (sql-comint): Suppress the check for program on
4292 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4295 2012-07-13 Chong Yidong <cyd@gnu.org>
4297 * bindings.el: Assign a non-nil permanent-local property to
4298 per-buffer variables which lack a default value (Bug#11930).
4300 * help-fns.el (describe-variable): In the "automatically becomes
4301 local" notice, take note of permanent-local variables.
4303 2012-07-13 Chong Yidong <cyd@gnu.org>
4305 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4306 to allow printing the message when called from Lisp.
4308 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4309 Remove toggle-read-only.
4311 * bs.el (bs-toggle-readonly):
4312 * buff-menu.el (Buffer-menu-toggle-read-only):
4313 Remove with-no-warnings around toggle-read-only.
4315 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4316 Remove with-no-warnings around toggle-read-only.
4317 (ffap-read-only, ffap-read-only-other-window)
4318 (ffap-read-only-other-frame): Callers changed.
4320 * help-mode.el: Don't require view package.
4321 (help-mode-finish): Set buffer-read-only instead of calling
4324 * bindings.el (mode-line-toggle-read-only):
4325 * dired.el (dired-toggle-read-only):
4326 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4327 with non-nil second arg.
4329 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4330 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4333 2012-07-12 Eli Zaretskii <eliz@gnu.org>
4335 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4338 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4340 More CL cleanups and reduction of use of cl.el.
4341 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4342 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4343 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4344 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4345 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4346 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4347 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4348 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4349 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4350 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4351 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4352 * eshell/em-cmpl.el, eshell/em-banner.el:
4353 * calendar/parse-time.el: Use cl-lib.
4354 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4355 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4356 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4357 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4358 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4359 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4360 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4361 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4362 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4363 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4364 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4365 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4366 `lambda' rather than with `quote'.
4367 (eshell-do-opt): Adjust accordingly.
4368 (eshell-process-option): Simplify.
4369 * eshell/esh-var.el:
4370 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4371 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4372 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4373 to `pcase--dontcare'.
4374 * emacs-lisp/cl.el (labels): Mark obsolete.
4375 (cl--letf, letf): Move to cl-lib.
4376 (cl--letf*, letf*): Remove.
4377 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4378 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4379 (cl-progv): Rewrite.
4380 (cl--letf, cl-letf): Move from cl.el.
4381 (cl-letf*): New macro.
4382 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4384 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
4386 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4388 2012-07-11 Chong Yidong <cyd@gnu.org>
4390 * vc/log-edit.el (log-edit-vc-backend): New variable.
4391 (log-edit): Doc fix.
4393 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4394 argument of log-edit to set up all local variables.
4395 (vc-start-logentry): New optional arg specifying VC backend.
4397 * vc/vc.el (vc-checkin): Use it.
4398 (vc-deduce-fileset): Handle Log Edit buffers.
4399 (vc-diff): Make first argument optional too.
4401 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4403 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
4405 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4406 command, just in case. The function is not needed anymore.
4407 (eshell-external-command): Do not call `eshell-remote-command'.
4409 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4411 Reduce use of (require 'cl).
4412 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4413 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4414 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4415 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4416 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4417 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4418 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4419 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4420 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4421 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4422 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4423 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4424 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4425 (byte-compile-unfold-bcf, byte-compile-check-variable):
4426 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4427 (byte-compile-nilconstp):
4428 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4429 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4431 * emacs-lisp/gv.el (cond): Make it a valid place.
4432 (if): Simplify slightly.
4434 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4435 (pcase--self-quoting-p): New function.
4436 (pcase--u1): Use it.
4438 2012-07-10 Glenn Morris <rgm@gnu.org>
4440 * emacs-lisp/authors.el (authors-fixed-entries):
4441 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4443 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4445 Rename configure.in to configure.ac (Bug#11603).
4446 * emacs-lisp/authors.el (authors-canonical-file-name):
4447 * progmodes/autoconf.el (autoconf-mode):
4448 Prefer configure.ac to configure.in.
4450 2012-07-08 Chong Yidong <cyd@gnu.org>
4452 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4453 Implement the mouse-1-click-follows-link handling properly.
4455 * info.el (Info-link-keymap): Use follow-link mechanism for
4456 header-line links (Bug#374).
4458 * simple.el (deactivate-mark): Do not set the primary selection
4459 if another program has acquired it (Bug#11772).
4461 2012-07-07 Kevin Ryde <user42@zip.com.au>
4463 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4464 (woman-decode-region): Replace escaped-escapes without destroying
4465 bold or underline (Bug#11552).
4466 (woman2-process-escapes): Handle nofill regions (Bug#11591).
4468 2012-07-07 Chong Yidong <cyd@gnu.org>
4470 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
4471 (interprogram-cut-function, interprogram-paste-function):
4472 Mention that we typically mean the clipboard.
4474 2012-07-06 Glenn Morris <rgm@gnu.org>
4476 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4478 * files.el (toggle-read-only): Restrict message to interactive use.
4480 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
4482 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4484 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4486 2012-07-06 Glenn Morris <rgm@gnu.org>
4488 * Makefile.in (compile-one-process): Rename from "recompile".
4490 * Makefile.in (bzr-update): "compile" is the same as "recompile
4491 autoloads", but parallelizable, so use that instead.
4493 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4495 * window.el (quit-window): Always restore window height when
4496 it's saved in quit-restore parameter (Bug#11810).
4498 2012-07-06 Glenn Morris <rgm@gnu.org>
4500 * simple.el (kill-whole-line): Doc tweak.
4502 2012-07-06 Eli Zaretskii <eliz@gnu.org>
4504 * files.el (file-relative-name): Compare file names
4505 case-insensitively if on MS-Windows or MS-DOS, or if
4506 read-file-name-completion-ignore-case is non-nil. Don't use
4507 case-fold-search for this purpose. (Bug#11827)
4509 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4511 * calendar/cal-dst.el (calendar-current-time-zone):
4512 Return calendar-current-time-zone-cache if non-nil.
4514 2012-07-17 Masatake YAMATO <yamato@redhat.com>
4515 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4517 * calendar/cal-dst.el (calendar-current-time-zone):
4518 Return calendar-current-time-zone-cache if non-nil.
4520 2012-07-06 Glenn Morris <rgm@gnu.org>
4522 * Makefile.in (cvs-update): Remove old alias.
4524 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
4526 Sync with Tramp 2.2.6-pre.
4528 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4529 compatible declaration.
4531 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4532 Protect `list-load-path-shadows' call.
4534 * net/tramp-compat.el (top): Require packages, which aren't
4535 autoloaded anymore for XEmacs. Protect call of
4536 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4537 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4538 it hurts at least for SXEmacs.
4539 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4540 standard-value for `temporary-file-directory'.
4542 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4543 Redirect stderr to /dev/null.
4544 (tramp-sh-handle-write-region): uid and gid can be floats.
4545 Reported by Russell Sim <russell.sim@gmail.com>.
4546 (tramp-sh-handle-vc-registered): Hide errors.
4547 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4548 and `start-file-process'.
4549 (tramp-maybe-open-connection): Check also whether `non-essential'
4552 2012-07-04 Chong Yidong <cyd@gnu.org>
4554 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4555 (xml-parse-tag): Likewise, and avoid changing entity tables.
4556 (xml-syntax-table): Define from scratch, making sure not to give
4557 x2000 and other Unicode spaces whitespace syntax, since those are
4559 (xml-parse-fragment): Delete unused function.
4560 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4561 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4562 (xml-entity-ref, xml-pe-reference-re)
4563 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4564 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4565 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4566 (xml-entity-value-re): Use syntax references in regexps where
4567 possible; no need to define inside a let-binding.
4568 (xml-parse-dtd): Use xml-pe-reference-re.
4569 (xml-entity-or-char-ref-re): New defconst.
4570 (xml-parse-string, xml-substitute-special): Use it.
4572 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4574 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4575 (find-file--read-only): New function.
4576 (find-file-read-only, find-file-read-only-other-window)
4577 (find-file-read-only-other-frame): Use it.
4578 (insert-file-contents-literally): Don't `fset'.
4579 (get-free-disk-space): Use locate-dominating-file.
4581 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4582 function is already compiled.
4584 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4586 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
4588 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4589 files on the same host.
4591 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4593 * help-fns.el (describe-function-1): Only call
4594 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4596 2012-07-03 Chong Yidong <cyd@gnu.org>
4598 * xml.el: Protect parser against XML bombs.
4599 (xml-entity-expansion-limit): New variable.
4600 (xml-parse-string, xml-substitute-special): Use it.
4601 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4603 2012-07-03 Glenn Morris <rgm@gnu.org>
4605 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4606 Allow linking to specific messages in debbugs reports (eg 123#5).
4608 2012-07-02 Chong Yidong <cyd@gnu.org>
4610 * xml.el: Fix entity and character reference expansion, allowing
4611 them to expand into markup as per XML spec.
4612 (xml-default-ns): New variable.
4613 (xml-entity-alist): Use XML spec definitions for lt and amp.
4614 (xml-parse-region): Make first two arguments optional.
4615 Discard text properties.
4616 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4617 All callers changed.
4618 (xml-parse-tag): Call xml-parse-tag-1. For backward
4619 compatibility, this function should not modify buffer contents.
4620 (xml-parse-tag-1): Fix opening-tag regexp.
4621 (xml-parse-string): Rewrite, handling entity and character
4622 references properly.
4623 (xml--entity-replacement-text): Signal an error if a parameter
4624 entity is undefined.
4626 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4628 * comint.el (comint-output-filter): Filter out repeated prompts.
4630 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4631 and file-name-absolute-p.
4632 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4635 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4638 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4639 Rename from byte-compile--refiy-function. All uses changed.
4641 2012-07-01 Chong Yidong <cyd@gnu.org>
4643 * xml.el (xml--parse-buffer): New function. Move most of
4644 xml-parse-region here.
4645 (xml-parse-region): Copy region into a temporary buffer, since
4646 parameter entity substitution requires changing buffer contents.
4647 Use xml--parse-buffer.
4648 (xml-parse-file): Use xml--parse-buffer.
4649 (xml-parse-dtd): Make parameter entity substitution work right.
4650 Use proper regexps for ELEMENT declarations (Bug#7172).
4652 2012-06-30 Glenn Morris <rgm@gnu.org>
4654 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4656 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4657 Remove outdated and unnecessary dbus declarations.
4659 2012-06-30 Eli Zaretskii <eliz@gnu.org>
4661 * emacs-lisp/timer.el (timer-until): Subtract results of
4662 float-time, instead of taking float-time of the result of
4663 time-subtract, since float-time signals an error for negative time
4666 2012-06-30 Chong Yidong <cyd@gnu.org>
4668 * xml.el (xml-*-re): Convert defvars into defconsts, and
4669 eval-and-compile them so eval-and-compile works on derivatives.
4670 (xml--entity-replacement-text): Use eval-and-comple.
4672 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
4674 * vc/vc-git.el (vc-git-registered): Use cache property
4676 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4677 `vc-git-working-revision' in order to benefit from the cache.
4678 (vc-git-root): Use cache property `git-root'. (Bug#11757)
4680 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4682 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
4683 removed (likely outside Emacs). (Bug#11757)
4685 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4687 * emacs-lisp/cl-lib.el: Require macroexp.
4689 2012-06-30 Chong Yidong <cyd@gnu.org>
4691 * xml.el: Implement XML parameter entities.
4692 (xml-parameter-entity-alist): New variable.
4693 (xml-parse-region, xml-parse-fragment): Preserve previous values
4694 of xml-entity-alist and xml-parameter-entity-alist, so that
4695 repeated calls on different documents do not change them.
4696 (xml-parse-tag): Fix doctype regexp.
4697 (xml--entity-replacement-text): New function.
4698 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4699 properly requires url retrieval which is unimplemented.
4700 (xml-escape-string): Doc fix.
4702 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4704 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4706 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4708 * fringe.el (fringe-mode): Doc fix.
4710 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
4712 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4714 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4715 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4717 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
4719 * calendar/cal-dst.el (calendar-current-time-zone):
4720 Return calendar-current-time-zone-cache if non-nil.
4722 2012-06-29 Masatake YAMATO <yamato@redhat.com>
4724 * progmodes/which-func.el (which-func-format):
4725 Add mouse-face. (Bug#11698)
4727 2012-06-29 Leo Liu <sdl.web@gmail.com>
4729 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4731 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4733 * minibuffer.el (minibuffer-confirm-exit-commands):
4734 Add completion-at-point (bug#11725).
4736 2012-06-29 Glenn Morris <rgm@gnu.org>
4738 * progmodes/f90.el (f90-font-lock-keywords-2):
4739 Add some preprocessor elements. (Bug#10499)
4741 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4743 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4744 Use syntax-propertize (bug#11739).
4746 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
4748 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4750 2012-06-28 Julien Danjou <julien@danjou.info>
4752 * term.el (term-handle-colors-array): Use a set of new faces to
4753 color the terminal. Also uses :inverse-video property.
4754 (term-default-fg-color): Set to nil by default, deprecate in favor
4756 (term-default-bg-color): Set to nil by default, deprecate in favor
4758 (term-current-face): Use `term-face' by default.
4759 (term-bold-attribute): Variable deleted.
4761 2012-06-28 Glenn Morris <rgm@gnu.org>
4763 * simple.el (completion-list-mode-finish):
4764 Don't use toggle-read-only. (Since completion-list-mode has
4765 a special mode-class, it wasn't doing anything extra anyway.)
4767 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4769 Make inlining of other-mode interpreted functions work (bug#11799).
4770 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4771 (byte-compile): Use it to fix compilation of lexical-binding closures.
4772 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4773 function, if needed.
4775 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4777 * help-mode.el (help-make-xrefs): Don't just withstand
4778 cyclic-variable-indirection but any error in documentation-property.
4780 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4782 * bindings.el (bindings--define-key): New function.
4783 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4784 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4785 * bindings.el: Use it to purecopy define-key bindings.
4787 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4789 * emacs-lisp/cl.el (flet): Mark obsolete.
4790 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4791 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4792 * progmodes/js.el (js-c-fill-paragraph):
4793 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4794 (ebrowse-switch-member-buffer-to-derived-class):
4795 * play/5x5.el (5x5-solver): Use cl-flet.
4797 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4798 (cl--symbol-function): New macro.
4799 (cl--letf, cl--letf*): Use it.
4801 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4802 Strip "toggle-" if any.
4804 2012-06-27 Glenn Morris <rgm@gnu.org>
4806 * info.el (Info-default-directory-list): Move here from paths.el.
4807 * paths.el: Remove file, which is now empty.
4808 * loadup.el: No longer load "paths".
4810 * custom.el (custom-initialize-delay): Doc fix.
4812 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4813 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4814 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4815 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4816 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4817 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4818 * eshell/eshell.el (eshell-defgroup): Remove alias.
4820 2012-06-27 Chong Yidong <cyd@gnu.org>
4822 * help.el (help-enable-auto-load): New variable.
4824 * help-fns.el (help-fns--autoloaded-p): New function.
4825 (describe-function-1): Refer to a function as "autoloaded" if it
4826 was autoloaded at any time in the past. Perform autoloading if
4827 help-enable-auto-load is non-nil.
4829 2012-06-26 Eli Zaretskii <eliz@gnu.org>
4831 * makefile.w32-in (compile, compile-always): Depend on
4832 update-subdirs, not on subdirs.el. Otherwise, several different
4833 sub-targets of 'bootstrap' running in parallel could
4834 simultaneously write to subdirs.el, producing a garbled file.
4836 2012-06-26 Sam Steingold <sds@gnu.org>
4838 * files.el (file-name-base): New convenience function.
4839 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4840 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4841 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4842 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4843 * textmodes/ispell.el, textmodes/reftex-ref.el:
4844 * textmodes/tex-mode.el: Use it.
4845 Did not touch cedet and org because they are maintained elsewhere.
4847 2012-06-26 Martin Rudalics <rudalics@gmx.at>
4849 * calendar/calendar.el (calendar-exit): Don't try to delete or
4850 iconify last frame. See:
4851 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4853 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4855 * server.el (server-process-filter): Remember dir in the
4856 process's `server-client-directory' properties.
4858 2012-06-24 Chong Yidong <cyd@gnu.org>
4860 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4863 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
4865 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4867 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4869 * help-fns.el (describe-variable): Don't croak when doc is not found.
4870 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4871 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4872 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4873 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4874 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4876 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4878 2012-06-23 Chong Yidong <cyd@gnu.org>
4880 * info.el (Info-mouse-follow-link): Accept symbol values of
4881 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
4882 (Info-fontify-node): Use Info-link-keymap for all navigation
4883 buttons, with link-args property to perform the desired action.
4884 (Info-link-keymap): Doc fix.
4885 (Info-next-link-keymap, Info-prev-link-keymap)
4886 (Info-up-link-keymap): Delete now-unused keymaps.
4888 2012-06-23 Chong Yidong <cyd@gnu.org>
4890 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4892 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4895 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4897 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4899 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4902 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4903 the requote function doesn't work properly (bug#11714).
4905 2012-06-23 Glenn Morris <rgm@gnu.org>
4907 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4909 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4911 Further GV/CL cleanups.
4912 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4914 (gv--defun-declaration): New function.
4915 (defun-declarations-alist): Use it.
4916 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4917 (gv-place): Autoload.
4918 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4919 original definition of dotimes and dolist.
4920 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4921 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4922 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4923 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4924 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4925 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4926 to the function's definition.
4927 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4931 * env.el: Don't use CL.
4933 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4935 Support higher-resolution time stamps (Bug#9000).
4937 * calendar/time-date.el (with-decoded-time-value): New arg
4938 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4939 (encode-time-value): New optional arg PICO. New type 3.
4940 (time-to-seconds) [!float-time]: Support the new picoseconds
4941 component if it's used.
4942 (seconds-to-time, time-subtract, time-add):
4943 Support ps-resolution time stamps as well.
4945 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4946 (timerp): Timer vectors now have length 9, not 8.
4947 (timer--time): Support new-style (4-part) time stamps.
4948 (timer-next-integral-multiple-of-time): Time stamps now have
4949 picosecond resolution, so take a bit more care about rounding.
4950 (timer-relative-time, timer-inc-time): New optional arg psecs.
4951 (timer-set-time-with-usecs): Set psecs to 0.
4952 (timer--activate): Check psecs component, too.
4954 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4956 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4958 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4959 Move the non-essential binding to the post/pre-command-hook where it is
4960 more obviously correct.
4962 * subr.el (read-passwd): Don't use a history at all.
4963 * savehist.el (savehist-save): Remove password saved accidentally
4964 because of the above bug.
4966 2012-06-22 Bastien Guerry <bzg@gnu.org>
4968 * files.el (toggle-read-only): Display a message telling whether
4969 the buffer is read-only or not (bug#11726).
4971 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4973 * emacs-lisp/gv.el: New file.
4974 * subr.el (push, pop): Extend to generalized variables.
4975 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4976 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4977 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4978 gv-define-simple-setter, and gv-define-expander.
4979 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4980 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4981 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4982 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4983 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4985 (cl-defstruct): Don't define setf-method any more.
4986 * emacs-lisp/cl.el (flet): Don't autoload.
4987 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4988 (define-setf-expander, defsetf, define-modify-macro)
4989 (cl-struct-setf-expander): Move from cl-lib.el.
4990 * emacs-lisp/syntax.el:
4991 * emacs-lisp/ewoc.el:
4992 * emacs-lisp/smie.el:
4993 * emacs-lisp/cconv.el:
4994 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4995 (timer--time): Use gv-define-simple-setter.
4996 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4997 to avoid coding-system problems in subr.el. Adjust all users.
4998 (macroexp--maxsize, macroexp-small-p): New functions.
4999 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5000 * scroll-bar.el (scroll-bar-mode):
5001 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5002 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5003 * winner.el (winner-configuration, winner-make-point-alist)
5004 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5005 * files.el (locate-file-completion-table): Avoid list*.
5007 2012-06-22 Chong Yidong <cyd@gnu.org>
5009 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5010 (dired-create-files): Doc fix (Bug#11329).
5011 (dired-do-copy): Doc fix (Bug#11334).
5012 (dired-mark-read-string): Doc fix (Bug#11553).
5014 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5015 Doc fix (Bug#11326).
5016 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5017 (dired-dwim-target): Doc fix.
5019 * wdired.el (wdired-mode): Doc fix.
5021 2012-06-22 Glenn Morris <rgm@gnu.org>
5023 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5024 (pcmpl-rpm-cache-stamp-file): New constant.
5025 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5026 (pcmpl-rpm-packages): Optionally cache list of packages.
5028 * pcmpl-rpm.el (pcmpl-rpm): New group.
5029 (pcmpl-rpm-query-options): New option.
5030 (pcmpl-rpm-packages): No need to inline it.
5031 Use pcmpl-rpm-query-options.
5033 * calendar/calendar.el (calendar-in-read-only-buffer):
5034 Avoid some needless mode changes.
5036 2012-06-21 Chong Yidong <cyd@gnu.org>
5038 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5039 (desktop-path): Remove . from the default value (Bug#10977).
5040 (desktop-read): Use user-emacs-directory if desktop-path is nil.
5042 2012-06-20 Chong Yidong <cyd@gnu.org>
5044 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5046 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5048 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5051 2012-06-20 Chong Yidong <cyd@gnu.org>
5053 * term.el (term-window-width): Handle the case of a missing right
5055 (term-check-size): Use window-text-height (Bug#5445).
5056 (term-mode): Use define-derived-mode. Minor cleanups.
5057 Set font-lock-defaults (Bug#7692).
5058 (term-move-columns, term-insert-char, term-emulate-terminal)
5059 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
5061 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
5063 * net/ange-ftp.el (ange-ftp-get-passwd):
5064 Bind `enable-recursive-minibuffers'.
5065 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5067 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5069 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5071 2012-06-19 Glenn Morris <rgm@gnu.org>
5073 * progmodes/python.el (python-mode): Derive from prog-mode.
5075 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5077 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5078 (edt-user-menu-bar-update-buffers): New functions.
5079 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5081 2012-06-19 Chong Yidong <cyd@gnu.org>
5083 * subr.el (with-selected-window): Preserve the selected window's
5084 terminal's top-frame (Bug#4702).
5086 * window.el (save-selected-window): Likewise.
5088 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5090 * progmodes/python.el (python-rx-constituents): Move backquote.
5091 (python-skeleton-define, python-define-auxiliary-skeleton):
5094 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
5096 * minibuffer.el (read-file-name-default): Revert the patch from
5099 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5101 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5102 (pcase--u1, pcase--q1): Don't use apply-partially.
5104 2012-06-18 Glenn Morris <rgm@gnu.org>
5106 * progmodes/python.el (python-proc, python-buffer)
5107 (python-send-receive, python-send-string): Fix obsolete versions.
5109 2012-06-18 Martin Rudalics <rudalics@gmx.at>
5111 * window.el (special-display-p): Completely remove stringp
5112 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5114 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
5116 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5118 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5120 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5121 * net/tramp-sh.el (tramp-maybe-open-connection):
5122 Throw if `non-essential' is non-nil.
5124 2012-06-17 Martin Rudalics <rudalics@gmx.at>
5126 * window.el (special-display-p): Signal an error if BUFFER-NAME
5127 is not a string (Bug#11713).
5129 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5131 * progmodes/python.el (python-info-beginning-of-backslash):
5132 Rename from python-info-beginning-of-backlash, as a spelling fix.
5134 2012-06-17 Chong Yidong <cyd@gnu.org>
5136 * term.el (term-emulate-terminal): If term-check-size is called,
5137 move point to the process mark without resetting point (Bug#4635).
5139 2012-06-17 Glenn Morris <rgm@gnu.org>
5141 * international/mule-cmds.el (mule-menu-keymap)
5142 (set-language-environment, set-locale-environment): Doc tweaks.
5144 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5146 * cus-face.el (custom-face-attributes): Add wave-style underline
5148 * faces.el (set-face-attribute): Update docstring to describe
5149 wave-style underline attribute.
5151 2012-06-16 Chong Yidong <cyd@gnu.org>
5153 * term/xterm.el (terminal-init-xterm): Discard input before
5154 querying background mode (Bug#10959).
5156 2012-06-16 Stefan Merten <smerten@oekonux.de>
5158 * textmodes/rst.el: Added and corrected some comments.
5159 (rst-re-alist-def): Improve symbol syntax.
5160 (rst-mode-syntax-table): Correct syntax entries.
5161 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5162 (rst-official-version, rst-official-cvs-rev): Update version
5165 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
5167 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5168 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5170 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5172 * progmodes/python.el: New python.el merge.
5173 (python-guess-indent): Obsolete var.
5174 (python-indent-guess-indent-offset): New defcustom.
5175 (python-indent): Obsolete var.
5176 (python-indent-offset): New defcustom.
5177 (python-python-command, python-jython-command): Delete var.
5178 (python-shell-interpreter): New defcustom.
5179 (python-pdbtrack-do-tracking-p): Delete var.
5180 (python-pdbtrack-activate): New defcustom.
5181 (python-use-skeletons): Obsolete var.
5182 (python-skeleton-autoinsert): New defcustom.
5183 (inferior-python-filter-regexp, python-continuation-offset)
5184 (python-honour-comment-indentation, python-indent-string-contents)
5185 (python-jython-packages, python-mode-hook)
5186 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5187 (python-shell-prompt-alist)
5188 (python-source-modes): Delete defcustoms.
5189 (python-check-buffer-name, python-eldoc-setup-code)
5190 (python-eldoc-string-code, python-ffap-setup-code)
5191 (python-ffap-string-code, python-fill-comment-function)
5192 (python-fill-decorator-function, python-fill-paren-function)
5193 (python-fill-string-function, python-imenu-include-defun-type)
5194 (python-imenu-make-tree, python-imenu-subtree-root-label)
5195 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5196 (python-shell-compilation-regexp-alist)
5197 (python-shell-completion-module-string-code)
5198 (python-shell-completion-pdb-string-code)
5199 (python-shell-completion-setup-code)
5200 (python-shell-completion-string-code)
5201 (python-shell-enable-font-lock, python-shell-exec-path)
5202 (python-shell-extra-pythonpaths)
5203 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5204 (python-shell-process-environment)
5205 (python-shell-prompt-block-regexp)
5206 (python-shell-prompt-output-regexp)
5207 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5208 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5209 (python-shell-virtualenv-path): New defcustoms.
5210 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5211 (inferior-python-mode-syntax-table, python--prompt-regexp)
5212 (python-buffer, python-command python-python-command)
5213 (python-default-template, python-imports, python-indent-index)
5214 (python-indent-list, python-indent-list-length)
5215 (python-mode-running, python-pdbtrack-is-tracking-p)
5216 (python-preoutput-continuation, python-preoutput-leftover)
5217 (python-preoutput-result, python-preoutput-skip-next-prompt)
5218 (python-prev-dir/file, python-recursing)
5219 (python-saved-check-command, python-version-checked)
5220 (python-which-func-length-limit)
5221 (view-return-to-alist): Delete vars.
5222 (python-check-custom-command, python-dotty-syntax-table)
5223 (python-imenu-index-alist, python-indent-current-level)
5224 (python-indent-dedenters, python-indent-levels)
5225 (python-nav-beginning-of-defun-regexp)
5226 (python-nav-list-defun-positions-cache)
5227 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5228 (python-shell-internal-buffer)
5229 (python-skeleton-available): New vars.
5230 (def-python-skeleton): Delete macro.
5231 (python-skeleton-define): New macro.
5232 (python-define-auxiliary-skeleton, python-rx): New macros.
5233 (python-insert-class): Delete command.
5234 (python-skeleton-class): New command.
5235 (python-insert-def): Delete command.
5236 (python-skeleton-def): New command.
5237 (python-insert-for): Delete command.
5238 (python-skeleton-for): New command.
5239 (python-insert-if): Delete command.
5240 (python-skeleton-if): New command.
5241 (python-insert-try/except, python-insert-try/finally): Delete commands.
5242 (python-skeleton-try): New command.
5243 (python-insert-while): Delete command.
5244 (python-skeleton-while): New command.
5245 (python-backspace): Delete command.
5246 (python-indent-dedent-line-backspace): New command.
5247 (python-electric-colon): Delete command.
5248 (python-indent-electric-colon): New command.
5249 (python-guess-indent): Delete command.
5250 (python-indent-guess-indent-offset): New command.
5251 (python-shift-left): Delete command.
5252 (python-indent-shift-left): New command.
5253 (python-shift-right): Delete command.
5254 (python-indent-shift-right): New command.
5255 (python-find-function): Delete command.
5256 (python-nav-jump-to-defun): New command.
5257 (python-next-statement): Delete command.
5258 (python-nav-forward-sentence): New command.
5259 (python-previous-statement): Delete command.
5260 (python-nav-backward-sentence): New command.
5261 (python-fill-paragraph): Delete command.
5262 (python-fill-paragraph-function): New command.
5263 (python-send-buffer): Delete command.
5264 (python-shell-send-buffer): New command.
5265 (python-send-defun): Delete command.
5266 (python-shell-send-defun): New command.
5267 (python-send-region, python-send-region-and-go): Delete commands.
5268 (python-shell-send-region)
5269 (python-shell-switch-to-shell): New commands.
5270 (python-send-string): Delete command.
5271 (python-shell-send-string): New command.
5272 (python-switch-to-python): Delete command.
5273 (python-shell-switch-to-shell): New command.
5274 (python-describe-symbol): Delete command.
5275 (python-eldoc-at-point): New command.
5276 (python--set-prompt-regexp, python-args-to-list)
5277 (python-after-info-look, python-check-version)
5278 (python-check-comint-prompt, python-find-imports)
5279 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5280 (python-unload-function, python-expand-template)
5281 (python-maybe-jython, python-preoutput-filter)
5282 (python-pdbtrack-get-source-buffer)
5283 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5284 (python-pdbtrack-toggle-stack-tracking)
5285 (python-pdbtrack-track-stack-file, python-initial-text)
5286 (python-first-word, python-comment-line-p, python-send-command)
5287 (python-setup-brm, python-sentinel, python-set-proc)
5288 (python-skip-out, python-input-filter, python-outdent-p)
5289 (python-outline-level, python-backslash-continuation-line-p)
5290 (python-end-of-block, python-end-of-statement, python-mark-block)
5291 (python-beginning-of-block, python-beginning-of-statement)
5292 (python-blank-line-p, python-beginning-of-string)
5293 (python-open-block-statement-p): Delete functions.
5294 (python-indent-line, python-indent-line-1): Delete functions.
5295 (python-indent-line): New function.
5296 (python-indentation-levels): Delete function.
5297 (python-indent-calculate-levels): New function.
5298 (python-proc): Delete function.
5299 (python-shell-get-process): New function.
5300 (python-send-receive): Delete function.
5301 (python-shell-send-string-no-output): New function.
5302 (python-module-path): Delete function.
5303 (python-ffap-module-path): New function.
5304 (python-completion-at-point)
5305 (python-symbol-completions): Delete functions.
5306 (python-completion-complete-at-point): New function.
5307 (python-load-file): Delete function.
5308 (python-shell-send-file): New function.
5309 (python-calculate-indentation): Delete function.
5310 (python-indent-calculate-indentation): New function.
5311 (python-skip-comments/blanks): Delete function.
5312 (python-util-forward-comment): New function.
5313 (python-continuation-line-p): Delete function.
5314 (python-info-continuation-line-p): New function.
5315 (python-which-func, python-current-defun): Delete function.
5316 (python-info-current-defun): New function.
5317 (python-beginning-of-defun): Delete function.
5318 (python-nav-beginning-of-defun): New function.
5319 (python-close-block-statement-p)
5320 (python-block-end-p): Delete function.
5321 (python-info-closing-block): New function.
5322 (python-comint-output-filter-function)
5323 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5324 (python-fill-comment, python-fill-decorator, python-fill-paren)
5325 (python-fill-string, python-imenu-make-element-tree)
5326 (python-imenu-make-tree, python-imenu-tree-assoc)
5327 (python-indent-context, python-indent-dedent-line)
5328 (python-indent-line-function)
5329 (python-indent-post-self-insert-function)
5330 (python-indent-toggle-levels)
5331 (python-info-assignment-continuation-line-p)
5332 (python-info-beginning-of-backlash)
5333 (python-info-block-continuation-line-p)
5334 (python-info-closing-block-message)
5335 (python-info-line-ends-backslash-p)
5336 (python-info-looking-at-beginning-of-defun)
5337 (python-info-ppss-context, python-info-ppss-context-type)
5338 (python-nav-list-defun-positions, python-nav-read-defun)
5339 (python-nav-sentence-end, python-nav-sentence-start)
5340 (python-pdbtrack-comint-output-filter-function)
5341 (python-pdbtrack-set-tracked-buffer)
5342 (python-shell-calculate-exec-path)
5343 (python-shell-calculate-process-environment)
5344 (python-shell-completion--do-completion-at-point)
5345 (python-shell-completion--get-completions)
5346 (python-shell-completion-complete-at-point)
5347 (python-shell-completion-complete-or-indent)
5348 (python-shell-get-or-create-process)
5349 (python-shell-get-process-name)
5350 (python-shell-internal-get-or-create-process)
5351 (python-shell-internal-get-process-name)
5352 (python-shell-internal-send-string, python-shell-make-comint)
5353 (python-shell-parse-command, python-shell-send-setup-code)
5354 (python-skeleton-add-menu-items)
5355 (python-util-clone-local-variables, python-util-position)
5356 (run-python-internal, python-indentation-levels)
5357 (python-nav-beginning-of-defun)
5358 (python-completion-complete-at-point): New functions.
5359 (run-python): Change arguments. New API requirements.
5361 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5363 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5366 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5367 (macroexp--expand-all): Use it.
5369 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5370 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5371 Use `cl-function' instead.
5373 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
5375 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5376 Suggested by Stefan Monnier while discussing bug#11657.
5378 2012-06-14 Sam Steingold <sds@gnu.org>
5380 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5382 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5384 * play/doctor.el (doctor-doc): Remove parameter and use
5385 doctor-sent instead of sent.
5386 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5388 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5390 * files.el: Require cl-lib.
5391 (file-name-non-special): Replace case -> cl-case.
5393 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5395 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5396 mapping from #' to function*.
5398 2012-06-13 Chong Yidong <cyd@gnu.org>
5400 * mouse.el (mouse-drag-track): Do not set the mark if the user
5401 releases the mouse without selecting anything (Bug#11588).
5403 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5405 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5406 as well (bug#11646).
5408 * loadup.el: Count byte-code functions as well.
5410 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5411 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5413 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5414 (bug#11649). Add cl-defun and cl-defmacro.
5416 2012-06-13 Drew Adams <drew.adams@oracle.com>
5418 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5421 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
5423 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5424 Otherwise, it blocks in batch mode.
5426 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
5428 * help-mode.el (bookmark-make-record-default): Declare.
5430 2012-06-13 Chong Yidong <cyd@gnu.org>
5432 * emacs-lisp/package.el (list-packages): Compute a list of
5433 packages that are newly-available since the last list-packages
5435 (package-menu--new-package-list): New var.
5436 (package-menu--generate, package-menu--print-info)
5437 (package-menu--status-predicate, package-menu-mark-install):
5438 Handle new status label "new".
5440 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5442 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5443 conversion to backquotes.
5445 2012-06-12 Chong Yidong <cyd@gnu.org>
5447 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5448 Rename from gud-inhibit-global-bindings.
5450 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5452 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5453 hook from nxml-glyph-set-hook.
5455 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5458 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5460 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5461 Convert to defcustom.
5463 2012-06-12 Drew Adams <drew.adams@oracle.com>
5465 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5467 (help-mode): Use them.
5469 2012-06-11 Glenn Morris <rgm@gnu.org>
5471 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5472 Use preprocessor face for directives.
5473 (fortran-directive-re): Doc fix.
5475 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5477 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5478 conversion to backquotes (bug#11652).
5480 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5481 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5482 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5483 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5484 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5485 (cl-ninth, cl-tenth): Mark them as inlinable.
5486 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5487 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5488 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5489 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5490 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5491 (cl-list*, cl-adjoin): Don't put an autoload manually.
5492 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5493 (cl--compiler-macro-list*): Add autoload cookie.
5494 (cl--compiler-macro-cXXr): New function.
5496 * help-fns.el (help-fns--compiler-macro): New function extracted from
5497 describe-function-1; follow aliases and use `compiler-macro' property.
5498 (describe-function-1): Use it.
5500 2012-06-11 Chong Yidong <cyd@gnu.org>
5502 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5503 is uninstalled, if imagemagick is installed.
5505 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5507 * emacs-lisp/cl-lib.el: Use lexical-binding.
5508 (cl-map-extents, cl-maclisp-member): Remove.
5509 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5510 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5511 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5512 * emacs-lisp/cl-extra.el: Use lexical-binding.
5513 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5514 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5515 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5516 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5517 * emacs-lisp/cl-seq.el: Use lexical-binding.
5518 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5519 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5520 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5521 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5522 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5525 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
5527 Sync with Tramp 2.2.6-pre.
5529 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5530 `print-length' and `print-level' to nil, in order to avoid
5531 truncation. Reported by Christopher Schmidt
5532 <christopher@ristopher.com>.
5534 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5536 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5538 (tramp-compat-copy-directory): Add optional argument
5539 COPY-CONTENTS. It is not handled yet.
5541 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5542 (tramp-ftp-file-name-p): Simplify.
5544 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5545 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5548 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5549 (tramp-methods): Do not use `tramp-password-end-of-line'.
5550 (tramp-completion-function-alist-putty): Handle UNIX case.
5551 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5552 (tramp-do-file-attributes-with-stat)
5553 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5554 gid as real numbers. They could run out of integer range on cygwin.
5555 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5556 (tramp-sh-handle-expand-file-name): Handle hops.
5557 (tramp-open-connection-setup-interactive-shell):
5558 Use `tramp-cleanup'. Move check for busyboxes ...
5559 (tramp-find-shell): ... here. Simplify implementation.
5560 Set "remote-shell" property also for alternative shells.
5561 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5562 If failing, a regular file would be written otherwise.
5563 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
5564 (tramp-find-inline-encoding): Cache the coding commands in the
5565 process cache. Apply test command on the remote side, if defined.
5566 (tramp-find-inline-compress): Cache the compress commands in the
5568 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5569 when requested. Handle hops.
5570 (tramp-current-connection): New defvar.
5571 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5572 Throw `suppress', if there was a failed connection shortly before.
5573 Handle user interrupt. (Bug#10187)
5574 (tramp-get-inline-compress, tramp-get-inline-coding):
5575 Read connection properties from the process cache.
5577 * net/tramp-smb.el (tramp-smb-server-version)
5578 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5580 (tramp-smb-prompt): Extend for powershell prompt.
5581 (tramp-smb-file-name-handler-alist): Add handlers for
5582 `process-file', `shell-command' and `start-file-process'.
5583 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5584 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5585 (tramp-smb-file-name-p): Simplify.
5586 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5587 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5588 (tramp-smb-shell-quote-argument): New defuns.
5589 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5590 Implement using "tar". By this, time-stamps are preserved.
5591 (tramp-smb-handle-copy-file): Handle also the case of directories.
5592 (tramp-smb-do-file-attributes-with-stat)
5593 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5594 Use `tramp-get-connection-buffer').
5595 (tramp-smb-handle-rename-file): Use "rename", when source and
5596 target are on the same share.
5597 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5598 Use `tramp-smb-server-version'.
5599 (tramp-smb-wait-for-output): Remove prompt.
5601 * net/tramp.el (top): Require 'cl.
5602 (tramp-methods, tramp-rsh-end-of-line):
5603 Remove `tramp-password-end-of-line' from docstring.
5604 (tramp-save-ad-hoc-proxies): New defcustom.
5605 (tramp-completion-function-alist): Adapt docstring.
5606 (tramp-default-password-end-of-line): Remove defcustom.
5607 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5608 (tramp-user-regexp, tramp-file-name-regexp-unified)
5609 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5610 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5611 (tramp-remote-file-name-spec-regexp): New defconst.
5612 (tramp-file-name-structure): Extend structure for hops.
5613 (tramp-get-method-parameter): Move up.
5614 (tramp-file-name-p, tramp-dissect-file-name)
5615 (with-parsed-tramp-file-name): Handle hops.
5616 (tramp-file-name-hop): New defun.
5617 (tramp-make-tramp-file-name): New optional arg HOP.
5618 (tramp-message-show-progress-reporter-message): New defvar.
5619 (tramp-with-progress-reporter): Use it. We cannot use
5620 `tramp-message-show-message' here, because this suppresses also
5622 (tramp-error-with-buffer): Suppress buffer view, if
5623 `tramp-message-show-message' is nil.
5624 Use `tramp-get-connection-buffer'.
5625 (tramp-cleanup): New defun.
5626 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5627 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5629 (tramp-completion-handle-file-name-all-completions): Handle hops.
5630 Fix an error when called from ido.
5631 (tramp-completion-dissect-file-name): Use better local variable
5632 name. Add hop to the vector.
5633 (tramp-handle-insert-file-contents): Use progress-reporter for the
5635 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5637 (tramp-check-for-regexp): Simplify search.
5638 (tramp-enter-password): Remove it. Move implementation ...
5639 (tramp-action-password): ... here.
5640 (tramp-mode-string-to-int, tramp-local-host-p)
5641 (tramp-make-tramp-temp-file, tramp-read-passwd)
5642 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5643 Set tramp-autoload cookie.
5645 * net/trampver.el: Update release number.
5647 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5648 Michael Albinus <michael.albinus@gmx.de>
5650 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5651 (tramp-parse-group, tramp-parse-file)
5652 (tramp-parse-shostkeys-sknownhosts): New defuns.
5653 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5654 (tramp-parse-shosts-group, tramp-parse-sconfig)
5655 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5656 (tramp-parse-sknownhosts, tramp-parse-hosts)
5657 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5659 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5660 (tramp-parse-putty-group): Don't narrow.
5661 (tramp-parse-putty): Make a loop.
5662 (tramp-file-name-handler): Catch the `suppress' signal.
5664 2012-06-11 Chong Yidong <cyd@gnu.org>
5666 * image.el (imagemagick-register-types): Put the ImageMagick entry
5667 at the end of image-type-file-name-regexps.
5669 2012-06-11 Johan Bockgård <bojohan@gnu.org>
5671 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5672 (pcase, pcase-let*, pcase-dolist): Use them.
5674 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5676 * emacs-lisp/pcase.el (pcase--let*): New function.
5677 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5678 (pcase--expand): Use macroexp-let².
5680 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5682 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5683 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5684 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5685 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5686 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5687 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5689 2012-06-10 Glenn Morris <rgm@gnu.org>
5691 * mail/rmail.el (rmail-yank-current-message): Leave point at
5692 correct position. (Bug#11660)
5694 2012-06-10 Chong Yidong <cyd@gnu.org>
5696 * allout-widgets.el: Fix code header.
5698 2012-06-10 Chong Yidong <cyd@gnu.org>
5700 * cus-edit.el (customize-changed-options-previous-release):
5703 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5705 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5707 2012-06-09 Chong Yidong <cyd@gnu.org>
5709 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5711 2012-06-09 Martin Rudalics <rudalics@gmx.at>
5713 * window.el (special-display-popup-frame): Don't use
5714 window--display-buffer (Bug#11651).
5716 2012-06-09 Eli Zaretskii <eliz@gnu.org>
5718 Fix parallel builds: make sure loaddefs.el is not being written
5719 while Lisp files are compiled.
5720 (compile): Don't depend on 'mh-autoloads'.
5721 (compile-CMD, compile-SH): Depend on 'autoloads'.
5722 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5724 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5726 2012-06-09 Chong Yidong <cyd@gnu.org>
5728 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5729 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5730 Doc fixes (Bug#11225).
5732 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5734 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5735 a function if there's a clear indication that it has a compiler-macro.
5736 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5737 (macro-declarations-alist): Add arglist to declaration functions.
5738 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5739 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5740 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5741 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5742 Also add autoload to find the compiler macro.
5743 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5744 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5745 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5746 (cl--compiler-macro-get): New functions, replacing calls to
5747 cl-define-compiler-macro.
5748 (cl-typep) [compiler-macro]: Use macroexp-let².
5750 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
5752 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5753 string properly, fixes Bug#11473.
5755 2012-06-08 Chong Yidong <cyd@gnu.org>
5757 * faces.el (set-face-attribute): Doc fix.
5758 (modify-face): Don't use :bold and :italic.
5759 (error, warning, success): Tweak definitions.
5761 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5762 (custom-modified, custom-set, custom-changed, custom-themed)
5763 (custom-saved, custom-button, custom-button-mouse)
5764 (custom-button-pressed, custom-state, custom-comment-tag)
5765 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5766 (custom-group-subtitle): Use new-style face specs.
5767 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5768 (custom-set-face, custom-changed-face, custom-saved-face)
5769 (custom-button-face, custom-button-pressed-face)
5770 (custom-documentation-face, custom-state-face)
5771 (custom-comment-face, custom-comment-tag-face)
5772 (custom-variable-tag-face, custom-variable-button-face)
5773 (custom-face-tag-face, custom-group-tag-face-1)
5774 (custom-group-tag-face): Remove obsolete face alias.
5776 * epa.el (epa-validity-high, epa-validity-medium)
5777 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5778 (epa-field-name, epa-field-body):
5779 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5780 (font-lock-keyword-face, font-lock-builtin-face)
5781 (font-lock-function-name-face, font-lock-variable-name-face)
5782 (font-lock-type-face, font-lock-constant-face):
5783 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5784 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5785 * speedbar.el (speedbar-button-face, speedbar-file-face)
5786 (speedbar-directory-face, speedbar-tag-face)
5787 (speedbar-selected-face, speedbar-highlight-face)
5788 (speedbar-separator-face):
5789 * whitespace.el (whitespace-newline, whitespace-space)
5790 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5791 (whitespace-line, whitespace-space-before-tab)
5792 (whitespace-space-after-tab, whitespace-indentation)
5794 * emulation/cua-base.el (cua-global-mark):
5795 * eshell/em-prompt.el (eshell-prompt):
5796 * net/newst-plainview.el (newsticker-new-item-face)
5797 (newsticker-old-item-face, newsticker-immortal-item-face)
5798 (newsticker-obsolete-item-face, newsticker-date-face)
5799 (newsticker-statistics-face, newsticker-default-face):
5800 * net/newst-reader.el (newsticker-feed-face)
5801 (newsticker-extra-face, newsticker-enclosure-face):
5802 * net/newst-treeview.el (newsticker-treeview-face)
5803 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5804 (newsticker-treeview-immortal-face)
5805 (newsticker-treeview-obsolete-face)
5806 (newsticker-treeview-selection-face):
5807 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5808 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5809 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5810 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5811 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5812 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5813 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5815 * progmodes/vera-mode.el (vera-font-lock-number)
5816 (vera-font-lock-function, vera-font-lock-interface):
5817 * textmodes/table.el (table-cell): Use new-style face specs, and
5818 don't use the old :bold and :italic attributes.
5820 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5821 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5822 (ebrowse-member-class, ebrowse-progress): Likewise.
5823 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5824 (ebrowse-file-name-face, ebrowse-default-face)
5825 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5826 (ebrowse-progress-face): Remove obsolete faces.
5828 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5829 Inherit from error and warning faces respectively.
5831 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5833 (flyspell-incorrect-face, flyspell-duplicate-face):
5834 Remove obsolete aliases.
5836 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
5838 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5841 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5843 * startup.el (argv, argi): Make lexically scoped.
5844 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5845 * emacs-lisp/cl-macs.el: Use lexical-binding.
5846 Rename cl-bind-* to cl--bind-*.
5847 * files.el: Don't require `cl' since it doesn't use it.
5848 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5850 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
5852 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5853 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5854 instead of calling external sort utility.
5855 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5857 2012-06-08 Eli Zaretskii <eliz@gnu.org>
5859 * descr-text.el (describe-char): Mention how to insert the
5860 character, if the current input method doesn't support it.
5861 See the discussion in this thread for the details:
5862 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5864 2012-06-08 Sam Steingold <sds@gnu.org>
5866 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5867 XF86Back to previous-buffer.
5868 (minibuffer-local-map): Bind them to next-history-element and
5869 previous-history-element respectively.
5870 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5871 help-go-back respectively.
5872 * info.el (Info-mode-map): Bind them to Info-history-forward and
5873 Info-history-back respectively.
5874 These are the keys next to Up on the ThinkPad keyboard.
5876 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5878 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5879 * emacs-lisp/cl-macs.el: Provide itself.
5880 (cl--labels-convert-cache): New var.
5881 (cl--labels-convert): New function.
5882 (cl-flet, cl-labels): New implementation with new semantics, relying on
5884 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5885 (cl-closure-vars, cl--function-convert-cache)
5886 (cl--function-convert): Move from cl-macs.el.
5887 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5888 rename by removing the "cl-" prefix.
5889 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5891 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5893 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5894 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5895 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5896 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5897 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5898 (cl-hash-table-count): Add old compatibility aliases.
5900 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5901 Use macroexpand-all-environment instead.
5902 (cl--old-macroexpand): New var.
5903 (cl--sm-macroexpand): New function.
5904 (cl-symbol-macrolet): Use it during macro expansion.
5905 (cl--function-convert-cache): New var.
5906 (cl--function-convert): New function, extracted from
5908 (cl-lexical-let): Use it.
5910 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5911 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5912 (cl-member): Remove old alias.
5914 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5915 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5916 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5917 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5918 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5919 (cl-macroexpand-cmacs): Remove var.
5920 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5921 Use macroexpand-all instead.
5923 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5925 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5926 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5927 (macroexp-copyable-p): New functions and macros.
5928 * emacs-lisp/edebug.el (edebug-unwrap):
5929 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5930 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5931 (pcase--let*): Remove.
5932 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5933 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5934 macroexp-const-p instead.
5935 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5937 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5938 instead of "cl-" for internal definitions. Use macroexp-const-p.
5939 (cl-old-bc-file-form): Remove var.
5940 (cl-const-exprs-p): Remove fun.
5941 (cl-labels, cl-macrolet): Use backquote.
5942 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5943 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5944 (cl-define-setf-expander): Rename from cl-define-setf-method.
5945 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5947 * international/mule-cmds.el: Don't require CL.
5948 (view-hello-file): Don't use `letf'.
5950 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5952 * tmm.el (tmm-prompt): Use string-prefix-p.
5953 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5954 (tmm-add-prompt): Use minibuffer-completion-help.
5955 (tmm-delete-map): Remove.
5957 * subr.el (kbd): Make it its own function.
5959 2012-06-07 Stefan Merten <smerten@oekonux.de>
5961 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5962 Silence compiler warnings. Fix versions.
5963 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
5964 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
5965 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
5966 (rst-package-emacs-version-alist): Correct Emacs version to
5967 represent major merge with upstream.
5968 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
5970 2012-06-06 Glenn Morris <rgm@gnu.org>
5972 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5973 Only print environment variables if set.
5975 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5977 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5978 (macroexp--cons): Rename from maybe-cons.
5979 (macroexp--accumulate): Rename from macroexp-accumulate.
5980 (macroexp--all-forms): Rename from macroexpand-all-forms.
5981 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5982 (macroexp--expand-all): Rename from macroexpand-all-1.
5984 2012-06-06 Sam Steingold <sds@gnu.org>
5986 * calendar/calendar.el (calendar-in-read-only-buffer):
5987 Call `special-mode' to enable the standard read-only keybindings.
5989 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5991 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5992 with "loading" messages (bug#11635).
5994 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
5996 * files.el (enable-remote-dir-locals): New option.
5997 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5999 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6000 Ensure, that the temp directory is local.
6002 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6003 `temporary-file-directory'.
6005 * progmodes/python.el (python-send-region): Ensure, that the
6006 temporary file is created also in the remote case.
6008 2012-06-06 Glenn Morris <rgm@gnu.org>
6010 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6011 (vc-rcs-update-changelog): Use it.
6013 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
6015 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6016 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6017 (vc-sccs-diff): Replace use of the external vcdiff script.
6019 2012-06-05 Glenn Morris <rgm@gnu.org>
6021 * ledit.el: Move to obsolete/.
6023 2012-06-05 Sam Steingold <sds@gnu.org>
6025 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
6028 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6030 * emacs-lisp/cust-print.el: Move to obsolete.
6032 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6033 compiler-macro expansion.
6035 Add native compiler-macro support.
6036 * emacs-lisp/macroexp.el (macroexpand-all-1):
6037 Support compiler-macros directly. Properly follow aliases and apply
6038 the compiler macros more thoroughly.
6039 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6040 macroexpand now properly follows aliases.
6041 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6042 (cl-compiler-macroexpand): Use new prop.
6043 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6045 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6047 2012-06-05 Martin Rudalics <rudalics@gmx.at>
6049 * window.el (get-lru-window, get-mru-window, get-largest-window):
6050 New argument NOT-SELECTED to avoid picking the selected window.
6051 (window--display-buffer-1, window--display-buffer-2): Replace by
6052 new function window--display-buffer
6053 (display-buffer-same-window, display-buffer-reuse-window)
6054 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6055 Use window--display-buffer.
6056 (display-buffer-use-some-window): Remove temporary dedication
6057 hack by calling get-lru-window and get-largest-window with
6058 NOT-SELECTED argument non-nil. Call window--display-buffer.
6060 2012-06-05 Glenn Morris <rgm@gnu.org>
6062 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6063 Replace external vcdiff script.
6065 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6067 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6069 2012-06-04 Chong Yidong <cyd@gnu.org>
6071 * image.el (imagemagick-types-inhibit): Revert last change.
6073 (imagemagick-enabled-types): Remove CIN and EPS*.
6075 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6077 * emacs-lisp/cl-lib.el: Rename from cl.el.
6078 * emacs-lisp/cl.el: New compatibility file.
6079 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6080 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6081 to obey the "cl-" prefix.
6082 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6084 2012-06-03 Glenn Morris <rgm@gnu.org>
6086 * emacs-lisp/authors.el (authors-aliases): Addition.
6088 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6091 2012-06-03 Stefan Merten <smerten@oekonux.de>
6093 * textmodes/rst.el: Add comments.
6094 (rst-transition, rst-adornment): New faces.
6095 (rst-adornment-faces-alist): Make default safe to reevaluate.
6097 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6098 Improve customization tags.
6099 (rst-define-level-faces): Clarify meaning.
6101 2012-06-03 Chong Yidong <cyd@gnu.org>
6103 * progmodes/compile.el (compilation-mode-line-fail)
6104 (compilation-mode-line-run, compilation-mode-line-exit):
6106 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6108 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6110 * progmodes/which-func.el (which-func-update-ediff-windows):
6111 New function. Use it in ediff-select-hook (Bug#11478).
6113 2012-06-03 Chong Yidong <cyd@gnu.org>
6115 * bindings.el: Remove explicit help text from format-mode-line.
6116 It is now supplied by mode-line-default-help-echo.
6117 (mode-line-front-space, mode-line-end-spaces)
6118 (mode-line-misc-info): New variables.
6119 (mode-line-modes, mode-line-position): Move the default value to
6120 the variable definition.
6121 (mode-line-default-help-echo): New defcustom.
6122 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6123 (mode-line-modified-help-echo): New functions.
6124 (mode-line-mule-info, mode-line-modified): Use them.
6125 (mode-line-eol-desc, propertized-buffer-identification):
6126 Consistency fixes for help text.
6127 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6128 set-buffer-file-coding-system (Bug#289).
6129 (mode-line-mule-info-help-echo): Update help text.
6131 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6133 * simple.el (execute-extended-command): Set real-this-command
6136 2012-06-02 Chong Yidong <cyd@gnu.org>
6138 Remove incorrect uses of "modeline" in comments, docstrings, and
6139 function/variable names (Bug#10329).
6141 * cus-edit.el (mode-line):
6142 * dframe.el (dframe-mouse-hscroll):
6143 * emacs-lisp/re-builder.el:
6144 * emacs-lisp/easy-mmode.el (define-minor-mode):
6145 * frame.el (set-frame-name):
6146 * help.el (lookup-minor-mode-from-indicator):
6147 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6148 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6149 (c-toggle-hungry-state):
6150 * progmodes/antlr-mode.el (antlr-language-alist):
6151 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6152 * progmodes/vhdl-mode.el (vhdl-mode):
6153 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6154 * term/ns-win.el (ns-face-at-pos):
6155 * term/sup-mouse.el (sup-mouse-report):
6156 * textmodes/flyspell.el (flyspell-mode-line-string):
6157 * textmodes/ispell.el (ispell-highlight-face):
6158 * textmodes/reftex-global.el:
6159 * vc/vc-arch.el (vc-arch-mode-line-string):
6160 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6161 * vc/vc-git.el (vc-git-mode-line-string):
6162 * vc/vc-hooks.el (vc-display-status)
6163 (vc-default-mode-line-string):
6164 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6166 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6168 * dired.el (dired-sort-set-mode-line): Rename from
6169 dired-sort-set-modeline. All callers changed.
6171 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6172 eshell-status-in-modeline.
6174 * foldout.el (foldout-mode-line-string): Rename from
6175 foldout-modeline-string. All callers changed.
6176 (foldout-update-mode-line): Rename from foldout-update-modeline.
6178 * subr.el (redraw-modeline): Make into obsolete alias.
6180 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6181 timeclock-modeline-display. Make old name an alias.
6182 (timeclock-update-mode-line): Likewise. All callers changed.
6183 (timeclock-mode-line-display): No need to check before using
6185 (timeclock-relative, timeclock-day-over-hook)
6186 (timeclock-use-elapsed, timeclock-mode-string)
6187 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6189 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6190 crisp-mode-modeline-string.
6192 * play/solitaire.el (solitaire-build-mode-line): Rename from
6193 solitaire-build-modeline. All callers changed.
6195 * play/zone.el (zone-hiding-mode-line): Rename from
6196 zone-hiding-modeline. All callers changed.
6197 (zone): Remove unusued `modeline-hidden-level' property.
6199 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6200 xscheme-modeline-initialize. All callers changed.
6202 * strokes.el (strokes-lighter): Rename from
6203 strokes-modeline-string.
6205 * textmodes/sgml-mode.el (html-face-tag-alist)
6206 (html-tag-face-alist): Use mode-line face instead of obsolete
6209 2012-06-02 Stefan Merten <smerten@oekonux.de>
6211 * textmodes/rst.el: Always require `cl'.
6212 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
6214 2012-06-02 Chong Yidong <cyd@gnu.org>
6216 * image.el (imagemagick-enabled-types): Rename from
6217 imagemagick-types-enable. Add many more types.
6218 (imagemagick-types-inhibit): Change default to nil.
6219 (imagemagick-filter-types): Caller changed.
6221 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6223 * emacs-lisp/cl-macs.el: Use backquotes.
6224 (cl-transform-function-property): Use eval-and-compile rather than
6226 (defstruct): Use declare-function instead of with-no-warnings.
6228 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6229 (byte-compile-output-docform): Re-add the print-circle bindings.
6230 (byte-compile-fix-header): Use #$ just because it's shorter.
6231 (byte-compile-output-file-form): Remove defun/defmacro.
6233 2012-06-01 Martin Rudalics <rudalics@gmx.at>
6235 * simple.el (choose-completion): Remove now obsolete binding for
6238 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
6240 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6241 in order to avoid "Stack overflow in regexp matcher".
6243 2012-05-31 Glenn Morris <rgm@gnu.org>
6245 * image.el: For clarity, call imagemagick-register-types at
6246 top-level, rather than relying on a custom :initialize.
6247 (imagemagick-types-enable): New option. (Bug#11557)
6248 (imagemagick-filter-types): New function. (Bug#7406)
6249 (imagemagick-register-types): Use imagemagick-filter-types.
6250 If disabling support, remove elements altogether rather
6251 than using an impossible regexp.
6252 (imagemagick-types-inhibit): Give it the default init function.
6254 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6256 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6257 Handle arbitrary file name lengths (Bug#11585).
6259 2012-05-31 Martin Rudalics <rudalics@gmx.at>
6261 * desktop.el (desktop-read): Clear previous and next buffers for
6262 all windows and bury *Messages* buffer (bug#11556).
6264 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6266 Add `declare' for `defun'. Align `defmacro's with it.
6267 * emacs-lisp/easy-mmode.el (define-minor-mode)
6268 (define-globalized-minor-mode): Don't autoload the var definitions.
6269 * emacs-lisp/byte-run.el: Use lexical-binding.
6270 (defun-declarations-alist, macro-declarations-alist): New vars.
6271 (defmacro, defun): Use them.
6272 (make-obsolete, define-obsolete-function-alias)
6273 (make-obsolete-variable, define-obsolete-variable-alias):
6275 (macro-declaration-function): Mark obsolete.
6276 * emacs-lisp/autoload.el: Use lexical-binding.
6277 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6279 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6281 * textmodes/ispell.el (ispell-with-no-warnings):
6283 (ispell-kill-ispell, ispell-change-dictionary):
6284 Use `called-interactively-p' for Emacs instead of obsolete
6287 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6289 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6290 (macro-declaration-function): Move var from C code.
6291 (macro-declaration-function): Define function with defalias.
6292 * emacs-lisp/macroexp.el (macroexpand-all-1):
6293 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6294 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6295 defun/defmacro any more.
6296 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6297 Provide fallback for unknown arglist.
6298 (byte-compile-arglist-warn): Change calling convention.
6299 (byte-compile-output-file-form): Move print-vars binding.
6300 (byte-compile-output-docform): Simplify accordingly.
6301 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6302 (byte-compile-defmacro-declaration): Remove.
6303 (byte-compile-file-form-defmumble): Generalize to defalias.
6304 (byte-compile-output-as-comment): Return byte-positions.
6305 Simplify callers accordingly.
6306 (byte-compile-lambda): Use `assert'.
6307 (byte-compile-defun, byte-compile-defmacro): Remove.
6308 (byte-compile-file-form-defalias):
6309 Use byte-compile-file-form-defmumble.
6310 (byte-compile-defalias-warn): Remove.
6312 2012-05-29 Stefan Merten <smerten@oekonux.de>
6314 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
6315 possible. Fix authors. Improve comments. Improve loading of `cl'.
6317 (rst-mode-abbrev-table): Merge definition.
6318 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6319 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6321 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
6323 * calendar/icalendar.el
6324 (icalendar-export-region): Export UID properly.
6326 2012-05-29 Leo Liu <sdl.web@gmail.com>
6327 * calendar/icalendar.el (icalendar-import-format):
6328 Add `icalendar-import-format-uid' (Bug#11525).
6329 (icalendar-import-format-uid): New.
6330 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6333 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6335 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6336 different alternative patterns.
6337 (pcase-codegen): Be more careful to preserve identity.
6338 (pcase--u1): Don't forget to mark vars as used.
6340 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6341 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6342 (byte-compile-from-buffer): ...rather than here.
6344 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6345 functions from byte-compile-function-environment.
6347 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
6349 * window.el (window-deletable-p): Avoid deleting the root window
6350 of a frame with an active minibuffer.
6352 2012-05-29 Martin Rudalics <rudalics@gmx.at>
6354 * simple.el (choose-completion): Use quit-window (Bug#11567).
6356 2012-05-29 Chong Yidong <cyd@gnu.org>
6358 * whitespace.el (whitespace-cleanup): Fix usage of
6359 whitespace-empty-at-bob-regexp (Bug#11492).
6361 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6363 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6366 2012-05-29 Juri Linkov <juri@jurta.org>
6368 * isearch.el (isearch-mode-map): Bind `M-s _' to
6369 `isearch-toggle-symbol'. Bind `M-s c' to
6370 `isearch-toggle-case-fold'.
6371 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6372 (isearch-forward): Add `M-s _' to the docstring.
6373 (isearch-forward-symbol, isearch-toggle-case-fold)
6374 (isearch-symbol-regexp): New functions. (Bug#11381)
6376 2012-05-29 Juri Linkov <juri@jurta.org>
6378 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6379 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6380 a function, call it to get the regexp.
6381 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6382 property `isearch-message-prefix' instead of the string "word ".
6383 (isearch-search-fun-default): For the case of `isearch-word',
6384 return a lambda that calls re-search-forward/re-search-backward
6385 with a regexp returned by `word-search-regexp' or by the function
6388 2012-05-29 Juri Linkov <juri@jurta.org>
6390 * isearch.el (isearch-search-fun-default): New function.
6391 (isearch-search-fun): Move default part to the new function
6392 `isearch-search-fun-default'.
6393 (isearch-search-fun-function): Set the default value to
6394 `isearch-search-fun-default'. (Bug#11381)
6396 * comint.el (comint-history-isearch-end):
6397 Use `isearch-search-fun-default'.
6398 (comint-history-isearch-search): Use `isearch-search-fun-default'
6399 and remove spacial case for `isearch-word'.
6400 (comint-history-isearch-wrap): Remove spacial case for
6403 * hexl.el (hexl-isearch-search-function):
6404 Use `isearch-search-fun-default'.
6406 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6407 Use `word-search-regexp' for `isearch-word'.
6409 * misearch.el (multi-isearch-search-fun):
6410 Use `isearch-search-fun-default'.
6412 * simple.el (minibuffer-history-isearch-search):
6413 Use `isearch-search-fun-default' and remove spacial case for
6415 (minibuffer-history-isearch-wrap): Remove spacial case for
6418 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6419 Remove spacial case for `isearch-word'.
6420 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6422 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6424 Decrease XEmacs incompatibilities.
6425 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6427 (flyspell-delete-region-overlays): Use alternative definition for
6429 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6430 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6431 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6432 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6433 `define-obsolete-face-alias' under XEmacs, but old method.
6435 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6436 `with-no-warnings' definition or Emacs alias.
6437 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6438 (ispell-word): Do not use `region-p' if XEmacs.
6440 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6442 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6443 Check for `ispell-dictionary-base-alist' instead of full
6444 `ispell-dictionary-alist'.
6445 (ispell-init-process): Show spellchecker when starting new Ispell
6448 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6450 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6451 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6453 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
6455 * version.el (motif-version-string, gtk-version-string)
6456 (ns-version-string): Declare.
6458 2012-05-27 Juri Linkov <juri@jurta.org>
6460 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6461 after the `eval-defun-1' specialcaseing
6462 like in `edebug-eval-defun' (bug#10181).
6464 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6465 like in `eval-defun-1'.
6467 2012-05-27 Eli Zaretskii <eliz@gnu.org>
6469 * mail/sendmail.el (mail-yank-region):
6470 Recognize rmail-yank-current-message in addition to insert-buffer.
6471 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
6472 a *mail* buffer created through rmail-start-mail with sendmail as
6475 2012-05-27 Chong Yidong <cyd@gnu.org>
6477 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6478 Default to 256 (Bug#11267).
6480 * help.el (describe-mode): Doc fix.
6482 2012-05-26 Glenn Morris <rgm@gnu.org>
6484 * w32-fns.el (w32-init-info): Remove.
6485 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6487 * info.el (info-initialize): For self-contained NS builds, put the
6488 included info/ directory at the front. (Bug#2791)
6490 * paths.el (Info-default-directory-list): Make it a defcustom,
6491 mainly so that we can use custom-initialize-delay.
6493 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6495 * subr.el (buffer-has-markers-at): Mark obsolete.
6497 * subr.el (lambda): Use declare.
6499 * emacs-lisp/lisp-mode.el (lambda):
6500 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6502 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6504 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6506 2012-05-26 Glenn Morris <rgm@gnu.org>
6508 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6510 2012-05-25 Glenn Morris <rgm@gnu.org>
6512 * paths.el: Remove no-byte-compile.
6513 * loadup.el: No need to load paths.el uncompiled.
6515 * image.el (imagemagick-types-inhibit): Doc fix.
6517 * version.el: Remove no-byte-compile and associated formatting.
6518 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6519 is ancient code from when there was an "inc-vers.el".
6521 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6523 * progmodes/gdb-mi.el: Minor style changes.
6524 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6525 Turn into minor modes.
6526 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6527 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6528 (gdb-shell): Remove unneeded let-binding.
6529 (gdb-get-many-fields): Eliminate O(n²) behavior.
6531 2012-05-25 Eli Zaretskii <eliz@gnu.org>
6533 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6534 platforms that don't link in fontset.c.
6536 2012-05-25 Juri Linkov <juri@jurta.org>
6538 Use the same diff color scheme as in modern VCSes (bug#10181).
6540 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6541 to avoid confusion with `diff-added' that now uses green colors.
6542 (diff-removed): Use shades of red.
6543 (diff-added): Use shades of green.
6544 (diff-changed): Leave just the yellow color.
6545 (diff-use-changed-face): New variable.
6546 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6547 how to highlight context diff changes.
6548 (diff-refine-change): Use shades of yellow.
6549 (diff-refine-removed): New face that uses shades of red.
6550 (diff-refine-added): New face that uses shades of green.
6551 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6552 `diff-refine-removed' in the call to `smerge-refine-subst'
6553 depending on the value of `diff-use-changed-face'.
6555 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6556 (smerge-other): Use shades of green.
6557 (smerge-base): Use shades of yellow.
6558 (smerge-refined-change): Empty face.
6559 (smerge-refined-removed): New face that uses shades of red.
6560 (smerge-refined-added): New face that uses shades of green.
6561 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6562 args `props-r' and `props-a', and use them. Doc fix.
6563 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6564 on its value use different faces `smerge-refined-change',
6565 `smerge-refined-removed', `smerge-refined-added' in the call to
6566 `smerge-refine-subst'.
6568 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6569 Add face condition `min-colors 88' with shades of red.
6570 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6571 `min-colors 88' with shades of green.
6572 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6573 `min-colors 88' with shades of yellow.
6575 2012-05-24 Glenn Morris <rgm@gnu.org>
6577 * paths.el (prune-directory-list, remote-shell-program): Move to...
6578 * files.el (prune-directory-list, remote-shell-program): ...here.
6579 For the latter, delay initialization, prefer ssh, just search PATH.
6581 * paths.el (term-file-prefix): Move to faces.el (the only user).
6582 * faces.el (term-file-prefix): Move here, make it a defcustom.
6584 * paths.el (news-directory, news-path, news-inews-program):
6585 Move to gnus/nnspool.el.
6587 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6589 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6590 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6591 Make the latter a defcustom, with a delayed initialization.
6593 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6594 These were deleted from Gnus itself late 2010.
6596 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
6598 * progmodes/which-func.el (which-func-ff-hook):
6599 Check against user-error, not error.
6601 * emacs-lisp/edebug.el (top): Do not load or set up loading of
6602 cl-specs.el, which no longer exists.
6604 2012-05-22 Glenn Morris <rgm@gnu.org>
6606 * info.el (info-emacs-bug): New command.
6607 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6608 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6610 2012-05-21 Glenn Morris <rgm@gnu.org>
6612 * makefile.w32-in (update-subdirs-SH):
6613 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6615 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6617 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6619 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6620 Simplify Maven regexp, and make sure the file can't start with a space
6623 2012-05-21 Glenn Morris <rgm@gnu.org>
6625 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6626 Scrap superfluous subshells.
6628 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6630 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6631 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6633 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6635 * calc/calc.el (calc-ensure-consistent-units): New variable.
6637 * calc/calc-units.el (math-consistent-units-p)
6638 (math-check-unit-consistency): New functions.
6639 (calc-quick-units, calc-convert-units):
6640 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6642 (calc-extract-units): Fix typo.
6644 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6646 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6648 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6649 (flyspell-default-deplacement-commands): Don't spell check after
6650 repeated window/frame switches (e.g. triggered by mouse-movement).
6651 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6652 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6653 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6654 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6656 (flyspell-get-casechars, flyspell-get-not-casechars):
6657 Simplify; Don't bother removing a ] just to add it back.
6658 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6660 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6662 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6664 (math-function-table): Add support for more C functions.
6666 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6668 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6669 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6670 Protect delay handling for otherchars against empty otherchars.
6672 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6674 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6675 their respective macro declarations.
6676 * skeleton.el (define-skeleton):
6677 * progmodes/compile.el (define-compilation-mode):
6678 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6679 (define-ibuffer-filter):
6680 * emacs-lisp/generic.el (define-generic-mode):
6681 * emacs-lisp/easy-mmode.el (define-minor-mode)
6682 (define-globalized-minor-mode):
6683 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6684 * emacs-lisp/byte-run.el (defsubst):
6685 * custom.el (deftheme): Add doc-string metadata.
6687 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6689 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6691 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6693 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6695 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6696 * emacs-lisp/cl-macs.el: Idem.
6697 * emacs-lisp/cl-specs.el: Remove.
6699 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6701 Minor renaming of internal CL functions and variables.
6702 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6703 (cl--position): Rename from cl-position.
6704 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6705 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6706 (cl--random-state): Rename from *random-state*.
6708 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6710 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6711 parens around the arg list (bug#11499).
6713 2012-05-17 Juri Linkov <juri@jurta.org>
6715 * isearch.el (word-search-regexp, word-search-backward)
6716 (word-search-forward, word-search-backward-lax)
6717 (word-search-forward-lax): Move functions from search.c
6718 (bug#10145, bug#11381).
6720 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6722 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6723 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6724 Delay for otherchars as for normal word components.
6726 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6728 * minibuffer.el (completion--sifn-requote): Fix last change.
6729 (minibuffer-local-must-match-filename-map):
6730 Move define-obsolete-variable-alias before its var.
6732 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6734 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6736 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6738 (completion--string-equal-p): New function.
6739 (completion--twq-all): Use it to get better assertion failure data.
6741 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6742 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6743 (shell--requote-argument): New functions.
6744 (shell-completion-vars): Use them.
6745 (shell--parse-pcomplete-arguments): Rename from
6746 shell-parse-pcomplete-arguments.
6747 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6748 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6749 Obey comint-file-name-quote-list.
6751 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6752 (smie-indent-keyword): Use it.
6754 2012-05-14 Stefan Merten <smerten@oekonux.de>
6756 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6758 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6760 * net/rlogin.el (rlogin-mode-map): Fix last change.
6762 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
6764 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6765 the following \r\n using a single `process-send-string', since the
6766 Lotus SMTP server refuses to accept any commands if they are sent
6767 with two `process-send-string's (Bug#11444).
6769 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6771 * shell.el (shell-parse-pcomplete-arguments):
6772 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
6774 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6776 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
6777 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6778 (image-transform-width, image-transform-fit-width): New functions.
6779 (image-transform-properties): Use them.
6780 (image-transform-check-size): New function.
6781 (image-toggle-display-image): Use it (for testing).
6782 (image-transform-set-rotation): Reduce angle mod 360.
6783 Delete obsolete comment.
6785 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6787 * image-mode.el: Fix scaling (bug#11399).
6788 (image-transform-resize): Doc fix.
6789 (image-transform-properties): Default scale is 1 and height should
6792 2012-05-13 Johan Bockgård <bojohan@gnu.org>
6794 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6795 than hard-coding `car', to fix misbehavior when moving forward.
6797 2012-05-13 Chong Yidong <cyd@gnu.org>
6799 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6800 (tabulated-list-entries, tabulated-list-padding)
6801 (tabulated-list-sort-key): Make permanent-local.
6803 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6804 (electric-buffer-list): Put electric buffer menu
6805 command descriptions in this docstring, instead of the docstring
6806 of electric-buffer-menu-mode. Code cleanups.
6807 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6808 Electric-buffer-menu-mode.
6809 (electric-buffer-update-highlight): Minor code cleanup.
6811 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
6813 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6816 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6818 Move define-obsolete-variable-alias before the var's definition.
6819 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6820 * tooltip.el (tooltip-hook):
6821 * textmodes/reftex-toc.el (reftex-toc-map):
6822 * textmodes/reftex-sel.el (reftex-select-label-map)
6823 (reftex-select-bib-map):
6824 * textmodes/reftex-index.el (reftex-index-map)
6825 (reftex-index-phrases-map):
6826 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6827 * progmodes/meta-mode.el (meta-mode-map):
6828 * novice.el (disabled-command-hook):
6829 * loadhist.el (unload-hook-features-list):
6830 * frame.el (blink-cursor):
6831 * files.el (find-file-not-found-hooks, write-file-hooks)
6832 (write-contents-hooks):
6833 * emulation/tpu-edt.el (GOLD-map):
6834 * emacs-lock.el (emacs-lock-from-exiting):
6835 * emacs-lisp/generic.el (generic-font-lock-defaults):
6836 * emacs-lisp/chart.el (chart-map):
6837 * dos-fns.el (register-name-alist):
6838 * dired-x.el (dired-omit-files-p):
6839 * desktop.el (desktop-enable):
6840 * cus-edit.el (custom-mode-hook):
6841 * buff-menu.el (buffer-menu-mode-hook):
6842 * bookmark.el (bookmark-read-annotation-text-func)
6843 (bookmark-exit-hooks):
6844 * allout.el (allout-mode-deactivate-hook)
6845 (allout-exposure-change-hook, allout-structure-added-hook)
6846 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6847 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6848 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6849 comes before the corresponding variable's definition.
6851 2012-05-12 Chong Yidong <cyd@gnu.org>
6853 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
6854 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6855 (Buffer-menu-mode-map): Bind it.
6856 (Buffer-menu--pretty-name): Add a mouse-face property.
6858 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6860 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6861 (prolog-upper-case-string, prolog-lower-case-string)
6862 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6863 (prolog-use-smie, prolog-smie-grammar): New vars.
6864 (prolog-smie-forward-token, prolog-smie-backward-token)
6865 (prolog-smie-rules): New funs.
6866 (prolog-comment-indent): Remove.
6867 (prolog-mode-variables): Use default comment indentation instead.
6869 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6870 (prolog-mode): Don't call them any more.
6871 (prolog-electric-colon, prolog-electric-dash)
6872 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6874 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6876 * minibuffer.el (completion--twq-all): Again, allow case differences.
6878 * term.el: Move keymap initialization code to be more idiomatic.
6879 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6880 (term-terminal-menu): Move initialization into declaration.
6881 (term-escape-char): Let the user set it in her .emacs.
6883 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6884 Provide SMIE-based indentation (not enabled by default yet).
6885 (sh-mode-map): Don't bind electric keys.
6886 Use electric-pair-mode instead of skeleton-pair.
6887 (sh-assignment-regexp): Fit within 80 columns.
6888 (sh-indent-supported): Specify actual shell name instead of boolean.
6889 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6890 (sh-maybe-here-document): Use it. Make obsolete.
6891 (sh-electric-here-document-mode) New minor mode.
6892 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6893 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6894 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6895 (sh-smie-rc-grammar, sh-use-smie): New vars.
6896 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6897 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6898 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6899 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6900 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6901 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6902 (sh-set-shell): Use smie-setup if requested.
6904 * term.el (term-set-escape-char): Properly set term-escape-char.
6905 See http://stackoverflow.com/questions/10524656.
6907 2012-05-10 Chong Yidong <cyd@gnu.org>
6909 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6910 Use url-generic-parse-url, and handle host names and Windows
6912 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6913 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6914 URL schemes to work on.
6915 (ffap--toggle-read-only): New function.
6916 (ffap-read-only, ffap-read-only-other-window)
6917 (ffap-read-only-other-frame): Use it.
6918 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6919 necessary for ffap-url-unwrap-remote.
6921 2012-05-10 Dave Abrahams <dave@boostpro.com>
6923 * cus-start.el (create-lockfiles): Add it.
6925 2012-05-09 Chong Yidong <cyd@gnu.org>
6927 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6928 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6930 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6932 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6934 2012-05-09 Chong Yidong <cyd@gnu.org>
6936 * ansi-color.el (ansi-color-process-output): Check for validity of
6937 comint-last-output-start before using it. This avoids a bad
6938 interaction with gdb-mi's input/output buffer.
6940 2012-05-09 Glenn Morris <rgm@gnu.org>
6942 * files.el (dir-locals-read-from-file):
6943 Mention dir-locals in any error message.
6945 2012-05-09 Chong Yidong <cyd@gnu.org>
6947 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6948 package (Bug#11410).
6950 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6951 variables into description.
6953 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6955 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6956 shell-delimiter-argument-list (bug#11348).
6957 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6959 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
6961 * textmodes/rst.el: Silence byte-compiler warnings.
6962 (rst-re-alist, rst-reset-section-caches): Move around.
6963 (rst-re): Use `characterp', not `char-valid-p'.
6964 (font-lock-beg, font-lock-end): Declare.
6966 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6967 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6969 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6971 2012-05-08 Glenn Morris <rgm@gnu.org>
6973 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6975 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6977 * vc/log-edit.el: Add GNU coding standards highlighting.
6978 (log-edit-font-lock-gnu-style)
6979 (log-edit-font-lock-gnu-keywords): New vars.
6980 (log-edit-font-lock-keywords): New fun.
6981 (log-edit-mode): Don't fold case in font-lock.
6982 (log-edit-font-lock-keywords): Do not assume case-folding.
6984 * imenu.el: Misc cleanup. Make docstrings out of comments.
6985 Use lexical-binding.
6986 (imenu--index-alist, imenu--last-menubar-index-alist)
6987 (imenu-menubar-modified-tick): Use defvar-local.
6988 (imenu--split-menu): Remove unused var.
6989 (imenu--cleanup-seen): Declare as global.
6990 (imenu--cleanup): Use dolist.
6992 * subr.el (defvar-local): Add debug spec and doc-string position.
6994 2012-05-08 Glenn Morris <rgm@gnu.org>
6996 * language/burmese.el, language/cham.el, language/czech.el:
6997 * language/english.el, language/georgian.el, language/greek.el:
6998 * language/japanese.el, language/khmer.el, language/korean.el:
6999 * language/lao.el, language/misc-lang.el, language/romanian.el:
7000 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7001 * language/thai.el, language/utf-8-lang.el:
7002 Remove no-byte-compile setting.
7004 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7006 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7008 * progmodes/make-mode.el (makefile-browse):
7009 Remove unnecessary interactive. (Bug#11324)
7011 2012-05-07 Glenn Morris <rgm@gnu.org>
7013 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7015 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7017 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7019 * loadup.el: Preload newcomment.el.
7020 * newcomment.el: Move autoload-only code to toplevel.
7022 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7023 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7024 Handle new :right-align column property.
7025 (tabulated-list-print-col): Idem, plus use `display' text-property to
7026 try and preserve alignment for variable pitch fonts.
7028 2012-05-07 Chong Yidong <cyd@gnu.org>
7030 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7031 (tabulated-list-use-header-line): New var.
7032 (tabulated-list-init-header): Use it.
7033 (tabulated-list-print-fake-header): New function.
7034 (tabulated-list-print): Use it.
7035 (tabulated-list-sort-button-map): Add non-header-line commands.
7036 (tabulated-list-init-header): Add column name property to basic
7038 (tabulated-list-col-sort): Handle non-header-line button case.
7039 (tabulated-list--sort-by-column-name): Fix a corner case.
7041 * buff-menu.el (list-buffers--refresh):
7042 Handle Buffer-menu-use-header-line.
7044 2012-05-06 Chong Yidong <cyd@gnu.org>
7046 * buff-menu.el: Convert to Tabulated List mode.
7047 (Buffer-menu-buffer+size-width): Make obsolete.
7048 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7049 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7050 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7051 documentation into docstring of buffer-menu.
7052 (Buffer-menu-toggle-files-only): Add an informative message.
7053 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7054 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7055 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7056 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7057 (Buffer-menu-execute, Buffer-menu-select)
7058 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7059 (Buffer-menu-bury): Use Tabulated List machinery.
7060 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7061 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
7063 (list-buffers--refresh): New function.
7064 (list-buffers-noselect): Use it.
7065 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7066 (Buffer-menu--pretty-file-name): New helper functions.
7068 * loadup.el: Preload tabulated-list.
7070 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7071 tabulated-list-sort-column.
7072 (tabulated-list-init-header): Add the initial aligning space even
7073 if tabulated-list-padding is zero.
7075 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7077 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7078 whose cdr is not a cons cell correctly (bug#11038).
7080 2012-05-06 Chong Yidong <cyd@gnu.org>
7082 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7083 Accept additional plist in column descriptors.
7084 (tabulated-list-init-header): Obey it.
7085 (tabulated-list-get-entry): New function.
7086 (tabulated-list-put-tag): Use it. Use string-width instead of
7088 (tabulated-list--column-number): New function.
7089 (tabulated-list-print): Use it.
7090 (tabulated-list-print-col): New function.
7091 Set `tabulated-list-column-name' property on each column's text.
7092 (tabulated-list-print-entry): Use it.
7093 (tabulated-list-delete-entry, tabulated-list-set-col):
7095 (tabulated-list-sort-column): New command (Bug#11337).
7097 * buff-menu.el (list-buffers): Move C-x C-b binding from
7098 buff-menu.el to bindings.el.
7100 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7101 :advertised-binding feature.
7103 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7105 * progmodes/compile.el (compilation-internal-error-properties):
7106 Calculate start position correctly when end-col is set but
7107 end-line is not (Bug#11382).
7109 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7111 * man.el (Man-unindent): Use text-property-default-nonsticky to
7112 prevent untabify from inheriting face properties (Bug#11408).
7114 2012-05-05 Stefan Merten <smerten@oekonux.de>
7116 * textmodes/rst.el: Major merge with upstream development up to
7117 Docutils SVN r7399 / rst.el V1.2.1.
7119 Clarify maintainership and authors.
7121 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7122 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7123 (rst-official-version, rst-official-cvs-rev, rst-version)
7124 (rst-package-emacs-version-alist): New functions and variables
7125 for version information.
7127 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7128 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7129 (rst-mode-syntax-table, rst-mode): New and corrected functions
7130 and variables representing reStructuredText features.
7132 (rst-re): New function for reStructuredText regexes. Use in
7135 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7136 (rst-mode-map): Rebind keys.
7138 (rst-mode-lazy, rst-font-lock-keywords)
7139 (rst-font-lock-extend-region)
7140 (rst-font-lock-extend-region-internal)
7141 (rst-font-lock-extend-region-extend)
7142 (rst-font-lock-find-unindented-line-limit)
7143 (rst-font-lock-find-unindented-line-match)
7144 (rst-adornment-level, rst-font-lock-adornment-level)
7145 (rst-font-lock-adornment-match)
7146 (rst-font-lock-handle-adornment-pre-match-form)
7147 (rst-font-lock-handle-adornment-matcher): Major revision of
7148 font-locking. Integrate with other code. Use `jit-lock-mode'.
7150 (rst-preferred-adornments, rst-adjust-hook)
7151 (rst-new-adornment-down, rst-preferred-bullets)
7152 (rst-preferred-bullets, rst-indent, rst-indent-width)
7153 (rst-indent-field, rst-indent-literal-normal)
7154 (rst-indent-literal-minimized, rst-indent-comment): Change,
7155 extend and improve customization.
7157 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7158 (rst-normalize-cursor-position, rst-get-decoration)
7159 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7160 (rst-rstrip, rst-toc-insert-find-delete-contents)
7161 (rst-shift-fill-region, rst-compute-bullet-tabs)
7162 (rst-debug-print-tabs, rst-debug-mark-found)
7163 (rst-shift-region-guts, rst-shift-region-right)
7164 (rst-shift-region-left, rst-use-char-classes)
7165 (rst-font-lock-keywords-function)
7166 (rst-font-lock-indentation-point)
7167 (rst-font-lock-find-unindented-line-begin)
7168 (rst-font-lock-find-unindented-line-end)
7169 (rst-font-lock-find-unindented-line)
7170 (rst-font-lock-adornment-point, rst-font-lock-level)
7171 (rst-adornment-level-alist): Remove functions and variables.
7173 (rst-compare-adornments, rst-get-adornment-match)
7174 (rst-suggest-new-adornment, rst-get-adornments-around)
7175 (rst-adornment-complete-p, rst-get-next-adornment)
7176 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7177 (rst-straighten-adornments): Standardize function names to
7178 use "adornment" instead of "decoration". Correct callers.
7179 Similar standardizing in many places.
7181 (rst-update-section, rst-adjust, rst-promote-region)
7182 (rst-enumerate-region, rst-bullet-list-region)
7183 (rst-repeat-last-character): Correct use of `interactive'.
7185 (rst-classify-adornment, rst-find-all-adornments)
7186 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7187 (rst-find-leftmost-column, rst-repeat-last-character):
7190 (rst-find-title-line, rst-reset-section-caches)
7191 (rst-get-adornments-around, rst-adjust-adornment-work)
7192 (rst-arabic-to-roman, rst-roman-to-arabic)
7193 (rst-insert-list-pos, rst-insert-list-new-item)
7194 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7197 (rst-all-sections, rst-section-hierarchy)
7198 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7201 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7202 configuration instead of only buffer. Change where necessary.
7204 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7205 (rst-shift-region, rst-adaptive-fill): New functions for
7206 indentation and filling.
7208 (rst-comment-line-break, rst-comment-indent)
7209 (rst-comment-insert-comment, rst-comment-region)
7210 (rst-uncomment-region): New functions for handling comments.
7212 (rst-compile): Quote shell arguments.
7214 (rst-compile-pdf-preview, rst-compile-slides-preview):
7215 Delete temporary files after use.
7217 2012-05-05 Glenn Morris <rgm@gnu.org>
7219 * calendar/cal-html.el: Optionally include holidays in the output.
7220 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7221 (cal-html-holidays): New option.
7222 (cal-html-css-default): Add holiday entry.
7223 (holiday-in-range): Autoload it.
7224 (cal-html-htmlify-entry): Add optional class argument.
7225 (cal-html-htmlify-list): Add optional holidays argument.
7226 (cal-html-insert-agenda-days): Include holidays in the output.
7227 (cal-html-one-month): Maybe include holidays.
7229 * calendar/holidays.el (holiday-in-range):
7230 Move here from cal-tex-list-holidays.
7231 * calendar/cal-tex.el (cal-tex-list-holidays):
7232 Make it an obsolete alias for holiday-in-range. Update all callers.
7234 2012-05-05 Chong Yidong <cyd@gnu.org>
7236 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7239 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7241 * files.el (file-auto-mode-skip): New var.
7242 (set-auto-mode-1): Use it.
7244 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7246 * repeat.el: Use lexical-binding.
7247 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7248 (repeat-undo-count): Remove.
7250 * progmodes/octave-mod.el (octave-abbrev-start):
7251 * progmodes/f90.el (f90-abbrev-start):
7252 * face-remap.el (text-scale-adjust):
7253 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7255 * emacs-lisp/pcase.el (pcase--let*): New function.
7256 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7258 (pcase--split-pred): Be more clever about ruling out overlap between
7259 a predicate and some constant pattern.
7260 (pcase--q1): Use `null' instead of (eq foo nil).
7262 * subr.el (setq-local, defvar-local): New macros.
7263 (kbd): Redefine as an alias.
7264 (with-selected-window): Leave unrelated frames alone.
7265 (set-temporary-overlay-map): New function.
7267 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7269 * subr.el (user-error): New function.
7270 * window.el (switch-to-buffer):
7271 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7272 (smerge-match-conflict):
7273 * simple.el (previous-matching-history-element)
7274 (next-matching-history-element, goto-history-element, undo-more)
7276 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7277 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7278 (next-file, tags-loop-scan, list-tags, complete-tag):
7279 * progmodes/compile.el (compilation-loop):
7280 * mouse.el (mouse-minibuffer-check):
7281 * man.el (Man-bgproc-sentinel, Man-goto-page):
7282 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7283 (Info-history-forward, Info-follow-reference, Info-menu)
7284 (Info-extract-menu-item, Info-extract-menu-counting)
7285 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7286 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7287 (Info-next-reference, Info-prev-reference, Info-index)
7288 (Info-index-next, Info-follow-nearest-node)
7289 (Info-copy-current-node-name):
7290 * imenu.el (imenu--make-index-alist)
7291 (imenu-default-create-index-function, imenu-add-to-menubar):
7292 * files.el (basic-save-buffer, recover-file):
7293 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7294 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7295 (checkdoc-message-text, checkdoc-defun):
7296 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7297 * cus-edit.el (customize-changed-options, customize-rogue)
7298 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7299 (custom-variable-mark-to-reset-standard)
7300 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7302 * completion.el (check-completion-length):
7303 * comint.el (comint-search-arg)
7304 (comint-previous-matching-input-string-position)
7305 (comint-previous-matching-input)
7306 (comint-replace-by-expanded-history-before-point, comint-send-input)
7307 (comint-copy-old-input, comint-backward-matching-input)
7308 (comint-goto-process-mark, comint-set-process-mark):
7309 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7310 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7312 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7314 * dabbrev.el (dabbrev--ignore-case-p): New function.
7315 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7318 * files.el (automount-dir-prefix): Mark as obsolete.
7320 2012-05-04 Glenn Morris <rgm@gnu.org>
7322 * patcomp.el, play/bruce.el: Move to obsolete/.
7324 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7326 Fix minor Y10k bugs.
7327 * arc-mode.el (archive-unixdate):
7328 * autoinsert.el (auto-insert-alist):
7329 * calc/calc-forms.el (math-this-year):
7330 * emacs-lisp/copyright.el (copyright-current-year)
7331 (copyright-update-year, copyright):
7332 * tar-mode.el (tar-clip-time-string):
7333 * time.el (display-time-update):
7334 Don't assume years have 4 digits.
7336 2012-05-04 Chong Yidong <cyd@gnu.org>
7338 * dos-w32.el (file-name-buffer-file-type-alist)
7339 (direct-print-region-use-command-dot-com):
7340 * ffap.el (ffap-menu-regexp):
7341 * find-file.el (ff-special-constructs):
7342 * follow.el (follow-debug):
7343 * forms.el (forms--debug):
7344 * iswitchb.el (iswitchb-all-frames):
7345 * ido.el (ido-all-frames):
7346 * emacs-lisp/timer.el (timer-max-repeats):
7347 * mail/feedmail.el (feedmail-mail-send-hook)
7348 (feedmail-mail-send-hook-queued):
7349 * mail/footnote.el (footnote-signature-separator):
7350 * mail/mailabbrev.el (mail-alias-separator-string)
7351 (mail-abbrev-mode-regexp):
7352 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7353 * progmodes/idlwave.el (idlwave-libinfo-file)
7354 (idlwave-default-completion-case-is-down)
7355 (idlwave-library-routines): Convert defvars to defcustoms.
7357 * mail/rmail.el (rmail-decode-mime-charset):
7358 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7359 (idlwave-shell-fix-inserted-breaks)
7360 (idlwave-shell-activate-alt-keybindings)
7361 (idlwave-shell-use-breakpoint-glyph):
7362 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7364 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7366 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7368 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7370 * progmodes/verilog-mode.el (font-lock-keywords):
7371 Fix mis-highligting auto. Reported by Craig Barner.
7372 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
7373 defines from global name space. Reported by Dan Dever.
7374 (verilog-auto-reset, verilog-auto-reset-widths)
7375 (verilog-auto-tieoff): Support using unbased numbers for
7376 AUTORESET and AUTOTIEOFF.
7377 (verilog-submit-bug-report): Update variable list.
7378 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
7379 parenthesis from not matching. Reported by Michael Rytting.
7380 (verilog-auto-template-lint): Fix hash error when linting modules
7381 with no used templates.
7382 (verilog-warn, verilog-warn-error)
7383 (verilog-warn-fatal): When non-interactive report multiple
7384 warnings before exiting. Suggested by Brad Dobbie.
7385 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7386 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7387 to report unused template errors. Reported by Brad Dobbie.
7388 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
7389 nets, bug438. Reported by Vns Blore.
7390 (verilog-auto-inout-module, verilog-auto-reg)
7391 (verilog-read-decls, verilog-read-sub-decls-sig)
7392 (verilog-signals-edit-wire-reg, verilog-signals-with):
7393 Fix passing of Verilog data types in ANSI input/output ports
7394 such as "output logic" into the AUTOs. Special case "wire" and
7395 "reg" for backwards compatibility presuming Verilog 2001.
7396 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7397 (verilog-preprocess): Fix replication of preprocess output.
7398 Reported by Brad Dobbie.
7399 (verilog-auto-inst-interfaced-ports):
7400 Create verilog-auto-inst-interfaced-ports, bug429.
7401 Reported by Julian Gorfajn.
7402 (verilog-after-save-font-hook)
7403 (verilog-before-save-font-hook): New variable.
7404 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7405 (verilog-save-font-mods): Wrap disabling fontification, reported
7407 (verilog-do-indent, verilog-pretty-declarations-auto)
7408 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7409 Reported by Pierre-David Pfister.
7410 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7411 of class declarations, bug292. Reported by Kevin Heilman.
7412 (verilog-read-decls): Fix 'parameter type' not appearing in
7413 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7414 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
7415 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
7416 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7417 Reported by David Kravitz.
7419 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
7421 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7422 assignment with tests in ifs and for loops.
7423 (verilog-extended-complete-re, verilog-complete-reg): Change so
7424 that DPI inport functions don't look like fuction declarations.
7425 (verilog-pretty-expr): Don't line up assignment
7426 operations to the test and increment in if and for loops
7427 (verilog-extended-complete-re, verilog-complete-reg): Change so
7428 that DPI inport functions don't look like fuction declarations.
7430 2012-05-03 Kenichi Handa <handa@m17n.org>
7432 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
7433 decoding, and show a warning message without signaling an error
7436 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7438 * emacs-lisp/bytecomp.el
7439 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7440 since cconv.el might have introduced :fun-body, internal-make-closure,
7441 and friends for bytecomp to handle (bug#11391).
7442 * custom.el (defcustom): Avoid ((λ ..) ..).
7444 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7446 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7448 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
7450 * notifications.el (dbus-debug):
7451 * term/linux.el (gpm-mouse-enable):
7452 * term/screen.el (xterm-register-default-colors): Declare.
7454 2012-05-02 Chong Yidong <cyd@gnu.org>
7456 * cus-start.el (gc-cons-percentage, exec-suffixes)
7457 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7458 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7459 (make-cursor-line-fully-visible, void-text-area-pointer)
7460 (font-list-limit): Add customization data.
7462 * allout.el (allout-exposure-change-functions)
7463 (allout-structure-added-functions)
7464 (allout-structure-deleted-functions)
7465 (allout-structure-shifted-functions): Rename abnormal hooks from
7466 *-hook, and convert to defcustoms.
7467 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7468 Convert to defcustoms.
7469 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7471 * allout-widgets.el: Hook callers changed.
7473 2012-05-02 Eli Zaretskii <eliz@gnu.org>
7475 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7476 the yanked message in preference to the default value of
7477 buffer-file-coding-system.
7479 2012-05-02 Martin Rudalics <rudalics@gmx.at>
7481 * window.el (display-buffer--action-function-custom-type):
7484 2012-05-02 Alan Mackenzie <acm@muc.de>
7486 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7488 2012-05-01 Glenn Morris <rgm@gnu.org>
7490 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7492 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7494 * cus-edit.el (custom-variable-documentation): Simplify with format.
7496 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7497 Stefan Monnier <monnier@iro.umontreal.ca>
7499 * simple.el (suggest-key-bindings, execute-extended-command):
7500 Move from keyboard.c.
7502 2012-05-01 Chong Yidong <cyd@gnu.org>
7504 * follow.el: Eliminate advice.
7505 (set-process-filter, process-filter, sit-for): Advice deleted.
7506 (follow-mode-off-hook): Obsolete hook removed.
7507 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7509 (follow-auto): Use a :set function.
7510 (follow-mode): Rewritten. Don't advise process filters.
7511 (follow-switch-to-current-buffer-all, follow-scroll-up)
7512 (follow-scroll-down): Assume follow-mode is bound.
7513 (follow-comint-scroll-to-bottom)
7514 (follow-align-compilation-windows): New functions.
7515 (follow--window-sorter): New function.
7516 (follow-all-followers): Use it to explicitly sort windows by their
7517 positions; don't make assumptions about next-window order.
7518 (follow-windows-start-end, follow-delete-other-windows-and-split)
7519 (follow-calc-win-start): Doc fix.
7520 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7521 vertical-motion unnecessarily.
7522 (follow-adjust-window): New function.
7523 (follow-post-command-hook): Use it.
7524 (follow-call-set-process-filter, follow-call-process-filter)
7525 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7526 (follow-stop-intercept-process-output, follow-generic-filter):
7528 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
7529 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7530 New functions, replacing advice on scroll-bar-* commands.
7531 (follow-mwheel-scroll): New function (Bug#4112).
7533 * comint.el (comint-adjust-point): New function.
7534 (comint-postoutput-scroll-to-bottom): Use it.
7535 Call follow-comint-scroll-to-bottom for Follow mode buffers.
7537 2012-05-01 Glenn Morris <rgm@gnu.org>
7539 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7540 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7541 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7542 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7543 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7544 Remove no-byte-compile setting.
7546 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7548 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7549 all-completions code to not return a number in the last cdr.
7551 2012-04-30 Leo Liu <sdl.web@gmail.com>
7553 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7556 2012-04-29 Chong Yidong <cyd@gnu.org>
7558 * follow.el (follow-calc-win-end): Rewrite to handle partial
7559 screen lines correctly (Bug#8390).
7560 (follow-avoid-tail-recenter): Minor cleanup.
7562 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7564 Avoid the obsolete `assoc' package.
7565 * speedbar.el (speedbar-refresh): Avoid adelete.
7566 (speedbar-file-lists): Simplify and avoid aput.
7567 * man.el (Man--sections, Man--refpages): New vars, replacing
7568 Man-sections-alist and Man-refpages-alist.
7569 (Man-build-section-alist, Man-build-references-alist):
7570 Use them; avoid aput.
7571 (Man--last-section, Man--last-refpage): New vars.
7572 (Man-follow-manual-reference): Use them.
7573 Use the `default' arg of completing-read.
7574 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7576 2012-04-27 Chong Yidong <cyd@gnu.org>
7578 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7580 * startup.el (x-apply-session-resources): New function.
7582 * term/ns-win.el (ns-initialize-window-system):
7583 * term/w32-win.el (w32-initialize-window-system):
7584 * term/x-win.el (x-initialize-window-system): Use it to properly
7585 set menu-bar-mode and other vars from X resources, even if the
7586 initial frame is not a window-system frame (Bug#2299).
7588 * subr.el (read-key): Avoid running filter function when setting
7589 up temporary tool bar entries (Bug#9922).
7591 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
7593 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7596 2012-04-27 Chong Yidong <cyd@gnu.org>
7598 * select.el (xselect--encode-string): New function, split from
7599 xselect-convert-to-string.
7600 (xselect-convert-to-string): Use it.
7601 (xselect-convert-to-filename, xselect-convert-to-os)
7602 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7603 returned strings are properly encoded (Bug#11315).
7605 2012-04-27 Chong Yidong <cyd@gnu.org>
7607 * simple.el (delete-active-region): Move to killing custom group.
7609 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
7611 * progmodes/which-func.el (which-func-current): Quote %
7612 characters for mode-line processing.
7614 2012-04-27 Chong Yidong <cyd@gnu.org>
7616 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7617 reaching eob (Bug#11286).
7619 2012-04-27 Eli Zaretskii <eliz@gnu.org>
7621 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7622 (gdb): Make it buffer-local and init to zero.
7623 (gdb-control-commands-regexp): New variable.
7624 (gdb-send): Don't wrap in "-interpreter-exec console" if
7625 gdb-control-level is positive. Increment gdb-control-level
7626 whenever the command matches gdb-control-commands-regexp, and
7627 decrement it each time the command is "end". (Bug#11279)
7629 2012-04-27 Martin Rudalics <rudalics@gmx.at>
7631 * window.el (adjust-window-trailing-edge, enlarge-window)
7632 (shrink-window, window-resize):
7633 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7634 windows (Bug#11276).
7636 2012-04-27 Chong Yidong <cyd@gnu.org>
7638 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
7639 fix "missing prefix" warning. All callers changed.
7641 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7643 * emacs-lisp/assoc.el: Move to obsolete/.
7645 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7647 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
7649 * term/ns-win.el (ns-define-service):
7650 * progmodes/pascal.el (pascal-goto-defun):
7651 * progmodes/js.el (js--read-tab):
7652 * progmodes/etags.el (tags-lazy-completion-table):
7653 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7654 * emacs-lisp/ewoc.el (ewoc--wrap):
7655 * emacs-lisp/assoc.el (aput, adelete, amake):
7656 * doc-view.el (doc-view-convert-current-doc):
7657 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7659 2012-04-26 Chong Yidong <cyd@gnu.org>
7661 * image.el (image-type-from-buffer): Only return supported image
7664 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7665 value, for symmetry with diff-end-of-hunk.
7666 (diff-split-hunk, diff-find-source-location)
7667 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7668 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7669 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7670 compute the relevant hunk or file properly (Bug#6005).
7671 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7673 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7682 * vc/vc.el: Replace lexical-let by lexical-binding.
7683 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7684 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7685 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7687 2012-04-26 Chong Yidong <cyd@gnu.org>
7689 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7690 (diff-mode-shared-map): Bind it to / and [remap undo].
7692 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7693 (ediff-window-setup-function): Use it as the default, to set up
7694 windows based on whether the current frame is graphical (Bug#2138).
7695 (ediff-choose-window-setup-function-automatically): Make obsolete.
7697 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7699 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7701 * ffap.el: Remove old code for obsolete package.
7702 (ffap-complete-as-file-p): Remove.
7704 Use completion-table-with-quoting for comint and pcomplete.
7705 * comint.el (comint--unquote&requote-argument)
7706 (comint--unquote-argument, comint--requote-argument): New functions.
7707 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7708 (comint-quote-filename): Use regexp-opt-charset.
7709 (comint--common-suffix, comint--common-quoted-suffix)
7710 (comint--table-subvert): Remove.
7711 (comint-unquote-function, comint-requote-function): New vars.
7712 (comint--complete-file-name-data): Use them with
7713 completion-table-with-quoting.
7714 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7715 * pcomplete.el (pcomplete-arg-quote-list)
7716 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7717 (pcomplete-unquote-argument-function): Default to non-nil.
7718 (pcomplete-unquote-argument): Simplify.
7719 (pcomplete--common-quoted-suffix): Remove.
7720 (pcomplete-requote-argument-function): New var.
7721 (pcomplete--common-suffix): New function.
7722 (pcomplete-completions-at-point): Use completion-table-with-quoting
7723 and completion-table-subvert.
7725 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7726 (minibuffer--double-dollars): Preserve properties.
7727 (completion--sifn-requote): New function.
7728 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7730 * minibuffer.el: Add support for completion of quoted/escaped data.
7731 (completion-table-with-quoting, completion-table-subvert): New funs.
7732 (completion--twq-try, completion--twq-all): New functions.
7733 (completion--nth-completion): New function.
7734 (completion-try-completion, completion-all-completions): Use it.
7736 2012-04-25 Leo Liu <sdl.web@gmail.com>
7738 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7739 Use compilation-message if available to find real filename.
7741 2012-04-25 Chong Yidong <cyd@gnu.org>
7743 * vc/diff-mode.el (diff-setup-whitespace): New function.
7744 (diff-mode): Use it.
7746 * vc/diff.el (diff-sentinel):
7747 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7748 Whitespace mode variables based on diff style (Bug#8612).
7750 2012-04-25 Leo Liu <sdl.web@gmail.com>
7752 * progmodes/python.el (python-send-region): Add suffix .py to the
7755 * files.el (auto-mode-alist): Use javascript-mode instead.
7757 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7759 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
7761 * net/soap-client.el (soap-resolve-references-for-sequence-type)
7762 (soap-resolve-references-for-array-type): Hack to prevent self
7763 references, see Bug#9.
7764 (soap-parse-envelope): Report the contents of the 'detail' node
7765 when receiving a fault reply.
7766 (soap-parse-envelope): Report the contents of the entire 'detail' node.
7768 * net/soap-inspect.el (soap-sample-value-for-simple-type)
7769 (soap-inspect-simple-type): New function.
7771 * net/soap-client.el (soap-simple-type): New struct.
7772 (soap-default-xsd-types, soap-default-soapenc-types)
7773 (soap-decode-basic-type, soap-encode-basic-type):
7774 support unsignedInt and double basic types.
7775 (soap-resolve-references-for-simple-type)
7776 (soap-parse-simple-type, soap-encode-simple-type): New function.
7777 (soap-parse-schema): Parse xsd:simpleType declarations.
7779 * net/soap-client.el (soap-default-xsd-types)
7780 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7781 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7782 the local name of "soapenc:Array".
7783 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
7784 decoding integer, byte and anyURI xsd types.
7786 2012-04-25 Chong Yidong <cyd@gnu.org>
7788 * cus-edit.el (custom-buffer-create-internal): Update header text.
7790 2012-04-25 Eli Zaretskii <eliz@gnu.org>
7792 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7793 settings on 'system-type', not on 'window-system'. On MS-Windows,
7794 set interactive-mode on in GDB.
7796 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7798 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7799 (ruby-syntax-propertize-regexp): Remove.
7800 (ruby-syntax-propertize-function): Split regexp into chunks.
7801 Match following code directly.
7803 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7805 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7806 (ruby-syntax-propertize-regexp): New function.
7807 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7808 by a special keyword.
7810 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7811 (ruby-syntax-general-delimiters-goto-beg)
7812 (ruby-syntax-propertize-general-delimiters): New functions.
7813 (ruby-syntax-propertize-function): Use them to handle GDL.
7814 (ruby-font-lock-keywords): Move old handling of GDL...
7815 (ruby-font-lock-syntactic-keywords): .. to here.
7816 (ruby-calculate-indent): Adjust indentation for GDL.
7818 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
7820 * notifications.el (top): Remove unneeded declarations.
7821 (notifications-specification-version): Change to "1.2".
7822 (notifications-interface, notifications-notify-method)
7823 (notifications-close-notification-method): Fix docstring.
7824 (notifications-get-capabilities-method): New defconst.
7825 (notifications-notify): Add :action-items, :resident and
7826 :transient hints. Change "image_data" to "image-data" and
7827 "image_path" to "image-path".
7828 (notifications-get-capabilities): New defun.
7830 2012-04-24 Leo Liu <sdl.web@gmail.com>
7832 * progmodes/python.el: Move hideshow setup to the end.
7834 2012-04-24 Martin Rudalics <rudalics@gmx.at>
7836 * window.el (handle-select-window): Clear echo area since this is
7837 no more done by read_char (Bug#11304).
7839 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7841 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7842 and `/ M' to filter-derived-mode.
7843 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7844 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7845 (ibuffer-mark-by-mode): Use default rather than initial-input.
7846 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7848 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7850 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7851 (ibuffer-filter-by-derived-mode): New filter.
7852 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7854 2012-04-23 Andreas Politz <politza@fh-trier.de>
7856 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7858 2012-04-23 Chong Yidong <cyd@gnu.org>
7860 * cus-edit.el (customize-apropos, customize-apropos-options):
7861 Disable matching of non-option variables (Bug#11176).
7862 (customize-option, customize-option-other-window)
7863 (customize-changed-options): Doc fix.
7864 (customize-apropos-options, customize-apropos-faces)
7865 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7867 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
7868 Fix word list splitting (Bug#11132).
7869 (apropos-symbol, apropos-keybinding, apropos-label)
7870 (apropos-property, apropos-function-button)
7871 (apropos-variable-button, apropos-misc-button): New faces.
7872 (apropos-symbol-face, apropos-keybinding-face)
7873 (apropos-label-face, apropos-property-face, apropos-match-face):
7874 Variables removed (Bug#8396).
7875 (apropos-library-button, apropos-format-plist, apropos-print)
7876 (apropos-print-doc, apropos-describe-plist): Callers changed.
7878 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
7880 * net/xesam.el (xesam-mode-map): Use let-bound map in
7881 initialization. (Bug#11292)
7883 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7885 Preserve ispell session localwords when switching back to
7888 * textmodes/ispell.el (ispell-buffer-session-localwords):
7889 New buffer-local variable to hold buffer session localwords.
7890 (ispell-kill-ispell): Add option 'clear to delete session
7892 (ispell-command-loop, ispell-change-dictionary)
7893 (ispell-buffer-local-words): Preserve session localwords when
7896 * textmodes/flyspell.el (flyspell-process-localwords)
7897 (flyspell-do-correct): Preserve session localwords when needed.
7899 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7901 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7902 using obsolete `translation-table-for-input'.
7903 (ispell-word, ispell-process-line, ispell-complete-word):
7904 Use plain `insert' instead of removed `ispell-insert-word'.
7906 2012-04-22 Chong Yidong <cyd@gnu.org>
7908 * cus-edit.el (custom-variable-menu)
7909 (custom-variable-reset-saved, custom-face-menu)
7910 (custom-face-reset-saved): If there is no saved value, make the
7911 "reset-saved" operation bring back the default (Bug#9509).
7912 (custom-face-state): Properly detect themed faces.
7914 * faces.el (face-spec-set): Stop supporting deprecated form of
7917 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
7919 Move functions from C to Lisp. Make non-blocking method calls
7920 the default. Implement further D-Bus standard interfaces.
7922 * net/dbus.el (dbus-message-internal): Declare function.
7923 Remove unneeded function declarations.
7924 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7925 (dbus-message-type-method-return, dbus-message-type-error)
7926 (dbus-message-type-signal): Declare variables. Remove local
7928 (dbus-interface-dbus, dbus-interface-peer)
7929 (dbus-interface-introspectable, dbus-interface-properties)
7930 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7932 (dbus-interface-objectmanager): New defconst.
7933 (dbus-call-method, dbus-call-method-asynchronously)
7934 (dbus-send-signal, dbus-method-return-internal)
7935 (dbus-method-error-internal, dbus-register-service)
7936 (dbus-register-signal, dbus-register-method): New defuns, moved
7938 (dbus-call-method-handler, dbus-setenv)
7939 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7941 (dbus-call-method-non-blocking): Make it an obsolete function.
7942 (dbus-unregister-object, dbus-unregister-service)
7943 (dbus-handle-event, dbus-register-property)
7944 (dbus-property-handler): Obey the new structure of
7945 `bus-registered-objects'.
7946 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7947 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7948 Use `dbus-call-method'.
7950 2012-04-22 Chong Yidong <cyd@gnu.org>
7952 * cus-edit.el (custom-commands, custom-reset-menu)
7953 (Custom-reset-standard): Tweak labels.
7954 (custom-reset-button-menu): Change default to t.
7955 (custom-buffer-create-internal): For the custom-reset-button-menu
7956 case, put the revert button first.
7957 (custom-group-subtitle): New face.
7958 (custom-group-value-create): Align docstring to a specific column.
7960 * wid-edit.el (widget-documentation-link-add): Don't handle
7961 indentation in this function.
7962 (widget-documentation-string-indent-to): New function.
7963 (widget-documentation-string-value-create): Use it.
7965 * autorevert.el (auto-revert):
7966 * epg-config.el (epg):
7967 * ibuffer.el (ibuffer):
7970 * eshell/eshell.el (eshell):
7971 * net/ange-ftp.el (ange-ftp):
7972 * progmodes/ebnf2ps.el (postscript):
7973 * progmodes/flymake.el (flymake):
7974 * progmodes/prolog.el (prolog):
7975 * progmodes/verilog-mode.el (verilog-mode):
7976 * progmodes/which-func.el (which-func):
7977 * term/xterm.el (xterm):
7978 * textmodes/picture.el (picture):
7979 * textmodes/tildify.el (tildify):
7980 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7981 customization buffers.
7983 2012-04-22 Alan Mackenzie <acm@muc.de>
7985 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7986 Adding a ) can hide the resulting (..) from searches. Fix it.
7987 Bound the backward search to the position of the existing (.
7989 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
7991 * progmodes/verilog-mode.el (verilog-mode): Check whether
7992 which-func-modes is t before adding verilog-mode.
7993 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7995 2012-04-21 Leo Liu <sdl.web@gmail.com>
7997 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
7999 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8001 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8002 filling of the last column of a table (Bug#5635).
8003 (woman-find-next-control-line): New arg, specifying an additional
8004 regexp component for the control line.
8005 (woman2-roff-buffer): Use it.
8006 (woman-break-table): New function.
8007 (woman2-TS): Use it.
8009 2012-04-21 Chong Yidong <cyd@gnu.org>
8011 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8012 (woman-horizontal-escapes, woman-negative-vertical-space)
8013 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8014 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8016 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8018 * minibuffer.el (completion-file-name-table): Complete user names.
8020 2012-04-20 Leo Liu <sdl.web@gmail.com>
8022 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8025 2012-04-20 Chong Yidong <cyd@gnu.org>
8027 * server.el (server-execute): Respect initial-buffer-choice if it
8028 is a string and there are no files to open (Bug#2825).
8029 (server-create-window-system-frame, server-create-tty-frame):
8030 Don't switch buffers here.
8031 (server-process-filter): Only try to open a window system frame if
8032 compiled with graphical support (Bug#8314).
8034 2012-04-20 Dan Nicolaescu <dann@gnu.org>
8036 * battery.el (battery-echo-area-format): Display remaining time
8037 for sysfs backend too (Bug#11269).
8038 (battery-linux-sysfs): Fix conditional for the charge.
8040 2012-04-20 Chong Yidong <cyd@gnu.org>
8042 * progmodes/gdb-mi.el (gdb): Revert previous change.
8043 (gdb-inferior-io--init-proc): New function.
8044 (gdb-init-1): Use it.
8045 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8046 responsible for allocating a new pty and hooking it to gdb when
8047 the old pty gets an EIO due to process exit.
8048 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8049 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8050 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8052 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8054 * window.el (window-min-size, window-sizable, window-min-delta)
8055 (window-max-delta, window--resizable, window-resizable)
8056 (window-total-size, window-full-height-p, window-full-width-p)
8057 (window-in-direction, window--resize-mini-window, window-resize)
8058 (window--resize-child-windows-normal)
8059 (window--resize-child-windows, window--resize-siblings)
8060 (window--resize-this-window, adjust-window-trailing-edge)
8061 (enlarge-window, shrink-window): Doc fixes.
8063 2012-04-20 Chong Yidong <cyd@gnu.org>
8065 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8066 New function to call delete-process on the gdb-inferior buffer's pty.
8067 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8068 pty process (Bug#11273).
8069 (gdb-update): New arg to suppress talking to the gdb process.
8070 (gdb-done-or-error): Use it.
8071 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8072 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8073 sentinel not being called.
8075 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8077 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8079 2012-04-20 Glenn Morris <rgm@gnu.org>
8081 * net/network-stream.el (open-network-stream): Doc fix.
8083 2012-04-20 Chong Yidong <cyd@gnu.org>
8085 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8087 2012-04-20 Alan Mackenzie <acm@muc.de>
8089 Ensure searching for keywords is case sensitive.
8091 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8092 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8093 (c-defun-name, c-mark-function, c-cpp-define-name)
8094 (c-comment-indent, c-scan-conditionals, c-indent-defun)
8095 (c-context-line-break): Bind case-fold-search to nil.
8097 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8098 Bind case-fold-search to nil.
8100 2012-04-20 Chong Yidong <cyd@gnu.org>
8102 * mail/sendmail.el (mail-bury): Call return action with the right
8103 Rmail buffer (Bug#11242).
8105 * server.el (server-process-filter): Handle corner case where both
8106 tty and nowait options are present (Bug#11102).
8108 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8110 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
8111 (top level): Put into the executable the ident-style '$Id:' tag on
8114 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8116 * electric.el (electric-indent-post-self-insert-function): Check that
8117 electric-indent-mode is enabled in current buffer.
8119 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8121 * imenu.el (imenu-progress-message): Restore; it is "used" in
8122 erc/erc-imenu.el and net/snmp-mode.el.
8124 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8126 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8127 (mouse-avoidance-nudge-mouse): Remove unused binding.
8129 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8131 * descr-text.el (describe-char):
8132 * progmodes/python.el (python-describe-symbol):
8133 Don't call `toggle-read-only', set `buffer-read-only'.
8135 * imenu.el (imenu-default-goto-function): Mark unused args.
8136 (imenu-progress-message): Remove obsolete macro; all callers changed.
8138 * subr.el (keymap-canonicalize): Remove unused binding.
8139 (read-passwd): Mark unused arg.
8141 * tutorial.el (tutorial--display-changes): Remove unused binding.
8142 (tutorial--save-tutorial-to): Remove unused variable.
8144 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8145 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8146 (package-generate-autoloads, package-menu--generate)
8147 (package-menu--find-upgrades): Remove unused bindings.
8149 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8150 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8151 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8152 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8153 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8154 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8155 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8156 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8157 (cua-delete-char-rectangle): Mark unused args.
8158 (cua-align-rectangle): Remove unused binding.
8160 * mail/rmail.el (compilation--message->loc)
8161 (epa--find-coding-system-for-mime-charset): Declare.
8163 * net/dbus.el (dbus-register-service): Declare.
8164 (dbus-name-owner-changed-handler): Remove unused binding.
8166 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8167 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8168 (nxml-scan-backward-within): Mark unused arg.
8169 (nxml-dynamic-markup-word): Remove unused binding.
8171 * mouse.el (mouse-menu-major-mode-map):
8172 * emacs-lisp/authors.el (authors-scan-change-log)
8173 (authors-add-to-author-list):
8174 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8175 * emacs-lisp/smie.el (smie-auto-fill):
8176 * mail/sendmail.el (mail-bury):
8177 * mail/unrmail.el (unrmail):
8178 * net/tls.el (open-tls-stream):
8179 * textmodes/picture.el (picture-mouse-set-point):
8180 Remove unused bindings.
8182 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
8184 * net/tramp.el (tramp-action-password): Let-bind
8185 `enable-recursive-minibuffers' to t.
8187 2012-04-18 Sam Steingold <sds@gnu.org>
8189 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8190 instead of 'string to accommodate values like [f11].
8191 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8192 * progmodes/gdb-mi.el: Likewise.
8194 2012-04-18 Leo Liu <sdl.web@gmail.com>
8196 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8198 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8201 2012-04-18 Chong Yidong <cyd@gnu.org>
8203 * simple.el (line-move): Use forward-line if in batch mode
8206 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8208 * files.el (after-find-file): Do not try to add a final newline if
8209 the buffer is read-only (Bug#11156).
8211 2012-04-17 Richard Stallman <rms@gnu.org>
8213 * mail/rmail.el (rmail-start-mail):
8214 Pass (rmail-mail-return...) for the return-action.
8215 Pass (rmail-yank-current-message...) for the yank-action.
8216 (rmail-yank-current-message): New function.
8217 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8218 (rmail-reply): Likewise.
8219 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8221 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
8222 buffer, not the last. Reject temp buffers. Use the rmail-mode
8225 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
8227 * server.el (server-ensure-safe-dir): Simplify.
8229 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8231 * emacs-lisp/smie.el: Provide smarter auto-filling.
8232 (smie-auto-fill): New function.
8233 (smie-setup): Use it.
8235 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8237 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8239 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8240 (comment-indent): Use it.
8242 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
8244 * ses.el: The overall change is to add cell renaming, that is
8245 setting fancy names for cell symbols other than name matching
8246 "\\`[A-Z]+[0-9]+\\'" regexp .
8247 (ses-localvars): Add ses--renamed-cell-symb-list.
8248 (ses-create-cell-variable): New defun.
8249 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
8250 (ses-relocate-formula): Relocate formulas only for cells the
8251 symbols of which are not renamed, i.e. symbols whose names do not
8252 match regexp "\\`[A-Z]+[0-9]+\\'".
8253 (ses-relocate-all): Relocate values only for cells the symbols of
8254 which are not renamed.
8255 (ses-load): Create cells variables as the (ses-cell ...) are read,
8256 in order to check row col consistency with cell symbol name only
8257 for cells that are not renamed.
8258 (ses-replace-name-in-formula): New defun.
8259 (ses-rename-cell): New defun.
8261 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8263 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8264 New option (bug#11118).
8265 (perl-calculate-indent): Respect it.
8267 2012-04-17 Glenn Morris <rgm@gnu.org>
8269 * dired-aux.el (dired-mark-read-string): Doc fix.
8271 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8273 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8274 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8276 2012-04-17 Glenn Morris <rgm@gnu.org>
8278 * mouse.el (mouse-drag-track):
8279 * speedbar.el (speedbar-frame-mode):
8280 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8282 2012-04-16 Leo Liu <sdl.web@gmail.com>
8284 * progmodes/python.el: Trivial cleanup.
8286 2012-04-16 Glenn Morris <rgm@gnu.org>
8288 * vc/vc.el (vc-string-prefix-p):
8289 * vc/pcvs-util.el (cvs-string-prefix-p):
8290 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8291 * mpc.el (mpc-string-prefix-p):
8292 Make all of these into obsolete aliases for string-prefix-p.
8294 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8296 * textmodes/two-column.el: Move custom options to the start.
8297 (frame-width): Remove compat definition.
8298 (2C-associate-buffer, 2C-dissociate):
8299 Use with-current-buffer rather than save-excursion.
8300 (2C-dissociate): Force a mode-line update.
8301 (2C-autoscroll): Use ignore-errors.
8303 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8306 * emacs-lisp/cl-extra.el (*random-state*):
8307 Remove unnecessary declaration.
8309 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8311 * play/cookie1.el (cookie-snarf):
8312 Give an explicit error if input file cannot be read.
8314 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8316 * progmodes/perl-mode.el (c-macro-expand):
8317 Remove unnecessary autoload (it is in loaddefs.el).
8319 * textmodes/picture.el (picture-desired-column)
8320 (picture-update-desired-column): Convert comments to doc-strings.
8321 (picture-substitute): Remove function.
8322 (picture-mode-map): Initialize in the defvar.
8324 * woman.el: Remove eval-after-load for tar-mode.
8325 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8326 (woman-tar-extract-file): Autoload it.
8328 * frame.el (automatic-hscrolling): Make this alias obsolete.
8330 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8332 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
8333 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
8334 (ispell-dictionary-base-alist): Revert to original XEmacs
8335 friendly version for default. [:alpha:] will be added in
8336 `ispell-set-spellchecker-params' if needed.
8338 2012-04-16 Chong Yidong <cyd@gnu.org>
8340 * image.el (imagemagick--file-regexp): New variable.
8341 (imagemagick-register-types): Use it.
8342 (imagemagick-types-inhibit): Add :set function. Allow new value
8343 of t to inhibit all types.
8345 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8346 so we can preload it.
8348 * loadup.el (fboundp): Preload regexp-opt, needed by
8349 imagemagick-register-types.
8351 2012-04-15 Chong Yidong <cyd@gnu.org>
8353 * frame.el (scrolling): Remove nearly unused customization group.
8355 * scroll-all.el (scroll-all-mode): Move to windows group.
8357 2012-04-15 Chong Yidong <cyd@gnu.org>
8359 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8361 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8363 Avoid the use of ((lambda ...) ...) in lexical-binding code.
8364 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
8366 2012-04-15 Glenn Morris <rgm@gnu.org>
8368 * simple.el (process-file-side-effects): Doc fix.
8370 2012-04-15 Glenn Morris <rgm@gnu.org>
8372 * international/mule-cmds.el (set-language-environment): Doc fix.
8374 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8376 * server.el (server-auth-key, server-generate-key): Doc fixes.
8377 (server-get-auth-key): Doc fix. Use `string-match-p'.
8378 (server-start): Reflow docstring.
8380 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8382 * server.el (server-generate-key): `called-interactively-p'
8383 requires a parameter.
8385 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
8387 * server.el (server-auth-key): New variable.
8388 (server-generate-key, server-get-auth-key): New function.
8389 (server-start): Use the new variable and functions to allow
8390 setting a permanent server key (bug#9423).
8392 2012-04-14 Leo Liu <sdl.web@gmail.com>
8394 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8396 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8399 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8400 Emacs uses American spelling.
8402 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8404 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8405 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8406 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8407 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8409 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8411 * progmodes/which-func.el (which-func-modes): Change default.
8413 2012-04-14 Kim F. Storm <storm@cua.dk>
8415 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8416 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8418 2012-04-14 Chong Yidong <cyd@gnu.org>
8420 * custom.el (custom-theme-set-variables): Doc fix.
8422 2012-04-14 Glenn Morris <rgm@gnu.org>
8424 * international/mule.el (set-auto-coding-for-load): Doc fix.
8426 2012-04-14 Alan Mackenzie <acm@muc.de>
8428 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8429 imenu work again for Objective C Mode. Correct the *-index values,
8430 these having been disturbed by a previous change in 2011-08.
8432 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8433 Correct two search limits.
8435 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8437 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8439 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
8441 * international/characters.el: Fix sorting.
8443 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8445 * international/characters.el: Add more missing Latin case pairs.
8447 2012-04-14 Glenn Morris <rgm@gnu.org>
8449 * files.el (dir-locals-set-class-variables): Doc fix.
8451 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8453 * international/characters.el: Add set-case-syntax-pair call for
8454 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8455 counterpart. (Bug#11209)
8457 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8459 2012-04-14 Glenn Morris <rgm@gnu.org>
8461 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8463 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8465 * textmodes/ispell.el (ispell-dictionary-base-alist):
8466 Add data for Hebrew.
8468 2012-04-14 Chong Yidong <cyd@gnu.org>
8470 * net/rcirc.el (rcirc-cmd-quit):
8471 Revert 2012-03-18 change (Bug#11192).
8473 2012-04-14 Glenn Morris <rgm@gnu.org>
8475 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8477 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8479 * minibuffer.el (completion-in-region-mode-map):
8480 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
8482 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8484 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8486 2012-04-13 Masatake YAMATO <yamato@redhat.com>
8488 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8489 to allow `C-M-f' and `C-M-b' to move to the nearest path
8490 separator (bug#9511).
8492 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8494 * avoid.el: Require cl when compiling. And also move the
8495 `provide' to the end.
8497 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8499 * avoid.el (mouse-avoidance-banish-position): New variable.
8500 (mouse-avoidance-banish-destination): Use it (bug#10165).
8502 2012-04-13 Leo Liu <sdl.web@gmail.com>
8504 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8506 2012-04-13 Ken Brown <kbrown@cornell.edu>
8508 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
8509 this is no longer needed now that cygstart understands file:// URLs.
8510 (browse-url-filename-alist): For the same reason, don't modify
8511 file:// URLs on Cygwin.
8513 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8515 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8516 the region on shift if the binding is already shifted (bug#11221).
8518 2012-04-12 Glenn Morris <rgm@gnu.org>
8520 * mail/mailpost.el: Move to obsolete/.
8522 2012-04-12 Drew Adams <drew.adams@oracle.com>
8524 * imenu.el (imenu--generic-function): Ignore invisible definitions
8527 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8529 * hexl.el (hexl-bits): New variable.
8530 (hexl-options): Mention the variable in the doc string.
8531 (hexl-rulerise, hexl-line-displen): New functions.
8532 (hexl-mode): Mention the new variable.
8533 (hexl-mode, hexl-current-address, hexl-current-address):
8535 (hexl-ascii-start-column): New function.
8536 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8537 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8539 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8541 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8542 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8543 the encoding, as expected by hunspell.
8545 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8547 * battery.el (battery--linux-sysfs-regexp): New const.
8548 (battery-status-function): Use it. Remove yeeloong special case.
8549 (battery-yeeloong-sysfs): Remove.
8550 (battery-echo-area-format): Remove yeeloong special case.
8552 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8554 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8555 Reported by Noah Friedman.
8557 * subr.el (read-passwd): Use read-string.
8559 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8561 * vcursor.el (vcursor-move): Increase the priority of the overlay
8564 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8566 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8567 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8569 2012-04-11 William Stevenson <yhvh2000@gmail.com>
8571 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8572 define-minor-mode (bug#10760).
8574 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8576 * progmodes/grep.el (rgrep): Tweak the find command line so
8577 that directories matching `grep-find-ignored-files' won't be
8580 2012-04-11 Chong Yidong <cyd@gnu.org>
8582 * startup.el (command-line): Remove support for long-obsolete
8583 variable font-lock-face-attributes.
8585 2012-04-11 Glenn Morris <rgm@gnu.org>
8587 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8589 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8591 * window.el (window--state-get-1): Obey window-point-insertion-type.
8593 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8595 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8596 to previous function when point is on the first character of a
8597 function. Take care of that in `narrow-to-defun' (bug#6157).
8599 2012-04-11 Glenn Morris <rgm@gnu.org>
8601 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8602 not just file-errors.
8604 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8605 (vc-bzr-sha1): Use internal sha1.
8607 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8609 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8611 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8613 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8614 that start in the middle of the line (bug#10496).
8616 2012-04-10 Dan Nicolaescu <dann@gnu.org>
8618 * battery.el (battery-linux-proc-acpi): Only one battery is
8619 discharged at a time, but that seems to confuse battery.el when
8620 computing `rate-type' for the battery not being discharged
8623 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8625 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8627 * international/quail.el: Use dolist and simplify.
8628 (quail-define-package, quail-update-keyboard-layout)
8629 (quail-define-rules): Use dolist.
8630 (quail-insert-kbd-layout, quail-get-translation): CSE.
8632 * tmm.el: Use dolist, remove left over hook.
8633 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8635 (calendar-load-hook): Don't mess with it.
8637 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8638 Use derived-mode-p. Run the diff asynchronously.
8640 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8642 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8644 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
8646 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8647 (list-dynamic-libraries--loaded): New function.
8648 (list-dynamic-libraries--refresh): Use it.
8650 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
8652 * progmodes/python.el (python-fill-paragraph):
8653 Make python-fill-region in a multiline string work when font-lock is
8654 disabled (bug#7018).
8656 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8658 * language/european.el (cp775): Add oem/legacy (en)coding on
8659 DOS/MS Windows for the Baltic languages. There are still plenty
8660 of texts written in this encoding/codepage (bug#6519).
8662 2012-04-10 Glenn Morris <rgm@gnu.org>
8664 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8665 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8667 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8669 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
8670 next-line "n" and previous-line "p" in order to make recentf more
8671 consistent with ibuffer, dired or org-mode (bug#9387).
8673 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8675 * image.el (put-image): Return the overlay created instead of the
8676 optional input string (bug#7834). Note that this may break code
8677 that is (for some reason or other) depending on `put-image'
8678 returning the string.
8680 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8682 * simple.el (zap-to-char): Allow zapping using input methods
8685 * textmodes/fill.el (fill-region): Leave point and mark where they
8686 were before filling (bug#5399).
8688 2012-04-09 Glenn Morris <rgm@gnu.org>
8690 * version.el (emacs-bzr-get-version):
8691 Handle lightweight checkouts of local branches.
8693 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8695 * international/characters.el: Recover lost case pairs. (Bug#11209)
8697 2012-04-09 Chong Yidong <cyd@gnu.org>
8699 * custom.el (custom-variable-p): Return nil for non-symbol
8700 arguments instead of signaling an error.
8701 (user-variable-p): Obsolete alias for custom-variable-p.
8703 * apropos.el (apropos-variable):
8704 * files-x.el (read-file-local-variable):
8705 * simple.el (set-variable):
8706 * woman.el (woman-mini-help):
8707 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8709 2012-04-09 Glenn Morris <rgm@gnu.org>
8711 * startup.el (normal-top-level): Don't look for leim-list.el
8712 in places where it will not be found. (Bug#910)
8714 * international/mule-cmds.el (set-default-coding-systems):
8715 * files.el (normal-mode):
8716 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8717 This function was removed with ucs-tables.el in 2008.
8719 2012-04-08 Eli Zaretskii <eliz@gnu.org>
8721 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8722 ispell-encoding8-command to "-i", without a trailing space.
8723 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8724 separate command-line arguments, to specify the encoding, since
8725 that's how hunspell expects it.
8727 2012-04-08 Glenn Morris <rgm@gnu.org>
8729 * loadup.el: Load bindings before cus-start.
8730 This reduces somewhat the number of "rogue" settings in emacs -Q.
8732 2012-04-07 Glenn Morris <rgm@gnu.org>
8734 * version.el (emacs-bzr-get-version): New function.
8735 (emacs-bzr-version): New variable.
8736 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8737 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8739 2012-04-07 Eli Zaretskii <eliz@gnu.org>
8741 * international/uni-bidi.el, international/uni-category.el:
8742 * international/uni-combining.el, international/uni-decimal.el:
8743 * international/uni-decomposition.el, international/uni-digit.el:
8744 * international/uni-lowercase.el, international/uni-mirrored.el:
8745 * international/uni-name.el, international/uni-numeric.el:
8746 * international/uni-titlecase.el, international/uni-uppercase.el:
8747 Update for Unicode 6.1.
8749 2012-04-07 Eli Zaretskii <eliz@gnu.org>
8751 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8753 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8755 * window.el (shrink-window): Mention the `window-min-height'
8756 variable in the doc string.
8758 2012-04-05 Bastien Guerry <bzg@altern.org>
8760 * color.el (color-lighten-name): Fix typo.
8762 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8764 * server.el (server--on-display-p): New function.
8765 (server--on-display-p): Use it.
8767 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8769 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8772 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8774 * comint.el (comint--common-quoted-suffix): Check string boundary
8775 before comparing (bug#11158).
8776 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8778 2012-04-04 Chong Yidong <cyd@gnu.org>
8780 * minibuffer.el (completion-extra-properties): Doc fix.
8782 * subr.el (delayed-warnings-hook): Doc fix.
8784 2012-04-04 Daiki Ueno <ueno@unixuser.org>
8786 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8787 selection (Bug#11159).
8788 (epa-insert-keys): Inform that the default public key will be
8789 exported if no key is selected.
8791 2012-04-04 Richard Stallman <rms@gnu.org>
8793 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8795 2012-04-03 Chong Yidong <cyd@gnu.org>
8797 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8798 mail-insert-file, not its obsolete alias mail-attach-file.
8800 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
8802 * notifications.el (notifications-notify): Fix docstring.
8804 2012-04-02 Glenn Morris <rgm@gnu.org>
8806 * emacs-lisp/authors.el (authors-aliases): Another addition.
8808 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
8810 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8811 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8812 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8814 2012-04-01 Chong Yidong <cyd@gnu.org>
8816 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8817 Handle root directory properly.
8818 (copy-directory): Caller changed.
8820 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8821 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8823 2012-03-31 Glenn Morris <rgm@gnu.org>
8825 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8827 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8829 * calendar/calendar.el (calendar-window-list)
8830 (calendar-hide-window): Restore. (Bug#11140)
8831 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8833 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8835 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8837 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8838 Check if file is a symlink (Bug#10489).
8840 * files.el (copy-directory): Likewise.
8842 2012-03-30 Chong Yidong <cyd@gnu.org>
8844 * image.el (imagemagick-types-inhibit)
8845 (imagemagick-register-types): Doc fix.
8847 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8849 * textmodes/ispell.el (ispell-get-extended-character-mode):
8850 Disable extended-char-mode for hunspell. hunspell does not support it
8851 and treats ~word as ordinary words in pipe mode.
8853 2012-03-30 Glenn Morris <rgm@gnu.org>
8855 * tutorial.el (help-with-tutorial): Ensure local variables don't
8856 happen to make the buffer read-only. (Bug#11127)
8858 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8860 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8861 (perl-calculate-indent): Return `noindent' in strings.
8863 2012-03-28 Sam Steingold <sds@gnu.org>
8865 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8866 instead of the broken adhockery which does not prevent calendar
8867 buffers from being displayed at random after exit.
8868 (calendar-window-list, calendar-hide-window): Remove the broken
8871 2012-03-28 Glenn Morris <rgm@gnu.org>
8873 * replace.el (query-replace-map): Doc fix.
8875 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8877 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8878 contents. (Bug#11109)
8880 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8882 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8884 (avl-tree--check, avl-tree--check-node): New funs.
8886 2012-03-27 Martin Rudalics <rudalics@gmx.at>
8888 * window.el (switch-to-visible-buffer): New option.
8889 (switch-to-prev-buffer, switch-to-next-buffer):
8890 Observe switch-to-visible-buffer. Make sure that checking for a window
8891 showing a buffer already is done on the same frame.
8893 2012-03-27 Glenn Morris <rgm@gnu.org>
8895 * startup.el (mail-host-address): Doc fix.
8897 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8899 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8902 2012-03-26 Ami Fischman <ami@fischman.org>
8904 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8906 2012-03-26 Glenn Morris <rgm@gnu.org>
8908 * files.el (save-buffers-kill-emacs): Doc fix.
8910 * startup.el (normal-top-level, command-line, command-line-1):
8911 Give them doc strings.
8913 2012-03-25 Eli Zaretskii <eliz@gnu.org>
8915 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
8916 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
8918 2012-03-25 Chong Yidong <cyd@gnu.org>
8920 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8921 theme if it was previously enabled before (Bug#11031).
8923 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8924 spec with custom-face-get-current-spec if its :shown-value is not
8925 determined yet (Bug#9337).
8926 (customize-create-theme, custom-theme-revert): Doc fixes.
8928 * button.el (button-at): Minor addition to docstring.
8930 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
8932 * vc/vc.el (vc-merge): Fix a prompt.
8934 2012-03-24 Chong Yidong <cyd@gnu.org>
8936 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8939 * button.el (button-at): Minor addition to docstring.
8941 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8943 * newcomment.el (comment-choose-indent): No space after BOL.
8945 2012-03-22 Sam Steingold <sds@gnu.org>
8947 * window.el (switch-to-prev-buffer): Revert last patch because the
8948 bug turned out to be an advertised feature (Elisp manual 28.14).
8950 2012-03-22 Glenn Morris <rgm@gnu.org>
8952 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8953 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8955 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8957 * net/network-stream.el (network-stream-open-starttls): Make error
8958 message under Windows be less misleading.
8960 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8962 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8963 understands (bug#9942).
8965 2012-03-22 Chong Yidong <cyd@gnu.org>
8967 * simple.el (end-of-visible-line): Handle return value of
8968 next-single-property-change properly (Bug#9371).
8970 2012-03-22 Kenichi Handa <handa@m17n.org>
8972 * international/quail.el (quail-insert-kbd-layout): Fix previous
8973 change. To avoid unwanted bidi reordering, use
8974 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8976 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8978 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8979 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8980 (ruby-beginning-of-indent): Be more careful with the difference
8981 between word-boundary and symbol boundary.
8982 (ruby-mode-syntax-table): Make : a symbol constituent.
8984 2012-03-21 Andreas Politz <politza@fh-trier.de>
8986 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8988 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8990 * progmodes/etags.el (tags-completion-at-point-function):
8993 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8995 2012-03-21 Sam Steingold <sds@gnu.org>
8997 * progmodes/etags.el (tags-completion-at-point-function):
8998 Avoid the error when point is inside the pattern.
9000 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9002 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9005 2012-03-21 Drew Adams <drew.adams@oracle.com>
9007 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9009 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9011 * ido.el (ido-set-current-directory, ido-read-internal)
9012 (ido-choose-completion-string, ido-completion-help): Handle nil
9013 value of ido-completion-buffer (Bug#11008).
9015 2012-03-21 Sam Steingold <sds@gnu.org>
9017 * window.el (switch-to-prev-buffer): Do not switch to a visible
9018 window previous buffer, just like with the frame previous buffers.
9020 2012-03-21 Chong Yidong <cyd@gnu.org>
9022 * faces.el (make-face, make-empty-face, copy-face):
9023 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9026 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9028 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9029 (widget-complete): Remove broken use of it.
9031 2012-03-20 Chong Yidong <cyd@gnu.org>
9033 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9034 Use string-width and truncate-string-width to handle arbitrary
9037 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9039 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9040 to draw rectangles, not squares. (Regression introduced by revno
9041 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9043 2012-03-18 Chong Yidong <cyd@gnu.org>
9045 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9046 it is not yet defined (for temacs).
9048 2012-03-18 Leo Liu <sdl.web@gmail.com>
9050 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9053 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9055 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9056 (ispell-choices-win-default-height, ispell-silently-savep)
9057 (ispell-dictionary-alist, ispell-encoding8-command)
9058 (ispell-check-version, ispell-aspell-find-dictionary)
9059 (ispell-valid-dictionary-list, ispell-words-keyword)
9060 (ispell-get-word, ispell-internal-change-dictionary)
9061 (ispell-region, ispell-skip-region-list)
9062 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9063 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9064 (ispell-message-text-end, ispell-message)
9065 (ispell-buffer-local-parsing): Doc fix.
9067 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
9069 * htmlfontify.el: Add support for code block fontification for ODT
9071 (hfy-optimisations): Define new option
9073 (hfy-fontify-buffer): Honor above setting.
9074 (hfy-begin-span, hfy-end-span): New routines factored out form
9075 `hfy-fontify-buffer'.
9076 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9077 that permit insertion of custom tags.
9078 (hfy-fontify-buffer): Use above handlers.
9079 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9080 (hfy-face-to-css): Re-defined to be a variable.
9081 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
9082 over multiple runs. This is made possible by having the caller let
9083 bind a special variable `hfy-user-sheet-assoc'.
9084 (htmlfontify-string): New defun.
9085 (hfy-compile-face-map): Make sure that the last char in the
9086 buffer is correctly fontified.
9087 (hfy-face-resolve-face): Whitespace only change.
9089 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9091 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9094 2012-03-16 Leo Liu <sdl.web@gmail.com>
9096 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9098 2012-03-16 Alan Mackenzie <acm@muc.de>
9100 Further optimise the handling of large macros.
9102 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9103 limit to a call of `c-literal-limits'.
9104 (c-determine-+ve-limit): New function.
9105 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9106 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
9107 In CASE 5B, restrict a search limit to 500.
9108 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9110 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9111 Restrict macro bounds to +-500 from after-change's BEG END.
9113 2012-03-16 Leo Liu <sdl.web@gmail.com>
9115 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9117 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9119 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
9120 `special-mode' setting of `buffer-read-only'. (Bug#11010)
9122 2012-03-16 Glenn Morris <rgm@gnu.org>
9124 * view.el (view-buffer, view-buffer-other-window)
9125 (view-buffer-other-frame): Doc fixes re special mode-class.
9127 * subr.el (eval-after-load): If named feature is provided not from
9128 a file, run after-load forms. (Bug#10946)
9130 * calendar/calendar.el (calendar-insert-at-column):
9131 Handle non-unit-width characters a bit better. (Bug#10978)
9133 2012-03-15 Chong Yidong <cyd@gnu.org>
9135 * emacs-lisp/ring.el (ring-extend): New function.
9136 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9138 * comint.el (comint-read-input-ring)
9139 (comint-add-to-input-history): Grow comint-input-ring lazily.
9141 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9143 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9144 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9146 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9147 (imenu-add-to-menubar): Don't add a redundant index.
9148 (imenu-update-menubar): Handle a dynamically composed keymap.
9150 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9152 * mail/sendmail.el (mail-encode-header):
9153 Bind rfc2047-encode-encoded-words to nil.
9155 2012-03-13 Glenn Morris <rgm@gnu.org>
9157 * calendar/calendar.el (calendar-string-spread):
9158 Handle non-unit-width characters a bit better. (Bug#10978)
9160 2012-03-13 Leo Liu <sdl.web@gmail.com>
9162 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9163 directory and file as argument (Bug#10822).
9165 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9167 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9168 For dynamically generated code, follow $PC.
9169 (gdb-disassembly-handler-custom): Handle no function name case.
9171 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9173 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9174 * emulation/ws-mode.el (ws-query-replace):
9175 * sort.el (sort-regexp-fields):
9176 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9178 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9180 * dabbrev.el: Fix cycle completion order (bug#10963).
9181 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9182 (dabbrev-completion): Don't use an obarray; provide
9183 a cycle-sort-function.
9185 2012-03-12 Leo Liu <sdl.web@gmail.com>
9187 * simple.el (kill-new): Use equal-including-properties for comparison.
9188 (kill-do-not-save-duplicates): Doc fix.
9190 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9192 * dabbrev.el: Fix cycle completion (bug#10963).
9193 Use lexical binding and wrap to 80 columns.
9194 (dabbrev-completion): Delay computing the list of completions.
9196 2012-03-12 Kenichi Handa <handa@m17n.org>
9198 * international/quail.el (quail-insert-kbd-layout): Surround each
9199 row by LRO and PDF instead of inserting many LRMs. Pad the left
9200 and right of each non-spacing marks. Insert invisible space
9201 between lower and upper characters to prevent composition.
9203 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9205 * minibuffer.el (minibuffer-complete): Don't get confused when the
9206 function is run twice via different commands (bug#10958).
9207 (complete-with-action): Fix docstring.
9209 2012-03-12 Chong Yidong <cyd@gnu.org>
9211 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9212 (nxml-completion-at-point-function): New function.
9213 (nxml-mode): Use it.
9214 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9216 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9217 Load generated autoloads file before byte compiling (Bug#10970).
9218 (package--make-autoloads-and-compile): New helper fun.
9220 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9222 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9224 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
9226 * autorevert.el (auto-revert-handler): Ensure, that
9227 file-readable-p is applied only for local files or in
9228 auto-revert-tail-mode.
9230 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9232 * server.el (server-eval-at): Handle non-tcp connections.
9233 Decode result string.
9235 * server.el (server-msg-size): New constant.
9236 (server-reply-print): New function.
9237 (server-eval-and-print): Use it.
9238 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9241 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9243 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9246 2012-03-11 Chong Yidong <cyd@gnu.org>
9248 * simple.el (goto-line): Doc fix (Bug#9938).
9250 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9252 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9253 when finished (Bug#10963).
9255 2012-03-11 Martin Rudalics <rudalics@gmx.at>
9257 * window.el (split-window-below): Fix bug in case where
9258 split-window-keep-point is nil (Bug#10971).
9260 2012-03-11 Juri Linkov <juri@jurta.org>
9262 * replace.el (replace-highlight): Set isearch-word to nil
9263 unconditionally. (Bug#10887)
9265 2012-03-10 Eli Zaretskii <eliz@gnu.org>
9267 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9268 mairix-replace-illegal-chars; all callers changed. Don't remove
9269 ^, ~, and = characters: they are meaningful in mairix search specs.
9270 (mairix-widget-create-query): Add usage information about mairix
9271 search forms: negating words, searching for substrings, etc.
9273 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9275 * international/fontset.el (font-encoding-alist): Add an entry for
9278 2012-03-10 Richard Stallman <rms@gnu.org>
9280 * mail/sendmail.el (mail-encode-header):
9281 Set rfc2047-encode-encoded-words.
9283 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9285 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9286 view buffer means not swapped.
9287 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9288 (rmail-write-region-annotate): Error if real text has disappeared.
9290 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9292 2012-03-10 Chong Yidong <cyd@gnu.org>
9294 * emulation/cua-rect.el (cua--init-rectangles):
9295 * emulation/cua-base.el (cua--init-keymaps):
9296 Add delete-forward-char to remappings (Bug#9666).
9298 2012-03-10 Martin Rudalics <rudalics@gmx.at>
9300 * speedbar.el (speedbar-unhighlight-one-tag-line):
9301 Avoid unhighlighting due to frame switching (Bug#10275).
9303 2012-03-10 Chong Yidong <cyd@gnu.org>
9305 * minibuffer.el (completion-in-region, completion-help-at-point):
9306 Give the completion field overlay a high priority (Bug#6830).
9308 * dired.el (dired-goto-file): Recognize absolute file name
9309 listings (Bug#7126).
9310 (dired-goto-file-1): New helper function.
9311 (dired-toggle-read-only): Inhibit warnings.
9313 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
9315 * net/dbus.el (dbus-property-handler): Return empty array if
9316 there are no properties.
9318 2012-03-09 Leo Liu <sdl.web@gmail.com>
9320 * savehist.el (savehist-printable): Stricter check for string
9323 2012-03-09 Eli Zaretskii <eliz@gnu.org>
9325 * mail/smtpmail.el (smtpmail-send-it):
9326 Bind coding-system-for-write to *-unix, so that FCC files are kept in
9329 2012-03-09 Glenn Morris <rgm@gnu.org>
9331 * files.el (dir-locals-find-file):
9332 Don't check result is regular, readable.
9333 (dir-locals-read-from-file): Demote errors.
9335 2012-03-08 Eli Zaretskii <eliz@gnu.org>
9337 * international/quail.el (quail-insert-kbd-layout):
9338 Insert invisible LRM characters before each character in a keyboard
9339 layout cell, to prevent their reordering by bidi display engine.
9340 For details, see the discussion in
9341 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9343 2012-03-08 Alan Mackenzie <acm@muc.de>
9345 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9346 the starting position; make it extend the marked region when
9347 invoked repeatedly - all under appropriate circumstances.
9348 Fixes bugs #5525, #10906.
9350 2012-03-08 Glenn Morris <rgm@gnu.org>
9352 * files.el (locate-dominating-file, dir-locals-find-file):
9353 Undo 2012-03-06 change.
9355 2012-03-07 Eli Zaretskii <eliz@gnu.org>
9357 * international/quail.el (quail-help):
9358 Force bidi-paragraph-direction be left-to-right. See discussion in
9359 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9362 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
9364 Avoid superfluous registering of signals. (Bug#10807)
9366 * notifications.el (notifications-on-action-object)
9367 (notifications-on-close-object): New defvars.
9368 (notifications-on-action-signal, notifications-on-closed-signal):
9369 Unregister the signal if not needed any longer.
9370 (notifications-notify): Register `notifications-action-signal' or
9371 `notifications-closed-signal', if :on-action or :on-close has been
9374 2012-03-07 Chong Yidong <cyd@gnu.org>
9376 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9379 2012-03-06 Glenn Morris <rgm@gnu.org>
9381 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9382 (x-disown-selection-internal, x-get-selection-internal):
9383 Doc fix (add arglist signatures). (Bug#10783)
9385 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9387 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9388 Handle breakpoints with no "type".
9390 2012-03-06 Glenn Morris <rgm@gnu.org>
9392 * files.el (locate-dominating-file): Add optional predicate argument.
9393 (dir-locals-find-file): Make use of above change.
9395 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9397 * info.el (Info-insert-dir): Also try "dir.gz".
9399 2012-03-06 Glenn Morris <rgm@gnu.org>
9401 * files.el (dir-locals-find-file):
9402 Ignore non-readable or non-regular files. (Bug#10928)
9404 * files.el (locate-dominating-file): Doc fix.
9406 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9408 * calendar/calendar.el (calendar-set-mode-line):
9409 `getenv' returns a string. (Bug#10951)
9411 2012-03-05 Leo Liu <sdl.web@gmail.com>
9413 * simple.el (backward-delete-char-untabify): Constrain point to
9416 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9418 2012-03-05 Chong Yidong <cyd@gnu.org>
9420 * simple.el (count-words): If called from Lisp, return the word
9421 count, for symmetry with `count-lines'. Arglist changed.
9422 (count-words--message): Args changed. Consolidate counting code
9423 from count-words and count-words-region.
9424 (count-words-region): Caller changed.
9425 (count-lines-region): Make it an obsolete alias.
9427 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9429 * saveplace.el (save-place-to-alist)
9430 (save-place-ignore-files-regexp): Allow value nil to disable this
9433 2012-03-04 Chong Yidong <cyd@gnu.org>
9435 * faces.el (face-spec-reset-face): For the default face, reset the
9436 attributes to default values (Bug#10748).
9438 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9440 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9441 previous patch: Check `message-send-mail-function', and not the
9442 default function (bug#10897).
9444 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
9446 * notifications.el (notifications-on-action-signal)
9447 (notifications-on-closed-signal): Check for unique service name of
9448 incoming event. Fix error in removing entry.
9449 (top): Register for signals with wildcard service name.
9450 (notifications-notify): Use daemon unique service name for map entries.
9452 2012-03-04 Chong Yidong <cyd@gnu.org>
9454 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
9456 2012-03-04 Glenn Morris <rgm@gnu.org>
9458 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9459 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9460 (expand-abbrev, define-abbrev-table): Doc fixes.
9462 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9464 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9465 `message-default-send-mail-function' and not `send-mail-function'
9466 when doing the prompting for `sendmail-query-once' before sending
9467 in Message buffers (bug#10897).
9469 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9470 This is inconsistent with all the other stream functions, which leave
9471 the setting up to the higher levels (if so wanted) (bug#10931).
9473 2012-03-02 Alan Mackenzie <acm@muc.de>
9475 Depessimize the handling of very large macros.
9477 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9478 (c-macro-cache-syntactic): New variables to implement a one
9479 element macro cache.
9480 (c-invalidate-macro-cache): New function.
9481 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9482 Adapt to use the new cache.
9483 (c-state-safe-place): Use better the cache of safe positions.
9484 (c-state-semi-nonlit-pos-cache)
9485 (c-state-semi-nonlit-pos-cache-limit):
9486 New variables for...
9487 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9488 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
9489 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9490 Use c-state-semi-safe-place.
9492 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9493 Add c-invalidate-macro-cache to the C, C++, Obj entries.
9495 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
9497 * jka-compr.el (jka-compr-call-process):
9498 Apply `file-accessible-directory-p' only when the default directory is
9501 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
9503 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9504 access of FILE2, if FILE1 does not exist.
9506 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9507 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9509 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9510 Add "PAGER=" to `process-environment'.
9512 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9514 * progmodes/sql.el: Bug fix
9515 (sql-get-login-ext): Save login values in globals.
9516 (sql-get-login): Use new version of `sql-get-login-ext'.
9517 (sql-interactive-mode): Set global `sql-connection' to nil.
9518 (sql-connect): Set global values for connection.
9519 (sql-product-interactive): Save global values as buffer local.
9521 2012-02-29 Leo Liu <sdl.web@gmail.com>
9523 * abbrev.el (define-abbrevs): Reset sys to nil.
9525 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9527 * files.el (file-equal-p): Rename from `files-equal-p'.
9528 Return nil when one or both files don't exist.
9529 (file-subdir-of-p): Now only top directory must exists,
9530 return nil if it doesn't.
9531 (copy-directory): No need to test with `file-subdir-of-p' after
9533 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9536 2012-02-28 Glenn Morris <rgm@gnu.org>
9538 * shell.el (shell-mode):
9539 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9540 * play/landmark.el (landmark-font-lock-face-O):
9541 * play/handwrite.el (handwrite):
9542 * play/gomoku.el (gomoku-O):
9543 * net/browse-url.el (browse-url-browser-display):
9544 * international/mule.el (define-charset):
9545 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9546 * filesets.el (filesets-find-file-delay):
9547 * eshell/em-xtra.el (eshell-xtra):
9548 * eshell/em-unix.el (eshell-grep):
9549 * emulation/viper.el (viper-mode):
9550 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9551 * emacs-lisp/easymenu.el (easy-menu-define):
9552 * calendar/timeclock.el (timeclock-use-display-time):
9554 * bookmark.el (bookmark-save-flag):
9555 Doc fix (standardize possessive apostrophe usage).
9557 2012-02-27 Chong Yidong <cyd@gnu.org>
9559 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9560 Fix key-binding lookup for ESC key (Bug#9146).
9562 * font-lock.el (font-lock-specified-p): Rename from
9563 font-lock-spec-present. Callers changed.
9565 2012-02-27 Daniel Hackney <dan@haxney.org>
9567 * emacs-lisp/package.el (package-compute-transaction):
9568 Handle holding a package version to t in package-load-list.
9570 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
9572 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9573 (tramp-get-inode, tramp-get-device): Use cached values.
9575 2012-02-26 Alan Mackenzie <acm@muc.de>
9577 Check there is a font-lock specification before doing initial
9580 * font-core.el (font-lock-mode): Move the conditional from
9581 :after-hook to font-lock-initial-fontify.
9582 (font-lock-default-function): Move the check for a specification
9583 to font-lock-spec-present.
9585 * font-lock.el (font-lock-initial-fontify): Call ...
9586 (font-lock-spec-present): New function.
9588 2012-02-26 Jim Blandy <jimb@red-bean.com>
9590 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9591 (gdb-send): Apply it to the operand of the '-interpreter-exec
9592 console' command, so that we can pass arguments with (say) quotes
9593 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9595 2012-02-26 Chong Yidong <cyd@gnu.org>
9597 * help-fns.el (describe-function-1): Clarify description of
9598 remapping (Bug#10844).
9600 * files.el (files-equal-p): Doc fix.
9601 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9602 and quit the loop once a mismatch is found.
9604 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
9606 * bs.el (bs--show-with-configuration): Don't throw an error
9607 if the window cannot be split; otherwise, subsequent calls to
9608 bs-show fail, restoring a stale window config. (Bug#10882)
9610 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9612 * term/ns-win.el (global-map): Bind ns-drag-file to
9613 ns-find-file (Bug#5855, Bug#10050).
9615 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9617 * calendar/parse-time.el (parse-time-string): Allow extractor to
9620 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
9622 * net/tramp.el (tramp-file-name-for-operation):
9623 Add `files-equal-p' and `file-subdir-of-p'.
9625 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
9626 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9627 Add COPY-CONTENTS argument.
9629 2012-02-25 Chong Yidong <cyd@gnu.org>
9631 Add custom groups for VC backends, for consistency with vc-bzr.
9633 * vc/vc-arch.el (vc-arch):
9634 * vc/vc-cvs.el (vc-cvs):
9635 * vc/vc-git.el (vc-git):
9636 * vc/vc-hg.el (vc-hg):
9637 * vc/vc-mtn.el (vc-mtn):
9638 * vc/vc-rcs.el (vc-rcs):
9639 * vc/vc-sccs.el (vc-sccs):
9640 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9641 All relevant defcustoms reassigned.
9643 2012-02-25 Chong Yidong <cyd@gnu.org>
9645 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9647 * term/x-win.el (x-initialize-window-system): Reduce default for
9648 x-selection-timeout to 5 seconds (Bug#8869).
9650 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9652 * files.el (files-equal-p, file-subdir-of-p): New functions.
9653 (copy-directory): Error when trying to copy a directory on itself.
9654 Add missing copy-contents arg to tramp handler.
9655 * dired-aux.el (dired-copy-file-recursive): Same.
9656 (dired-create-files): Modify destination when source is equal to
9657 dest when copying files.
9658 Return also when dest is a subdir of source. (Bug#10489)
9660 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
9662 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9665 2012-02-23 Alan Mackenzie <acm@muc.de>
9667 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9668 parameter "after-hook:" to allow the expansion to run code after
9669 the execution of the mode hooks.
9671 * font-lock.el (font-lock-initial-fontify): New function extracted
9672 from font-lock-mode-internal.
9674 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
9677 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9679 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9680 (completion--cache-all-sorted-completions): New function.
9681 (completion-all-sorted-completions): Use it.
9682 (completion--do-completion, minibuffer-force-complete):
9683 Use it to re-instate the flush hook.
9685 * icomplete.el (icomplete-completions): Replace last fix with a better
9688 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9690 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9691 when it might call us back infinitely (bug#10797).
9693 2012-02-23 Glenn Morris <rgm@gnu.org>
9695 * minibuffer.el (completion-category-overrides): Doc fix.
9697 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9699 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9700 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9702 2012-02-23 Glenn Morris <rgm@gnu.org>
9704 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
9705 (authors-obsolete-files-regexps, authors-ignored-files)
9706 (authors-ambiguous-files, authors-renamed-files-alist):
9709 2012-02-23 Juri Linkov <juri@jurta.org>
9711 * isearch.el (isearch-occur): Sync interactive spec with occur's
9712 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9714 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9716 2012-02-22 Juri Linkov <juri@jurta.org>
9718 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9719 (ucs-insert): Doc fix. Check for hex digits in the string.
9720 Don't display `nil' in the error message. (Bug#10857)
9722 2012-02-22 Alan Mackenzie <acm@muc.de>
9724 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
9726 2012-02-22 Glenn Morris <rgm@gnu.org>
9728 * ffap.el (ffap-c-path):
9729 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9731 2012-02-22 Chong Yidong <cyd@gnu.org>
9733 * custom.el (load-theme): Doc fix.
9735 2012-02-22 Glenn Morris <rgm@gnu.org>
9737 * dired-x.el (dired-guess-shell-alist-default):
9738 Remove escape sequences from nroff output. (Bug#172)
9740 2012-02-21 Glenn Morris <rgm@gnu.org>
9742 * vc/emerge.el (emerge-defvar-local):
9743 Set `permanent-local' property rather than unused `preserved'.
9745 * textmodes/picture.el (picture-delete-char): New alias.
9746 (picture-mode-map): Use it. (Bug#10860)
9747 (picture-mode): Doc fix.
9749 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
9751 * newcomment.el (uncomment-region-default): Remove unused binding.
9753 2012-02-21 Glenn Morris <rgm@gnu.org>
9755 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9756 (picture-self-insert, picture-tab-chars): Doc fix.
9757 (picture-mode-map): Fix C-a, C-e.
9759 2012-02-20 Glenn Morris <rgm@gnu.org>
9761 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9763 2012-02-20 Leo Liu <sdl.web@gmail.com>
9765 * icomplete.el (icomplete-completions): Check FROM arg before
9766 passing to substring (Bug#10850).
9768 2012-02-19 Chong Yidong <cyd@gnu.org>
9770 * comint.el: Require ansi-color.
9771 (comint-output-filter-functions): Add ansi-color-process-output.
9773 * ansi-color.el: Don't set comint-output-filter-functions; it is
9774 now in the initial value defined in comint.el.
9775 (ansi-color-apply-face-function): New variable.
9776 (ansi-color-apply-on-region): Use it.
9777 (ansi-color-apply-overlay-face): New function.
9779 * shell.el (shell): No need to require ansi-color.
9780 (shell-mode): Use ansi-color-apply-face-function to highlight
9781 color escapes using font-lock-face property (Bug#10835).
9783 2012-02-19 Chong Yidong <cyd@gnu.org>
9785 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9786 mode-line formats (Bug#10839).
9788 2012-02-18 Glenn Morris <rgm@gnu.org>
9790 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9792 * mail/undigest.el (unforward-rmail-message): Doc fix.
9794 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9796 2012-02-18 Eli Zaretskii <eliz@gnu.org>
9798 * international/characters.el (script-list): Sync with the latest
9799 Unicode Character Database.
9801 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9803 * international/titdic-cnv.el: Remove duplicate coding tag.
9804 * language/cham.el: Likewise.
9805 * language/tai-viet.el: Likewise.
9807 2012-02-18 Glenn Morris <rgm@gnu.org>
9809 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9810 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9811 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9812 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9813 * calendar/holidays.el (holiday-bahai-holidays)
9814 (calendar-holidays, list-holidays):
9815 Use utf-8 Bahá'í in doc-strings, menus, etc.
9817 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9819 * saveplace.el (save-place-ignore-files-regexp): New variable
9820 allowing for excluding files from saving their location of point.
9821 The default value matches the temporary commit message editing
9822 files from Git, SVN, Bazaar, and Mercurial.
9823 (save-place-to-alist): Use it.
9825 2012-02-17 Lawrence Mitchell <wence@gmx.li>
9826 Stefan Monnier <monnier@iro.umontreal.ca>
9828 * newcomment.el (uncomment-region-default): Don't leave extra space
9829 when an arg is provided (bug#8150).
9831 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9833 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
9835 2012-02-17 Glenn Morris <rgm@gnu.org>
9837 * net/socks.el: Require network-stream. (Bug#10599)
9839 2012-02-17 Kenichi Handa <handa@m17n.org>
9841 * international/charprop.el:
9842 * international/uni-name.el:
9843 * international/uni-old-name.el:
9844 * international/uni-comment.el: Regenerate.
9846 2012-02-16 Glenn Morris <rgm@gnu.org>
9848 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9849 Interactively in calendar buffer, give an error if not on a date.
9851 2012-02-15 Glenn Morris <rgm@gnu.org>
9853 * shell.el (shell-delimiter-argument-list):
9854 Revert 2011-02-17 change. (Bug#8027)
9856 2012-02-15 Chong Yidong <cyd@gnu.org>
9858 * minibuffer.el (completion-at-point-functions): Doc fix.
9860 * custom.el (defcustom): Doc fix; note use of defvar.
9862 2012-02-15 Glenn Morris <rgm@gnu.org>
9864 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9867 2012-02-14 Glenn Morris <rgm@gnu.org>
9869 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9871 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9873 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9874 way the ports list is computed.
9875 (smtpmail-query-smtp-server): Prompt the user for a port number if
9876 we can't connect to any of the standard ports (bug#10810).
9878 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9880 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9882 2012-02-13 Glenn Morris <rgm@gnu.org>
9884 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9886 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9888 * net/gnutls.el (gnutls-trustfiles): New variable.
9889 (gnutls-negotiate): Use it.
9891 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9893 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9894 does its stuff if Gnus is running.
9896 2012-02-13 Alan Mackenzie <acm@muc.de>
9898 Fix a loop in c-set-fl-decl-start.
9900 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
9901 c-backward-syntactic-ws actually moves backwards.
9903 2012-02-13 Leo Liu <sdl.web@gmail.com>
9905 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9906 beginning so that all \C-o chars are removed.
9908 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9910 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
9912 2012-02-12 Alan Mackenzie <acm@muc.de>
9914 Fix infinite loop with long macros.
9915 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
9917 2012-02-12 Chong Yidong <cyd@gnu.org>
9919 * window.el (display-buffer): Doc fix (Bug#10785).
9921 2012-02-12 Glenn Morris <rgm@gnu.org>
9923 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9924 (x-disown-selection-internal, x-get-selection-internal):
9925 Sync docs with the xselect.c versions.
9927 * allout-widgets.el: Add missing license notice.
9929 2012-02-11 Glenn Morris <rgm@gnu.org>
9931 * select.el (x-get-selection-internal, x-own-selection-internal)
9932 (x-disown-selection-internal):
9933 * x-dnd.el (x-get-selection-internal): Update declarations.
9935 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9937 * window.el (window-sides-slots):
9938 * tool-bar.el (tool-bar-position):
9939 * term/xterm.el (xterm-extra-capabilities):
9940 * ses.el (ses-self-reference-early-detection):
9941 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9942 (verilog-auto-wire-type)
9943 (verilog-auto-delete-trailing-whitespace)
9944 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9945 (verilog-auto-tieoff-declaration):
9946 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9947 (sql-oracle-statement-starters, sql-oracle-scan-on):
9948 * progmodes/prolog.el (prolog-align-comments-flag)
9949 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9950 (prolog-left-indent-regexp, prolog-paren-indent-p)
9951 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9952 (prolog-types, prolog-mode-specificators)
9953 (prolog-determinism-specificators, prolog-directives)
9954 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9955 (prolog-electric-dot-flag)
9956 (prolog-electric-dot-full-predicate-template)
9957 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9958 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9959 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9960 (prolog-program-switches, prolog-prompt-regexp)
9961 (prolog-debug-on-string, prolog-debug-off-string)
9962 (prolog-trace-on-string, prolog-trace-off-string)
9963 (prolog-zip-on-string, prolog-zip-off-string)
9964 (prolog-use-standard-consult-compile-method-flag)
9965 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9966 (prolog-imenu-max-lines, prolog-info-predicate-index)
9967 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9968 (prolog-char-quote-workaround):
9969 * progmodes/cc-vars.el (c-defun-tactic):
9970 * net/tramp.el (tramp-encoding-command-interactive)
9971 (tramp-local-end-of-line):
9972 * net/soap-client.el (soap-client):
9973 * net/netrc.el (netrc-file):
9974 * net/gnutls.el (gnutls):
9975 * minibuffer.el (completion-category-overrides)
9976 (completion-cycle-threshold)
9977 (completion-pcm-complete-word-inserts-delimiters):
9978 * man.el (Man-name-local-regexp):
9979 * mail/feedmail.el (feedmail-display-full-frame):
9980 * international/characters.el (glyphless-char-display-control):
9981 * eshell/em-ls.el (eshell-ls-date-format):
9982 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9983 (lisp-lambda-list-keyword-parameter-indentation)
9984 (lisp-lambda-list-keyword-parameter-alignment):
9985 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9986 * dired-x.el (dired-omit-verbose):
9987 * cus-theme.el (custom-theme-allow-multiple-selections):
9988 * calc/calc.el (calc-highlight-selections-with-faces)
9989 (calc-lu-field-reference, calc-lu-power-reference)
9990 (calc-note-threshold):
9991 * battery.el (battery-mode-line-limit):
9992 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9993 (archive-7z-update):
9994 * allout.el (allout-prefixed-keybindings)
9995 (allout-unprefixed-keybindings)
9996 (allout-inhibit-auto-fill-on-headline)
9997 (allout-flattened-numbering-abbreviation):
9998 * allout-widgets.el (allout-widgets-auto-activation)
9999 (allout-widgets-icons-dark-subdir)
10000 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10001 (allout-widgets-theme-dark-background)
10002 (allout-widgets-theme-light-background)
10003 (allout-widgets-item-image-properties-emacs)
10004 (allout-widgets-item-image-properties-xemacs)
10005 (allout-widgets-run-unit-tests-on-load)
10006 (allout-widgets-time-decoration-activity)
10007 (allout-widgets-hook-error-post-time)
10008 (allout-widgets-track-decoration):
10009 Add missing :version tags to new defcustoms and defgroups.
10011 * progmodes/sql.el (sql-ansi-statement-starters)
10012 (sql-oracle-statement-starters): Add custom type.
10014 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10015 (prolog-system-version): Give it a type.
10017 2012-02-11 Eli Zaretskii <eliz@gnu.org>
10019 * term/pc-win.el (x-select-text, x-selection-owner-p)
10020 (x-own-selection-internal, x-disown-selection-internal)
10021 (x-get-selection-internal): Sync doc strings and argument lists
10022 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10024 2012-02-11 Leo Liu <sdl.web@gmail.com>
10026 * progmodes/python.el (python-end-of-statement): Fix infinite
10029 2012-02-10 Glenn Morris <rgm@gnu.org>
10031 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10032 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10034 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10036 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10037 about SMTP before checking the From header.
10039 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
10040 into own function for reuse by emacsbug.el.
10042 2012-02-10 Leo Liu <sdl.web@gmail.com>
10044 * subr.el (condition-case-unless-debug): Rename from
10045 condition-case-no-debug. All callers changed.
10046 (with-demoted-errors): Fix caller.
10048 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10049 * nxml/rng-valid.el (rng-do-some-validation):
10050 * emacs-lisp/package.el (package-refresh-contents)
10051 (package-menu-execute):
10052 * desktop.el (desktop-create-buffer):
10053 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
10055 2012-02-10 Glenn Morris <rgm@gnu.org>
10057 * textmodes/bibtex.el:
10058 Add missing :version tags for new/changed defcustoms.
10060 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10062 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
10064 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10065 (smtpmail-via-smtp): Use it, or fall back on the From address.
10066 (smtpmail-send-it): Ditto.
10068 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10070 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10071 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10072 (byte-compile-tmp-var): New const.
10073 (byte-compile-defvar): Use it to minimize .elc size.
10074 Just use `defvar' rather than simulate it (bug#10761).
10076 2012-02-09 Glenn Morris <rgm@gnu.org>
10078 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10080 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10083 * progmodes/compile.el (compilation-error-screen-columns)
10084 (compilation-first-column, compilation-filter-start): Doc fixes.
10086 * vc/log-view.el (log-view-toggle-entry-display):
10087 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10089 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10090 (report-emacs-bug-can-use-xdg-email):
10091 (report-emacs-bug-insert-to-mailer): Doc fixes.
10092 (report-emacs-bug): Message fix.
10094 * net/browse-url.el (browse-url-can-use-xdg-open)
10095 (browse-url-xdg-open): Doc fixes.
10097 * electric.el (electric-indent-mode, electric-pair-mode)
10098 (electric-layout-rules, electric-layout-mode): Doc fixes.
10099 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10101 2012-02-08 Martin Rudalics <rudalics@gmx.at>
10103 * server.el (server-unselect-display): Don't inadvertently kill
10104 the current buffer. (Bug#10729)
10106 2012-02-08 Glenn Morris <rgm@gnu.org>
10108 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10109 (sql-list-table): Doc fixes.
10111 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10112 Comment out (does nothing).
10114 * completion.el (dynamic-completion-mode):
10115 * dirtrack.el (dirtrack-debug-mode):
10116 * electric.el (electric-layout-mode):
10117 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10118 * face-remap.el (text-scale-mode, buffer-face-mode):
10119 * iimage.el (iimage-mode):
10120 * image-mode.el (image-transform-mode):
10121 * minibuffer.el (completion-in-region-mode):
10122 * scroll-lock.el (scroll-lock-mode):
10123 * simple.el (next-error-follow-minor-mode):
10124 * tar-mode.el (tar-subfile-mode):
10125 * tooltip.el (tooltip-mode):
10126 * vcursor.el (vcursor-use-vcursor-map):
10127 * wid-browse.el (widget-minor-mode):
10128 * emulation/tpu-edt.el (tpu-edt-mode):
10129 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10130 * international/iso-ascii.el (iso-ascii-mode):
10131 * language/thai-util.el (thai-word-mode):
10132 * mail/supercite.el (sc-minor-mode):
10133 * net/goto-addr.el (goto-address-mode):
10134 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10135 * progmodes/cwarn.el (cwarn-mode):
10136 * progmodes/flymake.el (flymake-mode):
10137 * progmodes/glasses.el (glasses-mode):
10138 * progmodes/hideshow.el (hs-minor-mode):
10139 * progmodes/pascal.el (pascal-outline-mode):
10140 * textmodes/enriched.el (enriched-mode):
10141 * vc/smerge-mode.el (smerge-mode):
10142 Doc fixes (minor mode argument).
10144 2012-02-07 Eli Zaretskii <eliz@gnu.org>
10146 * ls-lisp.el (ls-lisp-sanitize): New function.
10147 (ls-lisp-insert-directory): Use it to fix or remove any elements
10148 in file-alist with missing attributes. (Bug#4673)
10150 2012-02-07 Alan Mackenzie <acm@muc.de>
10152 Fix spurious recognition of c-in-knr-argdecl.
10154 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10155 putative K&R region.
10157 2012-02-07 Alan Mackenzie <acm@muc.de>
10159 * progmodes/cc-engine.el (c-forward-objc-directive):
10160 Prevent looping in "#pragma mark @implementation".
10162 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
10164 * notifications.el (notifications-on-closed-signal): Make `reason'
10165 optional. (Bug#10744)
10167 2012-02-07 Glenn Morris <rgm@gnu.org>
10169 * emacs-lisp/easy-mmode.el (define-minor-mode):
10170 Doc fixes for the macro and the mode it defines.
10172 * image.el (imagemagick-types-inhibit): Doc fix.
10174 * cus-start.el (imagemagick-render-type): Add it.
10176 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10178 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10179 Set the default at load time, too, so that `font-lock-fontify-buffer'
10180 can be called without setting up the entire mode first. This fixes
10181 a bug in `mm-inline-text' with C MIME parts.
10183 2012-02-06 Chong Yidong <cyd@gnu.org>
10185 * simple.el (list-processes--refresh): Delete exited processes
10188 * comint.el (comint-next-prompt): next-single-char-property-change
10189 and prev-single-char-property-change never return nil (Bug#8657).
10191 * custom.el (defcustom): Doc fix (Bug#9711).
10193 2012-02-05 Chong Yidong <cyd@gnu.org>
10195 * cus-edit.el (custom-variable-reset-backup): Quote the value
10196 before storing it in the customized-value property (Bug#6712).
10197 (custom-display): Add a customization type tag.
10198 (custom-buffer-create-internal): Improve tooltip message.
10200 * wid-edit.el (widget-field-value-get): New optional arg to
10201 suppress trailing whitespace truncation.
10202 (character): Use it (Bug#2689).
10204 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10206 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10207 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10209 2012-02-05 Chong Yidong <cyd@gnu.org>
10211 * cus-edit.el (custom-variable-value-create): For mismatched
10212 types, show the current value (Bug#7600).
10214 * custom.el (defcustom): Doc fix.
10216 2012-02-05 Glenn Morris <rgm@gnu.org>
10218 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10220 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
10222 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10223 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10224 (pp-last-sexp): Use `looking-at-p'.
10226 2012-02-04 Glenn Morris <rgm@gnu.org>
10228 * files.el (revert-buffer):
10229 Doc fix (mention revert-buffer-in-progress-p).
10231 * emacs-lisp/ert-x.el (ert-simulate-command):
10232 Check deferred-action-list (which is obsolete) is bound.
10234 * subr.el (with-wrapper-hook): Doc fixes.
10236 * simple.el (filter-buffer-substring-functions)
10237 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10239 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10241 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10242 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10244 2012-02-04 Leo Liu <sdl.web@gmail.com>
10246 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10248 2012-02-04 Glenn Morris <rgm@gnu.org>
10250 * image.el (image-extension-data): Add obsolete alias.
10252 * isearch.el (isearch-update): Doc fix.
10254 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10256 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10258 2012-02-03 Glenn Morris <rgm@gnu.org>
10260 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10261 (image-animate-timeout): Doc fix.
10263 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10265 2012-02-02 Glenn Morris <rgm@gnu.org>
10267 * server.el (server-auth-dir): Doc fix.
10268 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10270 * subr.el (run-mode-hooks): Doc fix.
10272 2012-02-02 Juri Linkov <juri@jurta.org>
10274 * image-mode.el (image-toggle-display-image): Remove tautological
10275 `major-mode' from the `derived-mode-p' test.
10277 2012-02-02 Kenichi Handa <handa@m17n.org>
10279 * composite.el (compose-region): Cancel previous change.
10281 2012-02-02 Kenichi Handa <handa@m17n.org>
10283 * composite.el (compose-region, compose-string): Signal error for
10284 a null string component (Bug#6988).
10286 2012-02-01 Chong Yidong <cyd@gnu.org>
10288 * view.el (view-buffer-other-window, view-buffer-other-frame):
10289 Handle special modes like view-buffer (Bug#10650).
10290 (view-buffer): Simplify.
10292 * frame.el (set-frame-font): Tweak meaning of third argument.
10294 * dynamic-setting.el (font-setting-change-default-font):
10295 Use set-frame-font (Bug#9982).
10297 2012-02-01 Glenn Morris <rgm@gnu.org>
10299 * progmodes/compile.el (compilation-internal-error-properties):
10300 Respect compilation-first-column in the "*compilation*" buffer.
10302 * emacs-lisp/easy-mmode.el (define-minor-mode):
10303 Relax :variable's test for a named function.
10305 2012-01-31 Alan Mackenzie <acm@muc.de>
10307 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10310 2012-01-31 Chong Yidong <cyd@gnu.org>
10312 * frame.el (set-frame-font): New arg ALL-FRAMES.
10314 * menu-bar.el (menu-set-font): Use set-frame-font.
10316 * faces.el (face-spec-reset-face): Don't apply unspecified
10317 attribute values to the default face.
10319 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
10321 * progmodes/cwarn.el (cwarn): Remove dead link.
10322 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10323 Remove * from defcustom docstrings.
10324 (turn-on-cwarn-mode): Make obsolete.
10325 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10326 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10328 2012-01-31 Glenn Morris <rgm@gnu.org>
10330 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
10331 Fix :variable handling of mode a symbol not equal to modefun.
10332 Allow named functions to be used as the cdr of :variable.
10334 2012-01-30 Glenn Morris <rgm@gnu.org>
10336 * emacs-lisp/authors.el (authors-fixed-entries):
10337 Remove reference to deleted file rnewspost.el.
10339 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
10341 * window.el (window-with-parameter): Remove unused variable `windows'.
10342 (window--side-check): Remove unused variable `code'.
10343 (window--resize-siblings): Remove unused variable `first'.
10344 (adjust-window-trailing-edge): Remove unused variable `failed'.
10345 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10346 Use `let', not `let*'.
10347 (balance-windows-2): Remove unused variable `found'.
10348 (window--state-put-2): Remove unused variable `splits'.
10349 (window-state-put): Remove unused variable `selected'.
10350 (same-window-p): Use `string-match-p'.
10351 (display-buffer-assq-regexp): Remove unused variable `value'.
10352 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10353 Mark argument ALIST as ignored.
10354 (pop-to-buffer): Remove unused variable `old-window'.
10356 2012-01-29 Eli Zaretskii <eliz@gnu.org>
10358 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10359 and .lzma compressed files.
10361 2012-01-29 Chong Yidong <cyd@gnu.org>
10363 * frame.el (window-system-default-frame-alist): Doc fix.
10365 * dynamic-setting.el (font-setting-change-default-font): Don't
10366 change the default face if SET-FONT argument is non-nil (Bug#9982).
10368 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10370 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10372 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
10374 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10375 breakpoints in files outside current directory (Bug#6098).
10377 2012-01-29 Chong Yidong <cyd@gnu.org>
10379 * progmodes/python.el: Require ansi-color at top-level.
10381 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10382 Define and use in Emacs Lisp mode (Bug#9360).
10383 (lisp-mode-abbrev-table): Add doc.
10384 (lisp-mode-variables): Don't set local-abbrev-table.
10385 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10387 2012-01-28 Roland Winkler <winkler@gnu.org>
10389 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10391 2012-01-28 Roland Winkler <winkler@gnu.org>
10393 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10394 (bibtex-set-dialect): Use it. Either set global values of
10395 dialect-dependent variables or bind these variables buffer-locally
10397 (bibtex-mode): Call bibtex-set-dialect via
10398 hack-local-variables-hook.
10399 (bibtex-dialect): Update docstring.
10400 Add safe-local-variable predicate.
10401 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10402 bibtex-set-dialect.
10403 (bibtex-mode-map): Define menu for each dialect.
10404 (bibtex-entry): Fix docstring.
10406 2012-01-28 Chong Yidong <cyd@gnu.org>
10408 * eshell/esh-arg.el (eshell-quote-argument): New function.
10410 * eshell/esh-ext.el (eshell-invoke-batch-file):
10411 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10412 first arg to eshell-parse-command (Bug#10523).
10414 2012-01-28 Drew Adams <drew.adams@oracle.com>
10416 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10417 `default-directory' is non-nil.
10419 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10421 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10422 line that displays system-configuration-options. (Bug#9924)
10424 2012-01-28 Drew Adams <drew.adams@oracle.com>
10426 * descr-text.el (describe-char): Show information about POS, in
10427 addition to information about the character at POS. Improve and
10428 update the doc string. Change "code point" to "code point in
10429 charset", to avoid confusion with the character's Unicode code
10430 point shown above that. (Bug#10129)
10432 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10434 * descr-text.el (describe-char): Show the raw character, not only
10435 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10436 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10439 2012-01-28 Phil Hagelberg <phil@hagelb.org>
10441 * emacs-lisp/package.el (package-install):
10442 Run package-refresh-contents if there is no archive yet (Bug#9798).
10444 2012-01-28 Chong Yidong <cyd@gnu.org>
10446 * emacs-lisp/package.el (package-maybe-load-descriptor):
10447 New function, split from package-maybe-load-descriptor.
10448 (package-maybe-load-descriptor): Use it.
10449 (package-download-transaction): Fully load required packages
10450 inside the loop, so that `require' calls work (Bug#10593).
10451 (package-install): No need to call package-initialize now.
10453 2012-01-28 Chong Yidong <cyd@gnu.org>
10455 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10457 * tooltip.el (tooltip-mode): Doc fix.
10458 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10460 * frame.el (set-cursor-color): Doc fix (Bug#352).
10462 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10463 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10465 * cus-edit.el (custom-buffer-create-internal): Fix search button
10466 action (Bug#10542).
10467 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
10469 2012-01-27 Eduard Wiebe <usenet@pusto.de>
10471 * dired.el (dired-mark-files-regexp):
10472 Include any subdirectory components. (Bug#10445)
10474 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10476 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10477 Handle [host]:port syntax. (Bug#10533)
10479 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
10481 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10483 2012-01-26 Glenn Morris <rgm@gnu.org>
10485 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10486 * term.el (term-raw-escape-map): Use Control-X-prefix.
10487 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10489 2012-01-25 Martin Rudalics <rudalics@gmx.at>
10491 * window.el (window-state-get, window--state-get-1): Don't deal
10492 with fixed-sizeness of windows. Simplify code.
10494 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10496 * window.el (window--state-get-1, window--state-put-2):
10497 Don't save and restore the mark.
10499 2012-01-25 Chong Yidong <cyd@gnu.org>
10501 * custom.el (custom-variable-p): Doc fix.
10503 2012-01-25 Glenn Morris <rgm@gnu.org>
10505 * dired.el (dired-goto-file): Handle some of the more common
10506 characters that `ls -b' escapes. (Bug#10596)
10508 * progmodes/compile.el (compilation-next-error-function):
10509 Respect compilation-first-column in the "*compilation*" buffer.
10510 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10512 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10514 2012-01-24 Glenn Morris <rgm@gnu.org>
10516 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10518 2012-01-24 Julien Danjou <julien@danjou.info>
10520 * color.el (color-rgb-to-hsl): Fix value computing.
10521 (color-hue-to-rgb): New function.
10522 (color-hsl-to-rgb): New function.
10523 (color-clamp, color-saturate-hsl, color-saturate-name)
10524 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10525 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10527 2012-01-24 Glenn Morris <rgm@gnu.org>
10529 * vc/vc-rcs.el (vc-rcs-create-tag):
10530 * vc/vc-sccs.el (vc-sccs-create-tag):
10531 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10533 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10535 * eshell/esh-util.el (eshell-read-hosts-file):
10536 Skip comment lines. (Bug#10549)
10538 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10540 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
10542 * subr.el (display-delayed-warnings): Doc fix.
10543 (collapse-delayed-warnings): New function to collapse identical
10545 (delayed-warnings-hook): Add it.
10547 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
10549 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10551 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10552 (tramp-default-user-alist): Don't add "pscp".
10553 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10554 property "login-as", if set. (Bug#10530)
10556 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
10558 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10559 "plink1" and "psftp". (Bug#10530)
10561 2012-01-21 Kenichi Handa <handa@m17n.org>
10563 * international/mule-cmds.el (prefer-coding-system): Show a
10564 warning message if the default value of file-name-coding-system
10567 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10569 * windmove.el (windmove-reference-loc):
10570 Fix windmove-reference-loc miscalculation.
10572 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10574 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10577 2012-01-21 Glenn Morris <rgm@gnu.org>
10579 * international/mule.el (auto-coding-alist): Add .tbz.
10581 * files.el (local-enable-local-variables): Doc fix.
10582 (inhibit-local-variables-regexps): Rename from
10583 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10584 Doc fix. Add some extensions from auto-coding-alist.
10585 (inhibit-local-variables-suffixes):
10586 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10587 (inhibit-local-variables-p):
10588 New function, extracted from set-auto-mode-1.
10589 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10590 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10591 (hack-local-variables): Doc fix. Make the mode-only case
10592 respect enable-local-variables and friends.
10593 Respect inhibit-local-variables-regexps for file-locals, but
10594 not for directory-locals.
10595 (set-visited-file-name):
10596 Take account of inhibit-local-variables-regexps.
10597 Whether it applies may change as the file name is changed.
10598 * jka-cmpr-hook.el (jka-compr-install):
10599 * jka-compr.el (jka-compr-uninstall):
10600 Update for inhibit-first-line-modes-suffixes name change.
10602 2012-01-20 Martin Rudalics <rudalics@gmx.at>
10604 * help-macro.el (make-help-screen): Temporarily restore original
10605 binding for minor-mode-map-alist (Bug#10454).
10607 2012-01-19 Julien Danjou <julien@danjou.info>
10609 * color.el (color-name-to-rgb): Use the white color to find the max
10610 color component value and return correctly computed values.
10611 (color-name-to-rgb): Add missing float conversion for max value.
10613 2012-01-19 Martin Rudalics <rudalics@gmx.at>
10615 * window.el (window--state-get-1, window-state-get): Do not use
10616 special state value for window-persistent-parameters.
10617 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
10618 (window--state-put-2): Reset all window parameters to nil before
10619 assigning values of persistent parameters.
10621 2012-01-18 Alan Mackenzie <acm@muc.de>
10623 Eliminate sluggishness and hangs in fontification of "semicolon
10626 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10627 Change value 10000 -> 3000.
10628 (c-state-safe-place): Reformulate so it doesn't stack up an
10629 infinite number of wrong entries in c-state-nonlit-pos-cache.
10630 (c-determine-limit-get-base, c-determine-limit): New functions to
10631 determine backward search limits disregarding literals.
10632 (c-find-decl-spots): Amend commenting.
10633 (c-cheap-inside-bracelist-p): New function which detects "={".
10635 * progmodes/cc-fonts.el
10636 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10638 (c-font-lock-declarations): Fix an occurrence of point being
10639 undefined. Check additionally for point being in a bracelist or
10640 near a macro invocation without a semicolon so as to avoid a
10641 fruitless time consuming search for a declarator. Give a more
10642 precise search limit for declarators using the new
10645 2012-01-18 Glenn Morris <rgm@gnu.org>
10647 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10648 (set-auto-mode): Doc fixes.
10650 2012-01-17 Glenn Morris <rgm@gnu.org>
10652 * isearch.el (search-nonincremental-instead): Fix doc typo.
10654 * dired.el (dired-insert-directory): Handle newlines in directory name.
10655 (dired-build-subdir-alist): Unescape newlines in directory name.
10657 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
10659 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10660 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10661 (tramp-action-terminal): Use it. (Bug#10530)
10663 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10665 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10667 2012-01-16 Martin Rudalics <rudalics@gmx.at>
10669 * window.el (window-state-ignored-parameters): Remove variable.
10670 (window--state-get-1): Rename argument MARKERS to IGNORE.
10671 Handle persistent window parameters. Make copy of clone-of
10672 parameter only if requested. (Bug#10348)
10673 (window--state-put-2): Install a window parameter only if it has
10674 a non-nil value or an existing parameter shall be overwritten.
10676 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
10678 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10680 2012-01-14 Eli Zaretskii <eliz@gnu.org>
10682 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10683 don't pass the (nil) value of `upnode' to string-match.
10685 2012-01-14 Chong Yidong <cyd@gnu.org>
10687 * startup.el (command-line): Fix X resource class for cursorColor.
10688 Fix values recognized by the cursorBlink resource.
10690 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10692 * epg.el (epg--make-temp-file): Avoid permission race condition
10693 when running on old Emacs versions (bug#10403).
10695 2012-01-14 Glenn Morris <rgm@gnu.org>
10697 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10699 2012-01-13 Alan Mackenzie <acm@muc.de>
10701 Fix filling for when filladapt mode is enabled.
10703 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10704 c-mask-paragraph, pass in `fill-paragraph' rather than
10705 `fill-region-as-paragraph'. (This is a reversion of a previous
10707 * progmodes/cc-mode.el (c-basic-common-init):
10708 Make fill-paragraph-handle-comment buffer local and set it to nil.
10710 2012-01-13 Glenn Morris <rgm@gnu.org>
10712 * dired.el (dired-switches-escape-p): New function.
10713 (dired-insert-directory): Use dired-switches-escape-p.
10714 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10716 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10718 2012-01-12 Glenn Morris <rgm@gnu.org>
10720 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10721 changes in adaptive-fill-regexp. (Bug#10276)
10723 2012-01-11 Alan Mackenzie <acm@muc.de>
10725 Fix Emacs bug #10463 - put `widen's around the critical spots.
10727 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
10728 widen around each invocation of c-state-pp-to-literal. Remove an
10729 unused let variable.
10731 2012-01-11 Glenn Morris <rgm@gnu.org>
10733 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
10736 2012-01-10 Chong Yidong <cyd@gnu.org>
10738 * net/network-stream.el (network-stream-open-starttls):
10739 Avoid emitting a confusing error message when the server gives a bad
10740 response to the capability command.
10742 2012-01-10 Glenn Morris <rgm@gnu.org>
10744 * mail/unrmail.el (unrmail): Tweak previous change.
10746 2012-01-09 Chong Yidong <cyd@gnu.org>
10748 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10750 2012-01-08 Alan Mackenzie <acm@muc.de>
10752 Optimise font locking in long enum definitions.
10754 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10755 arm to a cond form to handle enums.
10756 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10757 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10759 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
10761 * files.el (move-file-to-trash): Preserve default file modes on error.
10764 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10766 * faces.el (set-face-attribute): Clarify the meaning of the nil
10769 * subr.el (with-selected-frame): Mention that the selected frame
10770 is restored (bug#9980).
10772 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10775 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
10776 (password-read): Don't autoload unused function.
10778 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
10780 * progmodes/which-func.el (which-func-mode): Turn into a
10781 non-interactive function and mark as obsolete (bug#10428).
10783 2012-01-06 Chong Yidong <cyd@gnu.org>
10785 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10786 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10787 functions, along with 1 and -1.
10789 2012-01-06 Eli Zaretskii <eliz@gnu.org>
10791 * time.el (display-time-load-average)
10792 (display-time-default-load-average): Doc fixes. See the thread
10794 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10797 2012-01-06 Glenn Morris <rgm@gnu.org>
10799 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10800 has no messages. (Bug#10377)
10802 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10803 than Info-edit. (Bug#10385)
10805 * time.el (display-time-load-average, display-time-next-load-average):
10808 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10809 local setting of buffer-read-only to the input buffer. (Bug#10419)
10811 * calendar/calendar.el (calendar-mode):
10812 Locally set scroll-margin to 0. (Bug#10379)
10814 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
10816 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10818 2012-01-05 Glenn Morris <rgm@gnu.org>
10820 * eshell/em-unix.el (diff-no-select): Autoload it.
10821 (eshell/diff): Use diff-no-select. (Bug#10420)
10823 2012-01-05 Chong Yidong <cyd@gnu.org>
10825 * shell.el (shell-dynamic-complete-functions): Revert last change.
10826 (shell-command-completion-function): New function.
10827 (shell-completion-vars): Use it to implement
10828 shell-completion-execonly (Bug#10417).
10830 * custom.el (enable-theme): Don't set custom-safe-themes.
10832 * cus-theme.el (custom-theme-merge-theme):
10833 Ignore custom-enabled-themes and custom-safe-themes.
10835 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10837 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10838 first prompt in `sql-interacive-mode'.
10839 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
10841 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
10842 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10843 context of original buffer. Invoke `sql-login-hook'.
10845 2012-01-04 Eli Zaretskii <eliz@gnu.org>
10847 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10848 letters in cite-prefix.
10850 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10852 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10854 2012-01-03 Chong Yidong <cyd@gnu.org>
10856 * shell.el (shell-dynamic-complete-functions):
10857 Put pcomplete-completions-at-point, so as to try
10858 comint-filename-completion first (Bug#10417).
10860 2012-01-02 Richard Stallman <rms@gnu.org>
10862 * battery.el (battery-status-function):
10863 Detect when to use battery-yeeloong-sysfs.
10864 (battery-echo-area-format): Add string for Yeeloong.
10865 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10866 (battery-yeeloong-sysfs): New function.
10868 2012-01-02 Chong Yidong <cyd@gnu.org>
10870 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10871 (dirtrack): Merge code for handling relative filenames in prompt
10872 from shell-dir-cookie-watcher.
10873 (dirtrack-debug-message): New arg to avoid excess format calls.
10875 * shell.el (shell-dir-cookie-re): Variable deleted.
10876 (shell-dir-cookie-watcher): Function deleted.
10877 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10878 with dirtrack-mode.
10880 2012-01-01 Eli Zaretskii <eliz@gnu.org>
10882 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10883 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
10886 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10888 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10890 2011-12-31 Eli Zaretskii <eliz@gnu.org>
10892 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10893 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10895 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
10897 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10898 also for alternative shells.
10899 (tramp-open-connection-setup-interactive-shell): Check, whether
10900 the shell is a busybox.
10901 (tramp-send-command): Don't suppress multiple prompts for
10902 busyboxes, it hurts.
10904 2011-12-28 Chong Yidong <cyd@gnu.org>
10906 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10907 (gdb-get-source-file): Move mode line update to
10908 gdb-get-source-file (Bug#10087).
10910 2011-12-25 Chong Yidong <cyd@gnu.org>
10912 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10913 gud-gdb-marker-filter without taking it as an argument.
10914 (gud-gdb-run-command-fetch-lines): Caller changed.
10915 (gud-gdb-completion-function): New variable.
10916 (gud-gdb-completion-at-point): Use it.
10917 (gud-gdb-completions-1): Split from gud-gdb-completions.
10919 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10920 function as separate arguments.
10921 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10922 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10923 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10924 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10925 (gdb-stopped, def-gdb-auto-update-trigger)
10926 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
10927 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10929 (gud-gdbmi-completions): New function.
10930 (gdb): Use it for generating the completion table.
10932 2011-12-24 Alan Mackenzie <acm@muc.de>
10934 Introduce a mechanism to widen the region used in context font
10935 locking. Use this to protect declarations from losing their contexts.
10937 * progmodes/cc-langs.el (c-before-font-lock-functions):
10938 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
10939 (c-before-context-fontification-functions): New defvar, a list of
10940 functions to be run just before context (etc.) font locking.
10942 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
10943 New, functionality extracted from
10944 c-neutralize-syntax-in-and-mark-CPP.
10945 (c-in-after-change-fontification): New variable.
10946 (c-after-change): Set c-in-after-change-fontification.
10947 (c-set-fl-decl-start): Rejig its interface, so it can be called
10948 from both after-change and context fontifying.
10949 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10951 (c-standard-font-lock-fontify-region-function): New variable.
10952 (c-font-lock-fontify-region): New function.
10954 2011-12-24 Juri Linkov <juri@jurta.org>
10956 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10959 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
10961 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10962 existence of source file. (Bug#10325)
10964 2011-12-23 Alan Mackenzie <acm@muc.de>
10966 Fix unstable fontification inside templates.
10968 * progmodes/cc-langs.el (c-before-font-lock-functions):
10969 Newly created from the singular version. The (c c++ objc) entry now
10970 additionally has c-set-fl-decl-start. The other languages (apart
10971 from AWK) have that as a single entry.
10973 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10974 The functionality for "local" declarations has been extracted to
10975 c-set-fl-decl-start.
10977 * progmodes/cc-mode.el (c-common-init, c-after-change):
10978 Changes due to pluralisation of c-before-font-lock-functions.
10979 (c-set-fl-decl-start): New function, extracted from
10980 c-font-lock-enclosing-decls and enhanced.
10982 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
10984 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10986 2011-12-22 Juri Linkov <juri@jurta.org>
10988 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10990 2011-12-22 Chong Yidong <cyd@gnu.org>
10992 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10994 2011-12-21 Drew Adams <drew.adams@oracle.com>
10996 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10998 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11000 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11002 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11004 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11005 highlighting and support. Fix up comments for capitalization.
11006 (cfengine-mode-debug): New var.
11007 (cfengine3-mode): Change the modeline indicator to "CFE3".
11008 (cfengine3-font-lock-keywords): Improve defun highlighting.
11009 (cfengine2-actions): Rename from `cfengine-actions'.
11010 (cfengine2-font-lock-keywords): Rename from
11011 `cfengine-font-lock-keywords'.
11012 (cfengine2-imenu-expression): Rename from
11013 `cfengine-imenu-expression'.
11014 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11015 (cfengine2-beginning-of-defun): Rename from
11016 `cfengine-beginning-of-defun'.
11017 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11018 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11019 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11020 modeline indicator to "CFE2".
11021 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11022 (cfengine-mode-abbrevs): Mark obsolete.
11024 2011-12-21 Chong Yidong <cyd@gnu.org>
11026 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11029 2011-12-20 Martin Rudalics <rudalics@gmx.at>
11031 * window.el (window-normalize-buffer-to-display): Remove.
11032 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11034 2011-12-19 Chong Yidong <cyd@gnu.org>
11036 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11037 Don't signal an error in a predicate function; return non-nil.
11038 (vc-dir-mark-file): Move the error here.
11039 (vc-dir-mark-unmark): If acting on the region, keep going if one
11040 of the entries cannot be marked/unmarked.
11041 (vc-dir-mark-all-files): If current entry is a directory, mark
11042 only child files, as documented.
11044 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11046 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11047 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11050 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11052 * term/ns-win.el (ns-get-selection-internal)
11053 (ns-store-selection-internal): Declare.
11054 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11055 Declare as obsolete.
11056 (ns-get-pasteboard, ns-paste-secondary):
11057 Use ns-get-selection-internal.
11058 (ns-set-pasteboard, ns-copy-including-secondary):
11059 Use ns-store-selection-internal.
11061 2011-12-17 Chong Yidong <cyd@gnu.org>
11063 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
11064 (vc-deduce-fileset): Doc fix.
11066 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11068 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11070 2011-12-13 Sam Steingold <sds@gnu.org>
11072 * man.el (Man-getpage-in-background): When running under a
11073 window-system, ignore $MANWIDTH and $COLUMNS.
11075 2011-12-15 Kenichi Handa <handa@m17n.org>
11077 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11078 (setup-ethiopic-environment-internal): Comment out key-binding for
11079 ethio-toggle-punctuation.
11081 2011-12-13 Alan Mackenzie <acm@muc.de>
11083 Add the switch statement to AWK Mode.
11085 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
11086 "default" to the keywords regexp.
11088 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
11089 expression as the rest.
11090 (c-nonlabel-token-key): Allow string literals for AWK.
11091 Refactor for the other modes.
11093 Large brace-block initialisation makes CC Mode slow: Fix.
11094 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
11095 routines. Limit backward searching in c-font-lock-enclosing.decl.
11097 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11098 pp-state and literal type in addition to the limits.
11099 (c-state-safe-place): New defun, extracted from c-state-literal-at.
11100 (c-state-literal-at): Use the above new defun.
11101 (c-slow-in-literal, c-fast-in-literal): Remove.
11102 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
11104 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11105 being in a literal. Add a limit for backward searching.
11107 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11110 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11112 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11114 2011-12-13 Martin Rudalics <rudalics@gmx.at>
11116 * window.el (delete-other-windows): Use correct frame in call to
11117 window-with-parameter.
11119 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11121 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11122 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11123 (makefile-gmake-statements, makefile-makepp-statements):
11124 Use it and add new makepp keywords.
11125 (makefile-makepp-font-lock-keywords): Add new patterns.
11126 (makefile-match-function-end): Match new [...] and [[...]].
11128 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
11130 * ses.el (ses-call-printer-return, ses-cell-property-get)
11131 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11132 (ses-create-cell-variable, ses-reset-header-string)
11133 (ses-cell-set-formula, ses-repair-cell-reference-all)
11134 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11135 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11136 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11137 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11138 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11139 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11140 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11141 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11142 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11143 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11144 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11145 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11147 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11149 * ses.el: The overall change is to add cell renaming, that is
11150 setting fancy names for cell symbols other than name matching
11151 "\\`[A-Z]+[0-9]+\\'" regexp .
11152 (ses-create-cell-variable): New defun.
11153 (ses-relocate-formula): Relocate formulas only for cells the
11154 symbols of which are not renamed, i.e. symbols whose names do not
11155 match regexp "\\`[A-Z]+[0-9]+\\'".
11156 (ses-relocate-all): Relocate values only for cells the symbols of
11157 which are not renamed.
11158 (ses-load): Create cells variables as the (ses-cell ...) are read,
11159 in order to check row col consistency with cell symbol name only
11160 for cells that are not renamed.
11161 (ses-replace-name-in-formula): New defun.
11162 (ses-rename-cell): New defun.
11164 2011-12-11 Chong Yidong <cyd@gnu.org>
11166 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11167 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11169 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11171 * window.el (other-window): Fix docstring.
11173 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11175 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
11176 `from' or `to' address before taking its substring.
11177 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
11178 encoded name is chopped in the middle of the encoded string, and
11179 thus displayed encoded.
11181 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
11183 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11185 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11187 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11188 to use texinfo-update-node and commands that call it if the
11189 Texinfo file uses @node lines without next/prev/up pointers.
11190 Correct outdated description about texinfo-master-menu.
11191 (texinfo-all-menus-update, texinfo-master-menu)
11192 (texinfo-update-node, texinfo-every-node-update)
11193 (texinfo-multiple-files-update): Doc fix. Warn against updating
11194 all the @node lines.
11195 (texinfo-master-menu): Only call texinfo-update-node if the prefix
11196 argument is numeric. Explain better in the doc string what the
11197 function really does.
11198 (texinfo-insert-master-menu-list): Improve the error message
11199 displayed if there's no menu in the Top node.
11200 (Bug#2975) See also this thread:
11201 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11203 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11205 * speedbar.el (speedbar-supported-extension-expressions):
11206 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11208 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
11210 * printing.el (pr-mode-alist):
11211 * simple.el (filter-buffer-substring-functions)
11212 (completion-list-insert-choice-function):
11213 * window.el (window-with-parameter, window-atom-root)
11214 (window-sides-slots, window-size-fixed, window-min-delta)
11215 (window-max-delta, window--resize-mini-window)
11216 (window--resize-child-windows-normal, window-tree)
11217 (delete-other-windows, quit-window, split-window)
11218 (display-buffer-record-window, special-display-buffer-names)
11219 (special-display-regexps, special-display-popup-frame)
11220 (same-window-p, split-window-sensibly)
11221 (display-buffer-overriding-action, display-buffer-alist)
11222 (display-buffer-base-action, display-buffer, switch-to-buffer)
11223 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11224 (fit-window-to-buffer, recenter-positions)
11225 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11226 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11227 and remove unneeded backslashes in docstrings.
11229 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11231 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11233 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11234 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11236 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11237 when reading the makefile (bug#10116).
11239 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11241 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11244 2011-12-06 Glenn Morris <rgm@gnu.org>
11246 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11248 2011-12-06 Chong Yidong <cyd@gnu.org>
11250 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11252 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
11254 * textmodes/table.el (table-shorten-cell): Fix typo.
11256 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11258 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11260 2011-12-05 Eli Zaretskii <eliz@gnu.org>
11262 * descr-text.el (describe-char): Fix display of strong
11263 right-to-left characters and directional embeddings and overrides.
11265 * simple.el (what-cursor-position): Fix display of codepoints of
11266 strong right-to-left characters.
11268 2011-12-05 Chong Yidong <cyd@gnu.org>
11270 * faces.el (read-color): Doc fix.
11272 2011-12-05 Glenn Morris <rgm@gnu.org>
11274 * align.el (align--set-marker): Add doc-string.
11275 Don't try to move something that is not a marker. (Bug#10216)
11277 2011-12-04 Glenn Morris <rgm@gnu.org>
11279 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11280 overly zealous deletion of trailing whitespace.
11282 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
11284 * server.el (server-delete-client): On Windows, do not try to delete
11286 (server-process-filter): On Windows, treat requests for a tty frame as
11287 if they were for a GUI frame if the running server is in GUI mode.
11289 2011-12-03 Glenn Morris <rgm@gnu.org>
11291 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11293 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11295 * electric.el: Streamline electric-indent's hook.
11296 (electric-indent-chars): Revert to simple list.
11297 (electric-indent-functions): New var.
11298 (electric-indent-post-self-insert-function): Use it.
11300 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11301 there's no inferior buffer (bug#10196).
11302 (prolog-consult-compile): Don't use toggle-read-only.
11304 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
11306 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11307 interrupt. (Bug#10187)
11309 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11311 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11314 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11317 2011-12-02 Juri Linkov <juri@jurta.org>
11319 * info.el (Info-search): Display "end of manual" when Isearch
11320 reaches the end of single-file Info manual. (Bug#9918)
11322 2011-12-02 Eli Zaretskii <eliz@gnu.org>
11324 * isearch.el (isearch-message-prefix): Run the input method part
11325 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11327 2011-12-02 Juri Linkov <juri@jurta.org>
11329 * isearch.el (isearch-occur): Use `word-search-regexp' for
11331 (isearch-search-and-update): Add condition for `isearch-word' and
11332 call `word-search-regexp'. (Bug#10145)
11334 2011-12-01 Glenn Morris <rgm@gnu.org>
11336 * eshell/em-hist.el (eshell-hist-initialize):
11337 Handle eshell-history-size nil and HISTSIZE set or unset.
11338 (eshell-history-file-name, eshell-history-size): Fix custom type.
11340 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11342 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11344 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
11346 * progmodes/verilog-mode.el (verilog-pretty-expr):
11347 Rework verilog-pretty-expr to handle new assignment operators in system
11348 verilog, such as += *= and the like.
11349 (verilog-assignment-operator-re): Regular expression to find the
11350 assigment operator in a verilog assignment.
11351 (verilog-assignment-operation-re): Regular expression to find an
11352 assignment statement for pretty-expr.
11353 (verilog-in-attribute-p): Query returns true if point is in an
11354 attribute context; used to skip these for expression line up from
11356 (verilog-in-parameter-p): Query returns true if point is in an
11357 parameter definition context; used to skip these for expression
11358 line up from pretty-expr.
11359 (verilog-in-parenthesis-p): Query returns true if point is in a
11360 parenthetical expression, specifically ( ) but not [ ] or { };
11361 used by pretty-expr.
11362 (verilog-just-one-space): If there is no space, don't add one.
11363 (verilog-get-lineup-indent-2): Specifically skip just attribute
11364 contexts for expression lineup, rather than skipping all
11365 parenthetical expressions.
11366 (verilog-calculate-indent): Fix comment, and fix indent.
11367 (verilog-do-indent): Indent declarations in lists (suggested by
11369 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11371 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11374 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
11376 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11377 parameters with embedded comments. Reported by Ray Stevens.
11378 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11379 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11380 Reported by Tim Holt.
11381 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11382 instantiated by upper module causing wrong expansion until AUTOed a
11383 second time. Reported by K C Buckenmaier.
11384 (verilog-diff-auto): Fix showing .* as a difference when
11385 `verilog-auto-star-save' off. Reported by Dan Dever.
11386 (verilog-auto-reset, verilog-read-always-signals)
11387 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11388 temporary signals in reset list if
11389 verilog-auto-reset-blocking-in-non is nil, and match assignment
11390 style to each signal's assignment type, bug381.
11391 Reported by Thomas Esposito.
11392 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11393 (verilog-uvm-statement-re): Support UVM indentation and
11394 highlighting, with old OVM keywords only.
11395 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
11396 Support AUTOTIEOFF creating non-wire data types.
11397 Suggested by Jonathan Greenlaw.
11398 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11399 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11400 (verilog-inject-sense, verilog-read-inst-pins)
11401 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11402 Fix mismatching parenthesis inside commented out code when deleting
11403 AUTOINST, bug383. Reported by Jonathan Greenlaw.
11404 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11405 non-numeric vector width. Reported by Alex Reed.
11406 (verilog-auto-ascii-enum): Add "onehot" option to work around not
11407 detecting signals with parameter widths. Reported by Alex Reed.
11408 (verilog-auto-delete-trailing-whitespace):
11409 With `verilog-auto-delete-trailing-whitespace' remove trailing
11410 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11411 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11412 Fix verilog-scan-cache corruption when running user AUTO expansion
11413 hooks that call indentation routines.
11414 (verilog-simplify-range-expression): Fix typo ignoring lower case
11416 (verilog-delete-auto): Fix delete-autos to also remove user created
11417 automatics, as long as they start with AUTO.
11418 (verilog-batch-diff-auto, verilog-diff-auto)
11419 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11420 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11421 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11422 (verilog-in-paren-quick, verilog-re-search-backward-quick)
11423 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11424 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
11425 is disabled and its cache will get corrupt, causing AUTOS not to
11426 expand. Instead use only -quick functions.
11427 (verilog-scan-region): Fix scanning over escaped quotes.
11428 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11429 (verilog-re-search-backward-quick)
11430 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11431 related functions now ignore strings, to fix misparsing of strings
11432 with magic comments embedded in them.
11433 (verilog-read-auto-template):
11434 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11435 Reported by Brad Dobbie.
11436 (verilog-read-auto-template):
11437 Fix 'verilog-auto-inst-template-numbers' with comments.
11438 Reported by Brad Dobbie.
11439 (verilog-auto-inst, verilog-auto-inst-param)
11440 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11441 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11442 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
11443 debugging templates without merge conflicts, bug357.
11444 Reported by Brad Dobbie.
11445 (verilog-read-auto-template):
11446 Fix verilog-auto-inst-template-numbers with multiple templates.
11447 Reported by Brad Dobbie.
11448 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11449 abbrevs so user won't be asked to save.
11450 (verilog-read-auto-lisp-present): Fix to start at beginning of
11451 buffer in case called outside of verilog-auto.
11452 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11453 to "X-2". Reported by Matthew Myers.
11454 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11455 all inputs from module templates. Reported by Leith Johnson.
11456 (verilog-module-inside-filename-p): Fix locating programs as with
11458 (verilog-auto-inst-port): Fix vl-width expressions when using
11459 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11460 (verilog-decls-get-regs, verilog-decls-get-signals,
11461 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11462 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11463 verilog-read-decls): Combine reg and wire structures into one var
11464 structure to represent SystemVerilog concepts.
11465 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11466 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
11467 (verilog-auto-wire-type, verilog-insert-definition):
11468 Add verilog-auto-wire-type and AUTOLOGIC to support using
11469 SystemVerilog "logic" keyword instead of "wire"/"reg".
11470 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11471 to declares outputs that also have assignments (presumably in an
11472 ifdef or generate if so there's not a driver conflict).
11473 Reported by Matthew Myers.
11474 (verilog-auto-declare-nettype, verilog-insert-definition):
11475 Add verilog-auto-declare-nettype to fix declarations using
11476 `default_nettype none. Reported by Julian Gorfajn.
11477 (verilog-read-always-signals-recurse, verilog-read-decls)
11478 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11479 malformed end statement, bug325. Reported by Joshua Wise and
11481 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11482 (verilog-inst-comment-re): Fix not deleting Interfaced comment
11483 when expanding .* in interfaces, bug320.
11484 Reported by Pierre-David Pfister.
11485 (verilog-read-module-name): Fix import statements between module
11486 name and open parenthesis, bug317.
11487 Reported by Pierre-David Pfister.
11488 (verilog-simplify-range-expression): Fix simplification of
11489 multiplications inside AUTOWIRE connections, bug303.
11490 (verilog-auto-inst-port): Support parameter expansion in
11491 multidimensional arrays.
11492 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11493 after "assert property". Reported by Julian Gorfajn.
11494 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11495 with multiplication, bug303.
11496 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11497 Reported by Jan Frode Lonnum.
11499 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
11501 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11502 (hfy-shell-file-name, hfy-shell):
11503 * international/fontset.el (x-decompose-font-name): Fix typos.
11505 2011-11-29 Ken Brown <kbrown@cornell.edu>
11507 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11508 (gdb-version): Remove defvar.
11509 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11510 (gdb-gud-context-command, gdb-non-stop-handler)
11511 (gdb-current-context-command, gdb-stopped): Use it.
11512 (gdb-init-1): Enable pretty printing here.
11513 (gdb-non-stop-handler): Don't enable pretty-printing here.
11514 Check to see if the target supports non-stop mode; if not, turn off
11515 non-stop mode. Use the following.
11516 (gdb-check-target-async): New defun.
11517 (gud-watch, gdb-stopped): Fix whitespace.
11518 (gdb-get-source-file): Don't try to display the source file if
11519 `gdb-main-file' is nil.
11521 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11523 * align.el: Try to generate fewer markers (bug#10047).
11524 (align--set-marker): New macro.
11525 (align-region): Use it.
11527 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11529 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11531 2011-11-29 Chong Yidong <cyd@gnu.org>
11533 * indent.el (indent-for-tab-command, indent-according-to-mode):
11535 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11537 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
11539 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11540 aware of remote file names. (Bug#10124)
11542 2011-11-29 Chong Yidong <cyd@gnu.org>
11544 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11546 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11548 * files.el (find-file): Don't use force-same-window (bug#10144).
11549 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11550 use pop-to-buffer if the selected window can't be used.
11551 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11553 2011-11-28 Eli Zaretskii <eliz@gnu.org>
11555 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11558 2011-11-28 Chong Yidong <cyd@gnu.org>
11560 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11562 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
11564 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11565 gdb-get-source-file-list on gdb-create-source-file-list.
11567 2011-11-26 Eli Zaretskii <eliz@gnu.org>
11569 * whitespace.el (whitespace-newline): Use a different foreground
11570 color for 16-color light-background displays.
11572 2011-11-24 Chong Yidong <cyd@gnu.org>
11574 * window.el (display-buffer--special-action): Doc fix.
11576 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
11578 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11579 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11580 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11581 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11582 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11583 (avl-tree-stack-first):
11584 * emacs-lisp/cconv.el (cconv--analyse-use):
11585 * net/gnutls.el (gnutls-negotiate): Fix typos.
11587 2011-11-24 Glenn Morris <rgm@gnu.org>
11589 * lpr.el (lpr-windows-system, lpr-lp-system):
11590 * mail/binhex.el (binhex-begin-line):
11591 * progmodes/grep.el (grep-history, grep-find-history):
11592 * textmodes/flyspell.el:
11593 * vc/pcvs-defs.el (cvs-global-menu):
11594 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11595 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11596 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11598 * net/tls.el: Fix case of "GnuTLS".
11600 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11602 * version.el (emacs-build-system): Give it a doc-string.
11604 2011-11-24 Juri Linkov <juri@jurta.org>
11606 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11608 2011-11-24 Glenn Morris <rgm@gnu.org>
11610 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11611 if called on a non-mime message just toggle the headers. (Bug#8006)
11613 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
11615 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11616 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11617 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11618 (allout-rebullet-heading, allout-open-sibtopic)
11619 (allout-toggle-current-subtree-encryption)
11620 (allout-toggle-subtree-encryption, allout-encrypt-string)
11621 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11622 (allout-distinctive-bullets-string, allout-auto-activation):
11623 * window.el (window-normalize-buffer-to-display):
11624 * progmodes/verilog-mode.el (verilog-batch-indent):
11625 * textmodes/bibtex.el (bibtex-field-braces-opt)
11626 (bibtex-field-strings-opt):
11627 * vc/cvs-status.el (cvs-tree-merge):
11630 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
11632 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11633 `non-essential' to t, in order to avoid remote connections.
11635 2011-11-23 Eli Zaretskii <eliz@gnu.org>
11637 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11638 On MS-DOS and MS-Windows, compare with loaddefs.el
11639 case-insensitively.
11641 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11643 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11645 2011-11-23 Glenn Morris <rgm@gnu.org>
11647 * paths.el (rmail-file-name): Reformat the doc-string so that it
11650 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11651 (rmail-auto-file): Ignore case in the "special" field names,
11652 as mail-fetch-field does for all others.
11654 * mail/rmail.el (rmail-forward):
11655 * mail/rmailkwd.el (rmail-set-label):
11656 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11657 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11659 * mail/rmail.el (rmail-current-message): Doc fix.
11661 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11663 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11665 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11667 2011-11-22 Glenn Morris <rgm@gnu.org>
11669 * mail/rmailmm.el (test-rmail-mime-handler)
11670 (test-rmail-mime-bulk-handler)
11671 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11673 2011-11-21 Juri Linkov <juri@jurta.org>
11675 * calc/calc.el (calc-read-key-sequence):
11676 Let-bind `input-method-function' to nil. (Bug#10018)
11678 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11680 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11681 Tell the caller that the next line needs recomputation, even
11682 though it doesn't start a sexp (bug#10094).
11684 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11686 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11688 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11690 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11691 Use force-same-window.
11693 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
11695 * descr-text.el (describe-char-unicode-data):
11696 * json.el (json-string-escape):
11697 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11698 (Footnote-unicode, Footnote-style-p):
11699 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11701 2011-11-20 Chong Yidong <cyd@gnu.org>
11703 * window.el (replace-buffer-in-windows): Restore interactive spec.
11705 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11707 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11709 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11710 (byte-compile-global-not-obsolete-vars): New var.
11711 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11713 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11715 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
11717 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11718 * progmodes/pascal.el (electric-pascal-equal):
11719 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11720 * xml.el (xml-substitute-special): Fix typos.
11722 2011-11-20 Glenn Morris <rgm@gnu.org>
11724 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11725 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11727 (rmail-decode-mime-charset): Mark as obsolete.
11729 * mail/rmailsum.el (rmail-message-regexp-p-1):
11730 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11731 Before using mime functions, check they are set. (Bug#10077)
11733 2011-11-19 Juri Linkov <juri@jurta.org>
11735 * info.el (Info-finder-find-node): Use `package--builtins' instead
11736 of `package-alist'. Use node names formed by the pattern "Keyword "
11737 and the keyword name.
11739 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11741 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
11743 2011-11-19 Juri Linkov <juri@jurta.org>
11745 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11746 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11747 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11748 `old-history', `old-history-forward'. Add let-binding
11749 `window-selected'. Remove calls to `kill-buffer',
11750 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11751 before calling `Info-find-node', so `Info-find-node-2' will reread
11752 the Info file. Restore window positions only when `window-selected'
11755 2011-11-19 Juri Linkov <juri@jurta.org>
11757 * isearch.el (isearch-lazy-highlight-new-loop):
11758 Remove condition `(not isearch-error)'. (Bug#9918)
11760 * misearch.el (multi-isearch-search-fun): Add condition
11761 `(not bound)' to ignore lazy-highlighting search.
11762 Add the search-failed message "end of multi" when the end of
11763 multi-sequence is reached. Uncapitalize the search-failed
11764 message "Repeat for next buffer".
11766 * info.el (Info-search): Add the search-failed message
11767 "end of the manual" when the end of the manual is reached
11770 2011-11-19 Juri Linkov <juri@jurta.org>
11772 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11773 Use non-destructive `remove' instead of `delete' because
11774 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11775 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11777 2011-11-19 Juri Linkov <juri@jurta.org>
11779 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11780 to nil instead of binding `search-ring' and `regexp-search-ring'.
11783 2011-11-19 Eli Zaretskii <eliz@gnu.org>
11785 * simple.el (line-move): Force movement by logical lines for any
11786 hscrolled window, not only when auto-hscroll-mode is on.
11787 (line-move-visual): Update doc string to that effect. (Bug#10076)
11789 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11791 * language/european.el (macintosh): Define as alias for mac-roman.
11793 2011-11-19 Eli Zaretskii <eliz@gnu.org>
11795 * mail/rmailmm.el (rmail-mime-display-header)
11796 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11797 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11798 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11799 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11800 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11802 (rmail-mime-entity-segment): To get past the tagline, move forward
11803 2 more lines, to account for the 2 empty lines that precede and
11804 follow the line with the buttons.
11805 (rmail-mime-update-tagline): Move one more line, to get past the
11806 empty line that follows the buttons in the tagline. (Bug#9520)
11808 2011-11-19 Martin Rudalics <rudalics@gmx.at>
11810 * window.el (window-max-delta-1, window-min-delta-1)
11811 (window-min-size-1, window-state-get-1, window-state-put-1)
11812 (window-state-put-2): Use "window--" prefix.
11814 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11816 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11817 (smie-warning-count): New var.
11818 (smie-set-prec2tab): Use it.
11819 (smie-bnf->prec2): Improve warnings. Add docstring.
11820 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11821 (smie-bnf--set-class): New function.
11822 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11825 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11826 (compilation-error-properties, compilation-move-to-column):
11827 Handle compilation-first-column while in the target buffer.
11829 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11830 Don't hardcode point-min==1.
11832 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11833 (eshell-rewrite-for-command): Remove workaround.
11834 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11835 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11836 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11838 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11840 2011-11-17 Glenn Morris <rgm@gnu.org>
11842 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11843 Ignore buffer-local generated-autoload-file if it is the same
11844 as the global value. (Bug#10049)
11846 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
11848 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11849 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11850 (reftex-toc-previous-heading, reftex-toc-max-level)
11851 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11852 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11853 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11854 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11855 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11856 (reftex-toc-rename-label, reftex-toc-visit-location)
11857 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11858 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11859 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11860 leaving "*toc*" only for references to the buffer.
11862 2011-11-17 Martin Rudalics <rudalics@gmx.at>
11864 * window.el (window-resize, delete-window, split-window):
11865 Replace window-splits by window-combination-resize.
11866 * cus-start.el (window-splits): Replace by window-combination-resize.
11868 2011-11-17 Glenn Morris <rgm@gnu.org>
11870 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11871 Make bash entry derive from sh entry, not shell entry.
11873 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
11875 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11878 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
11880 * menu-bar.el (menu-bar-file-menu):
11881 * printing.el (pr-ps-utility):
11882 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11883 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11884 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11885 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11886 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11887 (icalendar--convert-cyclic-to-ical)
11888 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11889 (icalendar--convert-ical-to-diary)
11890 (icalendar--convert-recurring-to-diary)
11891 (icalendar--convert-non-recurring-all-day-to-diary)
11892 (icalendar-import-format-sample):
11893 * progmodes/idlw-shell.el (idlwave-shell-mode):
11894 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11895 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11896 (vhdl-ps-print-init): Fix typos.
11898 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11900 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11901 FSF and collapse date sequence, obscure author/maintainer email address
11902 better, remove extra version line, track relocation of author's webpage.
11904 * progmodes/python.el (python-pdbtrack-input-prompt)
11905 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11906 regular python pdb prompts. Adjustments shamelessly taken exactly as
11907 suggested in EmacsWiki page (tiny change):
11908 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
11910 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
11912 * expand.el (expand-pos, expand-index, expand-point):
11913 Remove redundant info from docstring.
11914 (expand-add-abbrevs): Doc fix.
11915 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11916 (expand-sample-perl-mode-expand-list): Fix typos.
11918 * net/dbus.el (dbus-event-member-name):
11919 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11920 * term/pc-win.el (msdos-create-frame-with-faces):
11921 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11923 2011-11-16 Martin Rudalics <rudalics@gmx.at>
11925 * window.el (split-window, window-state-get-1)
11926 (window-state-put-1, window-state-put-2): Rename occurrences of
11927 window-nest to window-combination-limit.
11928 * cus-start.el (window-nest): Rename to window-combination-limit.
11930 2011-11-16 Chong Yidong <cyd@gnu.org>
11932 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11933 regexp (Bug#10033).
11935 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11937 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11938 `completing-read' will remove *Completions* and will preserve
11939 current-buffer for us.
11940 (tmm-add-prompt): Users of *Completions* will always (re)set its
11942 (tmm-old-comp-map): Remove.
11944 2011-11-16 Glenn Morris <rgm@gnu.org>
11946 * mail/rmailedit.el: Require rmailmm when compiling.
11947 (rmail-old-mime-state): New declaration.
11948 (rmail-edit-current-message): If editing a mime message,
11949 edit the "raw" message from the mbox buffer.
11950 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11952 2011-11-15 Glenn Morris <rgm@gnu.org>
11954 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11955 which wasn't being used. Add optional arg to force given state.
11956 (rmail-mime): Add optional arg to force given state.
11958 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
11960 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11961 * frame.el (display-mm-dimensions-alist):
11962 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11963 (outline-move-subtree-down):
11964 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11965 (newsticker--treeview-do-get-node):
11966 * net/quickurl.el (quickurl-list-buffer-name):
11967 * progmodes/dcl-mode.el (dcl-mode):
11968 * progmodes/gdb-mi.el (gdb-mapcar*):
11969 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11971 2011-11-15 Glenn Morris <rgm@gnu.org>
11973 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11974 in a boolean sense, so just make it a boolean, and fix the doc.
11975 (rmail-show-mime-function, rmail-mime-feature)
11976 (rmail-require-mime-maybe): Doc fixes.
11977 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11979 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11981 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
11983 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11984 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11985 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11986 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11988 2011-11-15 Glenn Morris <rgm@gnu.org>
11990 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11991 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11992 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11993 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11994 (rmail-mime, rmail-show-mime): Doc fixes.
11996 * term/ns-win.el (mode-line-frame-identification):
11997 Leave it alone. (Bug#10051)
11999 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12001 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12002 Handle empty buffers. (Bug#9978)
12004 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
12006 * international/mule.el (define-charset):
12007 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12008 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12009 * progmodes/verilog-mode.el (verilog-backward-token):
12010 * textmodes/ispell.el (lookup-words):
12011 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12013 2011-11-14 Glenn Morris <rgm@gnu.org>
12015 * progmodes/executable.el
12016 (executable-make-buffer-file-executable-if-script-p):
12017 Handle file-modes returning nil.
12019 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12020 message - not necessary, and causes problems. (Bug#9831)
12022 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12024 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12026 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12027 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12028 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12030 2011-11-12 Martin Rudalics <rudalics@gmx.at>
12032 * window.el (window-resize, delete-window): Use window-splits
12033 variable instead of function.
12034 (window-state-get-1, window-state-put-2, window-state-put):
12035 Don't deal with windows' splits status.
12037 2011-11-12 Glenn Morris <rgm@gnu.org>
12039 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12040 (apropos-documentation): Doc fixes.
12042 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
12044 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12045 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12047 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12049 * electric.el (electric-indent-post-self-insert-function): Make it
12050 possible for a char to only indent in some circumstances.
12051 (electric-indent-mode): Simplify.
12053 2011-11-11 Martin Rudalics <rudalics@gmx.at>
12055 * window.el (windows-with-parameter): Remove unused function.
12056 (windows-at-side): Rename to window-at-side-list.
12057 (window-check, window-atom-check, window-atom-check-1)
12058 (window-side-check, window-size-ignore, window-size-fixed-1)
12059 (window-in-direction-2): Prefix with "window--".
12060 (window-tree-1): Rename to window--subtree, fix doc-string.
12062 2011-11-11 Glenn Morris <rgm@gnu.org>
12064 * subr.el (eval-after-load): If FILE is already loaded,
12065 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12067 2011-11-10 Glenn Morris <rgm@gnu.org>
12069 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12070 Call svn via vc-svn-command rather than vc-do-command.
12071 (vc-svn-command): Add --non-interactive. (Bug#9993)
12072 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12074 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12075 Add toggle-read-only. (Bug#7292)
12076 * files.el (toggle-read-only): Mention that it should only
12077 be used interactively. (Bug#10006)
12079 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12081 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12082 Adjust regexp for OCaml warnings.
12084 * electric.el (electric-pair-post-self-insert-function): Let user
12085 turn it off buffer-locally (bug#9932).
12087 * progmodes/python.el (python-beginning-of-statement):
12088 Rewrite (bug#2703).
12090 * progmodes/compile.el: Better handle TABs (bug#9749).
12091 (compilation-internal-error-properties)
12092 (compilation-next-error-function): Obey the target buffer's
12093 compilation-error-screen-columns.
12095 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
12097 * progmodes/meta-mode.el: Remove obsolete comments.
12098 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12099 Fix typos in docstrings.
12101 2011-11-09 Martin Rudalics <rudalics@gmx.at>
12103 * window.el (window-size-fixed-p): Rewrite doc-string.
12104 (window-resizable-p): Rename to window--resizable-p. Update callers.
12105 (window--resizable): New function. Make all callers of
12106 window-resizable call window--resizable instead.
12107 (window-resizable): Rewrite in terms of window--resizable.
12109 2011-11-08 Glenn Morris <rgm@gnu.org>
12111 * progmodes/delphi.el (delphi-mode-syntax-table):
12112 Let define-derived-mode define a proper syntax table. (Bug#9994)
12114 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12116 * window.el: Stay away from defsubst.
12117 (window-list-no-nils): Remove.
12118 (window-state-get-1, window-state-get): Use backquote instead.
12120 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12122 * emacs-lisp/find-func.el (find-function-read):
12123 Fix incorrect use of default argument in `completing-read'.
12125 2011-11-08 Martin Rudalics <rudalics@gmx.at>
12127 * window.el (display-buffer-function, special-display-function):
12128 Mention display-buffer-record-window but do not mention
12129 help-setup parameter in doc-strings.
12130 (window-min-delta): Fix doc-string typo.
12132 2011-11-08 Chong Yidong <cyd@gnu.org>
12134 * window.el (window-total-height, window-total-width): Doc fix.
12135 (window-body-size): Move from C.
12136 (window-body-height, window-body-width): Move to C.
12138 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12140 * window.el: Make special-display like display-buffer-alist (bug#9532).
12141 (display-buffer--special-action): New function, morphed
12142 from display-buffer--special.
12143 (display-buffer): Use it to handle special-display-buffers at higher
12144 priority (just after display-buffer-alist).
12145 (display-buffer-fallback-action, display-buffer--other-frame-action)
12146 (pop-to-buffer-same-window): Remove display-buffer--special.
12148 2011-11-07 Glenn Morris <rgm@gnu.org>
12150 * calendar/cal-menu.el (cal-menu-set-date-title):
12151 Do nothing if not in a calendar. (Bug#9976)
12153 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12155 * files.el (find-file): Always use selected-window.
12157 2011-11-07 Martin Rudalics <rudalics@gmx.at>
12159 * window.el (window-combinations): Make WINDOW argument
12160 mandatory. Rewrite doc-string.
12161 (walk-window-subtree, window-atom-check, window-min-delta)
12162 (window-max-delta, window--resize-this-window)
12163 (window--resize-root-window-vertically, window-tree)
12164 (balance-windows, window-state-put): Rewrite doc-strings as to
12165 not mention the term "subwindow".
12166 (window--resize-subwindows-skip-p): Rename to
12167 window--resize-child-windows-skip-p.
12168 (window--resize-subwindows-normal): Rename to
12169 window--resize-child-windows-normal.
12170 (window--resize-subwindows): Rename to
12171 window--resize-child-windows.
12172 (window-or-subwindow-p): Rename to window--in-subtree-p.
12174 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12176 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12177 Ensure that mbox format messages end in two newlines (Bug#9974).
12179 2011-11-06 Chong Yidong <cyd@gnu.org>
12181 * window.el (window-combination-p): Function deleted; its
12182 side-effect is not used in any existing code.
12183 (window-combinations, window-combined-p): Call window-*-child
12186 2011-11-05 Chong Yidong <cyd@gnu.org>
12188 * window.el (window-valid-p): Rename from window-any-p.
12189 (window-size-ignore, window-state-get): Callers changed.
12190 (window-normalize-window): Rename from window-normalize-any-window.
12191 New arg LIVE-ONLY, replacing window-normalize-live-window.
12192 (window-normalize-live-window): Delete.
12193 (window-combination-p, window-combined-p, window-combinations)
12194 (walk-window-subtree, window-atom-root, window-min-size)
12195 (window-sizable, window-sizable-p, window-size-fixed-p)
12196 (window-min-delta, window-max-delta, window-resizable)
12197 (window-resizable-p, window-full-height-p, window-full-width-p)
12198 (window-current-scroll-bars, window-point-1, set-window-point-1)
12199 (window-at-side-p, window-in-direction, window-resize)
12200 (adjust-window-trailing-edge, maximize-window, minimize-window)
12201 (window-deletable-p, delete-window, delete-other-windows)
12202 (record-window-buffer, unrecord-window-buffer)
12203 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12204 (quit-window, split-window, window-state-put)
12205 (set-window-text-height, fit-window-to-buffer)
12206 (shrink-window-if-larger-than-buffer): Callers changed.
12208 2011-11-04 Eli Zaretskii <eliz@gnu.org>
12210 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12211 rfc2047-decode-string.
12212 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12215 * window.el (window-body-height, window-body-width): Mention in
12216 the doc string that the return values are in frame's canonical
12219 2011-11-03 Alan Mackenzie <acm@muc.de>
12221 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12222 change in cc-engine.el.
12224 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12226 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12228 2011-11-02 Martin Rudalics <rudalics@gmx.at>
12230 * window.el (quit-window): Call unrecord-window-buffer after
12231 showing another buffer in the window. (Bug#9937)
12232 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
12234 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
12236 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12237 Accept status with more than 9 shelves. (Bug#9935)
12238 Reported by Colin D Bennett <colin@gibibit.com>.
12240 2011-11-01 Martin Rudalics <rudalics@gmx.at>
12242 * help.el (with-help-window): Don't reference
12243 temp-buffer-show-specifiers in doc-string.
12245 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12247 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12250 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12252 * whitespace.el: New version 13.2.2.
12253 (whitespace-newline-mode): Disable properly. Reported by Sarah
12256 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
12258 * net/newst-treeview.el: Remove "Time-stamp".
12259 (newsticker--group-manage-orphan-feeds): Do not call
12260 newsticker--treeview-tree-update.
12261 (newsticker-treeview-update, newsticker-treeview):
12262 Call newsticker--treeview-tree-update if necessary.
12264 2011-10-30 Martin Rudalics <rudalics@gmx.at>
12266 * window.el (window-iso-combination-p, window-iso-combined-p)
12267 (window-iso-combinations): Remove "iso-" infix.
12268 Suggested by Chong Yidong.
12269 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12270 (window-max-delta-1, window-resize, window--resize-siblings)
12271 (window--resize-this-window, adjust-window-trailing-edge)
12272 (split-window, balance-windows-1)
12273 (shrink-window-if-larger-than-buffer):
12274 * calendar/calendar.el (calendar-generate-window):
12275 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
12277 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12279 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12280 in place (bug#9907).
12281 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12282 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12283 (eshell-structure-basic-command, eshell-rewrite-while-command)
12284 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12285 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12286 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12287 (eshell-do-pipelines-synchronously, eshell-eval-command):
12288 Use backquotes and prefer setq to set.
12289 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12290 (eshell-macrop): Use functionp.
12291 (eshell-do-eval): Handle multiple expressions in `while' body.
12293 2011-10-30 Chong Yidong <cyd@gnu.org>
12295 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12296 instead of set-mark (Bug#9810).
12298 2011-10-30 Chong Yidong <cyd@gnu.org>
12300 * window.el (split-window-below, split-window-right): Rename from
12301 split-window-above-each-other and split-window-side-by-side
12302 respectively. All callers changed.
12303 (split-window-sensibly, split-window-sensibly): Use them.
12304 (split-window-keep-point): Doc fix.
12306 * isearch.el: Add isearch-scroll property to split-window-below
12307 and split-window-right.
12309 * follow.el (follow-mode):
12310 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12311 * progmodes/ada-xref.el (ada-gdb-application):
12312 * emulation/vip.el (vip-buffer-in-two-windows):
12313 * image-dired.el (image-dired-dired-with-window-configuration):
12314 * dired-x.el (dired-do-find-marked-files):
12315 * dired.el (dired-pop-to-buffer):
12316 * bs.el (bs--show-with-configuration):
12317 * vc/emerge.el (emerge-setup-windows):
12318 * textmodes/two-column.el (2C-two-columns):
12319 * textmodes/reftex-toc.el (reftex-toc):
12320 * progmodes/gdb-mi.el (gdb-setup-windows):
12321 * progmodes/fortran.el (fortran-window-create):
12322 * net/newst-treeview.el (newsticker--treeview-window-init):
12323 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12324 * emulation/tpu-edt.el (tpu-gold-map):
12325 * emulation/crisp.el (crisp-mode-map):
12326 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12328 2011-10-29 Chong Yidong <cyd@gnu.org>
12330 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12332 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12334 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12335 forged Ispell output (Bug#7904).
12337 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12339 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12341 * doc-view.el: Avoid ugly errors about not finding nil.
12342 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12343 (doc-view-dvipdf-program, doc-view-unoconv-program)
12344 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12345 Avoid nil or absolute file name as default value.
12346 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12348 2011-10-28 Alan Mackenzie <acm@muc.de>
12350 * progmodes/cc-defs.el (c-version): -> 5.32.2.
12352 2011-10-28 Alan Mackenzie <acm@muc.de>
12354 Amend the handling of c-beginning/end-of-defun in nested declaration
12357 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12358 cc-langs.el. Change it to a defcustom.
12360 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12363 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12364 Prevent "class foo : bar" being spuriously recognized as a label.
12366 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
12367 Add parameter `inclusive' (to include enclosing braces in the region).
12368 (c-widen-to-enclosing-decl-scope): New function.
12369 (c-while-widening-to-decl-block): New macro.
12370 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12371 outward for defun boundaries, and correspondingly change symbol
12372 `respect-enclosure' to `go-outward'.
12373 (c-declaration-limits): Change algorithm to report only the "innermost"
12374 defun's boundaries.
12376 2011-10-28 Deniz Dogan <deniz@dogan.se>
12378 * net/rcirc.el (rcirc-mode): Use hard newlines.
12380 2011-10-28 Alan Mackenzie <acm@muc.de>
12382 Amend to indent and fontify macros "which include their own semicolon"
12383 correctly, using the "virtual semicolon" mechanism.
12385 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
12387 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
12388 Recode to scan one line at a time rather than having \n and \r
12389 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
12390 (c-forward-label): Amend for virtual semicolons.
12391 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
12393 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12394 of the new C macros.
12396 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
12397 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12398 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
12399 (c-opt-cpp-macro-define): Make into a full language variable.
12400 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12401 AWK Mode (including \n, \r) removed, no longer needed.
12403 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12404 Invoke c-make-macro-with-semi-re.
12406 * progmodes/cc-vars.el (c-macro-with-semi-re):
12407 (c-macro-names-with-semicolon): New variables.
12408 (c-make-macro-with-semi-re): New function.
12410 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12412 * vc/log-edit.el: Fill empty field rather than adding new one.
12413 (log-edit-add-field): New function.
12414 (log-edit-insert-changelog): Use it.
12416 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12418 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12420 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12422 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12423 (gdb--check-interpreter): New function.
12426 2011-10-27 Glenn Morris <rgm@gnu.org>
12428 * emacs-lisp/cl-extra.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):
12432 Remove unnecessary declarations.
12434 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12435 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12436 (least-positive-float, least-negative-float)
12437 (least-positive-normalized-float, least-negative-normalized-float)
12438 (float-epsilon, float-negative-epsilon): Add doc-strings,
12439 based on those in cl.texi.
12441 * files.el (set-visited-file-name): If the major-mode changed,
12442 reload the local variables. (Bug#9796)
12444 2011-10-27 Chong Yidong <cyd@gnu.org>
12446 * subr.el (change-major-mode-after-body-hook): New hook.
12447 (run-mode-hooks): Run it.
12449 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12450 Use change-major-mode-before-body-hook.
12452 * simple.el (fundamental-mode):
12453 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12454 change introducing fundamental-mode-hook.
12456 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
12458 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
12460 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
12462 * ido.el (ido-file-name-all-completions-1): Do not require
12463 tramp.el explicitly. (Bug#7583)
12465 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12467 * progmodes/octave-mod.el:
12468 * progmodes/octave-inf.el: Update maintainer.
12470 2011-10-26 Chong Yidong <cyd@gnu.org>
12472 * subr.el (with-wrapper-hook): Rewrite doc.
12474 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
12476 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
12477 filenames "/method:foo:". (Bug#9793)
12479 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12481 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12484 2011-10-24 Glenn Morris <rgm@gnu.org>
12486 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12488 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
12490 * notifications.el: Add the requirement of a running D-Bus session
12491 bus to the Commentary.
12493 2011-10-24 Juri Linkov <juri@jurta.org>
12495 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12496 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12499 2011-10-24 Juri Linkov <juri@jurta.org>
12501 * info.el (Info-following-node-name-re): Add newline to the list
12502 of allowed characters for leading space. (Bug#9824)
12504 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12506 * progmodes/octave-inf.el (inferior-octave-mode-map):
12507 Fix C-c C-h binding.
12508 * progmodes/octave-mod.el (octave-help): Remove.
12510 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
12512 Sync with Tramp 2.2.3.
12514 * net/tramp-cache.el (top): Pacify byte-compiler using
12515 `init-file-user' and `site-run-file'.
12517 * net/trampver.el: Update release number.
12519 2011-10-23 Chong Yidong <cyd@gnu.org>
12521 * files.el (toggle-read-only): Remove obsolete comment about
12524 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12525 for toggle-read-only. Note that this hasn't called vc-next-action
12526 since 2008-05-02, though it wasn't documented at the time.
12528 * vc/ediff-init.el (ediff-toggle-read-only-function):
12529 Use toggle-read-only.
12531 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12533 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12536 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12537 correct faulty logical expression.
12538 (c-parse-state-state, c-record-parse-state-state):
12539 (c-replay-parse-state-state): New defvar/defuns.
12540 (c-debug-parse-state): Use new functions.
12542 2011-10-22 Martin Rudalics <rudalics@gmx.at>
12544 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
12545 last fix. Use window-in-direction correctly.
12547 2011-10-21 Chong Yidong <cyd@gnu.org>
12549 * progmodes/idlwave.el (idlwave-mode):
12550 * progmodes/vera-mode.el (vera-mode): No need to set
12551 require-final-newline; that's done in prog-mode.
12552 Suggested by Stefan Monnier.
12554 2011-10-21 Martin Rudalics <rudalics@gmx.at>
12556 * mouse.el (mouse-drag-window-above)
12557 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12558 (mouse-drag-mode-line-1, mouse-drag-header-line)
12559 (mouse-drag-vertical-line-rightward-window): Remove.
12560 (mouse-drag-line): New function.
12561 (mouse-drag-mode-line, mouse-drag-header-line)
12562 (mouse-drag-vertical-line): Call mouse-drag-line.
12563 * window.el (window-at-side-p, windows-at-side): New functions.
12565 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
12567 * tar-mode.el (tar-grind-file-mode):
12568 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12570 2011-10-21 Chong Yidong <cyd@gnu.org>
12572 * progmodes/idlwave.el (idlwave-mode):
12573 * progmodes/vera-mode.el (vera-mode):
12574 Use mode-require-final-newline.
12576 2011-10-20 Glenn Morris <rgm@gnu.org>
12578 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
12580 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12582 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12584 2011-10-20 Chong Yidong <cyd@gnu.org>
12586 * emulation/cua-base.el (cua-mode):
12587 * mail/footnote.el (footnote-mode):
12588 * mail/mailabbrev.el (mail-abbrevs-mode):
12589 * net/xesam.el (xesam-minor-mode):
12590 * progmodes/bug-reference.el (bug-reference-mode):
12591 * progmodes/cap-words.el (capitalized-words-mode):
12592 * progmodes/compile.el (compilation-minor-mode)
12593 (compilation-shell-minor-mode):
12594 * progmodes/gud.el (gud-tooltip-mode):
12595 * progmodes/hideif.el (hide-ifdef-mode):
12596 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12597 * progmodes/subword.el (subword-mode):
12598 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12599 * progmodes/which-func.el (which-function-mode):
12600 * term/tvi970.el (tvi970-set-keypad-mode):
12601 * term/vt100.el (vt100-wide-mode):
12602 * textmodes/flyspell.el (flyspell-mode):
12603 * textmodes/ispell.el (ispell-minor-mode):
12604 * textmodes/nroff-mode.el (nroff-electric-mode):
12605 * textmodes/paragraphs.el (use-hard-newlines):
12606 * textmodes/refill.el (refill-mode):
12607 * textmodes/reftex.el (reftex-mode):
12608 * textmodes/rst.el (rst-minor-mode):
12609 * textmodes/sgml-mode.el (html-autoview-mode)
12610 (sgml-electric-tag-pair-mode):
12611 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12612 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12613 * emulation/crisp.el (crisp-mode):
12614 * emacs-lisp/eldoc.el (eldoc-mode):
12615 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12616 minor mode behavior.
12618 2011-10-19 Juri Linkov <juri@jurta.org>
12620 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12621 the list of hard-coded chars with escape-glyph face.
12623 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12625 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12627 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
12629 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12632 2011-10-19 Glenn Morris <rgm@gnu.org>
12634 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12635 Ignore ignored files. (Bug#9726)
12637 2011-10-19 Chong Yidong <cyd@gnu.org>
12639 Doc fix for minor modes, stating that an omitted argument enables
12640 the mode unconditionally when called from Lisp.
12642 * abbrev.el (abbrev-mode):
12643 * allout.el (allout-mode):
12644 * autoinsert.el (auto-insert-mode):
12645 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12646 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12647 (global-auto-revert-mode):
12648 * battery.el (display-battery-mode):
12649 * composite.el (global-auto-composition-mode)
12650 (auto-composition-mode):
12651 * delsel.el (delete-selection-mode):
12652 * desktop.el (desktop-save-mode):
12653 * dired-x.el (dired-omit-mode):
12654 * dirtrack.el (dirtrack-mode):
12655 * doc-view.el (doc-view-minor-mode):
12656 * double.el (double-mode):
12657 * electric.el (electric-indent-mode, electric-pair-mode):
12658 * emacs-lock.el (emacs-lock-mode):
12659 * epa-hook.el (auto-encryption-mode):
12660 * follow.el (follow-mode):
12661 * font-core.el (font-lock-mode):
12662 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12663 * help.el (temp-buffer-resize-mode):
12664 * hilit-chg.el (highlight-changes-mode)
12665 (highlight-changes-visible-mode):
12666 * hi-lock.el (hi-lock-mode):
12667 * hl-line.el (hl-line-mode, global-hl-line-mode):
12668 * icomplete.el (icomplete-mode):
12669 * ido.el (ido-everywhere):
12670 * image-file.el (auto-image-file-mode):
12671 * image-mode.el (image-minor-mode):
12672 * iswitchb.el (iswitchb-mode):
12673 * jka-cmpr-hook.el (auto-compression-mode):
12674 * linum.el (linum-mode):
12675 * longlines.el (longlines-mode):
12676 * master.el (master-mode):
12677 * mb-depth.el (minibuffer-depth-indicate-mode):
12678 * menu-bar.el (menu-bar-mode):
12679 * minibuf-eldef.el (minibuffer-electric-default-mode):
12680 * mouse-sel.el (mouse-sel-mode):
12681 * msb.el (msb-mode):
12682 * mwheel.el (mouse-wheel-mode):
12683 * outline.el (outline-minor-mode):
12684 * paren.el (show-paren-mode):
12685 * recentf.el (recentf-mode):
12686 * reveal.el (reveal-mode, global-reveal-mode):
12687 * rfn-eshadow.el (file-name-shadow-mode):
12688 * ruler-mode.el (ruler-mode):
12689 * savehist.el (savehist-mode):
12690 * scroll-all.el (scroll-all-mode):
12691 * scroll-bar.el (scroll-bar-mode):
12692 * server.el (server-mode):
12693 * shell.el (shell-dirtrack-mode):
12694 * simple.el (auto-fill-mode, transient-mark-mode)
12695 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12696 (line-number-mode, column-number-mode, size-indication-mode)
12697 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12698 * strokes.el (strokes-mode):
12699 * time.el (display-time-mode):
12700 * t-mouse.el (gpm-mouse-mode):
12701 * tool-bar.el (tool-bar-mode):
12702 * tooltip.el (tooltip-mode):
12703 * type-break.el (type-break-mode-line-message-mode)
12704 (type-break-query-mode):
12705 * view.el (view-mode):
12706 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12707 (global-whitespace-mode, global-whitespace-newline-mode):
12708 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12710 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12711 Fix autogenerated docstring.
12713 2011-10-19 Juri Linkov <juri@jurta.org>
12715 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12716 by checking environment variables "DESKTOP_SESSION" and
12717 "XDG_CURRENT_DESKTOP". (Bug#9779)
12719 2011-10-19 Juri Linkov <juri@jurta.org>
12721 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12722 (browse-url-chromium-program, browse-url-chromium-arguments):
12724 (browse-url-default-browser): Check for `browse-url-chromium' and
12725 call `browse-url-chromium-program'.
12726 (browse-url-chromium): New command. (Bug#9779)
12728 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
12730 * facemenu.el (list-colors-duplicates): On Windows, detect more
12731 duplicates by assuming that only colors matching "^System" are
12732 special "system colors". (Bug#9722)
12734 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12736 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12737 to distinguish the author from the committer.
12739 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
12741 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12743 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12745 * international/mule.el (sgml-html-meta-auto-coding-function):
12746 Add support for detecting encoding in HTML5 specified only as
12747 <meta charset="UTF-8">. Implementation just makes http-equiv and
12748 content-type parts from HTML4 encoding string optional. (Bug#9716)
12750 2011-10-18 Glenn Morris <rgm@gnu.org>
12752 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12754 2011-10-18 Chong Yidong <cyd@gnu.org>
12756 * faces.el (cursor): Doc fix.
12758 2011-10-17 Chong Yidong <cyd@gnu.org>
12760 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12762 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
12764 * dirtrack.el (dirtrack): Support shell buffers with path
12765 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12767 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12769 * json.el: Bump version to 1.3 and note change in History.
12770 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12772 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12774 * comint.el (comint-insert-input, comint-send-input)
12775 (comint-get-old-input-default, comint-backward-matching-input)
12776 (comint-next-prompt): Use nil instead of `input' for field property of
12777 past user input (bug#114).
12779 * minibuffer.el (completion--replace): Inherit surrounding properties
12781 (minibuffer-complete-and-exit): Use it.
12783 * comint.el (comint--table-subvert): Quote the all-completions output
12786 2011-10-17 Martin Rudalics <rudalics@gmx.at>
12788 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
12790 * menu-bar.el (menu-bar-file-menu): Add entry for making new
12791 window on right of selected. (Bug#9350) Reword other window
12792 entries and separate them from frame entries.
12794 2011-10-15 Glenn Morris <rgm@gnu.org>
12796 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12799 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
12801 * net/network-stream.el (network-stream-open-starttls):
12802 Improve detection of failure due to lack of TLS support.
12804 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12805 putting the input text in front and in bold.
12807 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12809 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12811 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12814 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12815 unread-command-events rather than pushing yet-another event.
12817 2011-10-14 Eli Zaretskii <eliz@gnu.org>
12819 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12820 the explanation of the possible choices. Make the options passed
12821 to completing-read shorter.
12823 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12825 * textmodes/flyspell.el (flyspell-large-region): Make sure
12826 extended character mode is used if defined (Bug#1339).
12828 2011-10-13 Eli Zaretskii <eliz@gnu.org>
12830 * simple.el (what-cursor-position): Fix the display of the
12831 character info for LRE, LRO, RLE, and RLO characters by appending
12834 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12836 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12837 even in case of error; add debug spec; simplify data flow.
12838 (with-timeout-handler): Remove.
12840 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
12842 Fix Bug#6019, Bug#9315.
12844 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12845 complete `buffer-file-name', the local file name part could look
12846 remotely (for example on VMS).
12848 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12849 `tramp-run-real-handler'.
12850 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12851 already quoted by '"'.
12853 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12854 Let `file-name-handler-alist' be nil, the local file name part
12855 could look remotely (for example on VMS).
12857 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12859 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12861 (flyspell-post-command-hook): ...to here.
12863 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12865 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12867 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12868 using completion. Protect against "slow" callers.
12869 Remove the "message hack".
12871 2011-10-11 Juri Linkov <juri@jurta.org>
12873 * isearch.el (isearch-lazy-highlight-word): New variable.
12874 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12877 2011-10-11 Glenn Morris <rgm@gnu.org>
12879 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12880 like f90-previous-statement does.
12882 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12884 * eshell/eshell.el (eshell-command): History should be saved
12885 only in interactive use, to avoid error.
12887 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12889 * minibuffer.el (completion-file-name-table): Fix last change,
12890 i.e. ignore normal errors but not the other ones.
12892 2011-10-10 Martin Rudalics <rudalics@gmx.at>
12894 * window.el (special-display-buffer-names)
12895 (special-display-regexps): Remove some remnants of earlier
12896 changes from doc-strings.
12897 (quit-windows-on): New function.
12899 * vc/vc.el (vc-revert, vc-rollback):
12900 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12901 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
12902 (Bug#6183) (Bug#7074) (Bug#7447)
12904 2011-10-09 Martin Rudalics <rudalics@gmx.at>
12906 * window.el (frame-auto-hide-function): Add version tag.
12909 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
12911 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12914 2011-10-09 Leo Liu <sdl.web@gmail.com>
12916 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12919 2011-10-08 Glenn Morris <rgm@gnu.org>
12921 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12922 before the first code statement zero indent. (Bug#9690)
12924 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
12926 * simple.el (count-words-region): Always count in the region.
12927 Report the number of lines and characters too.
12928 (count-words): New command, which counts in the buffer if the
12929 region is inactive, as count-words-region used to.
12930 (count-words--message): New function. Handle plurals.
12931 (count-lines-region): Make it an alias for count-words-region.
12933 * bindings.el (esc-map): Replace count-lines-region with
12934 count-words-region.
12936 2011-10-08 Martin Rudalics <rudalics@gmx.at>
12938 * window.el (window--delete): Delete dedicated frame
12939 unconditionally when argument KILL is non-nil. (Bug#9699)
12940 (switch-to-buffer): Fix doc-string typo.
12942 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12944 * eshell/eshell.el (eshell-command): Avoid using hooks.
12946 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
12948 * bindings.el ([M-left],[M-right]): Bind to left-word and
12949 right-word respectively.
12951 2011-10-07 Glenn Morris <rgm@gnu.org>
12953 * cus-start.el (debug-on-quit): Fix custom type.
12955 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12957 * subr.el (define-key-after): Clarify that the function is not
12958 useful for non-menu keymaps.
12960 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12962 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12964 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
12965 in current minibuffer (Fix bug with recursive minibuffers).
12967 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
12969 * progmodes/gdb-mi.el (gdb): Doc fix.
12971 2011-10-05 Martin Rudalics <rudalics@gmx.at>
12973 * window.el (frame-auto-hide-function): New option replacing
12974 frame-auto-delete. Suggested by Stefan Monnier.
12975 (window--delete): Call frame-auto-hide-function instead of
12976 investigating frame-auto-delete.
12977 (window-point-1, set-window-point-1): New functions.
12978 (window-in-direction, record-window-buffer, window-state-get-1)
12979 (display-buffer-record-window): Use window-point-1 instead of
12981 (set-window-buffer-start-and-point): Use set-window-point-1.
12983 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12985 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12987 2011-10-05 Glenn Morris <rgm@gnu.org>
12989 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12990 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12992 2011-10-05 Leo Liu <sdl.web@gmail.com>
12994 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12995 works with buffer object.
12997 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12999 * mpc.el (mpc-tool-bar-map): Add labels.
13001 2011-10-04 Glenn Morris <rgm@gnu.org>
13003 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13005 2011-10-04 Martin Rudalics <rudalics@gmx.at>
13007 * window.el (window--delete): New function.
13008 (frame-auto-delete): Resuscitate option.
13009 (bury-buffer, replace-buffer-in-windows)
13010 (quit-window): Rewrite using window--delete.
13011 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13012 Pass display-buffer-mark-dedicated to window--display-buffer-2
13015 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13017 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13018 returns a list (bug#9554). Add remote file name completion.
13019 * comint.el (comint--table-subvert): Curry and get quote&unquote
13020 functions as arguments.
13021 (comint--complete-file-name-data): Adjust call accordingly.
13022 * pcomplete.el (pcomplete--table-subvert): Remove.
13023 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13025 * minibuffer.el (completion-table-case-fold): Use currying.
13026 (completion--styles-type, completion--cycling-threshold-type):
13028 (completion-styles, completion-category-overrides)
13029 (completion-cycle-threshold): Use them.
13030 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13031 completion-table-case-fold.
13033 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
13035 * minibuffer.el (completion-category-overrides): Fix type of styles
13036 and add more user friendly tags (bug#9660).
13038 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13040 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13041 (mule-input-method-string): New widget.
13042 (default-input-method, language-info-custom-alist): Use it.
13044 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13046 * pcomplete.el: Require comint.
13047 (pcomplete--common-suffix): Remove.
13048 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13049 (pcomplete--table-subvert): Sync with comint--table-subvert.
13050 (pcomplete--entries): Use comint-completion-file-name-table.
13051 * comint.el (comint-unquote-filename): Simplify.
13052 (comint-completion-file-name-table): New function (bug#9616).
13053 (comint--complete-file-name-data): Use it.
13055 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13056 (pcmpl-gnu-tar-buffer): Remove.
13057 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
13058 around. Make sure pcomplete-suffix-list is only changed temporarily.
13059 Don't look inside the tar's file if it's too large.
13061 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
13063 * cus-edit.el (custom-mode-map):
13064 * epa.el (epa-key-list-mode-map):
13065 * man.el (Man-mode-map):
13066 * startup.el (splash-screen-keymap):
13067 * simple.el (special-mode-map): Use scroll-up-command and
13068 scroll-down-command.
13070 * progmodes/idlw-help.el (idlwave-help-mode-map):
13071 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13072 * net/newst-plainview.el (newsticker-mode-map):
13073 * emulation/ws-mode.el (wordstar-mode-map):
13074 * emulation/vi.el (vi-com-map):
13075 * calc/calc-graph.el (calc-graph-show-dumb):
13076 * term/sun.el (terminal-init-sun):
13077 * term/ns-win.el (global-map):
13078 * progmodes/grep.el (grep-mode-map):
13079 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13080 * mail/rmail.el (rmail-mode-map):
13081 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13083 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13084 custom-safe-themes as special.
13086 2011-10-01 Julien Danjou <julien@danjou.info>
13088 * notifications.el (notifications-notify): Fix docstring.
13090 2011-10-01 Per Starbäck <per@starback.se>
13092 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13094 2011-09-30 Martin Rudalics <rudalics@gmx.at>
13096 * startup.el (command-line-1): Fix last fix by inserting
13097 initial-scratch-message into *scratch* before displaying it.
13098 (Bug#9605) and (Bug#9636)
13100 2011-09-29 Eli Zaretskii <eliz@gnu.org>
13102 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13103 window is hscrolled, move by logical lines. (Bug#9607)
13104 (line-move-visual): Update the doc string to the above effect.
13106 2011-09-29 Martin Rudalics <rudalics@gmx.at>
13108 * window.el (display-buffer-record-window): When WINDOW is the
13109 selected window use `point' instead of `window-point'. (Bug#9626)
13111 * startup.el (command-line-1): Use insert-before-markers when
13112 inserting initial-scratch-message. (Bug#9605)
13114 * help.el (help-window): Remove variable.
13116 2011-09-29 Glenn Morris <rgm@gnu.org>
13118 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13120 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
13122 * descr-text.el (describe-char-categories): Accept category
13123 descriptions more than one line long.
13125 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13127 * simple.el (delete-trailing-whitespace): Fix last change.
13129 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13130 Don't confuse "y => 3" as the beginning of a `y' operation.
13132 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13133 object has more than 4 slots (bug#9613).
13135 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
13137 * subr.el (with-output-to-temp-buffer):
13138 * net/quickurl.el (quickurl, quickurl-browse-url):
13139 Fix typos in docstrings.
13141 2011-09-27 Eli Zaretskii <eliz@gnu.org>
13143 * minibuffer.el (completion-styles)
13144 (completion-category-overrides): Cross reference each other in doc
13147 2011-09-27 Glenn Morris <rgm@gnu.org>
13149 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13150 to split-string. (Bug#9606)
13152 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13154 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13157 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
13159 * emacs-lisp/package.el (list-packages): Fix echo area message.
13161 2011-09-27 Leo Liu <sdl.web@gmail.com>
13163 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13165 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
13167 * net/dbus.el (dbus-unregister-object): Don't release services for
13168 registered signals. (Bug#9581)
13170 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13172 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13173 function that picks between cfengine 2 and 3 support
13174 automatically. Update docs accordingly.
13176 2011-09-22 Kenichi Handa <handa@m17n.org>
13178 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13180 (indian-itrans-v5-table-for-tamil): New variable.
13181 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13183 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13185 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13186 that's true if the current command involved collapsing of text.
13187 It's reset to false at the beginning of the next command.
13188 (allout-post-command-business): Move the cursor to the beginning
13189 of entry if the cursor is hidden and collapsing activity just
13192 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
13194 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13195 tracking (Bug#9541).
13197 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
13199 * net/newst-reader.el (newsticker-html-renderer)
13200 (newsticker-show-news): Automatically load html rendering package
13201 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13202 because w3m-fill-column is let-bound" and the error "Symbol's value
13203 as variable is void: w3m-fill-column".
13205 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
13207 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13208 Release services only if they are defined. (Bug#9581)
13210 2011-09-23 Richard Stallman <rms@gnu.org>
13212 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13213 distinguish start of paragraph from start of its text.
13215 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13217 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13218 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13219 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13221 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13223 * international/mule-diag.el (mule-diag): Insert a newline after
13224 each fontset description.
13226 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13228 * simple.el (delete-trailing-whitespace):
13229 Document last change; simplify.
13231 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13233 * simple.el (delete-trailing-whitespace): Also delete
13234 extra newlines at the end of the buffer.
13236 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13237 (picture-newline): Use forward-line so as to ignore fields.
13239 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13241 * subr.el (with-wrapper-hook): Fix edebug spec.
13243 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13245 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13248 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
13250 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13251 Fix nasty bug using wrong cached values.
13253 2011-09-23 Alan Mackenzie <acm@muc.de>
13255 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13257 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
13259 * window.el (pop-to-buffer): Ensure right window is selected if we
13260 chose another frame.
13262 2011-09-22 Eli Zaretskii <eliz@gnu.org>
13264 * simple.el (what-cursor-position): Use get-char-property-change
13265 and next-single-char-property-change, to be able to show display
13266 properties that come from overlays as well as text properties.
13268 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
13270 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13272 * cmuscheme.el (run-scheme, switch-to-scheme):
13273 * cus-edit.el (customize-group, custom-buffer-create)
13274 (customize-browse):
13276 * shell.el (shell):
13277 * mail/sendmail.el (mail):
13278 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13280 2011-09-22 Richard Stallman <rms@gnu.org>
13282 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13283 move back only to line beg, don't move back over blank lines.
13285 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
13287 * files.el (copy-directory): Set directory attributes only in case
13288 they could be retrieved from the source directory. (Bug#9565)
13290 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13292 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13293 (hs-find-block-beginning, hs-hide-level-recursive):
13294 Ignore strings as well as comments. (Bug#9502)
13296 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13298 * progmodes/sql.el (sql-comint-postgres):
13299 Convert port number to a string. (Bug#9566)
13301 2011-09-22 Martin Rudalics <rudalics@gmx.at>
13303 * window.el (quit-window): Undedicate window when switching to
13304 previous buffer. Reported by Thierry Volpiatto
13305 <thierry.volpiatto@gmail.com>.
13306 (special-display-popup-frame): When popping up a new frame reset
13307 its previous buffers to nil. Simplify code.
13309 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
13311 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13312 and process filter, as done also in `shell-command'.
13314 2011-09-21 Martin Rudalics <rudalics@gmx.at>
13316 * window.el (set-window-buffer-start-and-point):
13317 Call set-window-start with NOFORCE argument t.
13318 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13319 (quit-window): Reword doc-string. Handle new format of
13320 quit-restore parameter. Don't delete window if it has a
13321 previous buffer we can show instead of the present one.
13322 (display-buffer-record-window): Rewrite using a new format for
13323 the quit-restore window parameter
13324 (special-display-popup-frame, display-buffer-same-window)
13325 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13326 (display-buffer-pop-up-window, display-buffer-use-some-window):
13327 Adapt symbol passed to display-buffer-record-window.
13328 * help.el (help-window-setup): Handle new format of quit-restore
13331 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13333 * faces.el (face-list): Fix docstring (bug#9564).
13335 * window.el (display-buffer--action-function-custom-type):
13336 Don't include internal functions in the Custom interface.
13338 2011-09-20 Juri Linkov <juri@jurta.org>
13340 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13341 (Info-forward-node, Info-backward-node, Info-next-preorder)
13342 (Info-last-preorder): Use it. (Bug#9528)
13344 2011-09-20 Juri Linkov <juri@jurta.org>
13346 * info.el (Info-last-preorder): Visit last menu item only when
13347 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13349 2011-09-20 Julien Danjou <julien@danjou.info>
13351 * password-cache.el (password-cache-remove): Remove entries even if the
13352 value is nil, so that password with a nil value (negative caching) is
13353 possible to invalidate.
13355 2011-09-20 Lawrence Mitchell <wence@gmx.li>
13357 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13358 all whitespace around breakpoint. (Bug#9553)
13359 (f90-find-breakpoint): Only break at whitespace inside a comment.
13361 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13363 * minibuffer.el (completion-file-name-table): Keep track of errors.
13364 (completion-table-with-predicate): Handle the case where pred1 is nil.
13365 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13367 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13369 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13370 (debugger-return-value): Signal an error if the debugging context does
13371 not await any return value.
13373 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13374 * image-mode.el (image-toggle-display-text)
13375 (image-toggle-display-image): Stay away from evil `intangible'.
13377 2011-09-19 Leo Liu <sdl.web@gmail.com>
13379 * replace.el (occur-revert-arguments): Make it permanent-local.
13380 (occur-mode): Don't call font-lock-defontify.
13382 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
13384 * net/ldap.el (ldap-search-internal): Don't push empty search
13387 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13389 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13391 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
13393 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13394 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13396 2011-09-18 Juri Linkov <juri@jurta.org>
13398 * buff-menu.el (Buffer-menu-mode-map):
13399 * dired.el (dired-mode-map):
13400 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13401 (lisp-interaction-mode-map):
13402 * emacs-lisp/package.el (package-menu-mode-map):
13403 * epa.el (epa-key-list-mode-map):
13404 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13405 (menu-bar-options-menu):
13406 * outline.el (outline-mode-menu-bar-map):
13407 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13408 * vc/vc-dir.el (vc-dir-menu-map):
13409 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13410 Capitalize non-function content words in menu item strings.
13412 * dired.el (dired-mode-map): Add menu item for
13413 `image-dired-dired-toggle-marked-thumbs'.
13415 2011-09-18 Juri Linkov <juri@jurta.org>
13417 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13418 to `isearch-case-fold-search' and restore its original value
13419 after the `isearch-mode' call.
13421 2011-09-18 Juri Linkov <juri@jurta.org>
13423 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13424 because `zgrep' returns 1 for successful matches (bug#9226).
13426 2011-09-18 Juri Linkov <juri@jurta.org>
13428 * info.el (Info-extract-menu-node-name): Check the second match
13429 for empty string (second test-case of bug#9528).
13430 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13431 intermediate nodes to the history (first test-case of bug#9528).
13433 2011-09-18 Juri Linkov <juri@jurta.org>
13435 * info.el (Info-mode-syntax-table): New variable.
13436 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
13438 2011-09-18 Juri Linkov <juri@jurta.org>
13440 * info.el (Info-file-supports-index-cookies):
13441 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13442 outputs one more line for long file names (bug#4142).
13444 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13446 * newcomment.el (comment-normalize-vars): If prompting for
13447 comment-start, set comment-start-skip too (Bug#8424).
13449 2011-09-18 Johan Bockgård <bojohan@gnu.org>
13451 * icomplete.el: Fix previous fix of Bug#5849.
13452 (icomplete-mode): Don't set completion-show-inline-help.
13453 (icomplete-minibuffer-setup): Set completion-show-inline-help
13454 locally during icompletion.
13456 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13458 * woman.el (woman2-process-escapes): Don't delete unrecognized
13459 escapes (Bug#7843).
13461 * files.el (inhibit-first-line-modes-regexps): Add image files.
13462 (hack-local-variables-prop-line): Return nil for malformed
13463 prop-lines (Bug#9044).
13465 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
13467 * net/tramp.el (top): Don't require 'shell.
13468 (tramp-methods): Fix docstring.
13469 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
13470 Return complete remote file name. Handle "smb" case.
13471 Use `tramp-tmpdir', if defined for the respective method.
13472 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13474 * net/tramp-compat.el (top): Require 'shell.
13476 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13477 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13478 `tramp-current-host'.
13479 (tramp-get-remote-tmpdir): Remove.
13481 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13482 `tramp-tmpdir' entries.
13483 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13484 (tramp-smb-handle-file-attributes): Ignore errors.
13485 (tramp-smb-wait-for-output): Check also for process end.
13487 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13489 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13490 when sending QUIT (bug#9312).
13492 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
13494 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13495 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13496 occur-mode-display-occurrence.
13497 (occur-edit-mode): Add usage message.
13498 (occur-cease-edit): New command.
13499 (occur-after-change-function): Use text properties to find the
13500 position of the prefix text.
13501 (occur-engine): Set stickiness of prefix text properties.
13503 2011-09-17 Glenn Morris <rgm@gnu.org>
13505 * progmodes/etags.el (complete-tag):
13506 Fix call to completion-in-region. (Bug#9526)
13508 2011-09-17 Juri Linkov <juri@jurta.org>
13510 * textmodes/ispell.el (ispell-word): Add to the error message
13511 the word, ispell program name and current dictionary (bug#9121).
13512 (ispell-tex-arg-end): Capitalize "error" in the error message.
13514 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13516 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13519 2011-09-17 Juri Linkov <juri@jurta.org>
13521 * window.el (window-safe-min-height, window-safe-min-width):
13522 Fix typos (followup to bug#9522).
13524 2011-09-17 Sven Joachim <svenjoac@gmx.de>
13526 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13528 2011-09-16 Eli Zaretskii <eliz@gnu.org>
13530 * simple.el (line-move): If goal-column is set, move by logical
13531 lines, not by display lines. (Bug#971)
13532 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13533 to reflect the above change.
13535 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13537 * image.el (imagemagick-register-types): Use regexp-opt.
13539 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
13541 * window.el (display-buffer-base-action): Rename from
13542 display-buffer-default-action. Make default value empty.
13543 (display-buffer-overriding-action): Convert to defvar.
13544 (display-buffer-fallback-action): New var.
13546 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
13548 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13550 (package--add-to-archive-contents): If there is a duplicate entry
13551 with an older version, remove it.
13552 (package-menu-mark-delete, package-menu-mark-install)
13553 (package-menu-mark-unmark): Make unused args optional.
13554 (package-menu-mark-obsolete-for-deletion):
13555 Use package-menu-get-status instead of a regexp search.
13556 (package-menu-get-status): Use tabulated-list-entry.
13557 (package-menu-mark-upgrades): New command.
13558 (package-menu-mode-map): Bind it to U. Add it to menu bar.
13559 (package-menu-execute): Do installation before deletion.
13560 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13561 instead of checking major-mode.
13562 (package-menu--find-upgrades): New function.
13564 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13566 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13567 passwords in the log buffer.
13568 (smtpmail-process-filter): Update the process marker so that the
13569 "broken by peer" status message is inserted in the right place.
13571 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13573 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13574 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13575 bibtex-completion-at-point-function.
13576 (bibtex-completion-at-point-function): Use them.
13578 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13580 * mpc.el (mpc-constraints-tag-lookup): New function.
13581 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13582 also to browser "album|playlist".
13584 2011-09-14 Juri Linkov <juri@jurta.org>
13586 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13587 (isearch-edit-string): Use length of `isearch-string' when
13588 `isearch-fail-pos' returns nil.
13589 (isearch-message): Remove duplicate code and call
13590 `isearch-fail-pos' with arg `t'.
13592 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
13594 * replace.el (occur-mode-goto-occurrence): Don't force using other
13597 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13599 2011-09-14 Martin Rudalics <rudalics@gmx.at>
13601 * window.el (display-buffer-window): Remove.
13602 (display-buffer-record-window): Use help-setup window parameter
13603 instead of variable display-buffer-window.
13604 (display-buffer-function, special-display-buffer-names)
13605 (special-display-function): Mention help-setup parameter instead
13606 of display-buffer-window in doc-string.
13607 * help.el (help-window-setup): New argument help-window.
13608 Use help-window-setup parameter instead of display-buffer-window.
13609 Reword some messages.
13610 (with-help-window): Pass window used for displaying the buffer
13611 to help-window-setup. Don't set display-buffer-window.
13613 2011-09-13 Glenn Morris <rgm@gnu.org>
13615 * emacs-lisp/debug.el (debugger-make-xrefs):
13616 Preserve point. (Bug#9462)
13618 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
13620 * window.el (window-deletable-p): Use next-frame.
13622 2011-09-13 Martin Rudalics <rudalics@gmx.at>
13624 * window.el (window-auto-delete): Remove.
13625 (window-deletable-p): Remove argument FORCE. Don't deal with
13626 dedication and previous buffers.
13627 (switch-to-prev-buffer): Don't delete window.
13628 (delete-windows-on): Delete a window's frame if and only if the
13629 window is dedicated.
13630 (replace-buffer-in-windows): Delete buffer's window or frame if
13631 and only if window is dedicated.
13632 (quit-window): Handle quit-restore as before last change.
13633 (bury-buffer): Delete window only if window-deletable-p returns t.
13635 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
13637 * window.el (window-deletable-p): Never delete the last frame on a
13640 2011-09-13 Glenn Morris <rgm@gnu.org>
13642 * help.el (describe-key-briefly): Copy previous standard-output change.
13644 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
13646 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13648 2011-09-13 Glenn Morris <rgm@gnu.org>
13650 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13651 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13653 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
13655 * dired-aux.el (dired-mark-read-string): Don't return default
13656 value on empty input (Bug#9361).
13657 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13658 Omit initial minibuffer contents.
13659 (dired-do-chmod): Signal an error on empty input.
13660 (dired-mark-read-string): Don't return default on empty input.
13662 * files.el (file-modes-symbolic-to-number): Doc fix.
13664 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13666 * international/mule-cmds.el (ucs-completions): Remove.
13667 (read-char-by-name): Use complete-with-action instead; add metadata.
13669 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
13671 * window.el (display-buffer--action-function-custom-type)
13672 (display-buffer--action-custom-type): New vars.
13673 (display-buffer-alist, display-buffer-default-action)
13674 (display-buffer-overriding-action): Add defcustom types.
13676 * frame.el (delete-other-frames): Doc fix (Bug#276).
13678 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13680 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13682 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
13684 Change modes that used same-window-* vars to use switch-to-buffer.
13686 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13687 Use switch-to-buffer.
13689 * cus-edit.el (customize-group, custom-buffer-create)
13690 (customize-browse, custom-buffer-create-other-window):
13691 Use switch-to-buffer or switch-to-buffer-other-window.
13693 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13694 (Info-prev, Info-up, Info-speedbar-goto-node)
13695 (info-display-manual): Use switch-to-buffer.
13696 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13698 * mail/sendmail.el (mail): Use switch-to-buffer.
13699 (mail-recover): Use switch-to-buffer-other-window.
13701 * cmuscheme.el (run-scheme, switch-to-scheme):
13703 * shell.el (shell):
13704 * net/rlogin.el (rlogin):
13705 * net/telnet.el (telnet, rsh):
13706 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13708 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13710 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13712 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13714 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13715 so don't mention it (bug#9301).
13716 (dired-sort-toggle-or-edit): Clarify string further.
13718 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13719 match `x', `w32' and `ns', like the manual says (bug#9029).
13721 * subr.el (eval-after-load): Doc string clarification (bug#9125).
13722 (process-kill-buffer-query-function): Mention the buffer name in
13725 * image-mode.el (image-next-line): The line parameter is mandatory
13728 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13729 which can be useful (bug#9301).
13731 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13733 * subr.el (match-string): Mention that the current buffer should
13734 be the same as the search was done in (bug#9282).
13736 * facemenu.el: Disable the remove-* commands if the mark isn't
13739 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
13741 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13743 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13745 * replace.el (occur-mode-goto-occurrence)
13746 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13747 and display-buffer.
13749 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13752 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13753 special-display and same-window variables.
13754 (mail-other-window): Use switch-to-buffer-other-window.
13755 (mail-other-frame): USe switch-to-buffer-other-frame.
13757 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13758 Use display-buffer-other-frame.
13759 (gdb-display-gdb-buffer): Use pop-to-buffer.
13761 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13763 * progmodes/python.el: Don't set same-window-buffer-names.
13765 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13767 * window.el (display-buffer-alist): Add *Python*.
13769 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
13771 * window.el (display-buffer-alist): Add entry for buffers
13772 previously handled same-window-*.
13773 (display-buffer-alist, display-buffer-default-action)
13774 (display-buffer-overriding-action): Mark as risky.
13775 (display-buffer-alist): Document action function changes.
13776 (display-buffer--same-window-action)
13777 (display-buffer--other-frame-action): New variables.
13778 (switch-to-buffer, display-buffer-other-frame): Use them.
13779 (display-buffer): Rename reuse-frame entry to reusable-frames.
13780 (display-buffer-reuse-selected-window): Function deleted.
13781 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13782 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13783 (display-buffer-special): New function.
13784 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13785 display-buffer-reuse-or-pop-window. Split off special-display
13786 part into display-buffer-special.
13787 (display-buffer-use-some-window): Don't perform any special
13788 pop-up-frames handling.
13789 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
13790 (display-buffer--maybe-same-window): Rename from
13791 display-buffer-maybe-same-window.
13793 * info.el: Don't set same-window-regexps.
13794 (info-setup): New function.
13795 (info-other-window, info): Call it.
13797 * cus-edit.el: Don't set same-window-regexps.
13798 (customize-group): New argument.
13799 (customize-group-other-window): Use it.
13800 (customize-face, customize-face-other-window): Likewise.
13801 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13805 * progmodes/gud.el: Don't set same-window-regexps.
13810 * mail/sendmail.el:
13811 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13813 2011-09-10 Juri Linkov <juri@jurta.org>
13815 * isearch.el (isearch-edit-string): Remove obsolete mention of
13816 `C-w' (`isearch-yank-word-or-char') from docstring.
13817 (isearch-query-replace): Fix typo in docstring (bug#9466).
13819 2011-09-10 Juri Linkov <juri@jurta.org>
13821 * paren.el (show-paren-function): Don't show escaped parens.
13822 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13824 2011-09-10 Eli Zaretskii <eliz@gnu.org>
13826 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13827 (mm-default-file-encoding): Remove autoload forms, they are
13828 replaced with autoload cookies in mml.el and mm-encode.el.
13829 (mail-add-attachment): New command.
13830 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13831 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13833 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13835 2011-09-10 Reuben Thomas <rrt@sc3d.org>
13837 * simple.el (count-words-region): Use buffer if there's no region
13840 2011-09-09 Juri Linkov <juri@jurta.org>
13842 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13843 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13844 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13846 2011-09-09 Alan Mackenzie <acm@muc.de>
13848 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13849 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13851 2011-09-09 Eli Zaretskii <eliz@gnu.org>
13853 Fix for Savannah bug#9392.
13854 * simple.el (mail-encode-mml): New defvar.
13856 * mail/rmail.el (mail-encode-mml): Add a defvar.
13857 (rmail-enable-mime-composing): Default to t.
13858 (rmail-forward): Use MIME method of forwarding only if both
13859 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13860 Set mail-encode-mml non-nil if the MIME method was used.
13862 * mail/sendmail.el (mml-to-mime): Add autoload form.
13863 (mail-encode-mml): Add a defvar.
13864 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13866 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13867 message through mml-to-mime, and reset mail-encode-mml to nil.
13869 2011-09-09 Glenn Morris <rgm@gnu.org>
13871 * woman.el (woman-if-body): When processing an .el block,
13872 do not delete the next .el block as well. (Bug#9447)
13873 (woman-special-characters): Add oq, cq, and hy characters.
13875 2011-09-08 Martin Rudalics <rudalics@gmx.at>
13877 * window.el (window-deletable-p): Make sure window is live before
13878 invoking window-prev-buffers.
13880 2011-09-08 Leo Liu <sdl.web@gmail.com>
13882 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13884 2011-09-08 Juri Linkov <juri@jurta.org>
13886 * progmodes/compile.el (compilation-environment): Make it
13887 a defcustom (bug#8340).
13889 2011-09-08 Martin Rudalics <rudalics@gmx.at>
13891 * window.el (frame-auto-delete): Rename to window-auto-delete.
13892 Make it control auto-deletion of windows and/or frames.
13893 (window-deletable-p): New argument FORCE. Rewrite conditions
13894 for deleting window/frame. (Bug#9419)
13895 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13896 Rewrite handling of case when window/frame can be deleted.
13897 (delete-windows-on): Call window-deletable-p with new FORCE
13898 argument t. (Bug#9456)
13900 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
13902 * help-mode.el (help-mode): Restore autoload.
13904 2011-09-07 Juri Linkov <juri@jurta.org>
13906 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13907 `compilation-environment'. Set buffer-local
13908 `compilation-environment' to `thisenv' later after (funcall mode).
13911 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13912 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13913 instead of replacing its value. (Bug#8340)
13915 2011-09-07 Juri Linkov <juri@jurta.org>
13917 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13918 based on text properties put by `grep-filter' instead of matching
13920 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13921 to the value of `grep-error-screen-columns' (bug#9438).
13923 2011-09-07 Juri Linkov <juri@jurta.org>
13925 * simple.el (next-error-highlight, next-error-highlight-no-select):
13926 Doc fix (bug#9432).
13928 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13930 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13931 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13933 2011-09-07 Leo Liu <sdl.web@gmail.com>
13935 * net/rcirc.el (rcirc-mode): Conditionally initialize
13938 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13940 * emacs-lisp/find-func.el (find-function-C-source): Only set
13941 find-function-C-source-directory after checking that we found a source
13942 file there (bug#9440).
13944 2011-09-06 Alan Mackenzie <acm@muc.de>
13946 * isearch.el (isearch-other-meta-char): Wherever a key list is
13947 unread, "unread" the prefix arg, too. This fixes bug #8901.
13949 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13951 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13953 2011-09-05 Juri Linkov <juri@jurta.org>
13955 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13957 2011-09-05 Juri Linkov <juri@jurta.org>
13959 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13960 keeping point where processing of grep matches begins, and
13961 continue to delete remaining escape sequences from the same point.
13962 (grep-filter): Make leading zero optional in "0?1;31m" because
13963 git-grep emits "\033[1;31m" escape sequences unlike expected
13964 "\033[01;31m" as GNU Grep does (bug#9408).
13965 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13967 2011-09-05 Juri Linkov <juri@jurta.org>
13969 * subr.el (y-or-n-p): Capitalize "yes".
13971 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
13973 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13974 `tramp-cache-unload-hook' where appropriate.
13975 (tramp-methods): Rename `tramp-remote-sh' to
13976 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13977 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13979 * net/tramp-sh.el (top): Don't require 'shell.
13980 (tramp-methods): Add `tramp-remote-shell' and
13981 `tramp-remote-shell-args' entries.
13982 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13983 (tramp-sh-handle-shell-command): Remove.
13984 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13985 Use `tramp-remote-shell'.
13987 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
13989 * mail/sendmail.el (sendmail-query-once-function): Delete.
13990 (sendmail-query-once): Save directly to send-mail-function.
13991 Update message-send-mail-function too.
13993 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13995 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13997 * progmodes/python.el (python-mode-map): Use correct function to
13998 start python interpreter from menu-bar (as reported by Geert
14000 (inferior-python-mode-map): Fix typo.
14001 (python-shell-map): Remove.
14003 2011-09-03 Deniz Dogan <deniz@dogan.se>
14005 * net/rcirc.el (rcirc-print): Simplify code for
14006 rcirc-scroll-show-maximum-output. There is no need to walk
14007 through all windows to find the right one.
14009 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14011 * help.el (help-return-method): Doc fix.
14013 2011-09-03 Martin Rudalics <rudalics@gmx.at>
14015 * window.el (window-deletable-p): Don't return a non-nil value
14016 when there's a buffer that was shown in the window before.
14018 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14019 Set window's previous buffers to nil.
14021 2011-09-03 Eli Zaretskii <eliz@gnu.org>
14023 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14024 newline before and after the tag line, so it doesn't interfere
14025 with determining the paragraph direction of bidirectional text.
14027 2011-09-03 Leo Liu <sdl.web@gmail.com>
14029 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14031 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14033 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
14034 (pop-to-buffer): Change interactive spec. Pass second argument
14035 directly to display-buffer.
14036 (display-buffer): Fix interactive spec. Use functionp to
14037 distinguish between a function and a list of functions.
14039 * abbrev.el (edit-abbrevs):
14040 * arc-mode.el (archive-extract):
14041 * autoinsert.el (auto-insert):
14042 * bookmark.el (bookmark-bmenu-list):
14043 * files.el (find-file):
14044 * view.el (view-buffer):
14045 * progmodes/compile.el (compilation-goto-locus):
14046 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14048 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14050 * window.el (display-buffer-alist): Doc fix.
14051 (display-buffer): Add docstring. Don't treat
14052 display-buffer-default specially.
14053 (display-buffer-reuse-selected-window)
14054 (display-buffer-same-window, display-buffer-maybe-same-window)
14055 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14056 (display-buffer-pop-up-window)
14057 (display-buffer-reuse-or-pop-window)
14058 (display-buffer-use-some-window): New functions.
14059 (display-buffer-default-action): Use them.
14060 (display-buffer-default): Delete.
14061 (pop-to-buffer-1): Fix choice of actions.
14063 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14065 * minibuffer.el (completion--insert-strings): Don't get confused by
14066 completion entries that end with an LF char.
14068 2011-09-01 Eli Zaretskii <eliz@gnu.org>
14070 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14072 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
14074 * window.el (display-buffer): Restore interactive spec.
14075 (display-buffer-same-window, display-buffer-other-window):
14077 (pop-to-buffer-1): New function. Use the above.
14078 (pop-to-buffer, pop-to-buffer-same-window): Use it.
14079 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
14081 * view.el (view-buffer-other-window, view-buffer-other-frame):
14082 Just use pop-to-buffer.
14084 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14086 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14088 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14090 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14092 2011-08-31 Richard Stallman <rms@gnu.org>
14094 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14095 of the separation of rmail-view-buffer from rmail-buffer.
14096 If you say no to "replace original", the decrypt is in the
14097 view buffer. If you say yes, the decrypt goes into the
14100 2011-08-31 Martin Rudalics <rudalics@gmx.at>
14102 * window.el (display-buffer-window): Rewrite doc-string.
14103 (display-buffer-record-window): New function.
14104 (display-buffer-macro-specifiers)
14105 (display-buffer-even-window-sizes, display-buffer-set-height)
14106 (display-buffer-set-width, display-buffer-in-window)
14107 (display-buffer-reuse-window, display-buffer-split-specifiers)
14108 (display-buffer-side-specifiers, display-buffer-split-window-1)
14109 (display-buffer-split-window, display-buffer-split-atom-window)
14110 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14111 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14112 (display-buffer-other-window-means-other-frame)
14113 (display-buffer-normalize-special)
14114 (display-buffer-normalize-default)
14115 (display-buffer-normalize-argument)
14116 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14117 (display-buffer-normalize-specifiers, display-buffer-frame)
14118 (display-buffer-same-window, display-buffer-same-frame)
14119 (display-buffer-other-window)
14120 (display-buffer-same-frame-other-window)
14121 (display-buffer-other-frame, pop-to-buffer-same-window)
14122 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14123 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14124 (switch-to-buffer-same-frame)
14125 (switch-to-buffer-other-window-same-frame)
14126 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14127 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14128 (display-buffer-alist-set): Remove.
14129 (display-buffer-function, special-display-buffer-names)
14130 (special-display-regexps, special-display-function):
14131 In doc-string refer to display-buffer-window and quit-restore
14133 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14134 (special-display-frame-alist, special-display-popup-frame)
14135 (same-window-buffer-names, same-window-regexps, same-window-p)
14136 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14137 (split-window-preferred-function, split-height-threshold)
14138 (split-width-threshold, window-splittable-p)
14139 (split-window-sensibly, window--try-to-split-window)
14140 (window--frame-usable-p, even-window-heights)
14141 (window--even-window-heights, window--display-buffer-1)
14142 (window--display-buffer-2, display-buffer-other-frame):
14143 Restore old Emacs 23 code, order and doc-strings where applicable.
14144 (display-buffer-default, display-buffer-assq-regexp): New functions.
14145 (display-buffer-alist): Rewrite doc-string.
14146 (display-buffer-default-action)
14147 (display-buffer-overriding-action): New variables.
14148 (display-buffer, switch-to-buffer): Rewrite.
14149 (pop-to-buffer): Restore Emacs 23 behavior but use
14150 window-normalize-buffer-to-display.
14151 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14152 Restore Emacs 23 behavior but use
14153 window-normalize-buffer-to-switch-to.
14154 (pop-to-buffer-same-window): Rewrite.
14155 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14156 Rewrite using Emacs 23 options.
14158 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
14160 * net/tramp.el (tramp-root-regexp): Remove.
14161 (tramp-completion-file-name-regexp-unified)
14162 (tramp-completion-file-name-regexp-separate)
14163 (tramp-completion-file-name-regexp-url): Don't use leading volume
14164 letter on w32 systems. (Bug#5303, Bug#9311)
14165 (tramp-drop-volume-letter): Simplify definition.
14166 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
14168 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14170 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14173 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14175 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
14177 2011-08-29 Juri Linkov <juri@jurta.org>
14179 * isearch.el (isearch-done): Don't display message "Mark saved"
14180 when arg `edit' is non-nil to prevent its flicker in the echo area.
14182 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14184 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14185 obsolete packages for deletion.
14187 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14189 * help-mode.el (help-mode-map): Add special-mode-map to parent.
14190 (help-mode): Derive help-mode from special-mode. Don't invoke
14191 view-mode from help-mode.
14192 (help-xref-override-view-map): Remove.
14193 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14194 view-mode is not used anymore.
14196 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14198 * server.el (server-port): Doc fix.
14200 * cus-theme.el (custom-theme-choose-mode): Inherit from
14201 special-mode (Bug#9124).
14202 (custom-theme-choose-mode-map): Add special-mode to parent.
14204 2011-08-28 Alan Mackenzie <acm@muc.de>
14206 * progmodes/cc-fonts.el
14207 (c-make-font-lock-BO-decl-search-function): New function.
14208 (c-basic-matchers-after - "Fontify the clauses after various
14209 keywords"): Extract the three keyword lists for the 3 erroneous
14210 constructs from the list of four, and use the new function above
14211 in place of an old one.
14213 2011-08-28 Deniz Dogan <deniz@dogan.se>
14215 * net/rcirc.el (rcirc-insert-prev-input)
14216 (rcirc-insert-next-input): Remove unused argument.
14218 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14220 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14222 2011-08-27 Alan Mackenzie <acm@muc.de>
14224 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14225 handle function pointer parameters properly.
14227 2011-08-27 Martin Rudalics <rudalics@gmx.at>
14229 * window.el (display-buffer-reuse-window): Fix case where
14230 selected window was reused with non-nil OTHER-WINDOW argument.
14233 2011-08-27 Deniz Dogan <deniz@dogan.se>
14235 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14236 oftc's NickServ messages.
14238 2011-08-27 Glenn Morris <rgm@gnu.org>
14240 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14242 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
14244 * emacs-lisp/package.el (package-install): Call package-initialize
14245 if called interactively.
14247 2011-08-26 Leo Liu <sdl.web@gmail.com>
14249 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14251 2011-08-25 Juri Linkov <juri@jurta.org>
14253 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14254 `search-whitespace-regexp' (bug#9364).
14256 2011-08-25 Juri Linkov <juri@jurta.org>
14258 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14259 `regexp-search-ring' to their global values to protect from
14260 updating by `read-from-minibuffer' (bug#9185).
14262 2011-08-25 Juri Linkov <juri@jurta.org>
14264 * textmodes/ispell.el (ispell-command-loop): Add newline
14265 at the end of the "Use option `i'..." line.
14267 2011-08-25 Juri Linkov <juri@jurta.org>
14269 * battery.el (display-battery-mode): If `battery-status-function'
14270 or `battery-mode-line-format' is nil, display the message and set
14271 `display-battery-mode' to nil (bug#9363).
14273 2011-08-25 Eli Zaretskii <eliz@gnu.org>
14275 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14276 bidi-string-mark-left-to-right; they are unnecessary now.
14278 2011-08-25 Deniz Dogan <deniz@dogan.se>
14280 * net/quickurl.el: Documentation typo fixes.
14282 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
14284 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14286 2011-08-25 Glenn Morris <rgm@gnu.org>
14288 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14290 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14291 (smtpmail-via-smtp): Handle nil response from smtp.
14293 2011-08-24 Juri Linkov <juri@jurta.org>
14295 * proced.el (proced-marked): Inherit from `error' instead of
14296 `font-lock-warning-face'.
14298 * ibuffer.el (ibuffer-marked-face): Change default face from
14299 `font-lock-warning-face' to `warning'.
14300 (ibuffer-deletion-face): Change default face from
14301 `font-lock-type-face' to `error'.
14303 * battery.el (battery-update): Use the face `error' instead of
14304 `font-lock-warning-face' (bug#6117).
14306 2011-08-24 Juri Linkov <juri@jurta.org>
14308 * faces.el (success): Change face color from "Green3" to
14309 "ForestGreen" on light background (bug#9353).
14311 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
14313 * window.el (quit-window): Rename from quit-restore-window.
14314 Use same arglist as old quit-window.
14315 (frame-auto-delete): Doc fix.
14317 * view.el (view-mode-exit): Use quit-window.
14319 2011-08-24 Juri Linkov <juri@jurta.org>
14321 * isearch.el (isearch-ring-adjust1): Start visiting previous
14322 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14323 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14324 for empty search string (when the last search string is reused
14325 automatically) to adjust the isearch ring to the last element and
14326 prepare the correct index for further M-p commands (bug#9185).
14328 2011-08-24 Kenichi Handa <handa@m17n.org>
14330 * international/ucs-normalize.el: If decomposition property of
14331 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14333 (nfd, nfkd): Likewise.
14335 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14337 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14338 from process filters aren't reliably transmitted to the surrounding
14339 accept-process-output.
14340 (mpc-proc-check): New function.
14341 (mpc-proc-sync): Use it (bug#8293)
14343 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14345 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14346 Add compatibility functions (bug#9313).
14348 2011-08-23 Eli Zaretskii <eliz@gnu.org>
14350 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14352 * international/uni-bidi.el: Regenerate.
14354 2011-08-23 Kenichi Handa <handa@m17n.org>
14356 * international/charprop.el:
14357 * international/uni-bidi.el:
14358 * international/uni-category.el:
14359 * international/uni-combining.el:
14360 * international/uni-comment.el:
14361 * international/uni-decimal.el:
14362 * international/uni-decomposition.el:
14363 * international/uni-digit.el:
14364 * international/uni-lowercase.el:
14365 * international/uni-mirrored.el:
14366 * international/uni-name.el:
14367 * international/uni-numeric.el:
14368 * international/uni-old-name.el:
14369 * international/uni-titlecase.el:
14370 * international/uni-uppercase.el: Regenerate.
14372 2011-08-23 Martin Rudalics <rudalics@gmx.at>
14374 * help.el (help-window-setup): Fix message displayed when other
14375 window is reused. (Bug#9341)
14377 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14379 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14380 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14382 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14384 * shell.el (shell-parse-pcomplete-arguments): New function.
14385 (shell-completion-vars): Use it instead (bug#9160).
14387 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14389 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14390 strings and comments (bug#9333).
14392 * emacs-lisp/debug.el (debug-arglist): New function.
14393 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14394 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14396 2011-08-22 Juri Linkov <juri@jurta.org>
14398 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14399 Revert regexp that highlights output switches to its old
14400 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14402 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14403 to check for empty output (bug#9226).
14405 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
14407 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14408 symbol-constituent as the default, as that stops font-lock from
14409 working properly (Bug#8843).
14411 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14413 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14414 `coding-system-for-*' around the process open call to avoid
14415 auth-source side effects.
14416 (smtpmail-try-auth-methods): Expand the secret password.
14417 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14420 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14422 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14424 * emacs-lisp/find-func.el (find-function-noselect): New arg
14427 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14428 signal an error for built-in functions (Bug#6664).
14430 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14432 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14433 (smtpmail-try-auth-methods): Use it.
14435 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14437 * font-lock.el (font-lock-fontify-region)
14438 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14439 (font-lock-default-unfontify-buffer)
14440 (font-lock-default-fontify-region)
14441 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14443 * progmodes/compile.el (compilation-error-properties):
14444 Fix confusion between file struct and message struct (Bug#9319).
14445 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14448 * net/browse-url.el (browse-url-firefox): Don't call
14449 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14451 2011-08-20 Glenn Morris <rgm@gnu.org>
14453 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14455 * tutorial.el (tutorial--default-keys): Update some default bindings.
14457 * files.el (hack-local-variables): Fully ignore case for "mode:".
14459 2011-08-20 Alan Mackenzie <acm@muc.de>
14461 Resolve invalid use of a regexp in regexp-opt.
14463 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14464 detection for a java annotation.
14466 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
14467 detection for a java annotation.
14469 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14471 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14473 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
14475 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14478 2011-08-20 Alan Mackenzie <acm@muc.de>
14480 Fontify CPP expressions correctly when starting in the middle of
14481 such a construct. Mainly for when jit-lock etc. starts a chunk
14484 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
14486 (c-make-font-lock-search-form): New function, extracted from
14487 c-make-font-lock-search-function.
14488 (c-make-font-lock-search-function): Use the above function.
14489 (c-make-font-lock-context-search-function): New function.
14490 (c-cpp-matchers): Enhance the preprocessor expression case with
14492 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14493 which takes an expression.
14495 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14497 2011-08-20 Martin Rudalics <rudalics@gmx.at>
14499 * window.el (display-buffer-reuse-window)
14500 (display-buffer-pop-up-window): Don't reuse or split a side
14503 2011-08-19 Glenn Morris <rgm@gnu.org>
14505 * files.el (hack-local-variables-prop-line, hack-local-variables):
14506 Downcase "Mode:". (Bug#9331)
14508 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
14510 * international/characters.el: Add L and R categories.
14512 * subr.el (bidi-string-mark-left-to-right): Rename from
14513 string-mark-left-to-right. Use category search.
14515 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14517 2011-08-18 Juri Linkov <juri@jurta.org>
14519 * faces.el (error, warning, success): New faces with definitions
14520 copied from old default values of `font-lock-warning-face',
14521 `compilation-warning', `compilation-info' (bug#6117).
14523 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14525 * progmodes/compile.el (compilation-error): Inherit from `error'.
14526 (compilation-warning): Inherit from `warning'.
14527 (compilation-info): Inherit from `success'.
14529 * dired.el (dired-marked): Inherit from `warning'.
14530 (dired-flagged): Inherit from `error'.
14532 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14534 * mail/smtpmail.el (auth-source): Require to avoid problems with
14535 binding variables (bug#9298). Also clean up some unused
14538 * net/network-stream.el (network-stream-open-starttls):
14539 Support using starttls.el without using gnutls-cli.
14541 2011-08-17 Juri Linkov <juri@jurta.org>
14543 * progmodes/grep.el (rgrep): Handle the case when
14544 `grep-find-command' is a cons cell (bug#9278).
14546 2011-08-17 Martin Rudalics <rudalics@gmx.at>
14548 * window.el (display-buffer-pop-up-frame): Run frame creation
14549 function with BUFFER current (as special-display-popup-frame
14550 does). Reported by Drew Adams.
14552 2011-08-17 Daiki Ueno <ueno@unixuser.org>
14554 * epa-mail.el: Simplify GnuPG group expansion using
14556 (epa-mail-group-alist, epa-mail-group-modtime)
14557 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14558 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14559 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14562 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
14564 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14566 2011-08-16 Alan Mackenzie <acm@muc.de>
14568 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14569 Correct, to avoid the inside of macros.
14571 2011-08-16 Richard Stallman <rms@gnu.org>
14573 * epa-mail.el: Handle GnuPG group definitions.
14574 (epa-mail-group-alist, epa-mail-group-modtime)
14575 (epa-mail-gnupg-conf-file): New variables.
14576 (epa-mail-parse-groups, epa-mail-sync-groups)
14577 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14578 (epa-mail-expand-recipients): New functions.
14579 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14581 * mail/rmail.el (rmail-epa-decrypt): New command.
14583 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14584 Don't bind buffer-read-only, just inhibit-read-only.
14585 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14586 (epa-decrypt-armor-in-region): Make error message clearer.
14588 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14590 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14591 and "a2b" to "ab" for `prefix'.
14593 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
14595 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14597 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14598 Fourquet (Bug#8804).
14600 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
14602 * startup.el (argi): Declare as global variable (bug#9275).
14604 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
14606 * subr.el (string-mark-left-to-right): Search the entire string
14607 for RTL script, not just the terminating character. Doc fix.
14609 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14611 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14613 (js--regexp-literal, js-syntax-propertize-function): Remove.
14614 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14615 (js-mode-map): Don't rebind electric keys.
14616 (js-insert-and-indent): Remove.
14617 (js-mode): Setup electric-layout and electric-indent instead.
14619 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14621 2011-08-12 Daiki Ueno <ueno@unixuser.org>
14623 * epa.el (epa-progress-callback-function): Fix the logic of
14624 displaying progress.
14625 * epa-file.el (epa-file-insert-file-contents): Make progress
14626 display more user-friendly.
14627 (epa-file-write-region): Ditto.
14629 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
14631 * subr.el (string-mark-left-to-right): New function.
14633 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14634 Use string-mark-left-to-right.
14635 (list-buffers-noselect): Caller changed.
14637 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14638 Use string-mark-left-to-right.
14639 (tabulated-list-print): Recenter after moving point.
14641 2011-08-10 Juri Linkov <juri@jurta.org>
14643 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14644 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14645 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14647 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
14649 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14652 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
14654 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14655 character. (Bug#6594)
14657 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
14659 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14660 (image-dired--with-db-file): New macro.
14661 (image-dired-write-tags, image-dired-remove-tag)
14662 (image-dired-create-gallery-lists, image-dired-write-comments)
14663 (image-dired-get-comment, image-dired-mark-tagged-files)
14664 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14665 (image-dired-gallery-generate): Use insert-file-contents.
14667 * time.el (display-time-world-list, display-time-world-display):
14668 * time-stamp.el (time-stamp-string):
14669 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14670 set-time-zone-rule (Bug#7337).
14672 2011-08-08 Daiki Ueno <ueno@unixuser.org>
14674 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14675 (epg-error-to-string, epg-errors-to-string): New function.
14676 (epg-wait-for-completion): Reverse errors list.
14677 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14678 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14679 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14680 (epg-sign-keys, epg-generate-key-from-file)
14681 (epg-generate-key-from-string): Format errors by using
14682 epg-errors-to-string (bug#9255).
14683 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14685 2011-08-07 Juri Linkov <juri@jurta.org>
14687 * faces.el (list-faces-display): Remove extra angle bracket
14688 from `help-mode-map'.
14690 * info.el (Info-history-toc-nodes): Doc fix.
14692 * longlines.el (longlines-mode): Doc fix.
14694 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14696 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14697 of statements and in a few more cases (bug#9183).
14699 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14701 (cl-transform-lambda): Use them (bug#9239).
14703 2011-08-05 Martin Rudalics <rudalics@gmx.at>
14705 * window.el (display-buffer-same-window)
14706 (display-buffer-same-frame, display-buffer-other-window)
14707 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14708 (pop-to-buffer-other-window)
14709 (pop-to-buffer-same-frame-other-window)
14710 (pop-to-buffer-other-frame): Make them defuns.
14711 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14713 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14715 * subr.el (make-composed-keymap): Move from C. Change calling
14716 convention, and improve docstring to bring attention to a subtle point.
14717 * minibuffer.el (completing-read-default): Adjust accordingly.
14719 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
14721 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14722 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14724 * net/trampver.el: Update release number.
14726 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14728 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14731 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14733 * mail/sendmail.el (sendmail-query-once): Restore the current
14734 buffer after querying (bug#9074).
14736 * dired.el (dired-flagged): Use different faces for marked and
14737 flagged files (bug#6117).
14739 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14742 * ido.el (ido-mode): Switch off the message if called
14745 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14746 before 587, since it appears that that's more likely to work for
14749 * cus-edit.el (custom-file): When running under emacs -q, always
14750 refuse to save the customizations, even if the .emacs file doesn't
14753 * info.el: Remove the `Info-beginning-of-buffer' function
14756 * net/network-stream.el (network-stream-open-starttls):
14757 Use `starttls-available-p' to see whether starttls.el can be used.
14759 2011-08-01 Martin Rudalics <rudalics@gmx.at>
14761 * window.el (display-buffer-in-window): Don't set dedicated status
14762 of window here (Bug#9215).
14763 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14764 (display-buffer-pop-up-side-window)
14765 (display-buffer-in-side-window): Set dedicated status of window here.
14767 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14769 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14770 before binding generated-autoload-file.
14772 2011-08-01 Deniz Dogan <deniz@dogan.se>
14774 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14776 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
14778 Sync with Tramp 2.2.2.
14780 * net/trampver.el: Update release number.
14782 2011-07-30 Juri Linkov <juri@jurta.org>
14784 * dired-aux.el (dired-touch-initial): Remove function.
14785 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14786 current time, and `default' to the last modification time of the
14787 current marked file (bug#6887).
14789 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14791 * simple.el (goto-line): Use string-to-number to provide a
14792 numeric argument to read-number (bug#9163).
14794 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
14796 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14797 connection process, it could be nil.
14799 2011-07-27 Leo Liu <sdl.web@gmail.com>
14801 Simplify url handling in rcirc-mode.
14803 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14804 (rcirc-browse-url-at-mouse): Remove.
14805 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14807 2011-07-26 Alan Mackenzie <acm@muc.de>
14809 Fontify bitfield declarations properly.
14811 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14812 (c-symbol-chars): Now exported as a lang variable.
14813 (c-not-primitive-type-keywords): New lang variable.
14815 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14816 QT keyword "more" to prevent "more slots: ...." being spuriously
14817 parsed as a bitfield declaration.
14819 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14820 Refactor and enhance to handle bitfield declarations.
14821 (c-punctuation-in): New function.
14822 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14823 declarations properly.
14825 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
14827 * calendar/icalendar.el (icalendar--all-events): Take care of
14828 multiple vcalendars in a single file.
14829 (icalendar--convert-float-to-ical): Checkdoc fixes.
14831 2011-07-25 Deniz Dogan <deniz@dogan.se>
14833 * image.el (insert-image): Clarifying docstring.
14835 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
14837 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14838 `tramp-send-command-and-check' if there is no error.
14839 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14841 2011-07-22 Alan Mackenzie <acm@muc.de>
14843 Prevent cc-langs.elc being loaded at run time.
14845 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14848 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
14849 "(require 'cc-langs)". Quote a form so it will evaluate at
14850 (cc-mode's) compilation time.
14852 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
14854 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14855 loading. (Bug#9114)
14857 2011-07-21 Martin Rudalics <rudalics@gmx.at>
14859 * window.el (display-buffer-pop-up-window)
14860 (display-buffer-pop-up-side-window)
14861 (display-buffer-in-side-window): Call display-buffer-set-height
14862 and display-buffer-set-width after setting the new window's
14863 buffer so `fit-window-to-buffer' and friends work on the right buffer.
14865 2011-07-20 Sam Steingold <sds@gnu.org>
14867 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14868 (etags-tags-included-tables): Call `convert-standard-filename' on
14869 the file names contained in TAGS so that windows Emacs can handle
14870 TAGS files created by cygwin ctags.
14872 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14874 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14875 which apparently didn't work.
14877 2011-07-19 Roland Winkler <winkler@gnu.org>
14879 * proced.el (proced-send-signal): For *Marked Processes* buffer
14880 put point at beginning of buffer.
14882 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
14884 * proced.el (proced-format): Make header lines align with the text
14887 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14889 * view.el (view-buffer): Allow running in `special' modes if we're
14890 visiting a file (bug#8615).
14892 2011-07-19 Martin Rudalics <rudalics@gmx.at>
14894 * window.el (display-buffer-alist-of-strings-p)
14895 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14897 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14900 2011-07-18 Alan Mackenzie <acm@muc.de>
14902 Fontify declarators properly when, e.g., a jit-lock chunk begins
14903 inside a declaration.
14905 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14907 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14909 (c-complex-decl-matchers): Insert reference to
14910 c-font-lock-enclosing-decls.
14912 * progmodes/cc-engine.el (c-backward-single-comment):
14913 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14914 to nil around calls to (forward-comment -1).
14916 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14918 * image.el (put-image): Doc typo fix.
14920 * progmodes/etags.el (tags-search): Doc typo fix.
14922 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14923 password if we get errors 550 to 554.
14925 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14927 * net/gnutls.el (gnutls-log-level): Remove.
14929 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14930 indentation character (bug#6380).
14932 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14934 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14935 to clarify what the problem is (bug#4291).
14937 * simple.el (current-kill): Clarify what
14938 `interprogram-paste-function' does (bug#7500).
14939 (auto-fill-mode): Document `auto-fill-function' in relation to
14940 `auto-fill-mode' (bug#2470).
14942 2011-07-16 Lawrence Mitchell <wence@gmx.li>
14944 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14945 method if slot is read-only (bug#9035).
14947 2011-07-16 Martin Rudalics <rudalics@gmx.at>
14949 * frame.el (select-frame-set-input-focus): New argument NORECORD.
14950 * window.el (pop-to-buffer): Select window used even if it was
14951 selected before, see discussion of (Bug#8615), (Bug#6954).
14952 Pass argument NORECORD on to select-frame-set-input-focus.
14954 2011-07-15 Glenn Morris <rgm@gnu.org>
14956 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
14959 2011-07-09 Lawrence Mitchell <wence@gmx.li>
14961 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14962 (gnutls-negotiate): Use it.
14964 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14966 * net/gnutls.el (gnutls-negotiate):
14967 Upcase `gnutls-algorithm-priority'.
14969 2011-07-15 Glenn Morris <rgm@gnu.org>
14971 * jka-compr.el (jka-compr-verbose): Move from here...
14972 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14973 Add missing :version tag.
14974 * info.el: No need to require jka-compr when compiling.
14976 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14978 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14979 (gnutls-negotiate): Use it.
14981 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14983 * info.el (Info-beginning-of-buffer): New command.
14984 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14985 announcing `b' as the key (bug#8325).
14986 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
14988 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14990 * international/mule-cmds.el
14991 (describe-specified-language-support): Make the error message
14992 clearer (bug#8905).
14994 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14996 * isearch.el (isearch-barrier): Add a doc string, since it's
14997 mentioned in a function doc string (bug#8678).
14999 2011-07-15 Martin Rudalics <rudalics@gmx.at>
15001 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15002 buffer argument (Bug#9083) and self-identifying label argument.
15004 2011-07-15 Glenn Morris <rgm@gnu.org>
15006 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15008 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15010 * man.el (Man-fontify-manpage): Fix message when formatting the
15011 man page (bug#7929).
15013 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15015 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15016 argument LRM; if non-nil, append an invisible LRM character to the
15018 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15019 last argument non-nil, when formatting buffer names.
15020 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15021 paragraph direction.
15023 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15025 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15026 the man page name (bug#7929).
15028 * image.el (put-image): Mention the `put-image' overlay property
15031 * scroll-bar.el (set-scroll-bar-mode): Mention that
15032 `scroll-bar-mode' lists the values (bug#7772).
15034 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15035 command (bug#7729).
15037 * rect.el (apply-on-rectangle): Return the point after the last
15039 (string-rectangle): Go to the point after the last operation
15042 * printing.el (pr-toggle-region): Clarify the documentation
15043 slightly (bug#7493).
15045 * time.el (display-time-update):
15046 Allow `display-time-mail-function' to return nil (bug#7158).
15047 Fix suggested by Detlev Zundel.
15049 * vc/diff.el (diff): Clarify the order the file names are read
15052 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15053 the doc string (bug#7015).
15055 * font-lock.el (font-lock-maximum-decoration): Mention what
15056 numeric levels mean (bug#6935).
15058 * startup.el (initial-buffer-choice): Don't mention the `none'
15059 selection, which is against policy.
15061 2011-07-14 Martin Rudalics <rudalics@gmx.at>
15063 * window.el (display-buffer-normalize-special):
15064 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
15066 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15068 * subr.el (version<, version<=, version=): Mention "-CVS" and
15069 "-12345" alpha version numbers.
15071 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15073 * bindings.el: Add advertised binding for set-mark-command
15076 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15078 * bindings.el (mode-line-other-buffer):
15079 * bookmark.el (bookmark-bmenu-2-window):
15080 * bs.el (bs-cycle-next, bs-cycle-previous):
15081 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15084 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15087 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
15089 * follow.el (follow-debug-message, follow-redisplay):
15090 * jka-cmpr-hook.el (with-auto-compression-mode):
15091 Fix typos in docstrings.
15093 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15095 * subr.el (with-silent-modifications): Clarify somewhat what the
15096 macro inhibits (bug#6525).
15098 * simple.el (eval-expression): Note what it does if called
15099 interactively (bug#6495).
15101 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15103 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15104 Use pop-to-buffer buffer-or-name if it is nil.
15106 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15107 Remove switch-to-buffer.
15109 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15111 * files.el (make-directory): Clarify that an error will be raised
15112 if there's an error (bug#6397).
15114 * startup.el (initial-buffer-choice): Add `none' as a choice
15117 * subr.el (add-hook): Clarify section about buffer-local hooks
15120 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15122 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15124 * tabify.el (untabify): Preserve the current column so that point
15125 doesn't move (bug#6032).
15127 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15129 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15130 Rewrite to avoid awkward possessive "s" (bug#5986).
15132 2011-07-13 Glenn Morris <rgm@gnu.org>
15134 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15135 (dired-insert-directory): Give a message the first time
15136 if ls is found not to support --dired.
15138 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15140 * simple.el (toggle-truncate-lines): Clarify what is toggled
15141 (bug#5580). Text by Drew Adams.
15143 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15145 * simple.el (blink-matching-open): Make the error message from the
15146 last change less verbose.
15148 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15150 * font-lock.el (font-lock-comment-face): Use the high contrast
15151 "yellow" color for font-lock-comment-face on low color terminals
15152 using a dark background color (bug#4221).
15154 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15156 * dired.el (dired-insert-set-properties): Make the doc string
15157 reflect what it does now (bug#5325).
15159 * simple.el (blink-matching-open): Say that we were unable to find
15160 the match within the limit, if we're limited (bug#5122).
15162 * international/mule-cmds.el (prefer-coding-system): Add an
15163 example (bug#4869).
15165 * progmodes/etags.el (tags-search): Document `file-list-form'
15168 2011-07-13 Lawrence Mitchell <wence@gmx.li>
15170 * net/browse-url.el (browse-url-default-browser)
15171 (browse-url-browser-function): Make the default browser choice a
15172 bit more logical (bug#4300). Also clean up the doc string.
15174 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15176 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15177 binary endings (bug#4440).
15179 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15181 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15182 which can be pretty annoying (bug#8971).
15184 * jka-compr.el (jka-compr-verbose): New variable, and use
15185 throughout (bug#8971).
15187 * info.el (Info-find-file): Fall back on the installation
15188 directory if we can't find the info node anywhere else.
15190 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15192 * vc/vc.el (vc-revert-file):
15193 Don't set file time-stamp in the past. (Bug#5181)
15195 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15197 * files.el (after-find-file): Give a better error message when
15198 trying to find a symlink that points to a file that doesn't exist
15201 * progmodes/cc-vars.el: Remove (probably) misleading comment
15204 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15206 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15208 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15210 * mouse-sel.el: Hack restoring functionality, while keeping
15211 compatibility with 2010-07-03 changes to mouse selection.
15212 (mouse-sel-primary-overlay): New var.
15213 (mouse-sel-selection-alist): Use it.
15214 (mouse-sel-mode): Doc fix; remove points that are default features
15217 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15219 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15220 Fix previous fix (bug#2490).
15222 2011-07-12 Roland Winkler <winkler@gnu.org>
15224 * textmodes/bibtex.el (bibtex-initialize):
15225 Use pop-to-buffer-same-window.
15226 (bibtex-search-entries): Fix interactive call.
15228 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15230 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15231 Fontise bytecomp Error lines more correctly (bug#2490).
15232 Fix suggested by Johan Bockgård.
15234 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15236 * dired-x.el (dired-guess-default): Use `delete-dups'.
15238 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15240 * dired.el (dired-mark-prompt):
15241 * dired-aux.el (dired-read-shell-command): Doc fix.
15243 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15245 * mail/sendmail.el (sendmail-query-once):
15246 Use `customize-save-variable' unconditionally, now that it works under
15249 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15251 * cus-edit.el (custom-file): Take an optional no-error variable.
15252 (customize-save-variable): Set the variable, and give a warning if
15253 running under "emacs -q".
15255 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
15257 * loadhist.el (unload-feature-special-hooks):
15258 Add `auto-coding-functions', `fill-nobreak-predicate' and
15259 `find-directory-functions' (bug#5327).
15261 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15263 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15265 * cus-edit.el (custom-guess-name-alist): -alist variables should
15266 use the `alist' type (bug#3120). Suggested by Drew Adams.
15268 * printing.el: Add documentation to all the `pr-toggle-' commands.
15270 2011-07-11 Leo Liu <sdl.web@gmail.com>
15272 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15273 backends where it makes sense (bug#2623).
15275 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15277 * dired-x.el (dired-guess-default): Remove duplicate shell command
15278 entries (bug#2028).
15279 (dired-guess-default): Fix grammar in doc string (bug#2028).
15280 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
15282 * subr.el (remove-duplicates): New conveniency function.
15284 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15286 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15289 2011-07-10 Martin Rudalics <rudalics@gmx.at>
15291 * window.el (display-buffer-normalize-default): Don't invert
15292 meaning of even-window-heights. Reported by Eli Zaretskii
15295 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15297 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15299 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
15301 * window.el (display-buffer): Fix arguments to
15302 display-buffer-reuse-window in last change.
15304 * faces.el (link): Use a less saturated blue on light backgrounds.
15306 * startup.el (fancy-startup-text, fancy-about-text)
15307 (fancy-startup-tail): Use font-lock faces, for background safety.
15309 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15311 * emulation/viper-cmd.el (viper-change-state-to-vi):
15312 Limit triggering of abbrev expansion (Bug#9038).
15314 2011-07-09 Martin Rudalics <rudalics@gmx.at>
15316 * window.el (display-buffer-default-specifiers): Remove.
15317 (display-buffer-macro-specifiers): Remove default specifiers.
15318 (display-buffer-alist): Default to nil.
15319 (display-buffer-reuse-window): New optional argument other-window.
15320 (display-buffer-pop-up-window): Allow splitting internal
15321 windows. Check whether a live window was created.
15322 (display-buffer-other-window-means-other-frame)
15323 (display-buffer-normalize-arguments): Rename to
15324 display-buffer-normalize-argument and rewrite. Set the
15325 other-window specifier.
15326 (display-buffer-normalize-special): New function.
15327 (display-buffer-normalize-options): Rename to
15328 display-buffer-normalize-default and rewrite.
15329 (display-buffer-normalize-options-inhibit): Remove.
15330 (display-buffer-normalize-specifiers): Rewrite.
15331 (display-buffer): Process other-window specifier and call
15332 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15334 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
15335 (display-buffer-alist-set): Don't handle 'unset default values.
15336 (display-buffer-in-window, display-buffer-alist-set):
15337 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
15338 <tassilo@member.fsf.org>.
15340 2011-07-09 Leo Liu <sdl.web@gmail.com>
15342 * register.el (insert-register): Restore accidental change on
15343 2011-06-26. (Bug#9028)
15345 2011-07-09 Glenn Morris <rgm@gnu.org>
15347 * subr.el (remq): Handle the empty list. (Bug#9024)
15349 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15351 * mail/sendmail.el (send-mail-function): No longer delay custom
15353 * custom.el (custom-initialize-delay): Doc fix.
15355 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15357 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15359 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
15361 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15362 human-friendly prompt.
15364 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15366 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15367 provided by a particular plugin.
15369 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15371 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15372 save customizations (with "emacs -Q"), just set the variable
15373 instead of erroring out.
15375 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15377 2011-07-08 Juri Linkov <juri@jurta.org>
15379 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15380 (archive-zip-update-case): Use 7z if found by `executable-find'.
15381 The order of searching the available programs is the same as in
15382 `archive-zip-extract' (bug#8968).
15384 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15386 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15387 (menu-bar-options-menu): Tweak descriptions.
15389 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15391 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15392 menu items into verb phrases (bug#1421). Also refill to fit under
15395 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15397 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15398 (Info-read-node-name): Doc fix (Bug#1084).
15400 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15401 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15402 (end-of-sexp, beginning-of-sexp)
15403 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15404 (forward-symbol, forward-same-syntax, word-at-point)
15405 (sentence-at-point): Doc fix (Bug#1144).
15407 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15409 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15410 should cover it (bug#1281).
15412 * cus-edit.el (custom-show): Mark as obsolete.
15414 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
15415 negotiation fails, then possibly try again with a non-encrypted
15416 connection (bug#9017).
15418 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15421 2011-07-07 Richard Stallman <rms@gnu.org>
15423 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15424 property, and handle its changed format.
15425 Look for the correct line number.
15426 Use file's line contents (but not past first =) to find
15427 correct line in message.
15429 2011-07-07 Kenichi Handa <handa@m17n.org>
15431 * international/characters.el (build-unicode-category-table):
15433 (unicode-category-table): Set it by unicode-property-table-internal.
15435 * international/mule-cmds.el (char-code-property-alist): Move to
15437 (get-char-code-property): Call unicode-property-table-internal to
15438 load a file. Call get-unicode-property-internal where necessary.
15439 (put-char-code-property): Call unicode-property-table-internal to
15440 load a file. Call put-unicode-property-internal where necessary.
15441 put-unicode-property-internal where necessary.
15442 (char-code-property-description):
15443 Call unicode-property-table-internal to load a file.
15445 * international/charprop.el:
15446 * international/uni-bidi.el:
15447 * international/uni-category.el:
15448 * international/uni-combining.el:
15449 * international/uni-comment.el:
15450 * international/uni-decimal.el:
15451 * international/uni-decomposition.el:
15452 * international/uni-digit.el:
15453 * international/uni-lowercase.el:
15454 * international/uni-mirrored.el:
15455 * international/uni-name.el:
15456 * international/uni-numeric.el:
15457 * international/uni-old-name.el:
15458 * international/uni-titlecase.el:
15459 * international/uni-uppercase.el: Regenerate.
15461 * loadup.el: Load international/charprop.el before
15462 international/characters.
15464 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15466 * window.el (next-buffer, previous-buffer): Signal an error if
15467 called from a minibuffer window.
15469 * bindings.el: Revert 2011-07-04 change.
15471 2011-07-06 Richard Stallman <rms@gnu.org>
15473 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15474 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15475 Treat markers like ints.
15476 (rmail-mime-entity): Doc fix.
15478 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15480 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15481 defcustom again for backwards compatibility.
15483 * simple.el (shell-command-on-region): Fill.
15485 * dired-aux.el (dired-kill-line): Add a doc string.
15487 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15488 to "\\sw\\|\\s_" (bug#358).
15490 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15491 (dired-unmark-backward): Ditto.
15492 (dired-flag-backup-files): Ditto.
15494 * dired-x.el (dired-mark-sexp): Ditto.
15496 2011-07-06 Richard Stallman <rms@gnu.org>
15498 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15499 (rmail-mime-entity): New arg TRUNCATED.
15500 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15502 (rmail-mime-save): Warn if entity is truncated.
15503 (rmail-mime-toggle-hidden): Likewise, for showing.
15504 (rmail-mime-process-multipart): Record when an entity is truncated.
15506 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15507 if ENTITY is a string.
15509 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15511 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
15512 of faces when `M-C-x'-ing their definitions (bug#8378).
15513 Also clean up the code slightly.
15515 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
15516 because that makes the colors go away.
15518 * mail/sendmail.el (send-mail-function): Change the default to
15519 `sendmail-query-once'.
15520 (sendmail-query-once): Add an autoload cookie.
15522 * net/network-stream.el (network-stream-open-starttls): Try using
15523 a plain connection even if the server offered STARTTLS, and we
15524 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15525 capability. This should make smtpmail.el work in slightly more
15528 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
15530 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15532 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15534 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15536 * progmodes/sql.el: Version 3.0
15537 (sql-product-alist): Add product :completion-object,
15538 :completion-column, and :statement attributes.
15539 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
15540 (sql-mode-syntax-table): Mark all punctuation.
15541 (sql-font-lock-keywords-builder): Temporarily remove fallback on
15543 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
15544 (sql-mode-oracle-font-lock-keywords): Improve.
15545 (sql-oracle-show-reserved-words): New function for development.
15546 (sql-product-font-lock): Simplify for source code buffers.
15547 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15549 (sql-highlight-product): Set product specific syntax table.
15550 (sql-mode-map): Add statement movement functions.
15551 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15553 (sql-statement-regexp, sql-beginning-of-statement)
15554 (sql-end-of-statement, sql-signum): New functions.
15555 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
15556 (sql-show-sqli-buffer): Bug fix.
15557 (sql-interactive-mode): Store connection data as buffer local.
15558 (sql-connect): Add NEW-NAME parameter. Redesign interaction
15559 with sql-interactive-mode.
15560 (sql-save-connection): Save buffer local settings.
15561 (sql-connection-menu-filter): Change menu entry name.
15562 (sql-product-interactive): Bug fix.
15563 (sql-preoutput-hold): New variable.
15564 (sql-interactive-remove-continuation-prompt): Bug fixes.
15565 (sql-debug-redirect): New variable.
15566 (sql-str-literal): New function.
15567 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
15569 (sql-oracle-save-settings, sql-oracle-restore-settings)
15570 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15571 (sql-completion-object, sql-completion-column)
15572 (sql-completion-sqlbuf): New variables.
15573 (sql-build-completions-1, sql-build-completions)
15574 (sql-try-completion): New functions.
15575 (sql-read-table-name): Use them.
15576 (sql-contains-names): New buffer local variable.
15577 (sql-list-all, sql-list-table): Use it.
15578 (sql-oracle-completion-types): New variable.
15579 (sql-oracle-completion-object, sql-sqlite-completion-object)
15580 (sql-postgres-completion-object): New functions.
15582 2011-07-06 Glenn Morris <rgm@gnu.org>
15584 * window.el (pop-to-buffer): Doc fix.
15586 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
15588 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15590 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
15592 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
15594 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
15596 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
15598 * button.el (button): Inherit from link face. Suggested by Dan
15601 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15603 * progmodes/gdb-mi.el: Fit in 80 columns.
15604 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15607 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15608 if imenu is simply not configured (bug#8941).
15610 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15612 * allout.el (allout-post-undo-hook): New allout outline-change
15613 event hook to signal undo activity.
15614 (allout-post-command-business): Run allout-post-undo-hook if an
15615 undo just occurred.
15616 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15617 * allout-widgets.el (allout-widgets-after-undo-function):
15618 Ensure the integrity of the current item's decoration after it has been
15619 in the vicinity of an undo.
15620 (allout-widgets-mode): Include allout-widgets-after-undo-function
15621 on the new allout-post-undo-hook.
15623 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15625 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15626 Let define-derived-mode define it.
15627 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15628 cycles of abbrev-table inheritance (bug#8998).
15630 2011-07-05 Roland Winkler <winkler@gnu.org>
15632 * textmodes/bibtex.el: Add support for biblatex.
15633 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15634 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15635 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15636 (bibtex-entry-alist, bibtex-field-alist): New variables.
15637 (bibtex-entry-field-alist): Obsolete alias for
15638 bibtex-BibTeX-entry-alist.
15639 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15640 (bibtex-set-dialect): New command.
15641 (bibtex-entry-type, bibtex-entry-head)
15642 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15643 Bind via bibtex-set-dialect.
15644 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15645 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15646 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15647 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15648 Define via bibtex-set-dialect.
15649 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15650 Obey bibtex-no-opt-remove-re.
15651 (bibtex-vec-push, bibtex-vec-incr): New functions.
15652 (bibtex-format-entry, bibtex-field-list)
15653 (bibtex-print-help-message, bibtex-validate)
15654 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15656 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15658 * progmodes/compile.el (compilation-goto-locus):
15659 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15660 * bs.el (bs-cycle-next, bs-cycle-previous):
15661 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15662 * bindings.el (mode-line-other-buffer):
15663 * autoinsert.el (auto-insert):
15664 * arc-mode.el (archive-extract):
15665 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15667 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15669 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15670 Fix check of `emacs-lock-unlockable-modes'.
15671 Coerce true values of `emacs-lock--try-unlocking' to t.
15673 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15675 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15676 * emacs-lock.el: New file.
15678 2011-07-05 Julien Danjou <julien@danjou.info>
15680 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15681 than `boundp' to check if face is set.
15683 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15685 * register.el (registerv-make):
15686 * window.el (window-min-height): Fix typos in docstrings.
15688 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15690 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
15693 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
15695 * server.el (server-execute): Catch quit and call
15696 `server-return-error' to pass the error back to emacsclient and
15697 close the connection (bug#8942).
15699 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15701 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15702 insecure exception for current topic. Also note that auto-saves
15703 are handled differently.
15705 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
15706 State variables for tracking auto-save inhibition situation.
15708 (allout-write-contents-hook-handler): Rename from
15709 'allout-write-file-hook-handler', and describe how it depends on
15710 write-contents-functions sensitivity to non-nil value to prevent
15713 (allout-auto-save-hook-handler): Remove. auto-save does not check
15714 this in individual buffers, only in the starting buffer, so this
15715 is not the right way for us to inhibit auto-save in a buffer
15716 according to its condition.
15718 (allout-mode): Use new allout-write-contents-hook-handler, and
15719 only with write-contents-functions. Remove auto-save provisions -
15720 they're implemented elsewhere.
15722 (allout-before-change-handler): If undo is in progress, note that
15723 for attention of allout-post-command-business.
15725 (allout-post-command-business): If the command we're following was
15726 an undo, check for change in the status of encrypted items and
15727 adjust auto-save inhibitions accordingly.
15729 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15730 according to whether there are or aren't any plain-text topics
15731 pending encryption.
15733 (allout-inhibit-auto-save-info-for-decryption):
15734 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15735 if there are plain-text topics pending encryption.
15737 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15738 buffer-saved-size and some allout state to not inhibit auto-saves
15739 if there are no longer any plain-text topics pending encryption.
15741 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15742 No longer provide for exemption of the current topic.
15744 2011-07-04 Juri Linkov <juri@jurta.org>
15746 Add 7z operations to delete and save changed members (bug#8968).
15747 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15749 (archive-7z-write-file-member): New function.
15750 (archive-7z-summarize): Fix the number of dashes in the
15753 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15755 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15758 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
15760 * bindings.el: Ignore next-buffer and previous-buffer in
15761 minibuffer-local-map.
15763 * font-lock.el (font-lock-builtin-face): Change light background
15764 color to dark slate blue (Bug#6693).
15766 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15768 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15770 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15772 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15773 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15774 Add switch-to-buffer.
15776 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15778 * isearch.el (isearch-search-fun-function): Clarify further the
15779 meaning of the function returned.
15781 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
15783 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15785 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15786 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15788 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15789 `tramp-default-remote-path' does not exist.
15790 (tramp-send-command-and-read): New optional argument NOERROR.
15791 (tramp-open-connection-setup-interactive-shell)
15792 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15793 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15794 (tramp-process-sentinel): Flush also process' connection property.
15795 (tramp-sh-handle-start-file-process): Do not set process
15796 sentinel. It is done now ...
15797 (tramp-maybe-open-connection): ... here. (Bug#8929)
15799 2011-07-04 MON KEY <monkey@sandpframing.com>
15801 * play/animate.el (animate-string): Doc fixes and allow changing
15802 the buffer name (bug#5417).
15804 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15806 * play/animate.el (animation-buffer-name): Rename from *animate*.
15808 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15810 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15811 This is simpler and helps future-proof the code.
15812 (timer-until): Use time-subtract and float-time.
15813 (timer--time-less-p): Use time-less-p.
15815 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
15817 * type-break.el (timep): Use the value of `float-time' to avoid a
15818 byte-compiler warning.
15820 * server.el (server-eval-and-print): Return any result, even nil.
15822 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15824 * type-break.el: Accept time formats that the builtins accept.
15825 (timep, type-break-time-difference): Accept any format that
15826 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15827 This is simpler and helps future-proof the code.
15828 (type-break-time-difference): Round rather than ignoring
15829 subseconds components.
15831 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15833 * info.el (Info-apropos-matches): Make non-interactive, since it
15834 doesn't seem to do anything useful as a command (bug#8829).
15836 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
15838 * frame.el (frame-background-mode, frame-set-background-mode):
15839 Move from faces.el.
15840 (frame-default-terminal-background): New function.
15842 * custom.el (custom-push-theme): Don't record faces in `changed'
15843 theme; this doesn't work correctly for per-frame face settings.
15844 (disable-theme): Use face-set-after-frame-default to reset faces.
15845 (custom--frame-color-default): New function.
15847 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15849 * dired.el (dired-flagging-regexp): Remove unused variable
15852 2011-03-29 Kevin Ryde <user42@zip.com.au>
15854 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15855 `perl-Test2' extend to match possible "fail #N" rep count
15858 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15860 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15861 `smtpmail-via-smtp' now returns the error instead of nil.
15863 * isearch.el (isearch-search-fun-function): Clarify the doc string
15866 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
15868 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15869 unnecessary spaces (bug#8987).
15871 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15873 * net/network-stream.el (open-network-stream): Use the
15874 :end-of-capability command thoughout.
15876 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15878 * net/network-stream.el (open-network-stream): Add the
15879 :end-of-capability command parameter, used by pop3.el.
15881 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15883 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15885 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15886 for list)" (bug#6475).
15888 * files.el (file-expand-wildcards): Ignore non-readable
15889 sub-directories while trying to find matches instead of signaling
15890 an error (bug#6297).
15892 * man.el (Man-reference-regexp): Allow matching possible
15893 word-wrapped references (bug#6289).
15895 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15896 for consistency with the other vc buffers (bug#6197).
15897 (vc-checkin): Ditto.
15899 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15901 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15903 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15905 * custom.el (defcustom): Clarify that :set is only used in the
15906 Customize user interface (bug#6089).
15908 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15909 associated with a file, refuse to run instead of erroring out
15912 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15913 the doc string, since it appears that using `fill-column' always
15914 controls the width (bug#7845).
15916 * simple.el (shell-command-on-region): Say where the error output
15917 went if `shell-command-default-error-buffer' is set (bug#6857).
15919 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15921 * allout.el (allout-yank-processing): Adjust cursor position for
15922 backwards-deleted space.
15924 (allout-rebullet-heading): Register changes with
15925 allout-exposure-changed-hook, so the modified topic is properly
15928 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15930 * minibuffer.el (completion-in-region): Document PREDICATE
15933 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15934 of keyword/argument pairs (bug#6904).
15936 * replace.el (multi-occur):
15937 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
15939 2011-07-02 Drew Adams <drew.adams@oracle.com>
15941 * dired.el (dired-mark-if): Make the message about whether it's
15942 marking or unmarking clearer (bug#8523).
15944 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15946 * disp-table.el (display-table-print-array): New function.
15947 (describe-display-table): Use it to print the vectors more pretty
15950 2011-07-02 Martin Rudalics <rudalics@gmx.at>
15952 * window.el (window-state-get-1): Don't assign clone numbers.
15953 Add clone-of item to list of window parameters.
15954 (window-state-put-2): Don't process clone numbers.
15955 (display-buffer-alist): Fix doc-string.
15957 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15959 * subr.el (remq): Don't allocate if it's not needed.
15960 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15961 (keymap--merge-bindings): New functions.
15962 (keymap-canonicalize): Use them to refine the canonicalization.
15963 * minibuffer.el (minibuffer-local-completion-map)
15964 (minibuffer-local-must-match-map): Move initialization from C.
15965 (minibuffer-local-filename-completion-map): Move initialization from C;
15966 don't inherit from anything here.
15967 (minibuffer-local-filename-must-match-map): Make obsolete.
15968 (completing-read-default): Use make-composed-keymap to combine
15969 minibuffer-local-filename-completion-map with either
15970 minibuffer-local-must-match-map or
15971 minibuffer-local-filename-completion-map.
15973 2011-07-01 Glenn Morris <rgm@gnu.org>
15975 * type-break.el (type-break-time-sum): Use dolist.
15977 * textmodes/flyspell.el (flyspell-word-search-backward):
15978 Replace CL function.
15980 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15982 * mouse.el (mouse--strip-first-event): New function.
15983 (function-key-map): Use it to map fringe clicks to normal clicks
15986 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15987 (vc-bzr-revision-completion-table): Add support for annotate and date.
15989 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15990 inherit from parent.
15992 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15994 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
15995 (dired-show-file-type): Doc fixup (bug#8818).
15997 * dired.el (dired-mode): Fix up the doc string as suggested by
15998 Drew Adams (bug#8817).
16000 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16001 cookie, since the manual says that it should be possible to add
16002 this function to `find-file-hook' (bug#8709).
16004 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16006 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16007 here. Noted Ted Zlatanov as the maintainer.
16008 (cfengine-common-settings, cfengine-common-syntax): New functions
16009 to set up common things between `cfengine-mode' and
16011 (cfengine3-mode): New mode.
16012 (cfengine3-defuns cfengine3-defuns-regex
16013 (cfengine3-class-selector-regex cfengine3-category-regex)
16014 (cfengine3-vartypes cfengine3-font-lock-keywords)
16015 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
16016 (cfengine3-indent-line): Add from cfengine3.el.
16018 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
16020 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16022 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16024 2011-07-01 Martin Rudalics <rudalics@gmx.at>
16026 * window.el (same-window-buffer-names, same-window-regexps)
16027 (same-window-p, special-display-frame-alist)
16028 (special-display-popup-frame, special-display-function)
16029 (special-display-buffer-names, special-display-regexps)
16030 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16031 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16032 (split-window-preferred-function, split-height-threshold)
16033 (split-width-threshold, even-window-heights)
16034 (display-buffer-mark-dedicated, window-splittable-p)
16035 (split-window-sensibly, window-safely-shrinkable-p):
16037 (display-buffer): Don't spread args with function specifier
16038 because special-display-popup-frame won't like it.
16040 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16042 Time-stamp simplifications and fixes.
16043 These improve accuracy slightly, and future-proof the code
16044 against some potential changes to current-time format.
16046 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16047 by using time-since and float-time.
16049 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16050 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16051 + NNN microseconds".
16053 * type-break.el (type-break-time-sum): Rewrite using time-add.
16055 * play/hanoi.el (hanoi-current-time-float): Remove.
16056 All uses replaced by float-time.
16058 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16059 This yields a more-accurate answer.
16060 (rng-time-to-float): Remove; no longer needed.
16062 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16064 * calendar/timeclock.el (timeclock-seconds-to-time):
16065 Defalias to seconds-to-time, since they're the same thing.
16067 * emacs-lisp/elp.el (elp-elapsed-time):
16068 * emacs-lisp/benchmark.el (benchmark-elapse):
16069 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16071 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16073 * window.el (bury-buffer): Don't iconify the only frame.
16074 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16075 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16077 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
16079 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16080 Add mouse-yank-primary.
16082 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16084 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16086 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16088 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16089 (find-library-name): Use it to find relative load names when provided
16090 absolute file name (bug#8803).
16092 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16094 * textmodes/flyspell.el (flyspell-word): Consider words that
16095 differ only in case as potential doublons (bug#5687).
16097 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16098 Remove two rather uninteresting debugging-like messages to make
16099 debbugs.el more silent.
16101 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16102 a password-like phrase.
16104 2011-06-30 Masatake YAMATO <yamato@redhat.com>
16106 * progmodes/cc-guess.el: New file.
16108 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
16110 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16111 derived from `c-basic-common-init'.
16113 * progmodes/cc-mode.el (top-level): Require cc-guess.
16114 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16116 2011-06-30 Lawrence Mitchell <wence@gmx.li>
16118 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16120 2011-06-30 Alan Mackenzie <acm@muc.de>
16122 * progmodes/cc-engine.el (c-guess-continued-construct):
16123 Correct the handling of template-args-cont, particularly for when font
16124 lock is disabled. Name this case as "CASE G".
16126 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16128 * allout.el (allout-yank-processing): Fix injection of extra space
16129 between bullet and non-whitespace character in first topic when
16130 pasting, ensuring that the actual spacing in the pasted topic
16131 following the bullet char is preserved. This extra space was
16132 causing pasted encrypted topics to get a decrypted status even
16133 when the content was actually still encrypted. Now the decryption
16134 status from before the paste is preserved.
16136 (allout-flag-region): Set all allout overlays so they evaporate
16137 when reduced to zero length (evanescent), to prevent overlay
16140 2011-06-30 Glenn Morris <rgm@gnu.org>
16142 * w32-fns.el (w32-charset-info-alist): Declare.
16144 * find-dired.el (find-grep-options): Simplify.
16146 * term/ns-win.el (ns-set-resource): Declare.
16148 * ses.el (row, col): Declare dynamic variables honestly.
16150 * textmodes/reftex-parse.el (index-tags): Declare.
16152 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
16154 * cus-edit.el (customize-push-and-save): New function.
16156 * files.el (hack-local-variables-confirm): Use it.
16158 * custom.el (load-theme): New arg NO-CONFIRM.
16159 Use customize-push-and-save (Bug#8720).
16160 (custom-enabled-themes): Doc fix.
16162 * cus-theme.el (customize-create-theme)
16163 (custom-theme-merge-theme): Callers to load-theme changed.
16165 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16167 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16168 short URLs have at least one dot in them (bug #7614).
16170 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16171 nil, because using a pty is apparently too slow (bug #895).
16173 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16175 * mail/sendmail.el (sendmail-query-once): New function.
16176 (sendmail-query-once-function): New variable.
16178 2011-06-29 Glenn Morris <rgm@gnu.org>
16180 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16182 * ses.el (top-level): Require cl when compiling.
16183 (ses-set-localvars): Fix error statement.
16184 Call it at compile time to silence a storm of warnings.
16186 2011-06-29 Martin Rudalics <rudalics@gmx.at>
16188 * window.el (normalize-live-buffer): Rename to
16189 window-normalize-buffer.
16190 (normalize-live-frame): Rename to window-normalize-frame.
16191 (normalize-any-window): Rename to window-normalize-any-window.
16192 (normalize-live-window): Rename to window-normalize-live-window.
16193 (make-window-atom): Rename to window-make-atom.
16194 (window-resize-reset): Rename to window--resize-reset.
16195 (window-resize-reset-1): Rename to window--resize-reset-1.
16196 (resize-mini-window): Rename to window--resize-mini-window.
16197 (resize-subwindows-skip-p): Rename to
16198 window--resize-subwindows-skip-p.
16199 (resize-subwindows-normal): Rename to
16200 window--resize-subwindows-normal.
16201 (resize-subwindows): Rename to window--resize-subwindows.
16202 (resize-other-windows): Rename to window--resize-siblings.
16203 (resize-this-window): Rename to window--resize-this-window.
16204 (resize-root-window): Rename to window--resize-root-window.
16205 (resize-root-window-vertically): Rename to
16206 window--resize-root-window-vertically.
16207 (normalize-buffer-to-display): Rename to
16208 window-normalize-buffer-to-display.
16209 (normalize-buffer-to-switch-to): Rename to
16210 window-normalize-buffer-to-switch-to.
16211 Correspondingly update all callers of the functions listed
16213 (display-buffer-alist, display-buffer-normalize-arguments)
16214 (display-buffer-normalize-options, display-buffer)
16215 (display-buffer-alist-set): Use "function" instead of
16218 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
16220 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16221 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16222 debbugs.gnu.org. Mention acknowledgment email.
16224 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16226 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16227 buffer multibyteness, since it shouldn't matter.
16229 2011-06-28 Martin Rudalics <rudalics@gmx.at>
16231 * window.el (display-buffer-in-side-window): Handle dedicated
16232 windows as in display-buffer-reuse-window.
16233 (display-buffer-normalize-alist): Use value of override
16235 (display-buffer-normalize-specifiers): Use value of
16236 other-window-means-other-frame specifier.
16237 (display-buffer-alist): Rewrite some texts in widgets.
16238 (display-buffer): Spread arguments when calling function
16239 specified by fun-with-args.
16241 2011-06-28 Deniz Dogan <deniz@dogan.se>
16243 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16246 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16247 selectors (Bug#5732).
16248 (css-proprietary-nmstart-re): Use `regexp-opt'.
16250 2011-06-27 Jari Aalto <jari.aalto@cante.net>
16252 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16253 (eshell-ls-date-format): New defcustom.
16254 (eshell-ls-file): Use it.
16256 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16258 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16260 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16262 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16263 (ange-ftp-make-tmp-name): New arg.
16264 (ange-ftp-file-local-copy): Use it.
16266 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
16268 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16269 no-conversion (Bug#8870).
16271 2011-06-27 Martin Rudalics <rudalics@gmx.at>
16273 * window.el (window-right, window-left, window-child)
16274 (window-child-count, window-last-child)
16275 (window-iso-combination-p, walk-window-tree-1)
16276 (window-atom-check-1, window-tree-1, delete-window)
16277 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16278 new naming conventions - window-vchild, window-hchild,
16279 window-next and window-prev are now called window-top-child,
16280 window-left-child, window-next-sibling and window-prev-sibling
16282 (resize-window-reset): Rename to window-resize-reset.
16283 (resize-window-reset-1): Rename to window-resize-reset-1.
16284 (resize-window): Rename to window-resize.
16285 (window-min-height, window-min-width)
16286 (resize-mini-window, resize-this-window, resize-root-window)
16287 (resize-root-window-vertically, adjust-window-trailing-edge)
16288 (enlarge-window, shrink-window, maximize-window)
16289 (minimize-window, delete-window, quit-restore-window)
16290 (split-window, balance-windows, balance-windows-area-adjust)
16291 (balance-windows-area, window-state-put-2)
16292 (display-buffer-even-window-sizes, display-buffer-set-height)
16293 (display-buffer-set-width, set-window-text-height)
16294 (fit-window-to-buffer): Rename all "resize-window" prefixed
16295 calls to use the "window-resize" prefix convention.
16296 (display-buffer-alist): Fix symbol for label specifier.
16297 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16298 corresponding specifier.
16299 Reported by Juanma Barranquero <lekktu@gmail.com>.
16301 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16303 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16305 (ses-call-printer): Does not pass an empty string to formatter when the
16306 cell is empty to keep from barking printer Calc math-format-value.
16308 2011-06-27 Richard Stallman <rms@gnu.org>
16310 * battery.el (battery-mode-line-limit): New variable.
16311 (battery-update): Handle it.
16313 * mail/rmailmm.el (rmail-mime-process-multipart):
16314 Handle truncated messages.
16316 2011-06-27 Glenn Morris <rgm@gnu.org>
16318 * progmodes/flymake.el (flymake-err-line-patterns):
16319 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16321 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16323 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
16324 (ses--clean-!, ses--clean-_): New functions.
16325 (ses-range): Add configurability of readout order, and conversion
16328 * ses.el (ses-repair-cell-reference-all): New function.
16329 (ses-cell-symbol): Set macro as safe, so that it can be used in
16332 * ses.el: Update cycle detection algorithm.
16333 (ses-localvars): Add ses--Dijkstra-attempt-nb and
16334 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
16335 (ses-set-localvars): New function.
16336 (ses-make-cell): Add property-list as a cell element.
16337 (ses-cell-property-get-fun, ses-cell-property-get)
16338 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
16339 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16341 (ses-cell-property-set, ses-cell-property-pop)
16342 (ses-cell-property-get-handle): New macro.
16343 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16344 New aliases, used for code readability.
16345 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16347 (ses-self-reference-early-detection): New defcustom.
16348 (ses-formula-references): Robustify against self-referring cells.
16349 (ses-mode): Use ses-set-localvars.
16350 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16351 before lauching the update processing.
16352 (ses-initialize-Dijkstra-attempt): New function.
16353 (ses-recalculate-cell): Update for cycle detection based on
16354 Dijkstra algorithm.
16356 * ses.el: Fix commenting and indenting convention.
16358 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16360 * bs.el (bs-cycle-next): Complete last change.
16362 2011-06-27 Drew Adams <drew.adams@oracle.com>
16364 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16366 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16368 * net/network-stream.el (network-stream-open-starttls):
16369 Don't re-get capabilities unless we've reestablished connection.
16370 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16372 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16373 to binary to possibly avoid line encoding issues on Windows (among
16376 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16378 * net/network-stream.el (open-network-stream): Return an :error
16379 saying what the problem was, if possible.
16381 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16384 * net/network-stream.el (network-stream-open-starttls): If we
16385 wanted to use STARTTLS, and the server offered it, but we weren't
16386 able to because we had no STARTTLS support, then close the connection.
16387 (open-network-stream): Return an :error element, if present.
16389 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16391 * hl-line.el (hl-line-sticky-flag): Doc fix.
16392 (global-hl-line-sticky-flag): New option (Bug#8323).
16393 (global-hl-line-highlight): Obey it.
16395 * vc/vc.el (vc-revert-show-diff): Default to t.
16397 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16399 * allout-widgets.el (allout-widgets-post-command-business):
16400 Stop decorating intermediate isearch matches. They're not being
16401 undecorated when an isearch is continued past, and isearch
16402 automatically collapses them. This leads to "widget leaks", where
16403 decorated items accumulate in collapsed areas. Lines with lots of
16404 hidden widgets can slow down cursor travel, substantially.
16405 Too much complicated machinery would be needed to ensure undecoration,
16406 so we're doing without this nicety.
16408 (allout-widgets-tally-string): Don't try to do a hash-table-count
16409 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16410 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16411 *Messages* when allout-widgets-maintain-tally is t.
16413 2011-06-26 Martin Rudalics <rudalics@gmx.at>
16415 * window.el (display-buffer-normalize-argument): Rename to
16416 display-buffer-normalize-arguments. Handle special meaning of
16417 LABEL argument. Respect special-display-function when popping up
16418 a new frame. Fix code searching for a window showing the buffer
16420 (display-buffer-normalize-specifiers):
16421 Call display-buffer-normalize-arguments.
16422 (display-buffer-in-window): Don't undedicate the window if its
16423 buffer remains the same.
16424 Reported by Drew Adams <drew.adams@oracle.com>.
16425 (display-buffer-alist): Add choice for same-window macro
16427 (display-buffer): Mention special meaning of LABEL argument in
16428 doc-string. Fix quoting. Don't pop up a new frame even as
16431 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
16433 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16434 avoid deleting the current window in some cases (bug#8911).
16436 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16438 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16441 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16443 * net/network-stream.el (network-stream-open-starttls):
16444 Use built-in TLS support if `gnutls-available-p' is true.
16445 (network-stream-open-tls): Ditto.
16447 2011-06-26 Leo Liu <sdl.web@gmail.com>
16449 * register.el (registerv): New struct.
16450 (registerv-make): New function.
16451 (jump-to-register, describe-register-1, insert-register):
16452 Support the jump-func, print-func and insert-func slot of a registerv
16455 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16457 * vc/vc.el (vc-revert-show-diff): New defcustom.
16458 (vc-diff-internal): New arg specifying diff buffer.
16459 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16460 reuse an existing *vc-diff* buffer (Bug#8927).
16462 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16464 2011-06-26 Glenn Morris <rgm@gnu.org>
16466 * progmodes/f90.el (f90-critical-indent): New option.
16467 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16468 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16469 (f90-mode): Doc fix.
16470 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16471 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16472 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16473 (f90-match-end): Handle block, critical.
16475 2011-06-25 Glenn Morris <rgm@gnu.org>
16477 * calendar/diary-lib.el (diary-included-files): Doc fix.
16478 (diary-include-files): New function, extracted from
16479 diary-include-other-diary-files and diary-mark-included-diary-files.
16480 (diary-include-other-diary-files, diary-mark-included-diary-files):
16481 Just call diary-include-files.
16482 (diary-mark-entries): Reset diary-included-files on first call.
16484 * calendar/diary-lib.el (diary-mark-entries)
16485 (diary-mark-included-diary-files):
16486 Visit included diary-files in temp buffers.
16488 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16489 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16490 (f90-start-block-re, f90-imenu-generic-expression)
16491 (f90-looking-at-program-block-start, f90-no-block-limit):
16492 Add support for submodules.
16494 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16495 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
16497 2011-06-25 Eli Zaretskii <eliz@gnu.org>
16499 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16500 buffer-file-type before setting its value, to avoid disastrous
16501 global effects on decoding files for DOS/Windows systems. (Bug#8780)
16503 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
16505 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16507 * ses.el (ses-unload-function):
16508 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16510 * proced.el (proced-unload-function):
16511 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16513 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16515 * server.el (server-create-window-system-frame): Add parameters arg.
16516 (server-process-filter): Doc fix. Handle frame-parameters.
16518 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
16520 Fix bug#8730, bug#8781.
16522 * loadhist.el (unload--set-major-mode): New function.
16523 (unload-feature): Use it.
16525 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16526 (python-unload-function): New function.
16528 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16530 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16532 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16534 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16535 the candidates list.
16537 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
16539 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16541 2011-06-23 Richard Stallman <rms@gnu.org>
16543 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16544 (rmail-variables): Set next-error-move-function.
16545 (rmail-what-message): Take argument POS.
16546 (rmail-next-error-move): New function.
16548 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16550 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16551 messages for adjacent non-terminals.
16553 2011-06-23 Richard Stallman <rms@gnu.org>
16555 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
16556 (rmail-show-message-1): Preserve buffer modified flag.
16557 (rmail-start-mail): Don't specify use of rmail-mail-return;
16558 that's done by mail-bury now.
16559 (rmail-mail-return): Handle arg NEWBUF.
16561 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
16563 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16566 2011-06-23 Martin Rudalics <rudalics@gmx.at>
16568 * window.el (get-lru-window, get-mru-window)
16569 (get-largest-window): Never return a minibuffer window.
16570 (display-buffer-pop-up-window): Fix a bug that could lead to
16571 reusing the minibuffer window.
16572 (display-buffer): Pass original specifier argument to
16573 display-buffer-function instead of the normalized one.
16574 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16576 2011-06-22 Leo Liu <sdl.web@gmail.com>
16578 * minibuffer.el (completing-read-function)
16579 (completing-read-default): Move from minibuf.c.
16581 2011-06-22 Richard Stallman <rms@gnu.org>
16583 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16584 to Rmail even if not started by a special Rmail command.
16586 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16587 Copy the buffer currently showing just one message.
16589 2011-06-22 Roland Winkler <winkler@gnu.org>
16591 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16592 (bibtex-clean-entry): First delete the old key so that a
16593 customized algorithm for generating the new key does not get
16594 confused by the old key.
16595 (bibtex-url): Obey regexp of first step.
16596 (bibtex-search-entries): Do not use add-to-list with local
16599 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16601 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16602 stored a user name, then query for the password first, instead of
16603 waiting for SMTP to give an error message and the trying again.
16605 2011-06-22 Lawrence Mitchell <wence@gmx.li>
16607 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16608 BUFFER in call-process.
16610 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16612 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16614 (smtpmail-try-auth-methods): Require user name and password from
16617 2011-06-22 Martin Rudalics <rudalics@gmx.at>
16619 * window.el (display-buffer-default-specifiers)
16620 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16621 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
16622 (split-window): Normalize SIDE argument (Bug#8916).
16624 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16625 (special-display-frame-alist, special-display-popup-frame):
16626 Remove duplicate declarations. These are now in window.el.
16628 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16630 * mail/smtpmail.el (smtpmail-via-smtp):
16631 Set :use-starttls-if-possible so that we always use STARTTLS if the
16632 server supports it. SMTP servers that support STARTTLS commonly
16635 * net/network-stream.el (network-stream-open-starttls): Support
16636 upgrading to STARTTLS always, even if we don't have built-in support.
16637 (open-network-stream): Add the :always-query-capabilities keyword.
16639 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16640 upgrades with `open-network-stream', and rely solely on
16641 auth-source for all credentials. Big changes throughout the file,
16643 (smtpmail-auth-credentials): Remove.
16644 (smtpmail-starttls-credentials): Remove.
16645 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16648 * net/network-stream.el (network-stream-open-starttls):
16649 Provide support for client certificates both for external and built-in
16651 (auth-source): Require.
16652 (open-network-stream): Document the :client-certificate keyword.
16653 (network-stream-certificate): Change cert-cert to cert and
16656 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
16658 * net/tramp-cache.el (top): Don't load the persistency file when
16659 "emacs -Q" has been called.
16661 2011-06-21 Tim Harper <timcharper@gmail.com>
16663 * term/ns-win.el (ns-initialize-window-system):
16664 Set application-specific `ApplePressAndHoldEnabled' system
16665 resource to NO as it is not yet supported by the NS port.
16667 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
16669 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16670 (list-dynamic-libraries): ...not here.
16672 2011-06-21 Leo Liu <sdl.web@gmail.com>
16674 * subr.el (sha1): Implement sha1 using secure-hash.
16676 2011-06-21 Martin Rudalics <rudalics@gmx.at>
16678 * window.el (display-buffer-alist): In default value do not
16679 enforce searching a window on any but the selected frame.
16680 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16681 (display-buffer-select-window): Remove function.
16682 (display-buffer-in-window): When a window on another frame gets
16683 reused, do not select it any more but just raise its frame if
16684 necessary (Bug#8851) and (Bug#8856).
16685 (display-buffer-normalize-options): Handle pop-up-frames related
16686 options more faithfully.
16687 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16688 window if it is on another frame.
16689 (display-buffer-alist, display-buffer-default-specifiers):
16690 Don't make new frame unsplittable by default.
16691 (display-buffer-normalize-argument): Fix doc-string typo and use
16692 'same-frame-other-window instead of 'other-window when associating
16693 with display-buffer-macro-specifiers.
16695 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16697 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16699 (5x5-mode-map, 5x5-mode-menu): Bind them.
16700 (5x5-draw-grid): Tweak the solver's rendering.
16702 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16704 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16705 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16707 2011-06-21 Drew Adams <drew.adams@oracle.com>
16709 * menu-bar.el: Use function variable instead of switch-to-buffer.
16710 (menu-bar-select-buffer-function): New variable.
16711 (menu-bar-update-buffers): Use it (bug#8876).
16713 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16715 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16718 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16720 * x-dnd.el (x-dnd-version-from-flags)
16721 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16722 and long as number (Bug#8899).
16723 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16725 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16727 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
16728 (completion-try-completion, completion-all-completions): Compute the
16729 metadata argument if it's missing; make it optional (bug#8795).
16731 * wid-edit.el: Use lex-bind and move towards completion-at-point.
16732 (widget-complete): Use new :completion-function property.
16733 (widget-completions-at-point): New function.
16734 (default): Use :completion-function instead of :complete.
16735 (widget-default-completions): Rename from widget-default-complete;
16737 (widget-string-complete, widget-file-complete, widget-color-complete):
16739 (file, symbol, function, variable, coding-system, color):
16740 * international/mule-cmds.el (default-input-method, charset)
16741 (language-info-custom-alist):
16742 * cus-edit.el (face): Use new property :completions.
16744 * progmodes/pascal.el (pascal-completions-at-point): New function.
16745 (pascal-mode): Use it.
16746 (pascal-mode-map): Use completion-at-point.
16747 (pascal-toggle-completions): Make obsolete.
16748 (pascal-complete-word, pascal-show-completions):
16749 * progmodes/octave-mod.el (octave-complete-symbol):
16750 Redefine as obsolete alias.
16751 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16752 Signal absence of completion info for old Octave,
16753 (inferior-octave-complete): Redefine as obsolete alias.
16754 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16755 (meta-completions-at-point): Rename from meta-complete-symbol and
16756 adapt it for use on completion-at-point-functions.
16757 (meta-common-mode): Use it.
16758 (meta-looking-at-backward, meta-match-buffer): Remove.
16759 (meta-complete-symbol): Redefine as obsolete alias.
16760 (meta-common-mode-map): Use completion-at-point.
16761 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16762 (makefile-mode-map): Use completion-at-point.
16763 (makefile-completions-at-point): Rename from makefile-complete and
16764 adapt it for use on completion-at-point-functions.
16765 (makefile-mode): Use it.
16766 (makefile-complete): Redefine as obsolete alias.
16768 2011-06-20 Deniz Dogan <deniz@dogan.se>
16770 * net/rcirc.el: Delete trailing whitespaces once and for all.
16772 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16774 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16776 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
16778 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16780 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16782 2011-06-19 Martin Rudalics <rudalics@gmx.at>
16784 * window.el (display-buffer-other-window-means-other-frame):
16785 Call display-buffer-normalize-alist.
16786 (display-buffer-normalize-specifiers-1): Rename to
16787 display-buffer-normalize-argument. New argument other-frame.
16789 (display-buffer-normalize-specifiers-2): Rename to
16790 display-buffer-normalize-options.
16791 (display-buffer-normalize-alist-1): New function.
16792 (display-buffer-normalize-specifiers-3): Rename to
16793 display-buffer-normalize-alist.
16794 Call display-buffer-normalize-alist-1.
16795 (display-buffer-normalize-options-inhibit): New variable.
16796 (display-buffer-normalize-specifiers): Rewrite calling
16797 display-buffer-normalize-alist,
16798 display-buffer-normalize-argument, and
16799 display-buffer-normalize-options. Don't call the latter if
16800 display-buffer-normalize-options-inhibit is non-nil.
16801 (frame-auto-delete): New option.
16802 (window-deletable-p): Use frame-auto-delete.
16803 (window-list-no-nils, window-state-ignored-parameters)
16804 (window-state-get-1, window-state-get, window-state-put-list)
16805 (window-state-put-1, window-state-put-2, window-state-put):
16807 (display-buffer-normalize-options): Move special-display-p group
16808 after pop-up-frame group (Bug#8851) and (Bug#8856).
16810 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
16812 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16814 (rx-submatch-n): New function.
16817 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16820 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16822 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16824 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16825 anytime existing face settings are present (Bug#8889).
16827 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16828 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16829 Remove unused argument.
16831 2011-06-18 Martin Rudalics <rudalics@gmx.at>
16833 * window.el (display-buffer-default-specifiers):
16834 Remove pop-up-frame. Add pop-up-window-min-height,
16835 pop-up-window-min-width, and another reuse-window specifier
16836 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
16837 (display-buffer-normalize-specifiers-2):
16838 Handle split-height-threshold and split-width-threshold also when
16839 pop-up-windows is unset. Add a reuse-window specifier for the
16840 case popping up a new window fails.
16841 (special-display-popup-frame): Remove double quoting.
16842 (display-buffer-normalize-specifiers-1): Fix thinko.
16844 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16846 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16847 according to comint-completion-addsuffix.
16849 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16850 (pcomplete-suffix-list): Mark as obsolete.
16851 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16852 pcomplete-seen in the closure.
16853 (pcomplete-comint-setup): Setup completion-at-point as well.
16854 (pcomplete--entries): New function.
16855 (pcomplete--env-regexp): New var.
16856 (pcomplete-entries): Rewrite to work with partial-completion and
16857 without relying on pcomplete-suffix-list.
16858 (pcomplete-pare-list): Remove, unused.
16860 2011-06-17 Martin Rudalics <rudalics@gmx.at>
16862 * window.el (display-buffer-alist): Set pop-up-window-min-height
16863 and pop-up-window-min-width in default value. Reported by
16864 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16865 other-window-means-other-frame.
16866 (display-buffer-macro-specifiers): Comment out entry for
16867 other-window specifier.
16868 (display-buffer-other-window-means-other-frame): New function.
16869 (display-buffer-normalize-specifiers-1): New arguments
16870 buffer-name and label. Treat other-window case specially.
16871 (display-buffer-normalize-specifiers-2): Treat other-window case
16873 (display-buffer-normalize-specifiers-3): New function.
16874 (display-buffer-normalize-specifiers):
16875 Call display-buffer-normalize-specifiers-3.
16877 2011-06-17 Martin Rudalics <rudalics@gmx.at>
16879 * window.el (same-window-p): Fix two typos introduced when
16880 adding with-no-warnings.
16881 (display-buffer-normalize-specifiers-1): Don't check
16882 pop-up-frames for 'unset initialization.
16883 (display-buffer-normalize-specifiers-2): Major rewrite using
16884 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16885 (pop-up-frames, display-buffer-reuse-frames)
16886 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16887 Suggested by David Engster <deng@randomsample.de>.
16888 (even-window-heights): Initialize to 'unset.
16889 (display-buffer-alist-set): Handle new 'unset initializations.
16890 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16893 2011-06-16 Martin Rudalics <rudalics@gmx.at>
16895 * window.el (display-buffer-normalize-specifiers-1):
16896 Respect current value of pop-up-frames for most reasonable values of
16897 second argument of display-buffer (Bug#8865).
16898 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16899 (switch-to-buffer-other-window-same-frame)
16900 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16902 (display-buffer): Don't check noninteractive when calling
16903 display-buffer-pop-up-frame.
16904 (display-buffer-pop-up-frame): Never pop up a frame in
16905 noninteractive mode (Bug#8857).
16906 (enlarge-window, shrink-window): Don't report an error when the
16907 window can't be resized as requested (Bug#8862).
16909 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16911 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16913 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16915 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16917 2011-06-15 Alan Mackenzie <acm@muc.de>
16919 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16920 for declarators, disable knr checking to speed up for normal files.
16921 2: Refactor, replacing a sequence of nested if forms by a cond form.
16923 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16925 * net/network-stream.el (open-network-stream): Add the keyword
16926 :always-query-capabilities for the case where you want to force a
16927 `plain' network connection, but the protocol still requires the
16928 capabilitiy command (i.e., SMTP and EHLO).
16930 * subr.el (process-live-p): Rename from `process-alive-p' for
16931 consistency with other `-live-p' functions.
16933 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16935 * window.el (same-window-buffer-names, same-window-regexps)
16936 (special-display-frame-alist, special-display-popup-frame)
16937 (special-display-function, special-display-buffer-names)
16938 (special-display-regexps, pop-up-frame-alist)
16939 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16940 (pop-up-windows, split-window-preferred-function)
16941 (split-height-threshold, split-width-threshold, even-window-heights)
16942 (display-buffer-mark-dedicated): Don't encourage the use of
16943 display-buffer-alist from Elisp code.
16945 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16947 * progmodes/python.el (python-mode): Derive from prog-mode.
16948 * progmodes/ps-mode.el (ps-mode):
16949 * progmodes/mixal-mode.el (mixal-mode):
16950 * progmodes/cfengine.el (cfengine-mode):
16951 * progmodes/ld-script.el (ld-script-mode): Likewise.
16953 2011-06-15 Martin Rudalics <rudalics@gmx.at>
16955 * window.el (display-buffer-alist): Trim default value to avoid
16956 popping up a new frame (Bug#8857) or reusing an arbitrary window
16958 (display-buffer): Do not fall back on popping up a new frame in
16959 batch mode (Bug#8857).
16961 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
16963 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16964 (custom-theme-summary): New function.
16965 (customize-themes): Use it.
16967 2011-06-13 Glenn Morris <rgm@gnu.org>
16969 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16971 2011-06-13 Martin Rudalics <rudalics@gmx.at>
16973 * help.el (help-window): Remove variable.
16974 (help-window-point-marker, temp-buffer-max-height)
16975 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16976 (help-print-return-message): Don't set help-window.
16977 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16978 (help-window-setup-finish): Remove.
16979 (help-window-display-message, help-window-setup)
16980 (with-help-window): Major rewrite based on new
16981 display-buffer-window variable.
16983 * help-mode.el (help-mode-finish): Remove help-window related
16986 * view.el (view-exits-all-viewing-windows): Remove reference to
16987 view-return-to-alist in doc-string.
16988 (view-return-to-alist): Make obsolete.
16989 (view-buffer): Call pop-to-buffer-same-window and remove
16991 (view-buffer-other-window): Call pop-to-buffer-other-window and
16992 simplify code. Ignore second argument.
16993 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16994 simplify code. Ignore second argument.
16995 (view-return-to-alist-update): Make obsolete.
16996 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16997 Rewrite using quit-restore window parameters.
16998 (view-mode-exit): Rename second argument to EXIT-ONLY.
16999 Rewrite using quit-restore-window.
17000 (View-exit, View-exit-and-edit, View-leave, View-quit)
17001 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17002 appropriate arguments.
17003 (view-end-message): Use quit-restore window parameter.
17005 * window.el (display-buffer-function): Rewrite doc-string.
17006 (display-buffer-window, display-buffer-alist): New variables.
17007 (display-buffer-split-specifiers)
17008 (display-buffer-side-specifiers)
17009 (display-buffer-macro-specifiers): New constants.
17010 (display-buffer-even-window-sizes, display-buffer-set-height)
17011 (display-buffer-set-width, display-buffer-select-window)
17012 (display-buffer-in-window, display-buffer-reuse-window)
17013 (display-buffer-split-window-1, display-buffer-split-window)
17014 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17015 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17016 (display-buffer-in-side-window, normalize-buffer-to-display)
17017 (display-buffer-normalize-specifiers-1)
17018 (display-buffer-normalize-specifiers-2)
17019 (display-buffer-normalize-specifiers, display-buffer-frame):
17021 (display-buffer): Major rewrite.
17022 (display-buffer-other-window, display-buffer-other-frame)
17023 (pop-to-buffer, switch-to-buffer-other-window)
17024 (switch-to-buffer-other-frame): Rewrite.
17025 (display-buffer-same-window, display-buffer-same-frame)
17026 (display-buffer-same-frame-other-window)
17027 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17028 (pop-to-buffer-other-window)
17029 (pop-to-buffer-same-frame-other-window)
17030 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17031 (switch-to-buffer-other-window-same-frame): New functions.
17032 (same-window-p, special-display-p): Rewrite disabling warnings.
17034 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17035 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17037 (same-window-buffer-names, same-window-regexps)
17038 (special-display-frame-alist, special-display-popup-frame)
17039 (special-display-function, special-display-buffer-names)
17040 (special-display-regexps, pop-up-frame-alist)
17041 (pop-up-frame-function, split-window-preferred-function)
17042 (split-height-threshold, split-width-threshold)
17043 (even-window-heights): Make obsolete.
17045 2011-06-12 Glenn Morris <rgm@gnu.org>
17047 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
17048 Misc simplifications.
17050 2011-06-12 Martin Rudalics <rudalics@gmx.at>
17052 * window.el (window-safely-shrinkable-p): Restore function which
17053 was inadvertently removed in change from 2011-06-11. Declare as
17056 * calendar/calendar.el (calendar-generate-window):
17057 Use window-iso-combined-p instead of combination of one-window-p and
17058 window-safely-shrinkable-p.
17060 2011-06-12 Glenn Morris <rgm@gnu.org>
17062 * progmodes/fortran.el (fortran-mode-syntax-table):
17063 * progmodes/f90.el (f90-mode-syntax-table):
17064 Set % to punctuation. (Bug#8820)
17065 (f90-find-tag-default): Remove, no longer needed.
17067 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17069 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17071 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
17073 * image.el (image-animated-p): Return animation delay in seconds.
17074 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17075 (image-animate-timeout): Remove DELAY argument. Don't assume
17076 every subimage has the same delay; get it from image-animated-p.
17077 (image-animate): Caller changed.
17079 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
17081 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17082 to ignored backtrace functions.
17084 2011-06-11 Glenn Morris <rgm@gnu.org>
17086 * calendar/appt.el (appt-disp-window-function): Doc fix.
17087 (appt-check): Handle overlapping appointments. (Bug#8337)
17089 2011-06-11 Martin Rudalics <rudalics@gmx.at>
17091 * window.el (window-tree-1, window-tree): New functions, moving
17092 the latter to window.el.
17093 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17094 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17095 (bw-refresh-edges): Remove.
17096 (balance-windows-1, balance-windows-2): New functions.
17097 (balance-windows): Rewrite in terms of window tree functions,
17098 balance-windows-1 and balance-windows-2.
17099 (bw-adjust-window): Remove.
17100 (balance-windows-area-adjust): New function with functionality of
17101 bw-adjust-window but using resize-window.
17102 (set-window-text-height): Rewrite doc-string.
17103 Use normalize-live-window and resize-window.
17104 (enlarge-window-horizontally, shrink-window-horizontally):
17105 Rename argument to DELTA.
17106 (window-buffer-height): New function.
17107 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17108 Rewrite using new window resize routines.
17109 (kill-buffer-and-window, mouse-autoselect-window-select):
17110 Use ignore-errors instead of condition-case.
17111 (quit-window): Call delete-frame instead of delete-windows-on
17112 for the only buffer on frame.
17114 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17116 * loadup.el (top-level): Load window before files for the sake
17117 of replace-buffer-in-windows.
17119 * files.el (read-buffer-to-switch)
17120 (switch-to-buffer-other-window)
17121 (switch-to-buffer-other-frame, display-buffer-other-frame):
17124 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17125 (previous-buffer): Move to window.el.
17127 * bindings.el (unbury-buffer): Move to window.el.
17129 * window.el (delete-other-windows-vertically): Move after
17130 definition of delete-other-windows.
17131 (other-window, delete-windows-on, replace-buffer-in-windows):
17132 Move here from window.c.
17133 (record-window-buffer, unrecord-window-buffer)
17134 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17135 (switch-to-next-buffer): New functions.
17136 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17137 from simple.el. Call switch-to-next-buffer.
17138 (previous-buffer): Move here from simple.el.
17139 Call switch-to-prev-buffer.
17140 (bury-buffer): Move here from buffer.c. Switch to previous
17141 buffer when window cannot be deleted.
17142 (unbury-buffer): Move here from bindings.el.
17143 (ctl-x-map): Move binding for other-window from window.c to
17145 (read-buffer-to-switch, switch-to-buffer-other-window)
17146 (switch-to-buffer-other-frame): Move here from files.el.
17147 (normalize-buffer-to-switch-to): New functions.
17148 (switch-to-buffer): Move here from buffer.c.
17149 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
17151 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17153 * window.el (window-min-height, window-min-width): Move here
17154 from window.c. Add defcustoms and rewrite doc-strings.
17155 (resize-mini-window, resize-window): New functions.
17156 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17157 Move here from window.c.
17158 (maximize-window, minimize-window): New functions.
17159 (delete-window, delete-other-windows, split-window): Move here
17161 (window-split-min-size): New function.
17162 (split-window-keep-point): Mention split-window-above-each-other
17163 instead of split-window-vertically.
17164 (split-window-above-each-other, split-window-vertically):
17165 Rename split-window-vertically to split-window-above-each-other
17166 and provide defalias for old definition.
17167 (split-window-side-by-side, split-window-horizontally):
17168 Rename split-window-horizontally to split-window-side-by-side
17169 and provide defalias for the old definition.
17170 (ctl-x-map): Move bindings for delete-window,
17171 delete-other-windows and enlarge-window here from window.c.
17172 Replace bindings for split-window-vertically and
17173 split-window-horizontally by bindings for
17174 split-window-above-each-other and split-window-side-by-side.
17176 * cus-start.el (all): Remove entries for window-min-height and
17177 window-min-width. Add entries for window-splits and
17180 2011-06-09 Glenn Morris <rgm@gnu.org>
17182 * calendar/appt.el (appt-mode-line): New function.
17183 (appt-check, appt-disp-window): Use it.
17185 * files.el (hack-one-local-variable-eval-safep):
17186 Allow minor-modes with explicit +/-1 arguments.
17188 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17190 * term/xterm.el (xterm): Add defgroup.
17191 (xterm-extra-capabilities): Add defcustom to supply known xterm
17192 capabilities, skip querying them, or query them (default).
17193 (terminal-init-xterm): Use it.
17194 (terminal-init-xterm-modify-other-keys): New function to set up
17195 modifyOtherKeys support to simplify `terminal-init-xterm'.
17197 2011-06-09 Martin Rudalics <rudalics@gmx.at>
17199 * window.el (resize-window-reset, resize-window-reset-1)
17200 (resize-subwindows-skip-p, resize-subwindows-normal)
17201 (resize-subwindows, resize-other-windows, resize-this-window)
17202 (resize-root-window, resize-root-window-vertically)
17203 (window-deletable-p, window-or-subwindow-p)
17204 (frame-root-window-p): New functions.
17206 2011-06-09 Glenn Morris <rgm@gnu.org>
17208 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17209 (ange-ftp-get-files): Use it.
17211 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17213 * mail/sendmail.el (mail-recover-1, mail-recover):
17214 * files.el (recover-file, recover-session):
17215 Handle dired-listing-switches not being just a single short option.
17217 2011-06-09 Glenn Morris <rgm@gnu.org>
17219 * calendar/appt.el (appt-display-message, appt-disp-window):
17220 Handle lists of appointments.
17222 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17224 * window.el (one-window-p): Move down in code.
17225 Rewrite doc-string.
17226 (window-current-scroll-bars): Rewrite doc-string.
17227 Normalize live window argument.
17228 (walk-windows, get-window-with-predicate, count-windows):
17229 Rewrite doc-string. Use window-list-1.
17230 (window-in-direction-2, window-in-direction, get-mru-window):
17233 2011-06-08 Reuben Thomas <rrt@sc3d.org>
17235 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17236 Doc fix (Bug#8713).
17238 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
17240 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17242 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
17244 * loadhist.el (unload-feature-special-hooks):
17245 Add `comint-output-filter-functions'.
17247 2011-06-08 Ivan Kanis <gnu@kanis.fr>
17249 * calendar/appt.el (appt-check): Move some initializations into the let.
17251 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17253 * window.el (window-height): Defalias to window-total-height.
17254 (window-width): Defalias to window-body-width.
17256 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
17258 * image-mode.el (image-toggle-animation): New command.
17259 (image-mode-map): Bind it to RET.
17260 (image-mode): Update message.
17261 (image-toggle-display-image): Avoid a spurious cache flush.
17262 (image-transform-rotation): Doc fix.
17263 (image-transform-properties): Return quickly in the normal case.
17264 (image-animate-loop): Rename from image-animate-max-time.
17266 * image.el (image-animate-max-time): Move to image-mode.el.
17267 (create-animated-image): Remove unnecessary function.
17268 (image-animate): Rename from image-animate-start. New arg.
17269 (image-animate-stop): Remove; just use image-animate-timer.
17270 (image-animate-timer): Use car-safe.
17271 (image-animate-timeout): Rename argument.
17273 2011-06-07 Martin Rudalics <rudalics@gmx.at>
17275 * window.el (get-lru-window, get-largest-window): Move here from
17276 window.c. Rename first argument to ALL-FRAMES.
17277 Rephrase doc-strings.
17278 (get-buffer-window-list): Rewrite using window-list-1.
17279 Rephrase doc-string.
17280 (window-safe-min-height, window-safe-min-width): New constants.
17281 (window-size-ignore, window-min-size, window-min-size-1)
17282 (window-sizable, window-sizable-p, window-size-fixed-1)
17283 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17284 (window-max-delta-1, window-max-delta, window-resizable)
17285 (window-resizable-p, window-total-height, window-total-width)
17286 (window-body-width): New functions.
17287 (window-full-height-p, window-full-width-p): Rewrite using
17289 (window-body-height): Rewrite using window-body-size.
17291 2011-06-06 Martin Rudalics <rudalics@gmx.at>
17293 * window.el (window-right, window-left, window-child)
17294 (window-child-count, window-last-child, window-any-p)
17295 (normalize-live-buffer, normalize-live-frame)
17296 (normalize-any-window, normalize-live-window)
17297 (window-iso-combination-p, window-iso-combined-p)
17298 (window-iso-combinations)
17299 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17300 (windows-with-parameter, window-with-parameter)
17301 (window-atom-root, make-window-atom, window-atom-check-1)
17302 (window-atom-check, window-side-check, window-check):
17304 (ignore-window-parameters, window-sides, window-sides-vertical)
17305 (window-sides-slots): New variables.
17306 (window-size-fixed): Move down in code. Minor doc-string fix.
17308 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17310 * comint.el (comint-dynamic-complete-as-filename)
17311 (comint-dynamic-complete-filename): Correctly call
17312 completion-in-region.
17314 2011-06-05 Deniz Dogan <deniz@dogan.se>
17316 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17319 2011-06-05 Deniz Dogan <deniz@dogan.se>
17321 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17322 (rcirc): Use it to prompt for encryption.
17324 2011-06-05 Roland Winkler <winkler@gnu.org>
17326 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17327 (bibtex-search-entries): New command bound to C-c C-a.
17328 (bibtex-display-entries): New function.
17330 2011-06-05 Roland Winkler <winkler@gnu.org>
17332 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17333 (bibtex-insert-kill): After yanking insert newline if necessary.
17334 (bibtex-initialize): Call bibtex-string-files-init only once.
17335 (bibtex-mode): Do not call easy-menu-add.
17336 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17337 (bibtex-yank): Set arg properly if nil.
17339 2011-06-05 Roland Winkler <winkler@gnu.org>
17341 * textmodes/bibtex.el (bibtex-search-entry-globally):
17343 (bibtex-search-entry): Use it.
17345 2011-06-05 Roland Winkler <winkler@gnu.org>
17347 * textmodes/bibtex.el (bibtex-entry-format): New option
17349 (bibtex-format-entry, bibtex-reformat): Honor this option.
17350 (bibtex-parse-entry): Return fields in proper order.
17352 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
17354 * doc-view.el (doc-view-remove-if): Move computation of result out
17355 of `dolist' to silence misleading lexical-binding warning.
17357 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
17359 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17360 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17362 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17364 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17367 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17369 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17370 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17371 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17372 (tramp-parse-putty):
17373 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17374 (tramp-completion-function-alist-ssh)
17375 (tramp-completion-function-alist-telnet)
17376 (tramp-completion-function-alist-su)
17377 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17380 * net/tramp-ftp.el:
17382 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17383 load "tramp.el" `tramp-set-completion-function'.
17385 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17387 * shell.el: Require and use pcomplete.
17388 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17389 (shell-completion-vars): Set pcomplete-default-completion-function.
17391 2011-06-04 Deniz Dogan <deniz@dogan.se>
17393 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17396 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17398 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17400 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
17402 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17403 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17404 * vc/log-view.el (log-view-beginning-of-defun):
17405 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17406 (smerge-refine-forward, smerge-refine-chopup-region):
17407 Silence warning for unused `dotimes' counter variables.
17409 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17411 * net/tramp.el (tramp-with-progress-reporter): Rename from
17412 with-progress-reporter. Use `declare'.
17413 * net/tramp-smb.el:
17415 * net/tramp-gvfs.el: Update all uses.
17417 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17419 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17420 buffer isn't killed before making it current.
17422 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17424 Silence various byte-compiler warnings.
17425 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17426 `access-type' and new obsolescence format.
17427 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17429 (byte-compile-check-variable): New `access-type' argument.
17430 Only warn if the access-type is obsolete.
17431 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17432 (byte-compile-variable-set): Adjust callers.
17433 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17434 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17435 setting it as obsolete.
17436 * simple.el (minibuffer-completing-symbol):
17437 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17438 access as obsolete.
17439 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17441 * international/quail.el (quail-mouse-choose-completion): Remove unused
17442 code referring to obsolete var.
17443 (quail-choose-completion-string): Remove.
17444 * server.el (server-clients-with, server-kill-buffer-query-function)
17445 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17446 * proced.el (proced-send-signal):
17447 * emacs-lisp/lisp.el (lisp-complete-symbol):
17448 Replace completion-annotate-function with completion-extra-properties.
17450 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17452 * simple.el (goto-line): Use read-number.
17453 (overriding-map-is-bound): Remove.
17454 (saved-overriding-map): Change default.
17455 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17456 Take the map as argument.
17457 (universal-argument, negative-argument, digit-argument): Use it.
17458 (restore-overriding-map): Adjust.
17459 (do-auto-fill): Use fill-forward-paragraph.
17460 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17462 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17463 (minibuffer-inactive-mode): New major mode.
17464 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17465 the *Messages* buffer" hack.
17466 (mouse-popup-menubar): Don't burp if the event is a normal key.
17468 Miscellaneous tweaks.
17469 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17470 lexical scoping as in subr.el's dolist and dotimes.
17471 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17472 Silence compiler warning.
17473 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17474 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17475 * international/ccl.el (ccl-compile): Trivial simplification.
17476 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17477 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17478 `printflag' argument.
17479 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17480 Purecopy the whole obsolescence data.
17482 2011-06-01 Leo Liu <sdl.web@gmail.com>
17484 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17485 improve doc-string as suggested by Marco Pessotto
17486 <melmothx@gmail.com>.
17487 (rcirc-print): Fix last change.
17489 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17491 * minibuffer.el (complete-with-action): Return nil for the metadata and
17492 boundaries of non-functional tables.
17493 (completion-table-dynamic): Return nil for the metadata.
17494 (completion-table-with-terminator): Add default case, using
17495 complete-with-action.
17496 (completion--metadata): New function.
17497 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17498 to try and avoid pathological performance problems.
17499 (completion--embedded-envvar-table): Return `category' metadata.
17501 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17503 * subr.el (process-alive-p): New tiny convenience function.
17505 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17507 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17508 content but also its previous major mode.
17510 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
17512 * emacs-lisp/debug.el (debug): Restore the previous content of the
17513 *Backtrace* buffer when we exit with C-M-c.
17515 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17517 * minibuffer.el: Add metadata method to completion tables.
17518 (completion-category-overrides): New defcustom.
17519 (completion-metadata, completion--field-metadata)
17520 (completion-metadata-get, completion--styles)
17521 (completion--cycle-threshold): New functions.
17522 (completion-try-completion, completion-all-completions):
17523 Add `metadata' argument to choose completion-styles.
17524 (completion--do-completion): Use metadata to choose cycling.
17525 (completion-all-sorted-completions): Use metadata for sorting.
17526 Remove :completion-cycle-penalty which is not needed any more.
17527 (completion--try-word-completion): Add `metadata' argument.
17528 (minibuffer-completion-help): Check metadata for annotation function
17530 (completion-file-name-table): Return `category' metadata.
17531 (minibuffer-completing-file-name): Make obsolete.
17532 * simple.el (minibuffer-completing-symbol): Make obsolete.
17533 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17534 completion-try-completion.
17536 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17538 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17540 2011-05-30 Leo Liu <sdl.web@gmail.com>
17542 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
17543 (rcirc-print): Decode all incoming messages (bug#8744).
17544 (rcirc-decode-coding-system): Allow value nil for automatic coding
17547 2011-06-01 Glenn Morris <rgm@gnu.org>
17549 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17551 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17553 * image.el (image-animate-max-time): Allow nil and t values.
17555 (create-animated-image): Doc fix.
17556 (image-animate-start): Remove second arg; just use
17557 image-animate-max-time.
17558 (image-animate-timeout): Doc fix. Args changed.
17560 * image-mode.el (image-toggle-display-image): Ensure that the
17561 image spec passed to the animate timer is the same object as in
17562 the buffer's display property (Bug#6981).
17563 (image-transform-properties): Doc fix.
17565 * image.el (image-animate-max-time): Default to nil.
17567 2011-05-29 Martin Rudalics <rudalics@gmx.at>
17569 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17570 entire buffer list (Bug#8184).
17572 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17574 * image.el (imagemagick-types-inhibit)
17575 (imagemagick-register-types): Doc fix.
17577 2011-05-29 Deniz Dogan <deniz@dogan.se>
17579 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17582 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17584 * select.el: Don't perform clipboard-manager saving in hooks;
17585 leave the hooks empty.
17587 2011-05-28 Leo Liu <sdl.web@gmail.com>
17589 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17590 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17591 (occur-edit-mode): New major mode (Bug#8463).
17592 (occur-after-change-function): New function.
17593 (occur-engine): Give Occur tags a read-only property.
17595 2011-05-28 Kevin Ryde <user42@zip.com.au>
17597 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17599 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17601 * bindings.el (help-echo): Make the initial non-indicator dash
17602 empty on graphical terminals (Bug#7295).
17604 * files.el (auto-mode-alist): Move config rule after the
17605 in-stripping one (Bug#8547).
17607 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17609 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17610 setting (Bug#8740).
17612 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17614 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17615 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17618 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17620 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17622 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17624 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17625 (hs-hide-block-at-point, hs-find-block-beginning)
17626 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17629 2011-05-28 Glenn Morris <rgm@gnu.org>
17631 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17633 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17635 * help-fns.el (describe-function-1): If the function is a derived
17636 major mode, print the parent mode.
17638 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17639 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17641 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17643 * minibuffer.el (completion--capf-wrapper): Check applicability before
17644 returning non-nil for non-exclusive completion data.
17645 * progmodes/etags.el (tags-completion-at-point-function):
17646 * info-look.el (info-lookup-completions-at-point): Mark as
17648 (info-complete): Adjust accordingly.
17650 * info-look.el: Convert to lexical-binding and completion-at-point.
17651 (info-lookup-completions-at-point): New function.
17652 (info-complete): Use it and completion-in-region.
17654 2011-05-28 Drew Adams <drew.adams@oracle.com>
17656 * isearch.el: Let M-e start with point at the first mismatched char.
17657 (isearch-fail-pos): New function.
17658 (isearch-edit-string): Use it.
17660 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17662 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17664 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
17666 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17667 traversal functions for avl-trees.
17668 (avl-tree--stack): New struct.
17669 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17670 (avl-tree-enter): Add optional `updatefun' arg.
17671 (avl-tree--do-enter): Add optional `updatefun' arg.
17672 Change return value.
17673 (avl-tree-delete): Add optional `test' and `nilflag' args.
17674 (avl-tree--do-delete): Add `test' and `nilflag' args.
17675 Change return value.
17676 (avl-tree-member): Add optional `nilflag'
17677 (avl-tree-member-p): New function.
17678 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17679 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17680 (avl-tree-stack-empty-p): New functions.
17682 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17683 avl-tree--del-balance1 and make it work both ways.
17684 (avl-tree--del-balance2): Remove.
17685 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17686 make it work both ways.
17687 (avl-tree--enter-balance2): Remove.
17688 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17690 (avl-tree--mapc, avl-tree-map): Add direction argument.
17692 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
17694 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17696 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
17698 * select.el: Support clipboard managers with built-in function
17699 x-clipboard-manager-save, via delete-frame-functions and
17701 (xselect-convert-to-targets): Add MULTIPLE target to list.
17702 (xselect-convert-to-save-targets): New function.
17704 2011-05-27 Kenichi Handa <handa@m17n.org>
17706 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17707 let-binding rfc2047-encode-encoded-words to nil.
17709 2011-05-27 Glenn Morris <rgm@gnu.org>
17711 * mail/emacsbug.el: Don't require url-util.
17713 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17715 * files.el (set-auto-mode):
17716 Also respect mode: entries at the end of the file. (Bug#8586)
17718 2011-05-26 Glenn Morris <rgm@gnu.org>
17720 * files.el (hack-local-variables-prop-line, hack-local-variables):
17721 Downcase mode names, as seems to be traditional.
17722 (hack-local-variables, hack-local-variables-apply): Doc fixes.
17724 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17725 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17727 2011-05-25 Julien Danjou <julien@danjou.info>
17729 * textmodes/rst.el (rst-define-level-faces): Do not define face
17730 symbol if it is already defined.
17732 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17734 * play/5x5.el (5x5-new-game, 5x5-randomize):
17735 Reset 5x5-solver-output to nil when a new grid is cast.
17736 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17737 these debugging traces, as defmacro breaks the compiled code.
17739 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17741 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17743 2011-05-24 Leo Liu <sdl.web@gmail.com>
17745 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17746 (vc-bzr-sha1): Adapt.
17748 * sha1.el: Remove. Function `sha1' is now builtin.
17750 * bindings.el: Provide sha1 feature.
17752 2011-05-24 Kenichi Handa <handa@m17n.org>
17754 * mail/sendmail.el: Require `rfc2047'.
17755 (mail-insert-from-field): Do not perform RFC2047 encoding.
17756 (mail-encode-header): New function.
17757 (sendmail-send-it): Set buffer-file-coding-system of the work
17758 buffer to the return value of select-message-coding-system.
17759 Call mail-encode-header.
17761 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17763 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
17765 * mail/supercite.el (sc-default-cite-frame):
17766 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
17768 2011-05-24 Glenn Morris <rgm@gnu.org>
17770 * progmodes/python.el (brm-menu): Declare.
17772 * emulation/viper.el (viper-set-hooks): Declare.
17774 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17775 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17776 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17777 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17778 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17779 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17781 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17783 Add an :exit-function for completion-at-point.
17785 * minibuffer.el (completion--done): New fun.
17786 (completion--do-completion): Use it. New arg `expect-exact'.
17787 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17788 since completion--do-completion does it for us now.
17789 (minibuffer-force-complete): Use completion--done and
17790 completion--replace. Handle sole-completion case with more care.
17791 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17792 (completion-extra-properties): New var.
17793 (completion-annotate-function): Make obsolete.
17794 (minibuffer-completion-help): Adjust accordingly.
17795 Use completion-list-insert-choice-function.
17796 (completion-at-point, completion-help-at-point):
17797 Bind completion-extra-properties.
17798 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17799 * simple.el (completion-list-insert-choice-function): New var.
17800 (completion-setup-function): Preserve it.
17801 (choose-completion): Pay attention to it, shuffle the code a bit.
17802 (choose-completion-string): New arg `insert-function'.
17804 * textmodes/bibtex.el: Convert to lexical binding.
17805 (bibtex-mode-map): Use completion-at-point.
17806 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17807 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17808 (bibtex-complete): Define as obsolete alias.
17809 (bibtex-complete-internal): Remove.
17810 (bibtex-format-entry): Remove unused sub-group in regexp.
17811 * shell.el (shell--command-completion-data)
17812 (shell-environment-variable-completion):
17813 * pcomplete.el (pcomplete-completions-at-point):
17814 * comint.el (comint--complete-file-name-data): Use :exit-function
17815 instead of completion-table-with-terminator so it also works for
17818 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17820 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17822 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17825 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17827 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17829 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17830 customization variable and implement: If non-nil, auto-fill will
17831 be inhibited while on topic's header line.
17833 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17835 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
17836 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
17837 always have a solution in grid size = 5 cases.
17838 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17839 (5x5-solver-output, 5x5-log-buffer): New vars.
17840 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17841 Make these variables buffer local to achieve 5x5 multi-session-ness.
17842 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17843 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17844 (5x5-solve-suggest): New funs.
17845 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17846 randomize a grid so that we ensure that there is always a solution.
17847 (5x5-make-random-grid): Allow other movement than flipping.
17849 2011-05-23 Kevin Ryde <user42@zip.com.au>
17851 * emacs-lisp/advice.el (ad-read-advised-function):
17852 Use `function-called-at-point' as the default, if it has
17853 advice and passes PREDICATE.
17855 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17857 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17858 byte-compile-lambda if it's actually a lambda.
17860 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17861 Fix function quoting. Use backquote better.
17863 2011-05-22 Yuanle Song <sylecn@gmail.com>
17865 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17866 matching (Bug#8516).
17868 2011-01-22 Jari Aalto <jari.aalto@cante.net>
17870 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17871 different face (Bug#8178).
17873 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
17875 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17876 defface (Bug#8144).
17878 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17880 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17881 funcall as well (bug#8712). Warn when performing those conversions.
17882 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17884 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17886 2011-05-22 Glenn Morris <rgm@gnu.org>
17888 * files.el (hack-local-variables-prop-line): Small simplifications.
17889 (hack-local-variables, hack-local-variables-prop-line):
17890 If MODE-ONLY, return the mode, rather than just `t'.
17892 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17894 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17896 2011-05-21 Glenn Morris <rgm@gnu.org>
17898 * files.el (hack-local-variables-prop-line, hack-local-variables):
17899 If only interested in the mode, don't bother doing the other stuff.
17901 * image-mode.el (image-after-revert-hook):
17902 Redraw all frames on which the image is visible. (Bug#8567)
17904 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17906 * wid-edit.el (widget-checklist-match-inline):
17907 Fix 2011-04-19 change. (Bug#8649)
17909 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17911 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17912 Also allow singlespace after single-letter capitals followed by a dot.
17914 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17915 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17917 2011-05-20 Nix <nix@esperi.org.uk>
17919 * files.el (basic-save-buffer-2):
17920 Fix handling of break-hardlink-on-save with non-existent files.
17922 2011-05-19 Deniz Dogan <deniz@dogan.se>
17924 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
17925 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
17927 2011-05-19 Glenn Morris <rgm@gnu.org>
17929 * progmodes/f90.el (f90-type-def-re):
17930 Handle "type, bind(c)". (Bug#8691)
17932 * emacs-lisp/autoload.el (batch-update-autoloads):
17933 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17935 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
17937 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17938 property for the correct connection in case of multihops.
17940 2011-05-18 Glenn Morris <rgm@gnu.org>
17942 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
17943 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17945 Rationalize calendar handling of day and month abbrev-arrays.
17946 * calendar/calendar.el (calendar-customized-p): New function.
17947 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17948 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17950 (calendar-abbrev-length, calendar-day-abbrev-array)
17951 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17952 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17953 Elements may no longer be nil.
17954 (calendar-day-name, calendar-month-name):
17955 Update for changed nature of abbrev arrays.
17956 * calendar/diary-lib.el (diary-name-pattern):
17957 Update for changed nature of abbrev arrays.
17958 (diary-mark-entries-1): Update calendar-make-alist calls.
17959 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17960 * calendar/cal-html.el (cal-html-day-abbrev-array):
17961 Simply inherit from calendar-day-abbrev-array.
17963 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17965 * progmodes/grep.el (grep-mode): Disable default
17966 compilation-directory-matcher setting (bug#8684).
17968 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
17970 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17971 instead of "head" and "tail". There were problems with SunOS 5.9,
17972 and it performs better.
17974 2011-05-17 Glenn Morris <rgm@gnu.org>
17976 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17978 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17979 Replace obsolete function.
17981 * shell.el (pcomplete-parse-arguments-function): Declare.
17983 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17984 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17985 (appt-check): Doc fixes.
17986 (appt-disp-window-function, appt-delete-window-function):
17987 Remove needless special case in custom :type.
17988 (appt-display-count): Default to 0, not nil.
17989 (appt-check): Reset appt-display-count to 0, not nil.
17991 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
17993 * progmodes/python.el (python-font-lock-keywords):
17994 Add the Python 3.X keyword "nonlocal" (bug#8639).
17996 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17998 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18000 2011-05-16 Kevin Ryde <user42@zip.com.au>
18002 * info-look.el (makefile-automake-mode): New setups, looking in
18003 automake manual, then makefile-mode.
18004 (makefile-mode): Remove automake manual, have it just in
18005 makefile-automake-mode since there's various things different or
18006 not relevant to plain make.
18007 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18008 believe a hypothetical automake-mode would go to makefile-mode,
18009 not the other way around.
18011 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
18013 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18014 hunk-end tags (Bug#8672).
18016 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18017 vc-annotate-show-diff-revision-at-line (Bug#8671).
18019 2011-05-14 Glenn Morris <rgm@gnu.org>
18021 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18022 in the middle of an existing one with multiple authors. (Bug#8645)
18023 (change-log-font-lock-keywords): Also handle multiple author lines
18024 with leading tabs. (Bug#8644)
18026 * calendar/appt.el (appt-check): Rename some local variables.
18027 Some simplification/reordering.
18029 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18030 (feedmail-sendmail-f-doesnt-sell-me-out)
18031 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18032 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18033 (feedmail-queue-runner-message-sender): Set :version.
18034 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18035 (bbdb-dwim-net-address, vm-mail): Declare.
18036 (feedmail-binmail-gnulinuxish-template):
18037 Rename from feedmail-binmail-linuxish-template.
18038 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18039 Use insert-buffer-substring.
18041 2011-05-14 Bill Carpenter <bill@carpenter.org>
18043 * mail/feedmail.el (feedmail-patch-level): Increase.
18044 (feedmail-debug): New custom group.
18045 (feedmail-confirm-outgoing-timeout)
18046 (feedmail-sendmail-f-doesnt-sell-me-out)
18047 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18048 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18049 (feedmail-sender-line, feedmail-from-line)
18050 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
18051 (feedmail-spray-this-address)
18052 (feedmail-spray-address-fiddle-plex-list)
18053 (feedmail-queue-use-send-time-for-date)
18054 (feedmail-queue-use-send-time-for-message-id)
18055 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18056 (feedmail-buffer-eating-function):
18058 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18059 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18060 (feedmail-message-action-scroll-down): New functions.
18061 (feedmail-queue-directory, feedmail-queue-draft-directory):
18062 Use expand-file-name.
18063 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18064 Remove C-v help entry.
18065 (feedmail-queue-buffer-file-name): New variable.
18066 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18067 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18068 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18069 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18070 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18071 (feedmail-message-action-toggle-spray)
18072 (feedmail-run-the-queue-no-prompts)
18073 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18074 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18075 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18076 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18077 (feedmail-envelope-deducer, feedmail-fiddle-from)
18078 (feedmail-fiddle-sender, feedmail-default-date-generator)
18079 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18080 (feedmail-fiddle-spray-address)
18081 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18082 (feedmail-fiddle-list-of-fiddle-plexes)
18083 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18084 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18085 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18086 Change default. Doc fix.
18087 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18088 (feedmail-binmail-linuxish-template): New constant.
18089 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18090 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18091 (feedmail-send-it): Add debug call.
18092 Use feedmail-queue-buffer-file-name, and
18093 feedmail-send-it-immediately-wrapper.
18094 (feedmail-message-action-send): Add debug call.
18095 Use feedmail-send-it-immediately-wrapper.
18096 (feedmail-queue-express-to-queue): Add debug call.
18097 Run feedmail-queue-express-hook.
18098 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18099 (feedmail-message-action-help-blat):
18100 Rename from feedmail-queue-send-edit-prompt-help-first.
18101 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18102 Check line-endings. Handle errors better.
18103 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18104 Doc fix. Add debug call.
18105 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18106 Use feedmail-queue-send-edit-prompt-inner.
18107 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18108 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18109 from feedmail-queue-send-edit-prompt.
18110 (feedmail-queue-send-edit-prompt-help)
18111 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18112 (feedmail-tidy-up-slug): Add debug call.
18113 Respect feedmail-queue-slug-suspect-regexp.
18114 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18115 (feedmail-dump-message-to-queue): Add debug call.
18116 Expand queue-directory.
18117 (feedmail-dump-message-to-queue): Change message slightly.
18118 Use feedmail-say-chatter.
18119 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18120 (feedmail-send-it-immediately-wrapper): New function.
18121 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18122 Insert empty string rather than newline. Handle full-frame case.
18123 Use catch/throw. Use feedmail-say-chatter.
18124 (feedmail-fiddle-from): Try mail-host-address.
18125 (feedmail-default-message-id-generator): Doc fix.
18126 Bind system-time-locale. Handle missing end.
18127 (feedmail-fiddle-x-mailer): Add debug call.
18128 Handle feedmail-x-mailer-line being nil.
18129 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18130 Add debug call. Use buffer-substring-no-properties.
18131 (feedmail-say-debug, feedmail-say-chatter): New functions.
18132 (feedmail-find-eoh): Give an explicit error.
18134 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
18136 * net/newst-treeview.el (newsticker-treeview-face): Change default
18137 family from helvetica to sans.
18138 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
18139 etc/images/newsticker.
18141 * net/newst-reader.el (newsticker-feed-face): Change default
18142 family from helvetica to sans.
18144 * net/newst-plainview.el (newsticker-new-item-face)
18145 (newsticker-old-item-face, newsticker-immortal-item-face)
18146 (newsticker-obsolete-item-face, newsticker-date-face)
18147 (newsticker-statistics-face): Change default family from
18149 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
18150 etc/images/newsticker.
18152 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18153 (newsticker--process-auto-mark-filter-match): Tell user about
18156 2011-05-13 Didier Verna <didier@xemacs.org>
18158 Common Lisp indentation improvements on defmethod and lambda-lists.
18159 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18161 (lisp-lambda-list-keyword-parameter-indentation)
18162 (lisp-lambda-list-keyword-parameter-alignment)
18163 (lisp-lambda-list-keyword-alignment): New customizable user options.
18164 (lisp-indent-defun-method): Improve docstring.
18165 (extended-loop-p): Fix comment.
18166 (lisp-indent-lambda-list-keywords-regexp): New variable.
18167 (lisp-indent-lambda-list): New function.
18168 (lisp-indent-259): Use it.
18169 (lisp-indent-defmethod): Support for more than one
18170 method qualifier and properly indent methods lambda-lists.
18171 (defgeneric): Provide a missing common-lisp-indent-function property.
18173 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18175 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18176 bounds for the empty string (bug#8667).
18178 2011-05-13 Glenn Morris <rgm@gnu.org>
18180 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18182 * mail/sendmail.el (sendmail-program): Try executable-find first.
18183 (sendmail-send-it): `sendmail-program' cannot be unbound.
18185 * calendar/appt.el (appt-make-list): Simplify.
18186 (appt-time-msg-list): Doc fix.
18187 (appt-check): Change mode-line message at the time of the appointment.
18189 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18191 * progmodes/ld-script.el (ld-script-keywords)
18192 (ld-script-builtins): Update keywords list.
18194 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18196 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18198 * shell.el (shell-completion-vars): New function.
18200 * simple.el (read-shell-command): Use it.
18201 (blink-matching-open): No need for " [...]" in minibuffer-message.
18203 2011-05-12 Glenn Morris <rgm@gnu.org>
18205 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18206 (appt-check): Simplify.
18208 2011-05-12 Eli Zaretskii <eliz@gnu.org>
18210 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
18211 literal "/dev/null".
18213 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18215 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18218 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
18220 * progmodes/which-func.el (which-function):
18221 Use add-log-current-defun instead of add-log-current-defun-function,
18222 which might not be defined (Bug#8260).
18224 2011-05-12 Glenn Morris <rgm@gnu.org>
18226 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18227 Let byte-compile-initial-macro-environment always take precedence.
18229 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18231 * net/rcirc.el: Add support for SSL/TLS connections.
18232 (rcirc-server-alist): New field `encryption'.
18233 (rcirc): Check `encryption' settings.
18234 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18235 Merge make-local-variable into `set'.
18236 (rcirc--connection-open-p): New function.
18237 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18238 the process is not a network process (e.g. running gnutls-cli).
18239 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18240 Make rcirc-(en|de)code-coding-system local here.
18241 (rcirc-mode): Merge make-local-variable into `set'.
18242 (rcirc-parent-buffer): Make permanent buffer-local.
18243 (rcirc-multiline-minor-mode): Don't do it here.
18244 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18245 there's no server buffer.
18247 2011-05-11 Glenn Morris <rgm@gnu.org>
18249 * newcomment.el (comment-kill): Prefix "unused" local.
18251 * term/w32console.el (get-screen-color): Declare.
18253 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18254 Handle symbol elements of byte-compile-initial-macro-environment.
18256 2011-05-10 Leo Liu <sdl.web@gmail.com>
18258 * bookmark.el (bookmark-bmenu-mode-map):
18259 Bind bookmark-bmenu-search to `/'.
18261 * mail/footnote.el: Convert to utf-8 encoding.
18262 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18263 (Footnote-unicode): New function.
18264 (footnote-style-alist): Add unicode style to the list.
18265 (footnote-style): Doc fix.
18267 2011-05-10 Jim Meyering <meyering@redhat.com>
18269 Fix doubled-word typos.
18270 * international/quail.el (quail-insert-kbd-layout): and and -> and
18271 * kermit.el: and and -> and
18272 * net/ldap.el (ldap-search-internal): to to -> to
18273 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18274 * progmodes/js.el (js-mode): and and -> and
18275 * textmodes/artist.el (artist-move-to-xy): at at -> at
18276 (artist-draw-region-trim-line-endings): if if -> if
18277 And Safetyc -> Safety.
18278 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18280 2011-05-10 Glenn Morris <rgm@gnu.org>
18281 Stefan Monnier <monnier@iro.umontreal.ca>
18283 * files.el (hack-one-local-variable-eval-safep):
18284 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18286 2011-05-10 Glenn Morris <rgm@gnu.org>
18288 * calendar/diary-lib.el (diary-list-entries-hook)
18289 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18290 (diary-nongregorian-marking-hook, diary-list-entries)
18291 (diary-include-other-diary-files, diary-mark-entries)
18292 (diary-mark-included-diary-files): Doc fixes.
18294 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18296 * misc.el: Require tabulated-list.el during compilation.
18298 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18300 * progmodes/compile.el (compilation-start):
18301 Run compilation-filter-hook for the async case too.
18302 (compilation-filter-hook): Doc fix.
18304 2011-05-09 Deniz Dogan <deniz@dogan.se>
18306 * wdired.el: Remove outdated installation comment. Fix usage
18309 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18311 * misc.el: Implement new command `list-dynamic-libraries'.
18312 (list-dynamic-libraries--loaded-only-p): New variable.
18313 (list-dynamic-libraries--refresh): New function.
18314 (list-dynamic-libraries): New command.
18316 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18318 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18319 Fix the ant regexp to handle end-line and end-column info from jikes.
18320 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18321 higher priority to avoid clobbering by gnu.
18323 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18325 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18326 if the face has existing theme settings (Bug#8454).
18328 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18330 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18331 Only match variables declared via `my' or `our' (Bug#8261).
18333 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18334 special file names `.' and `..' (Bug#8259).
18336 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18338 * progmodes/grep.el (grep-mode-font-lock-keywords):
18339 Remove buffer-changing entries.
18340 (grep-filter): New function.
18341 (grep-mode): Add it to compilation-filter-hook.
18343 * progmodes/compile.el (compilation-filter-hook)
18344 (compilation-filter-start): New defvars.
18345 (compilation-filter): Call compilation-filter-hook prior to
18346 updating the process mark.
18348 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18350 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18352 2011-05-07 Eli Zaretskii <eliz@gnu.org>
18354 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18355 mailclient-send-it even if window-system is nil. (Bug#8595)
18357 * term/w32console.el (terminal-init-w32console):
18358 Call get-screen-color and use its output to set the frame
18359 background-mode. (Bug#8597)
18361 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18363 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18364 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18366 (defgeneric, eieio--defmethod): Use them.
18367 (eieio-defgeneric): Remove.
18368 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18370 2011-05-07 Glenn Morris <rgm@gnu.org>
18372 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18373 Use let rather than let*.
18374 (timeclock-find-discrep): Remove unused local.
18376 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18378 * calendar/appt.el (appt-time-msg-list): Doc fix.
18380 2011-05-06 Noah Friedman <friedman@splode.com>
18382 * apropos.el (apropos-print-doc): Only use
18383 emacs-lisp-docstring-fill-column when it is bound to an integer,
18384 per that variable's documentation.
18386 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18388 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
18389 and warnings are not silently discarded (e.g. use -d instead of -P).
18391 2011-05-06 Glenn Morris <rgm@gnu.org>
18393 * calendar/appt.el (appt-message-warning-time): Doc fix.
18394 (appt-warning-time-regexp): New option.
18395 (appt-make-list): Respect appt-message-warning-time.
18397 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18399 (diary-add-to-list): Strip comments from the displayed string.
18400 (diary-mode): Set comment-start and comment-end.
18402 * vc/diff-mode.el (smerge-refine-subst): Declare.
18403 (diff-refine-hunk): Don't require smerge-mode when compiling.
18405 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
18407 * simple.el (list-processes): Return nil as the docstring says.
18409 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18411 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18413 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18414 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18415 determining of binary transfer. (Bug#7383)
18417 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18419 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18420 Fix port computation bug. (Bug#8618)
18422 2011-05-05 Glenn Morris <rgm@gnu.org>
18424 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18426 * simple.el (shell-dynamic-complete-functions)
18427 (comint-dynamic-complete-functions): Declare.
18429 * net/network-stream.el (gnutls-negotiate):
18430 * simple.el (tabulated-list-print): Fix declarations.
18432 * progmodes/gud.el (syntax-symbol, syntax-point):
18433 Remove unnecessary and incorrect declarations.
18435 * emacs-lisp/check-declare.el (check-declare-scan):
18436 Handle byte-compile-initial-macro-environment in bytecomp.el.
18438 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18440 Fix earlier half-done eieio-defmethod change (bug#8338).
18441 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18442 Streamline and change calling convention.
18443 (defmethod): Adjust accordingly and simplify.
18444 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18445 new eieio--defmethod.
18446 (slot-boundp): Minor CSE simplification.
18448 2011-05-05 Milan Zamazal <pdm@zamazal.org>
18450 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18451 (glasses-make-readable): Use glasses-separate-capital-groups.
18453 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
18455 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18456 (warning-series): Doc fix.
18457 (display-warning): Don't try to create the buffer if we just found it.
18459 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
18461 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18462 (autoload-find-generated-file): New function.
18463 (generate-file-autoloads): Bind generated-autoload-file to
18465 (update-file-autoloads, update-directory-autoloads):
18466 Use autoload-find-generated-file. If called interactively, prompt for
18467 output file (Bug#7989).
18468 (batch-update-autoloads): Doc fix.
18470 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
18472 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18474 2011-05-04 Glenn Morris <rgm@gnu.org>
18476 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18477 function, so it follows changes in calendar-date-style.
18478 (diary-fancy-date-matcher): New function.
18479 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18480 (diary-fancy-font-lock-fontify-region-function):
18481 Use diary-fancy-date-pattern as a function.
18483 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18484 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18486 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18488 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18489 instead of positional arguments. Allow :keylist and :crlfiles
18491 (open-gnutls-stream): Call it.
18493 * net/network-stream.el (network-stream-open-starttls): Adjust to
18494 call `gnutls-negotiate' with :process and :hostname arguments.
18496 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18498 * minibuffer.el (completion--message): New function.
18499 (completion--do-completion, minibuffer-complete)
18500 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18501 (completion--do-completion): Don't ignore completion-auto-help when in
18504 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18505 internal encoding (e.g. tibetan zero is not whitespace).
18506 (global-whitespace-mode): Prefer save-current-buffer.
18507 (whitespace-trailing-regexp): Remove useless save-match-data.
18508 (whitespace-empty-at-bob-regexp): Minor simplification.
18510 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
18512 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18514 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18516 * textmodes/ispell.el (ispell-add-per-file-word-list):
18517 Use `concat' to create string for insertion.
18519 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18521 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18522 Avoid open-line which runs post-self-insert-hook.
18523 (bibtex-fill-entry): Remove unused `end' var.
18525 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18527 * textmodes/ispell.el (ispell-add-per-file-word-list):
18528 Protect against `nil' value of `comment-start' (Bug#8579).
18530 2011-05-03 Leo Liu <sdl.web@gmail.com>
18532 * isearch.el (isearch-yank-pop): New command.
18533 (isearch-mode-map): Bind it to `M-y'.
18534 (isearch-forward): Mention it.
18536 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18538 * simple.el (minibuffer-complete-shell-command): Remove.
18539 (minibuffer-local-shell-command-map): Use completion-at-point.
18540 (read-shell-command): Setup completion vars here instead.
18541 (read-expression-map): Bind TAB to symbol completion.
18543 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18544 error directly rather via storing it into `results'.
18546 2011-05-02 Leo Liu <sdl.web@gmail.com>
18548 * vc/diff.el: Fix description.
18550 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18552 * server.el (server-eval-at): New function.
18554 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18556 * net/network-stream.el (open-network-stream): Take a :nowait
18557 parameter and pass it on to `make-network-process'.
18558 (network-stream-open-plain): Ditto.
18560 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18562 * faces.el (face-spec-set-match-display): Don't match toolkit
18563 options on terminal frames.
18565 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18567 * progmodes/pascal.el: Use lexical binding.
18568 (pascal-mode-map): Remove author preferences.
18570 * pcomplete.el (pcomplete-std-complete): Don't abuse
18571 completion-at-point.
18573 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
18575 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18576 removing code that has been dead since 1991 or so.
18578 * startup.el (command-line): When warning about "_emacs", use a
18579 delayed warning to allow the user to filter it out.
18581 2011-04-28 Deniz Dogan <deniz@dogan.se>
18583 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18584 user has not joined.
18586 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18588 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18589 aren't any completions at point.
18591 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
18593 * subr.el (display-delayed-warnings): New function.
18594 (delayed-warnings-hook): New variable.
18596 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18598 * minibuffer.el (completion-at-point, completion-help-at-point):
18599 Don't presume that a given completion-at-point-function will always
18600 use the same calling convention.
18602 * pcomplete.el (pcomplete-completions-at-point):
18603 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18604 pcomplete-seen is non-nil.
18605 (pcomplete-comint-setup): Also recognize the new comint/shell
18606 completion functions.
18607 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18608 pcomplete-seen is non-nil.
18610 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
18612 * calendar/icalendar.el (diary-lib): Add require statement.
18613 (icalendar--create-uid): Read out a uid from a text-property on
18614 the first character in the entry. This allows for code to add its
18615 own uid to the entry.
18616 (icalendar--convert-float-to-ical): Add export of
18617 `diary-float'-entries save for those with the optional DAY
18620 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18622 * subr.el (shell-quote-argument): Use alternate escaping strategy
18623 when we spot a variable reference in a string.
18625 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18627 * cus-start.el (all): Define customization for debug-on-event.
18629 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18631 * subr.el (shell-quote-argument): Escape correctly under Windows.
18633 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18635 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18637 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
18639 * net/tramp.el (tramp-process-actions): Add POS argument.
18640 Delete region between POS and (pos).
18642 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18643 Use `nil' position in `tramp-process-actions' call.
18644 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18646 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18647 position in `tramp-process-actions' call.
18649 * net/trampver.el: Update release number.
18651 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18653 * custom.el (defcustom): Obey lexical-binding.
18655 Fix octave-inf completion problems reported by Alexander Klimov.
18656 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18657 Inherit from octave-mode-syntax-table.
18658 (inferior-octave-mode): Set info-lookup-mode.
18659 (inferior-octave-completion-at-point): New function.
18660 (inferior-octave-complete): Use it and completion-in-region.
18661 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18662 comint-filename-completion.
18663 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18664 symbol elements which shouldn't be word elements.
18665 (octave-font-lock-keywords, octave-beginning-of-defun)
18666 (octave-function-header-regexp): Adjust regexps accordingly.
18667 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18669 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
18671 * net/gnutls.el (gnutls-errorp): Declare before first use.
18673 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18675 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18676 verify-error, and verify-hostname-error parameters. Check whether
18677 default trustfile exists before going to use it. Add missing
18678 argument to gnutls-message-maybe call. Return value.
18679 Reported by Claudio Bley <claudio.bley@gmail.com>.
18680 (open-gnutls-stream): Add usage example.
18682 * net/network-stream.el (network-stream-open-starttls): Give host
18683 parameter to `gnutls-negotiate'.
18684 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
18685 * subr.el (shell-quote-argument): Escape correctly under Windows.
18687 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
18689 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18690 Use correct match group (bug#8438).
18692 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
18694 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18695 (package-menu--generate): New arg specifying packages to show.
18696 (package-menu-refresh, package-menu-execute, list-packages):
18698 (package-show-package-list): New function, replacing deleted
18699 package--list-packages (renamed because it is non-internal).
18701 * finder.el (finder-list-matches): Use package-show-package-list
18702 instead of deleted package--list-packages.
18704 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18705 Based on a previous implementation by Juanma Barranquero (Bug#8366).
18706 (vc-annotate-mode-map): Bind it to RET.
18708 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18710 * progmodes/etags.el (next-file): Don't use set-buffer to change
18711 buffers (Bug#8478).
18713 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
18715 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18717 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18718 (apropos-accumulator): Doc fix.
18719 (apropos-function, apropos-macro, apropos-command)
18720 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18721 (apropos-plist): Add face property.
18722 (apropos-symbols-internal): Fix indentation.
18723 (apropos-print): Simplify help, and recognize apropos-multi-type.
18724 (apropos-print-doc): Use button-type-get to extract the button's
18725 face property. Fill docstring (Bug#8352).
18727 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
18729 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18731 * play/mpuz.el (mpuz-silent): Doc fix.
18732 (mpuz-mode-map): Use mapc.
18733 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18734 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18735 Fix typos in docstrings.
18737 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18738 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18740 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18742 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
18744 * minibuffer.el (completion--do-completion): Avoid the "Next char
18745 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18747 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18748 mouse-2 into unread-command-events, it is interpreted correctly.
18750 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
18751 (image-toggle-display): Doc fix.
18753 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
18755 * textmodes/page.el (what-page): Use line-number-at-pos to
18756 calculate line number (Bug#6825).
18758 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
18760 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18761 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18762 Pass argument NO-DEFAULT to `find-tag-interactive'.
18764 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
18766 Lexical-binding cleanup.
18768 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18769 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18770 * progmodes/ada-prj.el (ada-prj-initialize-values)
18771 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18772 (ada-prj-show-value):
18773 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18774 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18775 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18776 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18777 * progmodes/bug-reference.el (bug-reference-push-button):
18778 * progmodes/fortran.el (fortran-line-length):
18779 * progmodes/glasses.el (glasses-change):
18780 * progmodes/octave-mod.el (octave-fill-paragraph):
18781 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18782 (python-pdbtrack-grub-for-buffer, python-sentinel):
18783 * progmodes/sql.el (sql-save-connection):
18784 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18785 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18786 Mark unused parameters.
18788 * progmodes/compile.el (compilation--flush-directory-cache)
18789 (compilation--flush-parse, compile-internal): Mark unused parameters.
18790 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18791 (compilation-next-error-function): Remove unused variable `timestamp'.
18793 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18794 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18796 * progmodes/dcl-mode.el (dcl-end-of-command):
18797 Remove unused variable `start'.
18798 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18799 (dcl-option-value-basic, dcl-option-value-offset)
18800 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18801 Mark unused parameters.
18802 (dcl-save-local-variable): Remove unused variable `val'.
18805 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18806 Mark unused parameters.
18807 (delphi-ignore-changes): Move before first use.
18808 (delphi-charset-token-at): Remove unused variable `start'.
18809 (delphi-else-start): Remove unused variable `if-count'.
18810 (delphi-comment-block-start, delphi-comment-block-end):
18811 Remove unused variable `kind'.
18812 (delphi-indent-line): Remove unused variable `new-point'.
18814 * progmodes/ebrowse.el (ebrowse-files-list)
18815 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18816 Mark unused parameters. Don't quote `lambda'.
18817 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18818 Don't quote `lambda'.
18819 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18820 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18821 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18822 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18823 Use `ignore-errors'.
18824 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18825 (ebrowse-view/find-file-and-search-pattern)
18826 (ebrowse-view/find-member-declaration/definition):
18827 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18828 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18829 Rename parameter PREFIX-ARG to PREFIX.
18830 (ebrowse-tags-read-name): Remove unused variables `start' and
18832 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18835 * progmodes/etags.el (local-find-tag-hook): Declare.
18836 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18837 Mark unused parameters.
18839 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18840 (executable-interpret): Mark unused parameter.
18842 * progmodes/flymake.el (flymake-process-sentinel)
18843 (flymake-after-change-function)
18844 (flymake-create-temp-with-folder-structure)
18845 (flymake-get-include-dirs-dot): Mark unused parameters.
18846 (flymake-safe-delete-directory): Remove unused variable `err'.
18848 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18849 (speedbar-timer-fn, speedbar-line-text)
18850 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18851 (speedbar-center-buffer-smartly): Declare functions.
18852 (gdb-find-watch-expression): Remove unused variable `array'.
18853 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18854 (gdb-starting): Mark unused parameters.
18855 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18856 (gdb-table-string): Remove unused variable `res'.
18857 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18858 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18859 (gdb-display-buffer): Remove unused variable `cur-size'.
18861 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18862 allow lexical-binding compilation.
18863 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18864 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18865 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18866 Mark unused parameters.
18867 (gud-gdb-marker-filter): Remove unused variable `match'.
18868 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18869 lambda expressions and funcall them, instead of using `fset'.
18871 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18872 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18874 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18875 variable `header-beg'; use `let'.
18877 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18878 `restart', `last-sexp' and `at-do'.
18880 * progmodes/js.el (js--debug): Mark unused parameter.
18881 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18882 (js--splice-into-items): Remove unused variable `item'.
18883 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18885 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18886 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18887 (makefile-complete): Remove unused variable `try'.
18888 (makefile-fill-paragraph, makefile-match-function-end):
18889 Mark unused parameters.
18891 * progmodes/octave-inf.el (inferior-octave-complete):
18892 Remove unused variable `proc'.
18893 (inferior-octave-output-digest): Mark unused parameter.
18895 * progmodes/perl-mode.el (perl-calculate-indent):
18896 Remove unused variable `err'.
18898 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18899 (prolog-indent-line): Mark unused parameters.
18900 (prolog-indent-line): Remove unused variable `beg'.
18902 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18903 (reporter-dont-compact-list): Declare.
18905 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18906 Remove unused variable `char'.
18907 (sh-debug): Mark unused parameter.
18908 (sh-get-indent-info): Remove unused variable `start'.
18909 (sh-calculate-indent): Remove unused variable `var'.
18911 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18912 (simula-electric-keyword): Remove unused variable `null'.
18913 (simula-search-backward, simula-search-forward): Remove unused
18914 variables `begin' and `end'.
18916 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18917 Remove unused variable `pos'.
18918 (vera-electric-tab, vera-comment-uncomment-region):
18919 Mark unused parameters.
18920 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18922 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
18924 * emacs-lisp/package.el (package--builtins, package-alist)
18925 (package-load-descriptor, package-built-in-p, package-activate)
18926 (define-package, package-installed-p)
18927 (package-compute-transaction, package-buffer-info)
18928 (package--push): Doc fix. Distinguish more clearly between
18929 version strings and version lists.
18931 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
18933 Lexical-binding cleanup.
18935 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18936 (5x5-make-mutate-best):
18937 * play/fortune.el (fortune-in-buffer):
18938 * play/gomoku.el (gomoku-init-display):
18939 * play/solitaire.el (solitaire, solitaire-do-check):
18940 * play/tetris.el (tetris-default-update-speed-function):
18941 Mark unused parameters.
18943 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18944 (bubbles--shift): Remove unused variable `char-org'.
18945 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18946 (bubbles--show-images): Remove unused variable `char'.
18948 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18949 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18950 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18951 (decipher-analyze-buffer): Use ?\s.
18952 (decipher-make-checkpoint): Remove unused variable `mapping'.
18954 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18956 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18957 Remove unused variable `result'; use `let'.
18959 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18960 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18961 (gametree-children-shown-p, gametree-compute-reduced-score):
18962 Use `ignore-errors'.
18964 * play/handwrite.el (ps-lpr-switches): Declare.
18965 (handwrite): Remove unused variables `pmin' and `lastp'.
18967 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18969 * play/landmark.el (landmark-init-display)
18970 (landmark-update-naught-weights): Mark unused parameters.
18971 (landmark-y): Remove unused variable `noise'. Simplify.
18972 (landmark-human-plays): Remove unused variable `score'.
18974 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18975 (mpuz-try-proposal): Remove unused variable `game'.
18977 * play/zone.el (life-patterns): Declare.
18979 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
18981 * vc/vc.el (ediff-vc-internal): Declare function.
18983 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18985 * shell.el: Use lexical-binding and std completion UI.
18986 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18987 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18988 comint-preoutput-filter-functions rather than on
18989 comint-output-filter-functions.
18990 (shell-command-completion, shell--command-completion-data)
18991 (shell-filename-completion, shell-environment-variable-completion)
18992 (shell-c-a-p-replace-by-expanded-directory): New functions.
18993 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18994 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18995 (shell-dynamic-complete-environment-variable): Use them.
18996 (shell-dynamic-complete-as-environment-variable)
18997 (shell-dynamic-complete-as-command): Remove.
18998 (shell-match-partial-variable): Match past point.
18999 * comint.el: Clean up use of completion-at-point-functions.
19000 (comint-completion-at-point): New function.
19001 (comint-mode): Use it completion-at-point-functions.
19002 (comint-dynamic-complete): Make it obsolete.
19003 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19004 (comint-c-a-p-replace-by-expanded-history): New function.
19005 (comint-dynamic-complete-functions)
19006 (comint-replace-by-expanded-history): Use it.
19007 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19008 termination strings. Try harder to avoid second try-completion.
19009 (completion-in-region-mode-map): Disable bindings that don't work yet.
19011 * comint.el: Use lexical-binding. Require CL.
19012 (comint-dynamic-complete-functions): Use comint-filename-completion.
19013 (comint-completion-addsuffix): Tweak custom type.
19014 (comint-filename-completion, comint--common-suffix)
19015 (comint--common-quoted-suffix, comint--table-subvert)
19016 (comint--complete-file-name-data): New functions.
19017 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19018 (comint-dynamic-list-filename-completions): Use them.
19019 (comint-dynamic-simple-complete): Make obsolete.
19021 * minibuffer.el (completion-in-region-mode):
19022 Keep completion-in-region-mode--predicate global.
19023 (completion-in-region--postch):
19024 Assume completion-in-region-mode--predicate is not null.
19026 * progmodes/flymake.el (flymake-start-syntax-check-process):
19027 Obey `dir'. Simplify.
19029 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19030 we're in VC after all.
19032 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19034 * vc/vc.el (vc-diff-build-argument-list-internal)
19035 (vc-version-ediff, vc-ediff): New commands.
19036 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19038 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19040 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19043 * obsolete/erc-hecomplete.el: Make obsolete.
19044 * obsolete/: Standardize obsolescence info in the header.
19046 2011-04-20 Glenn Morris <rgm@gnu.org>
19048 * calendar/solar.el (solar-horizontal-coordinates):
19049 Use the longitude argument rather than `calendar-longitude'.
19050 (solar-date-next-longitude): Remove unused locals.
19052 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19054 * whitespace.el: New version 13.2.1.
19056 2011-04-20 felix <EmacsWiki> (tiny change)
19058 * whitespace.el (global-whitespace-mode): Keep highlight when
19059 switching between major modes on a file.
19061 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19063 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19064 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19065 multi-line comments as well.
19067 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
19069 Lexical-binding cleanup.
19071 * arc-mode.el (archive-mode-revert):
19072 * cmuscheme.el (scheme-interactively-start-process):
19073 * custom.el (custom-initialize-delay):
19074 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19075 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19076 * emacs-lock.el (emacs-lock-clear-sentinel):
19077 * ezimage.el (defezimage):
19078 * follow.el (follow-avoid-tail-recenter):
19079 * fringe.el (set-fringe-mode-1):
19080 * generic-x.el (bat-generic-mode-compile):
19081 * help-mode.el (help-info-variable, help-do-xref)
19082 (help-mode-revert-buffer):
19083 * help.el (view-emacs-todo):
19084 * iswitchb.el (iswitchb-completion-help):
19085 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19086 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19087 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19088 * locate.el (locate-update):
19089 * longlines.el (longlines-encode-region)
19090 (longlines-after-change-function):
19091 * outline.el (outline-isearch-open-invisible):
19092 * ps-def.el (declare-function, charset-dimension, char-width)
19094 * ps-mule.el (ps-mule-plot-string):
19095 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19096 (recentf-edit-list-select, recentf-edit-list-validate)
19097 (recentf-open-files-action):
19098 * rect.el (delete-whitespace-rectangle-line)
19099 (rectangle-number-line-callback):
19100 * register.el (window-configuration-to-register)
19101 (frame-configuration-to-register):
19102 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19103 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19104 (xselect-convert-to-targets, xselect-convert-to-delete)
19105 (xselect-convert-to-filename, xselect-convert-to-charpos)
19106 (xselect-convert-to-lineno, xselect-convert-to-colno)
19107 (xselect-convert-to-os, xselect-convert-to-host)
19108 (xselect-convert-to-user, xselect-convert-to-class)
19109 (xselect-convert-to-name, xselect-convert-to-integer)
19110 (xselect-convert-to-atom, xselect-convert-to-identity):
19111 * subr.el (declare, ignore, process-kill-without-query)
19112 (text-clone-maintain):
19113 * terminal.el (te-get-char, te-tic-sentinel):
19114 * tool-bar.el (tool-bar-make-keymap):
19115 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19116 * type-break.el (type-break-mode, type-break-noninteractive-query):
19117 * view.el (View-back-to-mark):
19118 * wid-browse.el (widget-browse-action, widget-browse-widget)
19119 (widget-browse-widgets, widget-browse-sexp):
19120 * widget.el (define-widget-keywords):
19121 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19122 Mark unused parameters.
19124 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19125 (align-areas): Remove unused variable `look'.
19126 (align-region): Remove unused variables `real-end' and `pos-list'.
19128 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19130 * bindings.el (mode-line-modified, mode-line-remote):
19131 Mark unused parameters.
19132 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19134 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19135 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19137 * comint.el (comint-history-isearch-pop-state)
19138 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19139 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19140 (comint-substitute-in-file-name): Doc fix.
19142 * completion.el (cmpl-statistics-block): Mark unused parameter.
19143 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19144 (save-completions-to-file, load-completions-from-file):
19145 Remove unused local variable `e'.
19147 * composite.el (compose-chars): Remove unused variable `len'.
19148 (lgstring-insert-glyph): Remove unused variable `g'.
19149 (compose-glyph-string): Remove unused variables `ascent',
19150 `descent', `lbearing' and `rbearing'.
19151 (compose-glyph-string-relative): Remove unused variables
19152 `lbearing', `rbearing' and `wadjust'.
19153 (compose-gstring-for-graphic): Remove unused variables `header',
19154 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19155 (compose-gstring-for-terminal): Remove unused variables `header'
19156 and `nchars'. Use `let', not `let*'.
19158 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19159 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19160 (Custom-buffer-done, custom-buffer-create-internal)
19161 (custom-browse-visibility-action, custom-browse-group-tag-action)
19162 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19163 (widget-magic-mouse-down-action, custom-toggle-parent)
19164 (custom-add-parent-links, custom-toggle-hide-variable)
19165 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19166 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19167 (custom-face-menu-create, custom-variable-menu-create, get)
19168 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19169 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19170 (customize-apropos): Remove unused variable `tests'.
19171 (custom-group-value-create): Remove unused variable `hidden-p'.
19172 (sort-fold-case): Declare.
19174 * cus-theme.el (custom-reset-standard-faces-list)
19175 (custom-reset-standard-variables-list): Declare.
19176 (customize-create-theme, custom-theme-revert, custom-theme-write)
19177 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19178 Mark unused parameters.
19180 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19182 * delim-col.el (delimit-columns-max): Move defvar before first use.
19184 * descr-text.el (describe-char-categories): Don't quote `lambda'.
19185 (describe-char): Don't quote `lambda'. Mark unused parameter.
19187 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19188 (auto-insert): Declare.
19189 (desktop-restore-file-buffer): Rename desktop-* parameters;
19191 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19192 (desktop-buffer): Rename desktop-* parameters.
19194 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19195 (dframe-reposition-frame-xemacs, dframe-help-echo)
19196 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19197 Mark unused parameters.
19199 * dired-aux.el (backup-extract-version-start, overwrite-query)
19200 (overwrite-backup-query, rename-regexp-query)
19201 (rename-non-directory-query): Declare.
19202 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19203 (dired-add-entry): Remove unused variable `orig-file-name'.
19204 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19205 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19206 `dired-copy-preserve-time' directly.
19207 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19208 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19210 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19211 (dired-virtual-revert, dired-make-relative-symlink):
19212 Mark unused parameters.
19213 (manual-program): Declare.
19214 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19215 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19216 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19218 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19220 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19222 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19225 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19227 * electric.el (Electric-command-loop): Rename parameter
19228 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19230 * expand.el (expand-in-literal): Remove unused variable `here'.
19232 * facemenu.el (facemenu-add-new-color):
19233 Remove unused variable `docstring'.
19235 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19236 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19237 (face-attr-construct): Mark unused parameter. Doc fix.
19238 (read-color): Remove unused variable `hex-string'.
19240 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19241 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19242 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19243 (display-buffer-other-frame): Remove unused variable `old-window'.
19244 (kill-buffer-hook): Declare.
19245 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19246 Mark unused parameters.
19247 (after-find-file): Pass 1 to `auto-save-mode', not t.
19249 * files-x.el (auto-insert): Declare.
19250 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19252 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
19253 variable `buf'. Mark unused parameter.
19254 (find-lisp-insert-directory): Mark unused parameter.
19256 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19257 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19258 (format-common-tail): Remove, unused.
19259 (format-deannotate-region): Remove unused variable `loc'.
19260 (format-annotate-region): Remove unused variable `p'.
19261 (format-annotate-single-property-change): Remove unused variables
19262 `default' and `tail'.
19264 * forms.el (read-file-filter): Declare.
19265 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19267 * frame.el (frame-creation-function-alist): Mark unused parameter.
19268 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19270 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19271 Remove unused parameters.
19272 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19273 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19275 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19276 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19277 (hfy-prepare-tag-map): Mark unused parameters.
19278 (htmlfontify-buffer): Use `called-interactively-p'.
19280 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19281 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19282 (ibuffer-do-occur): Mark unused parameters.
19283 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19284 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19286 * ibuffer.el: Don't quote `lambda'.
19287 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19288 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19289 Mark unused parameters.
19291 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19292 (ido-completing-read): Mark unused parameters.
19293 (ido-copy-current-word): Mark unused parameters;
19294 remove unused variable `name'.
19295 (ido-sort-merged-list): Remove unused parameter `dirs'.
19297 * ielm.el (ielm-input-sender): Mark unused parameter.
19298 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19299 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19300 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19301 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19302 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19304 * image-dired.el (image-dired-display-thumbs): Remove unused
19305 variables `curr-file' and `count'.
19306 (image-dired-remove-tag): Remove unused variable `start'.
19307 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19308 variable `curr-file'
19309 (image-dired-rotate-original): Remove unused variable `temp-file'.
19310 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19311 Remove unused variable `file'.
19312 (image-dired-gallery-generate): Remove unused variable `curr'.
19313 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19315 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19317 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19319 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19321 * isearch.el (minibuffer-history-symbol): Declare.
19322 (isearch-edit-string): Remove unused variable `err'.
19323 (isearch-message-prefix, isearch-message-suffix):
19324 Mark unused parameters.
19326 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19328 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19330 * makesum.el (double-column): Remove unused variable `cnt'.
19332 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19333 (ido-ignore-item-temp-list): Declare.
19335 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19336 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19337 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19338 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19341 * mouse-sel.el (mouse-extend-internal):
19342 Remove unused variable `orig-window-frame'.
19344 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19345 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19346 Move declarations before first use.
19347 (pcomplete-opt): Mark unused parameters; doc fix.
19349 * proced.el (proced-revert): Mark unused parameter.
19350 (proced-send-signal): Remove unused variable `err'.
19352 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19353 Rename parameter PREFIX-ARG to ARG.
19354 (ps-basic-plot-string, ps-basic-plot-whitespace):
19355 Mark unused parameters.
19357 * replace.el (replace-count): Define.
19358 (occur-revert-function): Mark unused parameters.
19359 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19360 (isearch-case-fold-search, isearch-string): Declare.
19361 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19362 bind `case-fold-search'. Remove unused variables `beg' and `end',
19364 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19365 COUNT and bind `replace-count'.
19366 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19369 * savehist.el (print-readably, print-string-length): Declare.
19371 * shadowfile.el (shadow-expand-cluster-in-file-name):
19372 Remove unused variable `cluster'.
19373 (shadow-copy-file): Remove unused variable `i'.
19374 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19375 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19376 (shadow-define-literal-group, shadow-define-regexp-group)
19377 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19379 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19380 (shell): Use `called-interactively-p'.
19381 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19383 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19384 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19385 (delete-backward-char): Remove unused variable `ocol'.
19386 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19387 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19388 (event-apply-hyper-modifier, event-apply-shift-modifier)
19389 (event-apply-control-modifier, event-apply-meta-modifier):
19390 Mark unused parameters.
19391 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19392 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19394 * speedbar.el (speedbar-ignored-directory-expressions)
19395 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19396 (speedbar-find-file, speedbar-dir-follow)
19397 (speedbar-directory-buttons-follow, speedbar-tag-find)
19398 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19399 (speedbar-buffers-line-directory, speedbar-buffer-click):
19400 Mark unused parameters.
19401 (speedbar-tag-file): Remove unused variable `mode'.
19402 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19404 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19406 * talk.el (talk): Remove unused variable `display'.
19408 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19409 (tar-write-region-annotate): Mark unused parameter.
19411 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19412 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19413 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19414 warning by another.
19416 * time-stamp.el (time-stamp-string-preprocess):
19417 Remove unused variable `require-padding'.
19419 * tree-widget.el (widget-glyph-enable): Declare.
19420 (tree-widget-action): Mark unused parameter.
19422 * w32-fns.el (x-get-selection): Mark unused parameter.
19423 (autoload-make-program, generated-autoload-file): Declare.
19425 * wdired.el (wdired-revert): Mark unused parameters.
19426 (wdired-xcase-word): Remove unused variable `err'.
19428 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19429 (whitespace-help-scroll): Remove unused variable `data-help'.
19431 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19432 (widget-image-insert, widget-after-change, default)
19433 (widget-default-format-handler, widget-default-notify)
19434 (widget-default-prompt-value, widget-info-link-action)
19435 (widget-url-link-action, widget-function-link-action)
19436 (widget-variable-link-action, widget-file-link-action)
19437 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19438 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19439 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19440 (widget-insert-button-action, widget-delete-button-action, visibility)
19441 (widget-documentation-link-action, widget-documentation-string-action)
19442 (widget-const-prompt-value, widget-regexp-match, symbol)
19443 (widget-coding-system-prompt-value)
19444 (widget-key-sequence-value-to-external, sexp)
19445 (widget-sexp-value-to-internal, character, vector, cons)
19446 (widget-choice-prompt-value, widget-boolean-prompt-value)
19447 (widget-color--choose-action): Mark unused parameters.
19448 (widget-item-match-inline, widget-choice-match-inline)
19449 (widget-checklist-match, widget-checklist-match-inline)
19450 (widget-group-match): Rename parameter VALUES to VALS.
19451 (widget-field-value-set): Remove unused variable `size'.
19452 (widget-color-action): Remove unused variables `value' and `start'.
19454 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
19455 variable `dir'. Doc fix.
19456 (windmove-find-other-window): Don't pass it.
19458 * window.el (count-windows): Mark unused parameter.
19459 (bw-adjust-window): Remove unused variable `err'.
19461 * woman.el (woman-file-name): Remove unused variable `default'.
19462 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19463 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19464 (global-font-lock-mode): Declare.
19465 (woman-decode-region): Mark unused parameter.
19466 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19468 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19469 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19470 (x-dnd-handle-moz-url): Remove unused variable `title'.
19471 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19473 * xml.el (xml-parse-tag, xml-parse-attlist):
19474 Remove unused variable `pos'.
19476 2011-04-19 Glenn Morris <rgm@gnu.org>
19478 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19479 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19480 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19481 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19482 * calendar/cal-html.el (cal-html-insert-minical):
19483 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19484 (calendar-mark-date-pattern):
19485 Prefix "unused" locals.
19487 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19488 optional argument `style'.
19490 * calendar/appt.el (appt-make-list):
19491 * calendar/cal-china.el (calendar-chinese-date-string):
19492 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19493 (diary-hebrew-yahrzeit):
19494 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19495 * calendar/calendar.el (calendar-generate-window):
19496 * calendar/time-date.el (time-to-days):
19497 Remove unused local variables.
19499 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
19501 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19502 glyphless-char-display table.
19503 (tabulated-list-glyphless-char-display): New var.
19505 2011-04-18 Sam Steingold <sds@gnu.org>
19507 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19508 to acknowledgments.
19510 2011-04-17 Glenn Morris <rgm@gnu.org>
19512 * calendar/diary-lib.el (diary-sexp-entry):
19513 * calendar/holidays.el (holiday-sexp):
19514 Set debug-on-error rather than the removed stack-trace-on-error.
19516 2011-04-16 Glenn Morris <rgm@gnu.org>
19518 * progmodes/f90.el: Use lexical-binding.
19519 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19521 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19523 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19524 (mail-mode): Setup mailalias completion here instead.
19525 * mail/mailalias.el: Use lexical-binding.
19526 (pattern, mailalias-done): Declare dynamic.
19527 (mail-completion-at-point-function): New function, from mail-complete.
19528 (mail-complete): Use it.
19529 (mail-completion-expand): New function.
19530 (mail-get-names): Use it.
19531 (mail-directory, mail-directory-process, mail-directory-stream):
19532 Don't use `pattern' for lexically bound arg.
19534 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19536 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19537 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19538 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19540 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19541 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19542 (byte-interactive-p): Define them again, for use when inlining
19545 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
19547 * loadup.el: Use `string-to-number', not `string-to-int'.
19549 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19551 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19552 gud-gdb-complete-command.
19553 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19554 (gud-gdb-completion-at-point): New function.
19555 (gud-gdb-completions): Remove.
19557 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
19559 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19560 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19561 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19562 whether `executable-find' is bound.
19564 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19566 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19568 * minibuffer.el (completion-in-region-mode-predicate)
19569 (completion-in-region-mode--predicate): New vars.
19570 (completion-in-region, completion-in-region--postch)
19571 (completion-in-region-mode): Use them.
19572 (completion--capf-wrapper): Also return the hook function.
19573 (completion-at-point, completion-help-at-point):
19574 Adjust and provide a predicate.
19576 Preserve arg names for advice of subr and lexical functions (bug#8457).
19577 * help-fns.el (help-function-arglist): Consolidate the subr and
19578 new-byte-code cases. Add argument `preserve-names' to extract names
19579 from the docstring when needed.
19580 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19581 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19582 (ad-arglist): Use help-function-arglist's new arg.
19583 (ad-definition-type): Use cond.
19585 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
19587 * autorevert.el (auto-revert-handler):
19588 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19589 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19590 Don't quote lambda.
19592 * image-mode.el (image-transform-set-scale):
19593 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19595 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19597 * net/network-stream.el (network-stream-open-starttls): Only do
19598 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
19599 Upgrades via gnutls-cli are too slow to be done opportunistically.
19601 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
19603 * dframe.el (dframe-current-frame): Remove spurious quote.
19605 2011-04-12 Glenn Morris <rgm@gnu.org>
19607 * calendar/cal-tex.el (cal-tex-end-document):
19608 Try to automatically use latin1 input if needed.
19610 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19611 Don't try to cons a mark onto an empty element.
19613 2011-04-11 Leo Liu <sdl.web@gmail.com>
19615 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19617 (ido-kill-buffer-at-head): Support killing virtual buffers.
19619 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
19621 * minibuffer.el (completion-show-inline-help): New var.
19622 (completion--do-completion, minibuffer-complete)
19623 (minibuffer-force-complete, minibuffer-complete-word):
19624 Inhibit minibuffer messages if completion-show-inline-help is nil.
19626 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19627 to avoid interference from inline help (Bug#5849).
19629 2011-04-10 Leo Liu <sdl.web@gmail.com>
19631 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19634 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
19636 * image-mode.el (image-toggle-display-image): Signal an error if
19638 (image-transform-mode, image-transform-resize)
19639 (image-transform-set-rotation): Doc fix.
19640 (image-transform-set-resize): Delete.
19641 (image-transform-set-scale, image-transform-fit-to-height)
19642 (image-transform-fit-to-width): Handle image-toggle-display-image
19643 and image-transform-resize directly.
19645 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
19647 * doc-view.el (doc-view-fit-width-to-window)
19648 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19649 New functions for fitting the shown image to the Emacs window size.
19650 (doc-view-mode-map): Add bindings for the new functions.
19652 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
19654 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
19655 Fix typo in docstring.
19657 2011-04-08 Eli Zaretskii <eliz@gnu.org>
19659 * files.el (file-size-human-readable): Produce one digit after
19660 decimal, like "ls -lh" does.
19662 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19663 the file size representation.
19665 * simple.el (list-processes): If async subprocesses are not
19666 available, error out with a clear error message.
19668 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
19670 * help.el (help-form-show): New function, to be called from C.
19671 Put help-form output in a buffer named differently than *Help*.
19673 2011-04-08 Eli Zaretskii <eliz@gnu.org>
19675 * files.el (file-size-human-readable): New function.
19677 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19678 computing the representation inline. Don't require `cl'.
19680 2011-04-08 Glenn Morris <rgm@gnu.org>
19682 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19684 * net/browse-url.el (browse-url-firefox):
19685 Test system-type, not system-configuration.
19687 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19688 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19689 Use log-edit-empty-buffer-p. (Bug#7598)
19691 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19692 (rlogin-mode-map): Initialize in the defvar.
19693 (rlogin): Use ignore-errors.
19695 * replace.el (occur-mode-map): Some fixes for menu items.
19697 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19699 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19701 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
19703 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19704 issuing unused warnings.
19706 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19709 * simple.el: Lisp reimplement of list-processes. Based on an
19710 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19711 (process-menu-mode): New major mode.
19712 (list-processes--refresh, list-processes):
19713 (process-menu-visit-buffer): New functions.
19715 * files.el (save-buffers-kill-emacs): Don't assume any return
19716 value of list-processes, which is undocumented anyway.
19718 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
19720 * emacs-lisp/tabulated-list.el: New file.
19722 * emacs-lisp/package.el: Use Tabulated List mode.
19723 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19724 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19725 table format using Tabulated List mode variables.
19726 (package--push): New macro, replacing package-list-maybe-add.
19727 (package-menu--generate): Use package--push. Renamed from
19728 package--generate-package-list.
19729 (package-menu-refresh, list-packages): Use it.
19730 (package-menu--print-info): Rename from package-print-package.
19731 Return insertion data instead of inserting it directly.
19732 (package-menu-describe-package, package-menu-execute):
19733 Use tabulated-list-get-id.
19734 (package-menu-mark-delete, package-menu-mark-install)
19735 (package-menu-mark-unmark, package-menu-backup-unmark)
19736 (package-menu-mark-obsolete-for-deletion):
19737 Use tabulated-list-put-tag.
19738 (package--list-packages, package-menu-revert)
19739 (package-menu-get-package, package-menu-get-version)
19740 (package-menu-sort-by-column): Functions deleted.
19741 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19742 (package-menu--status-predicate, package-menu--version-predicate)
19743 (package-menu--name-predicate)
19744 (package-menu--description-predicate): Handle arguments in the
19745 Tabulated List format.
19746 (package-list-packages-no-fetch): Call list-packages.
19748 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
19750 * files.el (after-find-file-from-revert-buffer): Remove variable.
19751 (after-find-file): Don't bind it.
19752 (revert-buffer-in-progress-p): New variable.
19753 (revert-buffer): Bind it.
19754 Pass nil for `after-find-file-from-revert-buffer'.
19756 * saveplace.el (save-place-find-file-hook): Use new variable
19757 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19759 2011-04-06 Glenn Morris <rgm@gnu.org>
19761 * Makefile.in (AUTOGEN_VCS): New variable.
19762 (autoloads): Use $AUTOGEN_VCS.
19764 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19765 * calendar/calendar.el (calendar-mode-map):
19766 Check for toolkit scroll bars. (Bug#8305)
19768 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
19770 * minibuffer.el (completion-in-region--postch)
19771 (completion-in-region-mode): Remove unnecessary messages.
19773 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
19775 * font-lock.el (font-lock-refresh-defaults):
19776 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19777 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19779 * info.el (Info-directory-list, Info-read-node-name-2)
19780 (Info-split-parameter-string): Doc fixes.
19781 (Info-virtual-nodes): Reflow docstring.
19782 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19783 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19784 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19785 Fix typos in docstrings.
19786 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19787 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19788 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19789 (Info-restore-desktop-buffer): Mark unused parameters.
19790 (Info-directory-find-file, Info-directory-find-node)
19791 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19792 (Info-virtual-index-find-node, Info-apropos-find-file)
19793 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
19794 Mark unused parameters; fix typos in docstrings.
19795 (Info-virtual-index): Remove unused local variable `nodename'.
19797 2011-04-05 Deniz Dogan <deniz@dogan.se>
19799 * net/rcirc.el: Update my e-mail address.
19800 (rcirc-mode-map): Remove M-o binding.
19802 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
19804 * startup.el (command-line): Save the cursor's theme-face
19805 directly, instead of using face-override-spec.
19807 * custom.el (load-theme): Minor optimization in assigning faces.
19809 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
19811 * help-fns.el (describe-variable): Complete all variables having
19812 documentation, including keywords.
19813 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19815 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
19817 Convert to lexical-binding.
19819 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19820 (bs--get-marked-string, bs--get-modified-string)
19821 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19822 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19823 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19825 * ehelp.el (electric-help-execute-extended)
19826 (electric-help-ctrl-x-prefix):
19827 * hexl.el (hexl-revert-buffer-function):
19828 * linum.el (linum-after-change, linum-after-scroll):
19829 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19831 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19833 2011-04-04 Daiki Ueno <ueno@unixuser.org>
19840 * epg.el: Use lexical binding.
19842 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
19844 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19846 * textmodes/flyspell.el (flyspell-word): Recognize default
19847 dictionary case for flyspell-mark-duplications-exceptions.
19848 Use regexp matching for languages.
19849 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19850 default dictionary (Bug#7926).
19852 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
19854 * emacs-lisp/package.el (package--with-work-buffer):
19855 Recognize https URLs.
19857 * net/network-stream.el: Move from gnus/proto-stream.el.
19858 Change prefix to network-stream throughout.
19859 (open-protocol-stream): Merge into open-network-stream, leaving
19860 open-protocol-stream as an alias. Handle nil BUFFER args.
19862 * subr.el (open-network-stream): Move to net/network-stream.el.
19864 2011-04-02 Glenn Morris <rgm@gnu.org>
19866 * find-dired.el (find-exec-terminator): New option.
19867 (find-ls-option): Test for -ls support.
19868 (find-ls-subdir-switches): Test for -b in find-ls-option.
19869 (find-dired, find-grep-dired): Doc fixes.
19870 (find-dired): Use find-exec-terminator.
19872 * find-dired.el (find-ls-option, find-ls-subdir-switches)
19873 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19874 (find-name-arg): Remove purecopy.
19876 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19877 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19878 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19879 accordingly. Don't add the null-device if not needed.
19881 * files.el (save-some-buffers): Doc fix.
19883 2011-04-02 Eli Zaretskii <eliz@gnu.org>
19885 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19887 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
19889 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19890 Use `dolist' rather than `mapcar'.
19892 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19894 Add lexical binding.
19896 * subr.el (apply-partially): Use new closures rather than CL.
19897 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19898 (dolist, dotimes): Use slightly different expansion for lexical code.
19899 (functionp): Move to C.
19900 (letrec): New macro.
19901 (with-wrapper-hook): Use it and apply-partially instead of CL.
19902 (eval-after-load): Preserve lexical-binding.
19903 (save-window-excursion, with-output-to-temp-buffer): Turn them
19906 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19908 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19910 (help-add-fundoc-usage): Don't add `Not documented'.
19911 (help-function-arglist): Handle closures, subroutines, and new
19912 byte-code-functions.
19913 (help-make-usage): Remove leading underscores.
19914 (describe-function-1): Handle closures.
19915 (describe-variable): Use special-variable-p for completion.
19917 * files.el (lexical-binding): Declare safe.
19919 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19920 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19921 (pcase): Add `let' pattern.
19922 Change memoization so it actually works.
19923 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19924 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19927 * emacs-lisp/macroexp.el: Use lexical binding.
19928 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19929 Don't convert ' to #' without checking that it's indeed quoting
19932 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
19933 Use eval-sexp-add-defvars.
19934 (eval-sexp-add-defvars): New fun.
19936 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19938 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19940 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19941 than the internal `byte-compile-lambda'.
19942 (defmethod): Don't hide code under quotes.
19943 (eieio-defmethod): New `code' argument.
19945 * emacs-lisp/eieio-comp.el: Remove.
19947 * emacs-lisp/edebug.el (edebug-eval-defun)
19948 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19949 (edebug-toggle): Avoid `eval'.
19951 * emacs-lisp/disass.el (disassemble-internal): Handle new
19953 (disassemble-1): Handle new byte codes.
19955 * emacs-lisp/cl.el (pushnew): Silence warning.
19957 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19958 (cl-byte-compile-throw): Remove.
19959 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19961 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19964 * emacs-lisp/cconv.el: New file.
19966 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19967 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19968 (byte-compile-initial-macro-environment):
19969 Handle declare-function here.
19970 (byte-compile--lexical-environment): New var.
19971 (byte-stack-ref, byte-stack-set, byte-discardN)
19972 (byte-discardN-preserve-tos): New lap codes.
19973 (byte-interactive-p): Don't use any more.
19974 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19976 (byte-compile-lapcode): Use them and handle new lap codes.
19977 (byte-compile-obsolete): Remove.
19978 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19979 (byte-compile-arglist-warn): Check late def of inlinable funs.
19980 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19981 since they should have been expanded by now.
19982 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19983 (byte-compile-from-buffer): Remove unused second arg.
19984 (byte-compile-preprocess): New function.
19985 (byte-compile-toplevel-file-form): New function to distinguish
19986 file-form calls from outside from file-form calls from hunk-handlers.
19987 (byte-compile-file-form): Simplify.
19988 (byte-compile-file-form-defsubst): Remove.
19989 (byte-compile-file-form-defmumble): Simplify now that
19990 byte-compile-lambda always returns a byte-code-function.
19991 (byte-compile): Preprocess.
19992 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19993 Remove, not used any more.
19994 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19995 (byte-compile-make-args-desc): New funs.
19996 (byte-compile-lambda): Handle lexical functions. Always return
19997 a byte-code-function.
19998 (byte-compile-reserved-constants): New var, to make up room for
19999 closed-over variables.
20000 (byte-compile-constants-vector): Obey it.
20001 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20002 (byte-compile-macroexpand-declare-function): New function.
20003 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20004 byte-code-functions.
20005 (byte-compile-form): Check obsolescence here.
20006 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20007 (byte-compile-variable-ref): Remove.
20008 (byte-compile-dynamic-variable-op): New fun.
20009 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20010 (byte-compile-variable-set): New funs.
20011 (byte-compile-discard): Add 2 args.
20012 (byte-compile-stack-ref, byte-compile-stack-set)
20013 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20014 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20015 macroexpand-all instead.
20016 (byte-compile-quote-form): Remove.
20017 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20018 (byte-compile-bind, byte-compile-unbind): New funs.
20019 (byte-compile-let): Handle let* and lexical binding.
20020 (byte-compile-let*): Remove.
20021 (byte-compile-catch, byte-compile-unwind-protect)
20022 (byte-compile-track-mouse, byte-compile-condition-case):
20023 Handle a new :fun-body form, used for lexical scoping.
20024 (byte-compile-save-window-excursion)
20025 (byte-compile-with-output-to-temp-buffer): Remove.
20026 (byte-compile-defun): Simplify.
20027 (byte-compile-stack-adjustment): New fun.
20028 (byte-compile-out): Use it.
20029 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20031 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20034 * emacs-lisp/byte-opt.el: Use lexical binding.
20035 (byte-inline-lapcode): Remove (to bytecomp).
20036 (byte-compile-inline-expand): Pay attention to inlining to/from
20037 lexically bound code.
20038 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20040 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20041 any more and don't call compiler-macros.
20042 (byte-compile-splice-in-already-compiled-code): Remove.
20043 (byte-code): Don't inline any more.
20044 (disassemble-offset): Receive `bytes' as argument rather than via
20046 (byte-compile-tag-number): Declare before first use.
20047 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20048 `return' even if make-spliceable.
20049 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20050 obsolete interactive-p.
20051 (byte-optimize-lapcode): Optimize new lap-codes.
20052 Don't trip up on new form of `byte-constant' lap code.
20054 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20056 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20058 * custom.el (custom-initialize-default, custom-declare-variable):
20061 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20063 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20064 (COMPILE_FIRST): Add macroexp and cconv.
20065 * makefile.w32-in: Mirror changes in Makefile.in.
20067 * vc/cvs-status.el:
20071 * vc/smerge-mode.el:
20072 * textmodes/bibtex-style.el:
20073 * textmodes/css-mode.el:
20081 * emacs-lisp/smie.el:
20084 * abbrev.el: Use lexical binding.
20086 2011-04-01 Eli Zaretskii <eliz@gnu.org>
20088 * info.el (info-display-manual): New function.
20090 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20092 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20094 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20096 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
20097 an entry for that server in rcirc-authinfo. (Bug#8385)
20099 2011-03-31 Glenn Morris <rgm@gnu.org>
20101 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20103 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20105 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20107 * progmodes/python.el (python-default-interpreter)
20108 (python-python-command-args, python-jython-command-args)
20109 (python-which-shell, python-which-args, python-which-bufname)
20110 (python-file-queue, python-comint-output-filter-function)
20111 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20112 variables and functions.
20114 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20116 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20117 (completion-in-region-mode): New minor mode.
20118 (completion-in-region): Use it.
20119 (completion-in-region--data, completion-in-region-mode-map): New vars.
20120 (completion-in-region--postch): New function.
20121 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20123 (completion--capf-wrapper): New function.
20124 (completion-at-point): Use it to track well-behavedness of
20126 (completion-help-at-point): New command.
20128 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20130 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20131 syntax class to search for whitespace on a single line
20132 (Message-ID: <4D938140.4030905@redhat.com>).
20134 2011-03-30 Leo Liu <sdl.web@gmail.com>
20136 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20138 (edit-abbrevs-map): Bind them here.
20139 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20141 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20143 * allout.el (allout-hide-by-annotation, allout-flag-region):
20144 Reduce possibility of overlay leakage by making them volatile.
20146 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20147 hash is not shared between buffers. Mode initialization is
20148 responsible for giving it a useful starting value.
20149 (allout-item-span): Reduce possibility of overlay leakage by
20150 making them volatile.
20151 (allout-widgets-count-buttons-in-region): Add diagnostic function
20152 for tracking down button overlay leaks.
20154 2011-03-29 Leo Liu <sdl.web@gmail.com>
20156 * ido.el (ido-read-internal): Use the default history var
20157 minibuffer-history if no HISTORY is specified.
20159 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20161 * net/imap.el (imap-shell-open, imap-process-connection-type):
20162 Use imap-process-connection-type for 'shell' streams as well as
20163 Kerberos, SSL, other subprocesses.
20165 2011-03-28 Leo Liu <sdl.web@gmail.com>
20167 * abbrev.el (abbrev-table-empty-p): New function.
20168 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20169 nonempty ones. (Bug#5937)
20171 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20173 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20175 2011-03-27 Leo Liu <sdl.web@gmail.com>
20177 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20178 for foreground and background colors.
20179 (ansi-color-make-color-map): Adapt.
20181 2011-03-25 Leo Liu <sdl.web@gmail.com>
20183 * midnight.el (midnight-time-float): Remove. Note it calculates
20184 the microsecond component incorrectly and seconds-to-time does the
20186 Remove redundant (require 'timer).
20188 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20189 (ido-completions): Remove unused arguments. (Bug#8329)
20191 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20193 * minibuffer.el (completion--flush-all-sorted-completions):
20194 Remove itself from hook.
20195 (completion-at-point): Let the functions perform the completion
20196 immediately and return nil or t.
20197 * comint.el (comint-dynamic-complete-functions): Now identical to
20198 completion-at-point-functions.
20199 (comint-dynamic-list-input-ring): Remove unused var `index'.
20200 (comint--match-partial-filename, comint--unquote&expand-filename):
20201 New funs, split from comint-match-partial-filename.
20202 (comint-dynamic-complete): Use completion-at-point.
20203 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20205 2011-03-24 Drew Adams <drew.adams@oracle.com>
20207 * thingatpt.el: Support `defun'.
20209 2011-03-23 Leo Liu <sdl.web@gmail.com>
20211 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20213 * help-mode.el (help-mode-finish): Tweak regexp.
20215 2011-03-23 Glenn Morris <rgm@gnu.org>
20217 * eshell/esh-opt.el (eshell-eval-using-options):
20218 Do not bind unused local variable `eshell-option-stub'.
20220 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20222 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20224 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20225 keymap variable in `with-no-warnings' to avoid a warning when the
20226 keymap has been already `defconst'ed.
20228 2011-03-22 Leo Liu <sdl.web@gmail.com>
20230 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20231 encode all chars in abbrevs; otherwise use emacs-mule or
20232 utf-8-emacs. (Bug#8308)
20234 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20236 * simple.el (backward-delete-char-untabify):
20237 Avoid warning about using `delete-backward-char'.
20239 * image.el (image-type-file-name-regexps): Make it variable.
20240 `imagemagick-register-types' modifies it, and the user may want
20241 to add new extensions for known image types.
20242 (imagemagick-register-types): Throw error if not using ImageMagick.
20244 2011-03-22 Leo Liu <sdl.web@gmail.com>
20246 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20247 located before rcirc-prompt-end-marker.
20248 (rcirc-complete): Error if point is not after rcirc prompt.
20249 Handle the case when table is nil.
20250 (rcirc-user-authenticated): Define to fix compiler warning.
20252 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
20254 * custom.el (custom--inhibit-theme-enable): Make it affect only
20255 custom-theme-set-variables and custom-theme-set-faces.
20256 (provide-theme): Ignore custom--inhibit-theme-enable.
20257 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20258 (custom-enabling-themes): Delete variable.
20259 (enable-theme): Accept only loaded themes as arguments.
20260 Ignore the special custom-enabled-themes variable.
20261 (custom-enabled-themes): Forbid themes from setting this.
20262 Eliminate use of custom-enabling-themes.
20263 (custom-push-theme): Quote "changed" custom var entry.
20265 2011-03-21 Leo Liu <sdl.web@gmail.com>
20267 * ido.el (ido-read-internal): Add ido-selected to history instead
20270 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20272 * subr.el (deferred-action-list, deferred-action-function):
20275 2011-03-21 Leo Liu <sdl.web@gmail.com>
20277 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20278 change on 2011-02-13 (bug#8309).
20280 * minibuffer.el (read-file-name-function): Change default value.
20281 (read-file-name--defaults): Rename from read-file-name-defaults.
20282 (read-file-name-default): Rename from read-file-name.
20283 (read-file-name): Call read-file-name-function.
20285 2011-03-21 Glenn Morris <rgm@gnu.org>
20287 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20290 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
20292 * cus-theme.el: Add missing provide statement.
20293 (customize-create-theme): Extract theme value correctly.
20294 (custom-theme-visit-theme): Autoload.
20295 (customize-create-theme): Prompt before inserting default faces.
20297 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20299 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20300 units and musical notes.
20302 2011-03-20 Leo Liu <sdl.web@gmail.com>
20304 * ido.el (ido-read-internal): Use completing-read-default.
20305 (ido-completing-read): Fix compatibility with completing-read.
20307 2011-03-20 Christian Ohler <ohler@gnu.org>
20309 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20310 (ert-delete-all-tests): Use `called-interactively-p' rather than
20312 (ert--make-xrefs-region): Respect END.
20314 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20316 * dired-aux.el (dired-create-directory): Signal an error if the
20317 directory already exists (Bug#8246).
20319 * facemenu.el (list-colors-display): Call list-faces-display
20320 inside with-help-window.
20321 (list-colors-print): Use display property to align the final
20322 column, instead of checking window-width.
20324 2011-03-19 Eli Zaretskii <eliz@gnu.org>
20326 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
20327 windows-nt systems.
20328 (emerge-protect-metachars): Quote correctly for ms-dos and
20329 windows-nt systems.
20331 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
20333 * info.el (info-initialize): Replace all uses of `:' with
20334 path-separator for compatibility with non-Unix systems.
20335 Cache quoting of path-separator. (Bug#8258)
20337 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
20339 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20340 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20341 (mouse-avoidance-mode): Fix typos in docstrings.
20343 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20345 * startup.el (package-subdirectory-regexp): Move from package.el.
20346 Omit \\` and \\', and let callers add them.
20348 * emacs-lisp/package.el (package-strip-version)
20349 (package-load-all-descriptors): Add \\` and \\' to
20350 package-subdirectory-regexp before using it.
20351 (package-untar-buffer): New arg DIR; ensure that file untars only
20352 into this expected directory. Remove superfluous delete-region.
20353 (package-unpack): Caller changed.
20354 (package-tar-file-info): Use package-subdirectory-regexp.
20356 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
20358 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20359 diff-mode-shared-map (bug#8284).
20360 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
20362 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20364 * calendar/time-date.el (format-seconds): Use assoc instead of
20365 assoc-string, since assoc-string doesn't exist in XEmacs.
20367 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
20369 * custom.el (custom-known-themes): Reflow docstring.
20370 (custom-theme-load-path): Fix typo in docstring.
20371 (load-theme): Fix typo in error message.
20372 (custom-available-themes, custom-variable-theme-value):
20373 Use `let', not `let*'.
20375 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20377 * calc/README: Mention inclusion of musical notes.
20379 * calc/calc-units.el (calc-lu-quant): Rename from
20380 `calc-logunits-quantity'.
20381 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20382 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20383 (calc-db): Rename from `calc-dblevel'.
20384 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20385 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20386 (calc-np): Rename from `calc-nplevel'.
20387 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20388 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20389 (calc-lu-plus): Rename from `calc-logunits-add'.
20390 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20391 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20392 (calc-lu-minus): Rename from `calc-logunits-sub'.
20393 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20394 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20395 (calc-lu-times): Rename from `calc-logunits-mul'.
20396 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20397 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20398 (calc-lu-divide): Rename from `calc-logunits-div'.
20399 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20400 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20402 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20403 functions being autoloaded.
20405 * calc/calc.el (calc-lu-power-reference): Rename from
20406 `calc-logunits-power-reference'.
20407 (calc-lu-field-reference): Rename from
20408 `calc-logunits-field-reference'.
20410 * calc/calc-help.el (calc-l-prefix-help):
20411 Mention musical note functions.
20413 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20415 * minibuffer.el (completion-all-sorted-completions):
20416 Use :completion-cycle-penalty text property if present.
20418 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20420 * allout.el (allout-yank-processing): Adjust for new rebulleting
20421 regime so bullet being yanked is used without prompting the user
20424 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20426 * startup.el (command-line): Warn the user that _emacs is deprecated.
20428 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20430 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20431 (delphi-verbose, delphi-comment-face, delphi-string-face)
20432 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20433 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20434 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20435 (delphi-new-comment-line, delphi-font-lock-defaults)
20436 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20437 Fix typos in docstrings.
20439 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20441 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
20442 Invert the roles of character and string values for INSTEAD, so a
20443 string is used for the more common case of a defaulting prompt.
20445 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20447 * progmodes/ruby-mode.el (ruby-backward-sexp):
20448 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20449 * play/gamegrid.el (gamegrid-make-face):
20450 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20451 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20452 * notifications.el (notifications-notify):
20453 * net/xesam.el (xesam-search-engines):
20454 * net/quickurl.el (quickurl-list-insert):
20455 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20457 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
20459 * startup.el (command-line): Update package subdirectory regexp.
20461 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20463 * allout.el (allout-abbreviate-flattened-numbering)
20464 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20466 * subr.el (read-char-choice): Only show the cursor after the prompt,
20467 not after the answer.
20469 2011-03-15 Kevin Ryde <user42@zip.com.au>
20471 * help-fns.el (variable-at-point): Skip leading quotes, if any
20474 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20476 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20479 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
20481 * shell.el (shell): When called interactively, offer to change the
20482 shell file name on remote hosts.
20484 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20486 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20487 integration for LDAP parameters. The host, base, user or binddn,
20488 and secret tokens can be specified in a netrc file, for instance.
20489 This is optional because an `auth-source' parameter must be
20490 specified in the search attributes.
20492 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
20494 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20496 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20498 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20499 into declaration. Remove redundant and harmful binding.
20501 2011-03-12 Eli Zaretskii <eliz@gnu.org>
20503 * files.el (file-ownership-preserved-p): Pass `integer' as an
20504 explicit 2nd argument to `file-attributes'. If the file's owner
20505 is the Administrators group on Windows, and the current user is
20506 Administrator, consider that a match.
20508 * server.el (server-ensure-safe-dir): Consider server directory
20509 safe on MS-Windows if its owner is the Administrators group while
20510 the current Emacs user is Administrator. Use `=' to compare
20511 numerical UIDs, since they could be integers or floats.
20513 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
20515 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20517 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
20519 Sync with Tramp 2.2.1.
20521 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20523 * net/trampver.el: Update release number.
20525 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20527 * progmodes/compile.el (compilation--previous-directory): Fix up
20528 various nil/dead-marker mismatches (bug#8014).
20529 (compilation-directory-properties, compilation-error-properties):
20530 Don't call it at a position past the one we're about to change.
20532 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20533 Disable obsolescence warnings in the file that declares it.
20535 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20537 * allout-widgets.el (allout-widgets-tally):
20538 Initialize allout-widgets-tally as a hash table rather than nil to
20539 prevent mode-line redisplay warnings. Also, clarify the module
20540 description and fix a comment typo.
20542 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
20544 * help-fns.el (describe-variable): Don't complete keywords.
20545 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20547 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
20549 * emacs-lisp/package.el (package-version-join): Impose a standard
20550 string representation for pre/alpha/beta version lists.
20551 (package-unpack-single): Standardize the directory name by passing
20552 it through package-version-join.
20553 (package-strip-rcs-id): Accept any version string that does not
20554 signal an error in version-to-list.
20556 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
20558 * simple.el (delete-trailing-whitespace): Return nil for the
20559 benefit of `write-file-functions'.
20561 2011-03-10 Glenn Morris <rgm@gnu.org>
20563 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20565 * vc/vc-git.el (vc-git-program): New option.
20566 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20567 (vc-git--call): Use it.
20569 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20571 * cus-edit.el (Custom-newline): If no button at point, look
20572 for a subgroup button at start-of-line. (Bug#2298)
20574 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20576 2011-03-10 Julien Danjou <julien@danjou.info>
20578 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20579 `cursor-type' is nil.
20581 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20583 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20585 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20587 * allout.el: Change so yank of distinctive-bullet items
20588 preserves the existing header prefix, rebulleting it if necessary,
20589 rather than replacing it. This is necessary for proper operation
20590 of cooperative addons like allout-widgets.
20591 (allout-make-topic-prefix, allout-rebullet-heading):
20592 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20593 value as alternate bullet to be used, instead of prompting the user
20594 for a bullet character.
20596 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
20598 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20599 Do not use `tramp-file-name-port', because this returns also
20600 `tramp-default-port'.
20602 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20604 * net/rcirc.el (rcirc-handler-001): Remove useless
20605 with-rcirc-process-buffer.
20606 (rcirc-check-auth-status): Swap arguments to string-match.
20608 2011-03-09 Glenn Morris <rgm@gnu.org>
20610 * shell.el (shell-mode):
20611 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20613 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20614 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20616 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
20618 * emacs-lisp/package.el (package-refresh-contents)
20619 (package-menu-execute): Use condition-case-no-debug.
20621 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
20623 * simple.el (shell-command-to-string): Use `process-file'.
20625 * emacs-lisp/package.el (package-tar-file-info): Handle also
20628 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20629 Use `equal' for upload base check.
20631 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20633 * textmodes/texinfo.el (texinfo-environments):
20634 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20636 2011-03-08 Glenn Morris <rgm@gnu.org>
20638 * cus-start.el (cursor-in-non-selected-windows):
20639 Fix :set quoting oddness. (Bug#8192)
20641 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20642 in some setf expressions. (Bug#2159)
20644 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
20646 * custom.el (custom-available-themes): Return themes in
20647 alphabetical order.
20649 See ChangeLog.15 for earlier changes.
20651 ;; Local Variables:
20655 Copyright (C) 2011-2012 Free Software Foundation, Inc.
20657 This file is part of GNU Emacs.
20659 GNU Emacs is free software: you can redistribute it and/or modify
20660 it under the terms of the GNU General Public License as published by
20661 the Free Software Foundation, either version 3 of the License, or
20662 (at your option) any later version.
20664 GNU Emacs is distributed in the hope that it will be useful,
20665 but WITHOUT ANY WARRANTY; without even the implied warranty of
20666 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20667 GNU General Public License for more details.
20669 You should have received a copy of the GNU General Public License
20670 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.