1 2012-05-07 Chong Yidong <cyd@gnu.org>
3 * ansi-color.el (ansi-color-process-output): Check for validity of
4 comint-last-output-start before using it. This avoids a bad
5 interaction with gdb-mi's input/output buffer.
7 2012-05-06 Glenn Morris <rgm@gnu.org>
9 * files.el (dir-locals-read-from-file):
10 Mention dir-locals in any error message.
12 2012-05-06 Chong Yidong <cyd@gnu.org>
14 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
17 2012-05-05 Chong Yidong <cyd@gnu.org>
19 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
20 variables into description.
22 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
25 shell-delimiter-argument-list (bug#11348).
26 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
28 2012-05-04 Chong Yidong <cyd@gnu.org>
30 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
33 2012-05-03 Kenichi Handa <handa@m17n.org>
35 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
36 decoding, and show a warning message without signalling an error
39 2012-04-30 Eli Zaretskii <eliz@gnu.org>
41 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
42 the yanked message in preference to the default value of
43 buffer-file-coding-system.
45 2012-04-30 Martin Rudalics <rudalics@gmx.at>
47 * window.el (display-buffer--action-function-custom-type): Fix
50 2012-04-27 Alan Mackenzie <acm@muc.de>
52 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
54 2012-04-27 Chong Yidong <cyd@gnu.org>
56 * subr.el (read-key): Avoid running filter function when setting
57 up temporary tool bar entries (Bug#9922).
59 2012-04-26 Andreas Schwab <schwab@linux-m68k.org>
61 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
64 2012-04-24 Chong Yidong <cyd@gnu.org>
66 * select.el (xselect--encode-string): New function, split from
67 xselect-convert-to-string.
68 (xselect-convert-to-string): Use it.
69 (xselect-convert-to-filename, xselect-convert-to-os)
70 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
71 returned strings are properly encoded (Bug#11315).
73 2012-04-22 Chong Yidong <cyd@gnu.org>
75 * simple.el (delete-active-region): Move to killing custom group.
77 2012-04-21 Andreas Schwab <schwab@linux-m68k.org>
79 * progmodes/which-func.el (which-func-current): Quote %
80 characters for mode-line processing.
82 2012-04-21 Chong Yidong <cyd@gnu.org>
84 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
85 reaching eob (Bug#11286).
87 2012-04-20 Richard Stallman <rms@gnu.org>
89 Fix logic for returning to and yanking from Rmail buffer.
91 * mail/rmail.el (rmail-start-mail):
92 Pass (rmail-mail-return...) for the return-action.
93 Pass (rmail-yank-current-message...) for the yank-action.
94 (rmail-yank-current-message): New function.
95 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
96 (rmail-reply): Likewise.
97 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
99 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
100 buffer, not the last. Reject temp buffers. Use the rmail-mode
103 2012-04-20 Eli Zaretskii <eliz@gnu.org>
105 * progmodes/gdb-mi.el (gdb-control-level): New variable.
106 (gdb): Make it buffer-local and init to zero.
107 (gdb-control-commands-regexp): New variable.
108 (gdb-send): Don't wrap in "-interpreter-exec console" if
109 gdb-control-level is positive. Increment gdb-control-level
110 whenever the command matches gdb-control-commands-regexp, and
111 decrement it each time the command is "end". (Bug#11279)
113 2012-04-20 Martin Rudalics <rudalics@gmx.at>
115 * window.el (adjust-window-trailing-edge, enlarge-window)
116 (shrink-window, window-resize):
117 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
120 2012-04-20 Dan Nicolaescu <dann@gnu.org>
122 * battery.el (battery-echo-area-format): Display remaining time
123 for sysfs backend too (Bug#11269).
124 (battery-linux-sysfs): Fix conditional for the charge.
126 2012-04-20 Chong Yidong <cyd@gnu.org>
128 * progmodes/gdb-mi.el (gdb): Revert 2012-04-19 change.
129 (gdb-inferior-io--init-proc): New function.
130 (gdb-init-1): Use it.
131 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
132 responsible for allocating a new pty and hooking it to gdb when
133 the old pty gets an EIO due to process exit.
134 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
135 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
136 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
138 2012-04-20 Eli Zaretskii <eliz@gnu.org>
140 * window.el (window-min-size, window-sizable, window-min-delta)
141 (window-max-delta, window--resizable, window-resizable)
142 (window-total-size, window-full-height-p, window-full-width-p)
143 (window-in-direction, window--resize-mini-window, window-resize)
144 (window--resize-child-windows-normal)
145 (window--resize-child-windows, window--resize-siblings)
146 (window--resize-this-window, adjust-window-trailing-edge)
147 (enlarge-window, shrink-window): Doc fixes.
149 2012-04-19 Chong Yidong <cyd@gnu.org>
151 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty): New
152 function to call delete-process on the gdb-inferior buffer's pty.
153 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
154 pty process (Bug#11273).
155 (gdb-update): New arg to suppress talking to the gdb process.
156 (gdb-done-or-error): Use it.
157 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
158 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
159 sentinel not being called.
161 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
163 2012-04-18 Chong Yidong <cyd@gnu.org>
165 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
167 2012-04-18 Glenn Morris <rgm@gnu.org>
169 * net/network-stream.el (open-network-stream): Doc fix.
171 2012-04-17 Chong Yidong <cyd@gnu.org>
173 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
175 2012-04-16 Alan Mackenzie <acm@muc.de>
177 Ensure searching for keywords is case sensitive.
179 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
180 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
181 (c-defun-name, c-mark-function, c-cpp-define-name)
182 (c-comment-indent, c-scan-conditionals, c-indent-defun)
183 (c-context-line-break): bind case-fold-search to nil.
185 * progmodes/cc-mode.el (c-font-lock-fontify-region): bind
186 case-fold-search to nil.
188 2012-04-16 Chong Yidong <cyd@gnu.org>
190 * mail/sendmail.el (mail-bury): Call return action with the right
191 Rmail buffer (Bug#11242).
193 2012-04-15 Chong Yidong <cyd@gnu.org>
195 * server.el (server-process-filter): Handle corner case where both
196 tty and nowait options are present (Bug#11102).
198 2012-04-15 Glenn Morris <rgm@gnu.org>
200 * simple.el (process-file-side-effects): Doc fix.
202 2012-04-14 Glenn Morris <rgm@gnu.org>
204 * international/mule-cmds.el (set-language-environment): Doc fix.
206 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
208 Avoid the use of ((lambda ...) ...) in lexical-binding code.
209 * emacs-lisp/easy-mmode.el (define-minor-mode):Use funcall (bug#11241).
211 2012-04-13 Kim F. Storm <storm@cua.dk>
213 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
214 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
216 2012-04-12 Chong Yidong <cyd@gnu.org>
218 * custom.el (custom-theme-set-variables): Doc fix.
220 2012-04-12 Glenn Morris <rgm@gnu.org>
222 * international/mule.el (set-auto-coding-for-load): Doc fix.
224 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
226 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
227 Reported by Noah Friedman. Backport from trunk.
229 2012-04-11 Alan Mackenzie <acm@muc.de>
231 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression):
232 Make imenu work again for Objective C Mode. Correct the *-index
233 values, these having been disturbed by a previous change in 2011-08.
235 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
236 Correct two search limits.
238 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
240 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
242 2012-04-10 Andreas Schwab <schwab@linux-m68k.org>
244 * international/characters.el: Fix sorting.
246 2012-04-10 Eli Zaretskii <eliz@gnu.org>
248 * international/characters.el: Add more missing Latin case pairs.
250 2012-04-10 Andreas Schwab <schwab@linux-m68k.org>
252 * international/characters.el: Recover lost case pairs.
254 2012-04-10 Glenn Morris <rgm@gnu.org>
256 * files.el (dir-locals-set-class-variables): Doc fix.
258 2012-04-09 Eli Zaretskii <eliz@gnu.org>
260 * international/characters.el: Add set-case-syntax-pair call for
261 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
262 counterpart. (Bug#11209)
264 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
266 2012-04-09 Glenn Morris <rgm@gnu.org>
268 * calendar/holidays.el (calendar-check-holidays): Doc fix.
270 2012-04-08 Eli Zaretskii <eliz@gnu.org>
272 * textmodes/ispell.el (ispell-dictionary-base-alist): Add data for
275 2012-04-08 Chong Yidong <cyd@gnu.org>
277 * net/rcirc.el (rcirc-cmd-quit): Revert 2012-03-18 change
280 2012-04-07 Glenn Morris <rgm@gnu.org>
282 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
284 2012-04-07 Eli Zaretskii <eliz@gnu.org>
286 * minibuffer.el (completion-in-region-mode-map):
287 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
289 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
291 * window.el (shrink-window): Mention the `window-min-height'
292 variable in the doc string.
294 2012-04-05 Bastien Guerry <bzg@altern.org>
296 * color.el (color-lighten-name): Fix typo.
298 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
300 * server.el (server--on-display-p): New function.
301 (server--on-display-p): Use it.
303 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
305 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
308 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
310 * comint.el (comint--common-quoted-suffix): Check string boundary
311 before comparing (bug#11158).
312 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
314 2012-04-04 Chong Yidong <cyd@gnu.org>
316 * minibuffer.el (completion-extra-properties): Doc fix.
318 * subr.el (delayed-warnings-hook): Doc fix.
320 2012-04-04 Daiki Ueno <ueno@unixuser.org>
322 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
323 selection (Bug#11159).
324 (epa-insert-keys): Inform that the default public key will be
325 exported if no key is selected.
327 2012-04-04 Richard Stallman <rms@gnu.org>
329 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
331 2012-04-03 Chong Yidong <cyd@gnu.org>
333 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
334 mail-insert-file, not its obsolete alias mail-attach-file.
336 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
338 * notifications.el (notifications-notify): Fix docstring.
340 2012-04-02 Glenn Morris <rgm@gnu.org>
342 * emacs-lisp/authors.el (authors-aliases): Another addition.
344 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
346 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
347 `tramp-compat-call-process' instead of `tramp-local-call-process'.
348 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
350 2012-04-01 Chong Yidong <cyd@gnu.org>
352 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
353 Handle root directory properly.
354 (copy-directory): Caller changed.
356 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
357 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
359 2012-03-31 Glenn Morris <rgm@gnu.org>
361 * term/xterm.el (xterm-extra-capabilities): Doc fix.
363 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
365 * calendar/calendar.el (calendar-window-list)
366 (calendar-hide-window): Restore. (Bug#11140)
367 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
369 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
371 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
373 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
374 Check if file is a symlink (Bug#10489).
376 * files.el (copy-directory): Likewise.
378 2012-03-30 Chong Yidong <cyd@gnu.org>
380 * image.el (imagemagick-types-inhibit)
381 (imagemagick-register-types): Doc fix.
383 2012-03-30 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
385 * ispell.el (ispell-get-extended-character-mode): Disable
386 extended-char-mode for hunspell. hunspell does not support it and
387 treats ~word as ordinary words in pipe mode.
389 2012-03-30 Glenn Morris <rgm@gnu.org>
391 * tutorial.el (help-with-tutorial): Ensure local variables don't
392 happen to make the buffer read-only. (Bug#11127)
394 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
396 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
397 (perl-calculate-indent): Return `noindent' in strings.
399 2012-03-28 Sam Steingold <sds@gnu.org>
401 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
402 instead of the broken adhockery which does not prevent calendar
403 buffers from being displayed at random after exit.
404 (calendar-window-list, calendar-hide-window): Remove the broken
407 2012-03-28 Glenn Morris <rgm@gnu.org>
409 * replace.el (query-replace-map): Doc fix.
411 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
413 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
414 contents. (Bug#11109)
416 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
418 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
420 (avl-tree--check, avl-tree--check-node): New funs.
422 2012-03-27 Martin Rudalics <rudalics@gmx.at>
424 * window.el (switch-to-visible-buffer): New option.
425 (switch-to-prev-buffer, switch-to-next-buffer):
426 Observe switch-to-visible-buffer. Make sure that checking for a window
427 showing a buffer already is done on the same frame.
429 2012-03-27 Glenn Morris <rgm@gnu.org>
431 * startup.el (mail-host-address): Doc fix.
433 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
435 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
438 2012-03-26 Ami Fischman <ami@fischman.org>
440 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
442 2012-03-26 Glenn Morris <rgm@gnu.org>
444 * files.el (save-buffers-kill-emacs): Doc fix.
446 * startup.el (normal-top-level, command-line, command-line-1):
447 Give them doc strings.
449 2012-03-25 Eli Zaretskii <eliz@gnu.org>
451 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
452 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
454 2012-03-25 Chong Yidong <cyd@gnu.org>
456 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
457 theme if it was previously enabled before (Bug#11031).
459 * cus-theme.el (custom-theme-write-faces): Retrieve current face
460 spec with custom-face-get-current-spec if its :shown-value is not
461 determined yet (Bug#9337).
462 (customize-create-theme, custom-theme-revert): Doc fixes.
464 * button.el (button-at): Minor addition to docstring.
466 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
468 * vc/vc.el (vc-merge): Fix a prompt.
470 2012-03-24 Chong Yidong <cyd@gnu.org>
472 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
475 * button.el (button-at): Minor addition to docstring.
477 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
479 * newcomment.el (comment-choose-indent): No space after BOL.
481 2012-03-22 Sam Steingold <sds@gnu.org>
483 * window.el (switch-to-prev-buffer): Revert last patch because the
484 bug turned out to be an advertised feature (Elisp manual 28.14).
486 2012-03-22 Glenn Morris <rgm@gnu.org>
488 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
489 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
491 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
493 * net/network-stream.el (network-stream-open-starttls): Make error
494 message under Windows be less misleading.
496 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
498 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
499 understands (bug#9942).
501 2012-03-22 Chong Yidong <cyd@gnu.org>
503 * simple.el (end-of-visible-line): Handle return value of
504 next-single-property-change properly (Bug#9371).
506 2012-03-22 Kenichi Handa <handa@m17n.org>
508 * international/quail.el (quail-insert-kbd-layout): Fix previous
509 change. To avoid unwanted bidi reordering, use
510 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
512 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
514 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
515 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
516 (ruby-beginning-of-indent): Be more careful with the difference
517 between word-boundary and symbol boundary.
518 (ruby-mode-syntax-table): Make : a symbol constituent.
520 2012-03-21 Andreas Politz <politza@fh-trier.de>
522 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
524 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
526 * progmodes/etags.el (tags-completion-at-point-function):
529 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
531 2012-03-21 Sam Steingold <sds@gnu.org>
533 * progmodes/etags.el (tags-completion-at-point-function):
534 Avoid the error when point is inside the pattern.
536 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
538 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
541 2012-03-21 Drew Adams <drew.adams@oracle.com>
543 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
545 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
547 * ido.el (ido-set-current-directory, ido-read-internal)
548 (ido-choose-completion-string, ido-completion-help): Handle nil
549 value of ido-completion-buffer (Bug#11008).
551 2012-03-21 Sam Steingold <sds@gnu.org>
553 * window.el (switch-to-prev-buffer): Do not switch to a visible
554 window previous buffer, just like with the frame previous buffers.
556 2012-03-21 Chong Yidong <cyd@gnu.org>
558 * faces.el (make-face, make-empty-face, copy-face):
559 * face-remap.el (face-remap-add-relative, face-remap-set-base):
562 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
564 * wid-edit.el (widget-complete-field): Remove (bug#11051).
565 (widget-complete): Remove broken use of it.
567 2012-03-20 Chong Yidong <cyd@gnu.org>
569 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
570 Use string-width and truncate-string-width to handle arbitrary
573 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
575 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
576 to draw rectangles, not squares. (Regression introduced by revno
577 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
579 2012-03-18 Chong Yidong <cyd@gnu.org>
581 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
582 it is not yet defined (for temacs).
584 2012-03-18 Leo Liu <sdl.web@gmail.com>
586 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
588 2012-03-17 Eli Zaretskii <eliz@gnu.org>
590 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
591 (ispell-choices-win-default-height, ispell-silently-savep)
592 (ispell-dictionary-alist, ispell-encoding8-command)
593 (ispell-check-version, ispell-aspell-find-dictionary)
594 (ispell-valid-dictionary-list, ispell-words-keyword)
595 (ispell-get-word, ispell-internal-change-dictionary)
596 (ispell-region, ispell-skip-region-list)
597 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
598 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
599 (ispell-message-text-end, ispell-message)
600 (ispell-buffer-local-parsing): Doc fix.
602 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
604 * htmlfontify.el: Add support for code block fontification for ODT
606 (hfy-optimisations): Define new option
608 (hfy-fontify-buffer): Honor above setting.
609 (hfy-begin-span, hfy-end-span): New routines factored out form
610 `hfy-fontify-buffer'.
611 (hfy-begin-span-handler, hfy-end-span-handler): New variables
612 that permit insertion of custom tags.
613 (hfy-fontify-buffer): Use above handlers.
614 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
615 (hfy-face-to-css): Re-defined to be a variable.
616 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
617 over multiple runs. This is made possible by having the caller let
618 bind a special variable `hfy-user-sheet-assoc'.
619 (htmlfontify-string): New defun.
620 (hfy-compile-face-map): Make sure that the last char in the
621 buffer is correctly fontified.
622 (hfy-face-resolve-face): Whitespace only change.
624 2012-03-17 Eli Zaretskii <eliz@gnu.org>
626 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
629 2012-03-16 Leo Liu <sdl.web@gmail.com>
631 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
633 2012-03-16 Alan Mackenzie <acm@muc.de>
635 Further optimise the handling of large macros.
637 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
638 limit to a call of `c-literal-limits'.
639 (c-determine-+ve-limit): New function.
640 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
641 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
642 In CASE 5B, restrict a search limit to 500.
643 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
645 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
646 Restrict macro bounds to +-500 from after-change's BEG END.
648 2012-03-16 Leo Liu <sdl.web@gmail.com>
650 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
652 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
654 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
655 `special-mode' setting of `buffer-read-only'. (Bug#11010)
657 2012-03-16 Glenn Morris <rgm@gnu.org>
659 * view.el (view-buffer, view-buffer-other-window)
660 (view-buffer-other-frame): Doc fixes re special mode-class.
662 * subr.el (eval-after-load): If named feature is provided not from
663 a file, run after-load forms. (Bug#10946)
665 * calendar/calendar.el (calendar-insert-at-column):
666 Handle non-unit-width characters a bit better. (Bug#10978)
668 2012-03-15 Chong Yidong <cyd@gnu.org>
670 * emacs-lisp/ring.el (ring-extend): New function.
671 (ring-insert+extend): Extend the ring correctly (Bug#11019).
673 * comint.el (comint-read-input-ring)
674 (comint-add-to-input-history): Grow comint-input-ring lazily.
676 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
678 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
679 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
681 * imenu.el: Fix multiple inheritance breakage (bug#9199).
682 (imenu-add-to-menubar): Don't add a redundant index.
683 (imenu-update-menubar): Handle a dynamically composed keymap.
685 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
687 * mail/sendmail.el (mail-encode-header):
688 Bind rfc2047-encode-encoded-words to nil.
690 2012-03-13 Glenn Morris <rgm@gnu.org>
692 * calendar/calendar.el (calendar-string-spread):
693 Handle non-unit-width characters a bit better. (Bug#10978)
695 2012-03-13 Leo Liu <sdl.web@gmail.com>
697 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
698 directory and file as argument (Bug#10822).
700 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
702 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
703 For dynamically generated code, follow $PC.
704 (gdb-disassembly-handler-custom): Handle no function name case.
706 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
708 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
709 * emulation/ws-mode.el (ws-query-replace):
710 * sort.el (sort-regexp-fields):
711 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
713 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
715 * dabbrev.el: Fix cycle completion order (bug#10963).
716 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
717 (dabbrev-completion): Don't use an obarray; provide
718 a cycle-sort-function.
720 2012-03-12 Leo Liu <sdl.web@gmail.com>
722 * simple.el (kill-new): Use equal-including-properties for comparison.
723 (kill-do-not-save-duplicates): Doc fix.
725 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
727 * dabbrev.el: Fix cycle completion (bug#10963).
728 Use lexical binding and wrap to 80 columns.
729 (dabbrev-completion): Delay computing the list of completions.
731 2012-03-12 Kenichi Handa <handa@m17n.org>
733 * international/quail.el (quail-insert-kbd-layout): Surround each
734 row by LRO and PDF instead of inserting many LRMs. Pad the left
735 and right of each non-spacing marks. Insert invisible space
736 between lower and upper characters to prevent composition.
738 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
740 * minibuffer.el (minibuffer-complete): Don't get confused when the
741 function is run twice via different commands (bug#10958).
742 (complete-with-action): Fix docstring.
744 2012-03-12 Chong Yidong <cyd@gnu.org>
746 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
747 (nxml-completion-at-point-function): New function.
749 (nxml-bind-meta-tab-to-complete-flag): Default to t.
751 * emacs-lisp/package.el (package-unpack, package-unpack-single):
752 Load generated autoloads file before byte compiling (Bug#10970).
753 (package--make-autoloads-and-compile): New helper fun.
755 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
757 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
759 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
761 * autorevert.el (auto-revert-handler): Ensure, that
762 file-readable-p is applied only for local files or in
763 auto-revert-tail-mode.
765 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
767 * server.el (server-eval-at): Handle non-tcp connections.
768 Decode result string.
770 * server.el (server-msg-size): New constant.
771 (server-reply-print): New function.
772 (server-eval-and-print): Use it.
773 (server-eval-at): Use server-quote-arg and server-unquote-arg.
776 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
778 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
781 2012-03-11 Chong Yidong <cyd@gnu.org>
783 * simple.el (goto-line): Doc fix (Bug#9938).
785 * subr.el (save-window-excursion): Doc fix (Bug#9979).
787 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
788 when finished (Bug#10963).
790 2012-03-11 Martin Rudalics <rudalics@gmx.at>
792 * window.el (split-window-below): Fix bug in case where
793 split-window-keep-point is nil (Bug#10971).
795 2012-03-11 Juri Linkov <juri@jurta.org>
797 * replace.el (replace-highlight): Set isearch-word to nil
798 unconditionally. (Bug#10887)
800 2012-03-10 Eli Zaretskii <eliz@gnu.org>
802 * net/mairix.el (mairix-replace-invalid-chars): Rename from
803 mairix-replace-illegal-chars; all callers changed. Don't remove
804 ^, ~, and = characters: they are meaningful in mairix search specs.
805 (mairix-widget-create-query): Add usage information about mairix
806 search forms: negating words, searching for substrings, etc.
808 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
810 * international/fontset.el (font-encoding-alist): Add an entry for
813 2012-03-10 Richard Stallman <rms@gnu.org>
815 * mail/sendmail.el (mail-encode-header):
816 Set rfc2047-encode-encoded-words.
818 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
820 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
821 view buffer means not swapped.
822 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
823 (rmail-write-region-annotate): Error if real text has disappeared.
825 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
827 2012-03-10 Chong Yidong <cyd@gnu.org>
829 * emulation/cua-rect.el (cua--init-rectangles):
830 * emulation/cua-base.el (cua--init-keymaps):
831 Add delete-forward-char to remappings (Bug#9666).
833 2012-03-10 Martin Rudalics <rudalics@gmx.at>
835 * speedbar.el (speedbar-unhighlight-one-tag-line):
836 Avoid unhighlighting due to frame switching (Bug#10275).
838 2012-03-10 Chong Yidong <cyd@gnu.org>
840 * minibuffer.el (completion-in-region, completion-help-at-point):
841 Give the completion field overlay a high priority (Bug#6830).
843 * dired.el (dired-goto-file): Recognize absolute file name
845 (dired-goto-file-1): New helper function.
846 (dired-toggle-read-only): Inhibit warnings.
848 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
850 * net/dbus.el: (dbus-property-handler): Return empty array if
851 there are no properties.
853 2012-03-09 Leo Liu <sdl.web@gmail.com>
855 * savehist.el (savehist-printable): Stricter check for string
858 2012-03-09 Eli Zaretskii <eliz@gnu.org>
860 * mail/smtpmail.el (smtpmail-send-it):
861 Bind coding-system-for-write to *-unix, so that FCC files are kept in
864 2012-03-09 Glenn Morris <rgm@gnu.org>
866 * files.el (dir-locals-find-file):
867 Don't check result is regular, readable.
868 (dir-locals-read-from-file): Demote errors.
870 2012-03-08 Eli Zaretskii <eliz@gnu.org>
872 * international/quail.el (quail-insert-kbd-layout):
873 Insert invisible LRM characters before each character in a keyboard
874 layout cell, to prevent their reordering by bidi display engine.
875 For details, see the discussion in
876 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
878 2012-03-08 Alan Mackenzie <acm@muc.de>
880 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
881 the starting position; make it extend the marked region when
882 invoked repeatedly - all under appropriate circumstances.
883 Fixes bugs #5525, #10906.
885 2012-03-08 Glenn Morris <rgm@gnu.org>
887 * files.el (locate-dominating-file, dir-locals-find-file):
888 Undo 2012-03-06 change.
890 2012-03-07 Eli Zaretskii <eliz@gnu.org>
892 * international/quail.el (quail-help):
893 Force bidi-paragraph-direction be left-to-right. See discussion in
894 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
897 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
899 Avoid superfluous registering of signals. (Bug#10807)
901 * notifications.el (notifications-on-action-object)
902 (notifications-on-close-object): New defvars.
903 (notifications-on-action-signal, notifications-on-closed-signal):
904 Unregister the signal if not needed any longer.
905 (notifications-notify): Register `notifications-action-signal' or
906 `notifications-closed-signal', if :on-action or :on-close has been
909 2012-03-07 Chong Yidong <cyd@gnu.org>
911 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
914 2012-03-06 Glenn Morris <rgm@gnu.org>
916 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
917 (x-disown-selection-internal, x-get-selection-internal):
918 Doc fix (add arglist signatures). (Bug#10783)
920 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
922 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
923 Handle breakpoints with no "type".
925 2012-03-06 Glenn Morris <rgm@gnu.org>
927 * files.el (locate-dominating-file): Add optional predicate argument.
928 (dir-locals-find-file): Make use of above change.
930 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
932 * info.el (Info-insert-dir): Also try "dir.gz".
934 2012-03-06 Glenn Morris <rgm@gnu.org>
936 * files.el (dir-locals-find-file):
937 Ignore non-readable or non-regular files. (Bug#10928)
939 * files.el (locate-dominating-file): Doc fix.
941 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
943 * calendar/calendar.el (calendar-set-mode-line):
944 `getenv' returns a string. (Bug#10951)
946 2012-03-05 Leo Liu <sdl.web@gmail.com>
948 * simple.el (backward-delete-char-untabify): Constrain point to
951 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
953 2012-03-05 Chong Yidong <cyd@gnu.org>
955 * simple.el (count-words): If called from Lisp, return the word
956 count, for symmetry with `count-lines'. Arglist changed.
957 (count-words--message): Args changed. Consolidate counting code
958 from count-words and count-words-region.
959 (count-words-region): Caller changed.
960 (count-lines-region): Make it an obsolete alias.
962 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
964 * saveplace.el (save-place-to-alist)
965 (save-place-ignore-files-regexp): Allow value nil to disable this
968 2012-03-04 Chong Yidong <cyd@gnu.org>
970 * faces.el (face-spec-reset-face): For the default face, reset the
971 attributes to default values (Bug#10748).
973 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
975 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
976 previous patch: Check `message-send-mail-function', and not the
977 default function (bug#10897).
979 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
981 * notifications.el (notifications-on-action-signal)
982 (notifications-on-closed-signal): Check for unique service name of
983 incoming event. Fix error in removing entry.
984 (top): Register for signals with wildcard service name.
985 (notifications-notify): Use daemon unique service name for map entries.
987 2012-03-04 Chong Yidong <cyd@gnu.org>
989 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
991 2012-03-04 Glenn Morris <rgm@gnu.org>
993 * abbrev.el (copy-abbrev-table, abbrev-table-p)
994 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
995 (expand-abbrev, define-abbrev-table): Doc fixes.
997 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
999 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1000 `message-default-send-mail-function' and not `send-mail-function'
1001 when doing the prompting for `sendmail-query-once' before sending
1002 in Message buffers (bug#10897).
1004 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1005 This is inconsistent with all the other stream functions, which leave
1006 the setting up to the higher levels (if so wanted) (bug#10931).
1008 2012-03-02 Alan Mackenzie <acm@muc.de>
1010 Depessimize the handling of very large macros.
1012 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1013 (c-macro-cache-syntactic): New variables to implement a one
1014 element macro cache.
1015 (c-invalidate-macro-cache): New function.
1016 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1017 Adapt to use the new cache.
1018 (c-state-safe-place): Use better the cache of safe positions.
1019 (c-state-semi-nonlit-pos-cache)
1020 (c-state-semi-nonlit-pos-cache-limit):
1021 New variables for...
1022 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1023 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
1024 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1025 Use c-state-semi-safe-place.
1027 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1028 Add c-invalidate-macro-cache to the C, C++, Obj entries.
1030 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
1032 * jka-compr.el (jka-compr-call-process):
1033 Apply `file-accessible-directory-p' only when the default directory is
1036 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
1038 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1039 access of FILE2, if FILE1 does not exist.
1041 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1042 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1044 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1045 Add "PAGER=" to `process-environment'.
1047 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1049 * progmodes/sql.el: Bug fix
1050 (sql-get-login-ext): Save login values in globals.
1051 (sql-get-login): Use new version of `sql-get-login-ext'.
1052 (sql-interactive-mode): Set global `sql-connection' to nil.
1053 (sql-connect): Set global values for connection.
1054 (sql-product-interactive): Save global values as buffer local.
1056 2012-02-29 Leo Liu <sdl.web@gmail.com>
1058 * abbrev.el (define-abbrevs): Reset sys to nil.
1060 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1062 * files.el (file-equal-p): Rename from `files-equal-p'.
1063 Return nil when one or both files don't exist.
1064 (file-subdir-of-p): Now only top directory must exists,
1065 return nil if it doesn't.
1066 (copy-directory): No need to test with `file-subdir-of-p' after
1068 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1071 2012-02-28 Glenn Morris <rgm@gnu.org>
1073 * shell.el (shell-mode):
1074 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1075 * play/landmark.el (landmark-font-lock-face-O):
1076 * play/handwrite.el (handwrite):
1077 * play/gomoku.el (gomoku-O):
1078 * net/browse-url.el (browse-url-browser-display):
1079 * international/mule.el (define-charset):
1080 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1081 * filesets.el (filesets-find-file-delay):
1082 * eshell/em-xtra.el (eshell-xtra):
1083 * eshell/em-unix.el (eshell-grep):
1084 * emulation/viper.el (viper-mode):
1085 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1086 * emacs-lisp/easymenu.el (easy-menu-define):
1087 * calendar/timeclock.el (timeclock-use-display-time):
1089 * bookmark.el (bookmark-save-flag):
1090 Doc fix (standardize possessive apostrophe usage).
1092 2012-02-27 Chong Yidong <cyd@gnu.org>
1094 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1095 Fix key-binding lookup for ESC key (Bug#9146).
1097 * font-lock.el (font-lock-specified-p): Rename from
1098 font-lock-spec-present. Callers changed.
1100 2012-02-27 Daniel Hackney <dan@haxney.org>
1102 * emacs-lisp/package.el (package-compute-transaction):
1103 Handle holding a package version to t in package-load-list.
1105 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
1107 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1108 (tramp-get-inode, tramp-get-device): Use cached values.
1110 2012-02-26 Alan Mackenzie <acm@muc.de>
1112 Check there is a font-lock specification before doing initial
1115 * font-core.el (font-lock-mode): Move the conditional from
1116 :after-hook to font-lock-initial-fontify.
1117 (font-lock-default-function): Move the check for a specification
1118 to font-lock-spec-present.
1120 * font-lock.el (font-lock-initial-fontify): Call ...
1121 (font-lock-spec-present): New function.
1123 2012-02-26 Jim Blandy <jimb@red-bean.com>
1125 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1126 (gdb-send): Apply it to the operand of the '-interpreter-exec
1127 console' command, so that we can pass arguments with (say) quotes
1128 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1130 2012-02-26 Chong Yidong <cyd@gnu.org>
1132 * help-fns.el (describe-function-1): Clarify description of
1133 remapping (Bug#10844).
1135 * files.el (files-equal-p): Doc fix.
1136 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1137 and quit the loop once a mismatch is found.
1139 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
1141 * bs.el (bs--show-with-configuration): Don't throw an error
1142 if the window cannot be split; otherwise, subsequent calls to
1143 bs-show fail, restoring a stale window config. (Bug#10882)
1145 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1147 * term/ns-win.el (global-map): Bind ns-drag-file to
1148 ns-find-file (Bug#5855, Bug#10050).
1150 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1152 * calendar/parse-time.el (parse-time-string): Allow extractor to
1155 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
1157 * net/tramp.el (tramp-file-name-for-operation):
1158 Add `files-equal-p' and `file-subdir-of-p'.
1160 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1161 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1162 Add COPY-CONTENTS argument.
1164 2012-02-25 Chong Yidong <cyd@gnu.org>
1166 Add custom groups for VC backends, for consistency with vc-bzr.
1168 * vc/vc-arch.el (vc-arch):
1169 * vc/vc-cvs.el (vc-cvs):
1170 * vc/vc-git.el (vc-git):
1171 * vc/vc-hg.el (vc-hg):
1172 * vc/vc-mtn.el (vc-mtn):
1173 * vc/vc-rcs.el (vc-rcs):
1174 * vc/vc-sccs.el (vc-sccs):
1175 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1176 All relevant defcustoms reassigned.
1178 2012-02-25 Chong Yidong <cyd@gnu.org>
1180 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1182 * term/x-win.el (x-initialize-window-system): Reduce default for
1183 x-selection-timeout to 5 seconds (Bug#8869).
1185 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1187 * files.el (file-subdir-of-p): Fix typo.
1189 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1191 * files.el (files-equal-p, file-subdir-of-p): New functions.
1192 (copy-directory): Error when trying to copy a directory on itself.
1193 Add missing copy-contents arg to tramp handler.
1194 * dired-aux.el (dired-copy-file-recursive): Same.
1195 (dired-create-files): Modify destination when source is equal to
1196 dest when copying files.
1197 Return also when dest is a subdir of source. (Bug#10489)
1199 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
1201 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1204 2012-02-23 Alan Mackenzie <acm@muc.de>
1206 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1207 parameter "after-hook:" to allow the expansion to run code after
1208 the execution of the mode hooks.
1210 * font-lock.el (font-lock-initial-fontify): New function extracted
1211 from font-lock-mode-internal.
1213 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
1216 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1218 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1219 (completion--cache-all-sorted-completions): New function.
1220 (completion-all-sorted-completions): Use it.
1221 (completion--do-completion, minibuffer-force-complete):
1222 Use it to re-instate the flush hook.
1224 * icomplete.el (icomplete-completions): Replace last fix with a better
1227 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1229 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1230 when it might call us back infinitely (bug#10797).
1232 2012-02-23 Glenn Morris <rgm@gnu.org>
1234 * minibuffer.el (completion-category-overrides): Doc fix.
1236 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1238 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1239 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1241 2012-02-23 Glenn Morris <rgm@gnu.org>
1243 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
1244 (authors-obsolete-files-regexps, authors-ignored-files)
1245 (authors-ambiguous-files, authors-renamed-files-alist):
1248 2012-02-23 Juri Linkov <juri@jurta.org>
1250 * isearch.el (isearch-occur): Sync interactive spec with occur's
1251 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1253 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1255 2012-02-22 Juri Linkov <juri@jurta.org>
1257 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1258 (ucs-insert): Doc fix. Check for hex digits in the string.
1259 Don't display `nil' in the error message. (Bug#10857)
1261 2012-02-22 Alan Mackenzie <acm@muc.de>
1263 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
1265 2012-02-22 Glenn Morris <rgm@gnu.org>
1267 * ffap.el (ffap-c-path):
1268 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1270 2012-02-22 Chong Yidong <cyd@gnu.org>
1272 * custom.el (load-theme): Doc fix.
1274 2012-02-22 Glenn Morris <rgm@gnu.org>
1276 * dired-x.el (dired-guess-shell-alist-default):
1277 Remove escape sequences from nroff output. (Bug#172)
1279 2012-02-21 Glenn Morris <rgm@gnu.org>
1281 * vc/emerge.el (emerge-defvar-local):
1282 Set `permanent-local' property rather than unused `preserved'.
1284 * textmodes/picture.el (picture-delete-char): New alias.
1285 (picture-mode-map): Use it. (Bug#10860)
1286 (picture-mode): Doc fix.
1288 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
1290 * newcomment.el (uncomment-region-default): Remove unused binding.
1292 2012-02-21 Glenn Morris <rgm@gnu.org>
1294 * textmodes/picture.el (picture-motion, picture-motion-reverse)
1295 (picture-self-insert, picture-tab-chars): Doc fix.
1296 (picture-mode-map): Fix C-a, C-e.
1298 2012-02-20 Glenn Morris <rgm@gnu.org>
1300 * emacs-lisp/authors.el (authors-aliases): Add another entry.
1302 2012-02-20 Leo Liu <sdl.web@gmail.com>
1304 * icomplete.el (icomplete-completions): Check FROM arg before
1305 passing to substring (Bug#10850).
1307 2012-02-19 Chong Yidong <cyd@gnu.org>
1309 * comint.el: Require ansi-color.
1310 (comint-output-filter-functions): Add ansi-color-process-output.
1312 * ansi-color.el: Don't set comint-output-filter-functions; it is
1313 now in the initial value defined in comint.el.
1314 (ansi-color-apply-face-function): New variable.
1315 (ansi-color-apply-on-region): Use it.
1316 (ansi-color-apply-overlay-face): New function.
1318 * shell.el (shell): No need to require ansi-color.
1319 (shell-mode): Use ansi-color-apply-face-function to highlight
1320 color escapes using font-lock-face property (Bug#10835).
1322 2012-02-19 Chong Yidong <cyd@gnu.org>
1324 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1325 mode-line formats (Bug#10839).
1327 2012-02-18 Glenn Morris <rgm@gnu.org>
1329 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1331 * mail/undigest.el (unforward-rmail-message): Doc fix.
1333 * saveplace.el (save-place-ignore-files-regexp): Add :version.
1335 2012-02-18 Eli Zaretskii <eliz@gnu.org>
1337 * international/characters.el (script-list): Sync with the latest
1338 Unicode Character Database.
1340 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
1342 * international/titdic-cnv.el: Remove duplicate coding tag.
1343 * language/cham.el: Likewise.
1344 * language/tai-viet.el: Likewise.
1346 2012-02-18 Glenn Morris <rgm@gnu.org>
1348 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1349 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1350 (calendar-bahai-all-holidays-flag, calendar-other-dates):
1351 * calendar/diary-lib.el (diary-abbreviated-year-flag):
1352 * calendar/holidays.el (holiday-bahai-holidays)
1353 (calendar-holidays, list-holidays):
1354 Use utf-8 Bahá'à in doc-strings, menus, etc.
1356 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
1358 * saveplace.el (save-place-ignore-files-regexp): New variable
1359 allowing for excluding files from saving their location of point.
1360 The default value matches the temporary commit message editing
1361 files from Git, SVN, Bazaar, and Mercurial.
1362 (save-place-to-alist): Use it.
1364 2012-02-17 Lawrence Mitchell <wence@gmx.li>
1365 Stefan Monnier <monnier@iro.umontreal.ca>
1367 * newcomment.el (uncomment-region-default): Don't leave extra space
1368 when an arg is provided (bug#8150).
1370 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1372 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
1374 2012-02-17 Glenn Morris <rgm@gnu.org>
1376 * net/socks.el: Require network-stream. (Bug#10599)
1378 2012-02-17 Kenichi Handa <handa@m17n.org>
1380 * international/charprop.el:
1381 * international/uni-name.el:
1382 * international/uni-old-name.el:
1383 * international/uni-comment.el: Regenerate.
1385 2012-02-16 Glenn Morris <rgm@gnu.org>
1387 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1388 Interactively in calendar buffer, give an error if not on a date.
1390 2012-02-15 Glenn Morris <rgm@gnu.org>
1392 * shell.el (shell-delimiter-argument-list):
1393 Revert 2011-02-17 change. (Bug#8027)
1395 2012-02-15 Chong Yidong <cyd@gnu.org>
1397 * minibuffer.el (completion-at-point-functions): Doc fix.
1399 * custom.el (defcustom): Doc fix; note use of defvar.
1401 2012-02-15 Glenn Morris <rgm@gnu.org>
1403 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1406 2012-02-14 Glenn Morris <rgm@gnu.org>
1408 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1410 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1412 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1413 way the ports list is computed.
1414 (smtpmail-query-smtp-server): Prompt the user for a port number if
1415 we can't connect to any of the standard ports (bug#10810).
1417 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1419 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1421 2012-02-13 Glenn Morris <rgm@gnu.org>
1423 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1425 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1427 * net/gnutls.el (gnutls-trustfiles): New variable.
1428 (gnutls-negotiate): Use it.
1430 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1432 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1433 does its stuff if Gnus is running.
1435 2012-02-13 Alan Mackenzie <acm@muc.de>
1437 Fix a loop in c-set-fl-decl-start.
1439 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
1440 c-backward-syntactic-ws actually moves backwards.
1442 2012-02-13 Leo Liu <sdl.web@gmail.com>
1444 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1445 beginning so that all \C-o chars are removed.
1447 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1449 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
1451 2012-02-12 Alan Mackenzie <acm@muc.de>
1453 Fix infinite loop with long macros.
1454 * cc-engine.el (c-state-safe-place): Handle macros properly.
1456 2012-02-12 Chong Yidong <cyd@gnu.org>
1458 * window.el (display-buffer): Doc fix (Bug#10785).
1460 2012-02-12 Glenn Morris <rgm@gnu.org>
1462 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1463 (x-disown-selection-internal, x-get-selection-internal):
1464 Sync docs with the xselect.c versions.
1466 * allout-widgets.el: Add missing license notice.
1468 2012-02-11 Glenn Morris <rgm@gnu.org>
1470 * select.el (x-get-selection-internal, x-own-selection-internal)
1471 (x-disown-selection-internal):
1472 * x-dnd.el (x-get-selection-internal): Update declarations.
1474 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1476 * window.el (window-sides-slots):
1477 * tool-bar.el (tool-bar-position):
1478 * term/xterm.el (xterm-extra-capabilities):
1479 * ses.el (ses-self-reference-early-detection):
1480 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1481 (verilog-auto-wire-type)
1482 (verilog-auto-delete-trailing-whitespace)
1483 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1484 (verilog-auto-tieoff-declaration):
1485 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1486 (sql-oracle-statement-starters, sql-oracle-scan-on):
1487 * progmodes/prolog.el (prolog-align-comments-flag)
1488 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1489 (prolog-left-indent-regexp, prolog-paren-indent-p)
1490 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1491 (prolog-types, prolog-mode-specificators)
1492 (prolog-determinism-specificators, prolog-directives)
1493 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1494 (prolog-electric-dot-flag)
1495 (prolog-electric-dot-full-predicate-template)
1496 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1497 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1498 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1499 (prolog-program-switches, prolog-prompt-regexp)
1500 (prolog-debug-on-string, prolog-debug-off-string)
1501 (prolog-trace-on-string, prolog-trace-off-string)
1502 (prolog-zip-on-string, prolog-zip-off-string)
1503 (prolog-use-standard-consult-compile-method-flag)
1504 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1505 (prolog-imenu-max-lines, prolog-info-predicate-index)
1506 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1507 (prolog-char-quote-workaround):
1508 * progmodes/cc-vars.el (c-defun-tactic):
1509 * net/tramp.el (tramp-encoding-command-interactive)
1510 (tramp-local-end-of-line):
1511 * net/soap-client.el (soap-client):
1512 * net/netrc.el (netrc-file):
1513 * net/gnutls.el (gnutls):
1514 * minibuffer.el (completion-category-overrides)
1515 (completion-cycle-threshold)
1516 (completion-pcm-complete-word-inserts-delimiters):
1517 * man.el (Man-name-local-regexp):
1518 * mail/feedmail.el (feedmail-display-full-frame):
1519 * international/characters.el (glyphless-char-display-control):
1520 * eshell/em-ls.el (eshell-ls-date-format):
1521 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1522 (lisp-lambda-list-keyword-parameter-indentation)
1523 (lisp-lambda-list-keyword-parameter-alignment):
1524 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1525 * dired-x.el (dired-omit-verbose):
1526 * cus-theme.el (custom-theme-allow-multiple-selections):
1527 * calc/calc.el (calc-highlight-selections-with-faces)
1528 (calc-lu-field-reference, calc-lu-power-reference)
1529 (calc-note-threshold):
1530 * battery.el (battery-mode-line-limit):
1531 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1532 (archive-7z-update):
1533 * allout.el (allout-prefixed-keybindings)
1534 (allout-unprefixed-keybindings)
1535 (allout-inhibit-auto-fill-on-headline)
1536 (allout-flattened-numbering-abbreviation):
1537 * allout-widgets.el (allout-widgets-auto-activation)
1538 (allout-widgets-icons-dark-subdir)
1539 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1540 (allout-widgets-theme-dark-background)
1541 (allout-widgets-theme-light-background)
1542 (allout-widgets-item-image-properties-emacs)
1543 (allout-widgets-item-image-properties-xemacs)
1544 (allout-widgets-run-unit-tests-on-load)
1545 (allout-widgets-time-decoration-activity)
1546 (allout-widgets-hook-error-post-time)
1547 (allout-widgets-track-decoration):
1548 Add missing :version tags to new defcustoms and defgroups.
1550 * progmodes/sql.el (sql-ansi-statement-starters)
1551 (sql-oracle-statement-starters): Add custom type.
1553 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1554 (prolog-system-version): Give it a type.
1556 2012-02-11 Eli Zaretskii <eliz@gnu.org>
1558 * term/pc-win.el (x-select-text, x-selection-owner-p)
1559 (x-own-selection-internal, x-disown-selection-internal)
1560 (x-get-selection-internal): Sync doc strings and argument lists
1561 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1563 2012-02-11 Leo Liu <sdl.web@gmail.com>
1565 * progmodes/python.el (python-end-of-statement): Fix infinite
1568 2012-02-10 Glenn Morris <rgm@gnu.org>
1570 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1571 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1573 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1575 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1576 about SMTP before checking the From header.
1578 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
1579 into own function for reuse by emacsbug.el.
1581 2012-02-10 Leo Liu <sdl.web@gmail.com>
1583 * subr.el (condition-case-unless-debug): Rename from
1584 condition-case-no-debug. All callers changed.
1585 (with-demoted-errors): Fix caller.
1587 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1588 * nxml/rng-valid.el (rng-do-some-validation):
1589 * emacs-lisp/package.el (package-refresh-contents)
1590 (package-menu-execute):
1591 * desktop.el (desktop-create-buffer):
1592 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1594 2012-02-10 Glenn Morris <rgm@gnu.org>
1596 * textmodes/bibtex.el:
1597 Add missing :version tags for new/changed defcustoms.
1599 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1601 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
1603 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1604 (smtpmail-via-smtp): Use it, or fall back on the From address.
1605 (smtpmail-send-it): Ditto.
1607 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1609 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1610 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1611 (byte-compile-tmp-var): New const.
1612 (byte-compile-defvar): Use it to minimize .elc size.
1613 Just use `defvar' rather than simulate it (bug#10761).
1615 2012-02-09 Glenn Morris <rgm@gnu.org>
1617 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1619 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1622 * progmodes/compile.el (compilation-error-screen-columns)
1623 (compilation-first-column, compilation-filter-start): Doc fixes.
1625 * vc/log-view.el (log-view-toggle-entry-display):
1626 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1628 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1629 (report-emacs-bug-can-use-xdg-email):
1630 (report-emacs-bug-insert-to-mailer): Doc fixes.
1631 (report-emacs-bug): Message fix.
1633 * net/browse-url.el (browse-url-can-use-xdg-open)
1634 (browse-url-xdg-open): Doc fixes.
1636 * electric.el (electric-indent-mode, electric-pair-mode)
1637 (electric-layout-rules, electric-layout-mode): Doc fixes.
1638 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1640 2012-02-08 Martin Rudalics <rudalics@gmx.at>
1642 * server.el (server-unselect-display): Don't inadvertently kill
1643 the current buffer. (Bug#10729)
1645 2012-02-08 Glenn Morris <rgm@gnu.org>
1647 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1648 (sql-list-table): Doc fixes.
1650 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1651 Comment out (does nothing).
1653 * completion.el (dynamic-completion-mode):
1654 * dirtrack.el (dirtrack-debug-mode):
1655 * electric.el (electric-layout-mode):
1656 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1657 * face-remap.el (text-scale-mode, buffer-face-mode):
1658 * iimage.el (iimage-mode):
1659 * image-mode.el (image-transform-mode):
1660 * minibuffer.el (completion-in-region-mode):
1661 * scroll-lock.el (scroll-lock-mode):
1662 * simple.el (next-error-follow-minor-mode):
1663 * tar-mode.el (tar-subfile-mode):
1664 * tooltip.el (tooltip-mode):
1665 * vcursor.el (vcursor-use-vcursor-map):
1666 * wid-browse.el (widget-minor-mode):
1667 * emulation/tpu-edt.el (tpu-edt-mode):
1668 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1669 * international/iso-ascii.el (iso-ascii-mode):
1670 * language/thai-util.el (thai-word-mode):
1671 * mail/supercite.el (sc-minor-mode):
1672 * net/goto-addr.el (goto-address-mode):
1673 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1674 * progmodes/cwarn.el (cwarn-mode):
1675 * progmodes/flymake.el (flymake-mode):
1676 * progmodes/glasses.el (glasses-mode):
1677 * progmodes/hideshow.el (hs-minor-mode):
1678 * progmodes/pascal.el (pascal-outline-mode):
1679 * textmodes/enriched.el (enriched-mode):
1680 * vc/smerge-mode.el (smerge-mode):
1681 Doc fixes (minor mode argument).
1683 2012-02-07 Eli Zaretskii <eliz@gnu.org>
1685 * ls-lisp.el (ls-lisp-sanitize): New function.
1686 (ls-lisp-insert-directory): Use it to fix or remove any elements
1687 in file-alist with missing attributes. (Bug#4673)
1689 2012-02-07 Alan Mackenzie <acm@muc.de>
1691 Fix spurious recognition of c-in-knr-argdecl.
1693 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1694 putative K&R region.
1696 2012-02-07 Alan Mackenzie <acm@muc.de>
1698 * progmodes/cc-engine.el (c-forward-objc-directive):
1699 Prevent looping in "#pragma mark @implementation".
1701 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
1703 * notifications.el (notifications-on-closed-signal): Make `reason'
1704 optional. (Bug#10744)
1706 2012-02-07 Glenn Morris <rgm@gnu.org>
1708 * emacs-lisp/easy-mmode.el (define-minor-mode):
1709 Doc fixes for the macro and the mode it defines.
1711 * image.el (imagemagick-types-inhibit): Doc fix.
1713 * cus-start.el (imagemagick-render-type): Add it.
1715 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1717 * progmodes/cc-mode.el
1718 (c-standard-font-lock-fontify-region-function): Set the default at
1719 load time, too, so that `font-lock-fontify-buffer' can be called
1720 without setting up the entire mode first. This fixes a bug in
1721 `mm-inline-text' with C MIME parts.
1723 2012-02-06 Chong Yidong <cyd@gnu.org>
1725 * simple.el (list-processes--refresh): Delete exited processes
1728 * comint.el (comint-next-prompt): next-single-char-property-change
1729 and prev-single-char-property-change never return nil (Bug#8657).
1731 * custom.el (defcustom): Doc fix (Bug#9711).
1733 2012-02-05 Chong Yidong <cyd@gnu.org>
1735 * cus-edit.el (custom-variable-reset-backup): Quote the value
1736 before storing it in the customized-value property (Bug#6712).
1737 (custom-display): Add a customization type tag.
1738 (custom-buffer-create-internal): Improve tooltip message.
1740 * wid-edit.el (widget-field-value-get): New optional arg to
1741 suppress trailing whitespace truncation.
1742 (character): Use it (Bug#2689).
1744 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1746 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1747 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1749 2012-02-05 Chong Yidong <cyd@gnu.org>
1751 * cus-edit.el (custom-variable-value-create): For mismatched
1752 types, show the current value (Bug#7600).
1754 * custom.el (defcustom): Doc fix.
1756 2012-02-05 Glenn Morris <rgm@gnu.org>
1758 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1760 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
1762 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1763 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1764 (pp-last-sexp): Use `looking-at-p'.
1766 2012-02-04 Glenn Morris <rgm@gnu.org>
1768 * files.el (revert-buffer):
1769 Doc fix (mention revert-buffer-in-progress-p).
1771 * emacs-lisp/ert-x.el (ert-simulate-command):
1772 Check deferred-action-list (which is obsolete) is bound.
1774 * subr.el (with-wrapper-hook): Doc fixes.
1776 * simple.el (filter-buffer-substring-functions)
1777 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1779 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1781 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1782 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1784 2012-02-04 Leo Liu <sdl.web@gmail.com>
1786 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1788 2012-02-04 Glenn Morris <rgm@gnu.org>
1790 * image.el (image-extension-data): Add obsolete alias.
1792 * isearch.el (isearch-update): Doc fix.
1794 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1796 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1798 2012-02-03 Glenn Morris <rgm@gnu.org>
1800 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1801 (image-animate-timeout): Doc fix.
1803 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1805 2012-02-02 Glenn Morris <rgm@gnu.org>
1807 * server.el (server-auth-dir): Doc fix.
1808 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1810 * subr.el (run-mode-hooks): Doc fix.
1812 2012-02-02 Juri Linkov <juri@jurta.org>
1814 * image-mode.el (image-toggle-display-image): Remove tautological
1815 `major-mode' from the `derived-mode-p' test.
1817 2012-02-02 Kenichi Handa <handa@m17n.org>
1819 * composite.el (compose-region): Cancel previous change.
1821 2012-02-02 Kenichi Handa <handa@m17n.org>
1823 * composite.el (compose-region, compose-string): Signal error for
1824 a null string component (Bug#6988).
1826 2012-02-01 Chong Yidong <cyd@gnu.org>
1828 * view.el (view-buffer-other-window, view-buffer-other-frame):
1829 Handle special modes like view-buffer (Bug#10650).
1830 (view-buffer): Simplify.
1832 * frame.el (set-frame-font): Tweak meaning of third argument.
1834 * dynamic-setting.el (font-setting-change-default-font):
1835 Use set-frame-font (Bug#9982).
1837 2012-02-01 Glenn Morris <rgm@gnu.org>
1839 * progmodes/compile.el (compilation-internal-error-properties):
1840 Respect compilation-first-column in the "*compilation*" buffer.
1842 * emacs-lisp/easy-mmode.el (define-minor-mode):
1843 Relax :variable's test for a named function.
1845 2012-01-31 Alan Mackenzie <acm@muc.de>
1847 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1850 2012-01-31 Chong Yidong <cyd@gnu.org>
1852 * frame.el (set-frame-font): New arg ALL-FRAMES.
1854 * menu-bar.el (menu-set-font): Use set-frame-font.
1856 * faces.el (face-spec-reset-face): Don't apply unspecified
1857 attribute values to the default face.
1859 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
1861 * progmodes/cwarn.el (cwarn): Remove dead link.
1862 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1863 Remove * from defcustom docstrings.
1864 (turn-on-cwarn-mode): Make obsolete.
1865 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1866 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1868 2012-01-31 Glenn Morris <rgm@gnu.org>
1870 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1871 Fix :variable handling of mode a symbol not equal to modefun.
1872 Allow named functions to be used as the cdr of :variable.
1874 2012-01-30 Glenn Morris <rgm@gnu.org>
1876 * emacs-lisp/authors.el (authors-fixed-entries):
1877 Remove reference to deleted file rnewspost.el.
1879 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
1881 * window.el (window-with-parameter): Remove unused variable `windows'.
1882 (window--side-check): Remove unused variable `code'.
1883 (window--resize-siblings): Remove unused variable `first'.
1884 (adjust-window-trailing-edge): Remove unused variable `failed'.
1885 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1886 Use `let', not `let*'.
1887 (balance-windows-2): Remove unused variable `found'.
1888 (window--state-put-2): Remove unused variable `splits'.
1889 (window-state-put): Remove unused variable `selected'.
1890 (same-window-p): Use `string-match-p'.
1891 (display-buffer-assq-regexp): Remove unused variable `value'.
1892 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1893 Mark argument ALIST as ignored.
1894 (pop-to-buffer): Remove unused variable `old-window'.
1896 2012-01-29 Eli Zaretskii <eliz@gnu.org>
1898 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1899 and .lzma compressed files.
1901 2012-01-29 Chong Yidong <cyd@gnu.org>
1903 * frame.el (window-system-default-frame-alist): Doc fix.
1905 * dynamic-setting.el (font-setting-change-default-font): Don't
1906 change the default face if SET-FONT argument is non-nil (Bug#9982).
1908 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1910 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1912 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
1914 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1915 breakpoints in files outside current directory (Bug#6098).
1917 2012-01-29 Chong Yidong <cyd@gnu.org>
1919 * progmodes/python.el: Require ansi-color at top-level.
1921 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1922 Define and use in Emacs Lisp mode (Bug#9360).
1923 (lisp-mode-abbrev-table): Add doc.
1924 (lisp-mode-variables): Don't set local-abbrev-table.
1925 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1927 2012-01-28 Roland Winkler <winkler@gnu.org>
1929 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1931 2012-01-28 Roland Winkler <winkler@gnu.org>
1933 * textmodes/bibtex.el (bibtex-entry-alist): New function.
1934 (bibtex-set-dialect): Use it. Either set global values of
1935 dialect-dependent variables or bind these variables buffer-locally
1937 (bibtex-mode): Call bibtex-set-dialect via
1938 hack-local-variables-hook.
1939 (bibtex-dialect): Update docstring.
1940 Add safe-local-variable predicate.
1941 (bibtex-entry-alist, bibtex-field-alist): Initialize via
1943 (bibtex-mode-map): Define menu for each dialect.
1944 (bibtex-entry): Fix docstring.
1946 2012-01-28 Chong Yidong <cyd@gnu.org>
1948 * eshell/esh-arg.el (eshell-quote-argument): New function.
1950 * eshell/esh-ext.el (eshell-invoke-batch-file):
1951 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1952 first arg to eshell-parse-command (Bug#10523).
1954 2012-01-28 Drew Adams <drew.adams@oracle.com>
1956 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1957 `default-directory' is non-nil.
1959 2012-01-28 Eli Zaretskii <eliz@gnu.org>
1961 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1962 line that displays system-configuration-options. (Bug#9924)
1964 2012-01-28 Drew Adams <drew.adams@oracle.com>
1966 * descr-text.el (describe-char): Show information about POS, in
1967 addition to information about the character at POS. Improve and
1968 update the doc string. Change "code point" to "code point in
1969 charset", to avoid confusion with the character's Unicode code
1970 point shown above that. (Bug#10129)
1972 2012-01-28 Eli Zaretskii <eliz@gnu.org>
1974 * descr-text.el (describe-char): Show the raw character, not only
1975 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
1976 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1979 2012-01-28 Phil Hagelberg <phil@hagelb.org>
1981 * emacs-lisp/package.el (package-install):
1982 Run package-refresh-contents if there is no archive yet (Bug#9798).
1984 2012-01-28 Chong Yidong <cyd@gnu.org>
1986 * emacs-lisp/package.el (package-maybe-load-descriptor):
1987 New function, split from package-maybe-load-descriptor.
1988 (package-maybe-load-descriptor): Use it.
1989 (package-download-transaction): Fully load required packages
1990 inside the loop, so that `require' calls work (Bug#10593).
1991 (package-install): No need to call package-initialize now.
1993 2012-01-28 Chong Yidong <cyd@gnu.org>
1995 * simple.el (deactivate-mark): Doc fix (Bug#8614).
1997 * tooltip.el (tooltip-mode): Doc fix.
1998 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2000 * frame.el (set-cursor-color): Doc fix (Bug#352).
2002 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2003 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2005 * cus-edit.el (custom-buffer-create-internal): Fix search button
2007 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2009 2012-01-27 Eduard Wiebe <usenet@pusto.de>
2011 * dired.el (dired-mark-files-regexp):
2012 Include any subdirectory components. (Bug#10445)
2014 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2016 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2017 Handle [host]:port syntax. (Bug#10533)
2019 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
2021 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2023 2012-01-26 Glenn Morris <rgm@gnu.org>
2025 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2026 * term.el (term-raw-escape-map): Use Control-X-prefix.
2027 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2029 2012-01-25 Martin Rudalics <rudalics@gmx.at>
2031 * window.el (window-state-get, window--state-get-1): Don't deal
2032 with fixed-sizeness of windows. Simplify code.
2034 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2036 * window.el (window--state-get-1, window--state-put-2):
2037 Don't save and restore the mark.
2039 2012-01-25 Chong Yidong <cyd@gnu.org>
2041 * custom.el (custom-variable-p): Doc fix.
2043 2012-01-25 Glenn Morris <rgm@gnu.org>
2045 * dired.el (dired-goto-file): Handle some of the more common
2046 characters that `ls -b' escapes. (Bug#10596)
2048 * progmodes/compile.el (compilation-next-error-function):
2049 Respect compilation-first-column in the "*compilation*" buffer.
2050 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2052 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2054 2012-01-24 Glenn Morris <rgm@gnu.org>
2056 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2058 2012-01-24 Julien Danjou <julien@danjou.info>
2060 * color.el (color-rgb-to-hsl): Fix value computing.
2061 (color-hue-to-rgb): New function.
2062 (color-hsl-to-rgb): New function.
2063 (color-clamp, color-saturate-hsl, color-saturate-name)
2064 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2065 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2067 2012-01-24 Glenn Morris <rgm@gnu.org>
2069 * vc/vc-rcs.el (vc-rcs-create-tag):
2070 * vc/vc-sccs.el (vc-sccs-create-tag):
2071 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2073 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2075 * eshell/esh-util.el (eshell-read-hosts-file):
2076 Skip comment lines. (Bug#10549)
2078 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2080 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
2082 * subr.el (display-delayed-warnings): Doc fix.
2083 (collapse-delayed-warnings): New function to collapse identical
2085 (delayed-warnings-hook): Add it.
2087 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
2089 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2091 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2092 properties, when "login-as" is set.
2094 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2095 (tramp-default-user-alist): Don't add "pscp".
2096 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2097 property "login-as", if set. (Bug#10530)
2099 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
2101 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2102 "plink1" and "psftp". (Bug#10530)
2104 2012-01-21 Kenichi Handa <handa@m17n.org>
2106 * international/mule-cmds.el (prefer-coding-system): Show a
2107 warning message if the default value of file-name-coding-system
2110 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2112 * windmove.el (windmove-reference-loc):
2113 Fix windmove-reference-loc miscalculation.
2115 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2117 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2120 2012-01-21 Glenn Morris <rgm@gnu.org>
2122 * international/mule.el (auto-coding-alist): Add .tbz.
2124 * files.el (local-enable-local-variables): Doc fix.
2125 (inhibit-local-variables-regexps): Rename from
2126 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2127 Doc fix. Add some extensions from auto-coding-alist.
2128 (inhibit-local-variables-suffixes):
2129 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2130 (inhibit-local-variables-p):
2131 New function, extracted from set-auto-mode-1.
2132 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2133 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2134 (hack-local-variables): Doc fix. Make the mode-only case
2135 respect enable-local-variables and friends.
2136 Respect inhibit-local-variables-regexps for file-locals, but
2137 not for directory-locals.
2138 (set-visited-file-name):
2139 Take account of inhibit-local-variables-regexps.
2140 Whether it applies may change as the file name is changed.
2141 * jka-cmpr-hook.el (jka-compr-install):
2142 * jka-compr.el (jka-compr-uninstall):
2143 Update for inhibit-first-line-modes-suffixes name change.
2145 2012-01-20 Martin Rudalics <rudalics@gmx.at>
2147 * help-macro.el (make-help-screen): Temporarily restore original
2148 binding for minor-mode-map-alist (Bug#10454).
2150 2012-01-19 Julien Danjou <julien@danjou.info>
2152 * color.el (color-name-to-rgb): Use the white color to find the max
2153 color component value and return correctly computed values.
2154 (color-name-to-rgb): Add missing float conversion for max value.
2156 2012-01-19 Martin Rudalics <rudalics@gmx.at>
2158 * window.el (window--state-get-1, window-state-get): Do not use
2159 special state value for window-persistent-parameters.
2160 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
2161 (window--state-put-2): Reset all window parameters to nil before
2162 assigning values of persistent parameters.
2164 2012-01-18 Alan Mackenzie <acm@muc.de>
2166 Eliminate sluggishness and hangs in fontification of "semicolon
2169 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2170 Change value 10000 -> 3000.
2171 (c-state-safe-place): Reformulate so it doesn't stack up an
2172 infinite number of wrong entries in c-state-nonlit-pos-cache.
2173 (c-determine-limit-get-base, c-determine-limit): New functions to
2174 determine backward search limits disregarding literals.
2175 (c-find-decl-spots): Amend commenting.
2176 (c-cheap-inside-bracelist-p): New function which detects "={".
2178 * progmodes/cc-fonts.el
2179 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2181 (c-font-lock-declarations): Fix an occurrence of point being
2182 undefined. Check additionally for point being in a bracelist or
2183 near a macro invocation without a semicolon so as to avoid a
2184 fruitless time consuming search for a declarator. Give a more
2185 precise search limit for declarators using the new
2188 2012-01-18 Glenn Morris <rgm@gnu.org>
2190 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2191 (set-auto-mode): Doc fixes.
2193 2012-01-17 Glenn Morris <rgm@gnu.org>
2195 * isearch.el (search-nonincremental-instead): Fix doc typo.
2197 * dired.el (dired-insert-directory): Handle newlines in directory name.
2198 (dired-build-subdir-alist): Unescape newlines in directory name.
2200 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
2202 * net/tramp.el (tramp-local-end-of-line): New defcustom.
2203 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2204 (tramp-action-terminal): Use it. (Bug#10530)
2206 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2208 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2210 2012-01-16 Martin Rudalics <rudalics@gmx.at>
2212 * window.el (window-state-ignored-parameters): Remove variable.
2213 (window--state-get-1): Rename argument MARKERS to IGNORE.
2214 Handle persistent window parameters. Make copy of clone-of
2215 parameter only if requested. (Bug#10348)
2216 (window--state-put-2): Install a window parameter only if it has
2217 a non-nil value or an existing parameter shall be overwritten.
2219 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
2221 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2223 2012-01-14 Eli Zaretskii <eliz@gnu.org>
2225 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2226 don't pass the (nil) value of `upnode' to string-match.
2228 2012-01-14 Chong Yidong <cyd@gnu.org>
2230 * startup.el (command-line): Fix X resource class for cursorColor.
2231 Fix values recognized by the cursorBlink resource.
2233 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2235 * epg.el (epg--make-temp-file): Avoid permission race condition
2236 when running on old Emacs versions (bug#10403).
2238 2012-01-14 Glenn Morris <rgm@gnu.org>
2240 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2242 2012-01-13 Alan Mackenzie <acm@muc.de>
2244 Fix filling for when filladapt mode is enabled.
2246 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2247 c-mask-paragraph, pass in `fill-paragraph' rather than
2248 `fill-region-as-paragraph'. (This is a reversion of a previous
2250 * progmodes/cc-mode.el (c-basic-common-init):
2251 Make fill-paragraph-handle-comment buffer local and set it to nil.
2253 2012-01-13 Glenn Morris <rgm@gnu.org>
2255 * dired.el (dired-switches-escape-p): New function.
2256 (dired-insert-directory): Use dired-switches-escape-p.
2257 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2259 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2261 2012-01-12 Glenn Morris <rgm@gnu.org>
2263 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2264 changes in adaptive-fill-regexp. (Bug#10276)
2266 2012-01-11 Alan Mackenzie <acm@muc.de>
2268 Fix Emacs bug #10463 - put `widen's around the critical spots.
2270 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2271 widen around each invocation of c-state-pp-to-literal. Remove an
2272 unused let variable.
2274 2012-01-11 Glenn Morris <rgm@gnu.org>
2276 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
2279 2012-01-10 Chong Yidong <cyd@gnu.org>
2281 * net/network-stream.el (network-stream-open-starttls):
2282 Avoid emitting a confusing error message when the server gives a bad
2283 response to the capability command.
2285 2012-01-10 Glenn Morris <rgm@gnu.org>
2287 * mail/unrmail.el (unrmail): Tweak previous change.
2289 2012-01-09 Chong Yidong <cyd@gnu.org>
2291 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2293 2012-01-08 Alan Mackenzie <acm@muc.de>
2295 Optimise font locking in long enum definitions.
2297 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2298 arm to a cond form to handle enums.
2299 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2300 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2302 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
2304 * files.el (move-file-to-trash): Preserve default file modes on error.
2307 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2309 * faces.el (set-face-attribute): Clarify the meaning of the nil
2312 * subr.el (with-selected-frame): Mention that the selected frame
2313 is restored (bug#9980).
2315 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2318 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
2319 (password-read): Don't autoload unused function.
2321 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
2323 * progmodes/which-func.el (which-func-mode): Turn into a
2324 non-interactive function and mark as obsolete (bug#10428).
2326 2012-01-06 Chong Yidong <cyd@gnu.org>
2328 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2329 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2330 functions, along with 1 and -1.
2332 2012-01-06 Eli Zaretskii <eliz@gnu.org>
2334 * time.el (display-time-load-average)
2335 (display-time-default-load-average): Doc fixes. See the thread
2337 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2340 2012-01-06 Glenn Morris <rgm@gnu.org>
2342 * mail/unrmail.el (unrmail): Give an explicit error if the input file
2343 has no messages. (Bug#10377)
2345 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2346 than Info-edit. (Bug#10385)
2348 * time.el (display-time-load-average, display-time-next-load-average):
2351 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2352 local setting of buffer-read-only to the input buffer. (Bug#10419)
2354 * calendar/calendar.el (calendar-mode):
2355 Locally set scroll-margin to 0. (Bug#10379)
2357 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
2359 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2361 2012-01-05 Glenn Morris <rgm@gnu.org>
2363 * eshell/em-unix.el (diff-no-select): Autoload it.
2364 (eshell/diff): Use diff-no-select. (Bug#10420)
2366 2012-01-05 Chong Yidong <cyd@gnu.org>
2368 * shell.el (shell-dynamic-complete-functions): Revert last change.
2369 (shell-command-completion-function): New function.
2370 (shell-completion-vars): Use it to implement
2371 shell-completion-execonly (Bug#10417).
2373 * custom.el (enable-theme): Don't set custom-safe-themes.
2375 * cus-theme.el (custom-theme-merge-theme):
2376 Ignore custom-enabled-themes and custom-safe-themes.
2378 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
2380 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2381 first prompt in `sql-interacive-mode'.
2382 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
2384 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
2385 (sql-product-interactive): Bug fix: Set `sql-buffer' in
2386 context of original buffer. Invoke `sql-login-hook'.
2388 2012-01-04 Eli Zaretskii <eliz@gnu.org>
2390 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2391 letters in cite-prefix.
2393 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2395 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2397 2012-01-03 Chong Yidong <cyd@gnu.org>
2399 * shell.el (shell-dynamic-complete-functions):
2400 Put pcomplete-completions-at-point, so as to try
2401 comint-filename-completion first (Bug#10417).
2403 2012-01-02 Richard Stallman <rms@gnu.org>
2405 * battery.el (battery-status-function):
2406 Detect when to use battery-yeeloong-sysfs.
2407 (battery-echo-area-format): Add string for Yeeloong.
2408 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2409 (battery-yeeloong-sysfs): New function.
2411 2012-01-02 Chong Yidong <cyd@gnu.org>
2413 * dirtrack.el (dirtrack-list): Eliminate unused third element.
2414 (dirtrack): Merge code for handling relative filenames in prompt
2415 from shell-dir-cookie-watcher.
2416 (dirtrack-debug-message): New arg to avoid excess format calls.
2418 * shell.el (shell-dir-cookie-re): Variable deleted.
2419 (shell-dir-cookie-watcher): Function deleted.
2420 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2423 2012-01-01 Eli Zaretskii <eliz@gnu.org>
2425 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2426 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
2429 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2431 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2433 2011-12-31 Eli Zaretskii <eliz@gnu.org>
2435 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2436 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2438 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
2440 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2441 also for alternative shells.
2442 (tramp-open-connection-setup-interactive-shell): Check, whether
2443 the shell is a busybox.
2444 (tramp-send-command): Don't suppress multiple prompts for
2445 busyboxes, it hurts.
2447 2011-12-28 Chong Yidong <cyd@gnu.org>
2449 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2450 (gdb-get-source-file): Move mode line update to
2451 gdb-get-source-file (Bug#10087).
2453 2011-12-25 Chong Yidong <cyd@gnu.org>
2455 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2456 gud-gdb-marker-filter without taking it as an argument.
2457 (gud-gdb-run-command-fetch-lines): Caller changed.
2458 (gud-gdb-completion-function): New variable.
2459 (gud-gdb-completion-at-point): Use it.
2460 (gud-gdb-completions-1): Split from gud-gdb-completions.
2462 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2463 function as separate arguments.
2464 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2465 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2466 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2467 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2468 (gdb-stopped, def-gdb-auto-update-trigger)
2469 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
2470 (gdb-get-changed-registers, gdb-get-main-selected-frame):
2472 (gud-gdbmi-completions): New function.
2473 (gdb): Use it for generating the completion table.
2475 2011-12-24 Alan Mackenzie <acm@muc.de>
2477 Introduce a mechanism to widen the region used in context font
2478 locking. Use this to protect declarations from losing their contexts.
2480 * progmodes/cc-langs.el (c-before-font-lock-functions):
2481 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
2482 (c-before-context-fontification-functions): New defvar, a list of
2483 functions to be run just before context (etc.) font locking.
2485 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
2486 New, functionality extracted from
2487 c-neutralize-syntax-in-and-mark-CPP.
2488 (c-in-after-change-fontification): New variable.
2489 (c-after-change): Set c-in-after-change-fontification.
2490 (c-set-fl-decl-start): Rejig its interface, so it can be called
2491 from both after-change and context fontifying.
2492 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2494 (c-standard-font-lock-fontify-region-function): New variable.
2495 (c-font-lock-fontify-region): New function.
2497 2011-12-24 Juri Linkov <juri@jurta.org>
2499 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2502 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
2504 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2505 existence of source file. (Bug#10325)
2507 2011-12-23 Alan Mackenzie <acm@muc.de>
2509 Fix unstable fontification inside templates.
2511 * progmodes/cc-langs.el (c-before-font-lock-functions):
2512 Newly created from the singular version. The (c c++ objc) entry now
2513 additionally has c-set-fl-decl-start. The other languages (apart
2514 from AWK) have that as a single entry.
2516 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2517 The functionality for "local" declarations has been extracted to
2518 c-set-fl-decl-start.
2520 * progmodes/cc-mode.el (c-common-init, c-after-change):
2521 Changes due to pluralisation of c-before-font-lock-functions.
2522 (c-set-fl-decl-start): New function, extracted from
2523 c-font-lock-enclosing-decls and enhanced.
2525 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
2527 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2529 2011-12-22 Juri Linkov <juri@jurta.org>
2531 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2533 2011-12-22 Chong Yidong <cyd@gnu.org>
2535 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2537 2011-12-21 Drew Adams <drew.adams@oracle.com>
2539 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2541 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2543 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2545 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2547 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2548 highlighting and support. Fix up comments for capitalization.
2549 (cfengine-mode-debug): New var.
2550 (cfengine3-mode): Change the modeline indicator to "CFE3".
2551 (cfengine3-font-lock-keywords): Improve defun highlighting.
2552 (cfengine2-actions): Rename from `cfengine-actions'.
2553 (cfengine2-font-lock-keywords): Rename from
2554 `cfengine-font-lock-keywords'.
2555 (cfengine2-imenu-expression): Rename from
2556 `cfengine-imenu-expression'.
2557 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2558 (cfengine2-beginning-of-defun): Rename from
2559 `cfengine-beginning-of-defun'.
2560 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2561 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2562 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2563 modeline indicator to "CFE2".
2564 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2565 (cfengine-mode-abbrevs): Mark obsolete.
2567 2011-12-21 Chong Yidong <cyd@gnu.org>
2569 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2572 2011-12-20 Martin Rudalics <rudalics@gmx.at>
2574 * window.el (window-normalize-buffer-to-display): Remove.
2575 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2577 2011-12-19 Chong Yidong <cyd@gnu.org>
2579 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2580 Don't signal an error in a predicate function; return non-nil.
2581 (vc-dir-mark-file): Move the error here.
2582 (vc-dir-mark-unmark): If acting on the region, keep going if one
2583 of the entries cannot be marked/unmarked.
2584 (vc-dir-mark-all-files): If current entry is a directory, mark
2585 only child files, as documented.
2587 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2589 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2590 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2593 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2595 * term/ns-win.el (ns-get-selection-internal)
2596 (ns-store-selection-internal): Declare.
2597 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2598 Declare as obsolete.
2599 (ns-get-pasteboard, ns-paste-secondary):
2600 Use ns-get-selection-internal.
2601 (ns-set-pasteboard, ns-copy-including-secondary):
2602 Use ns-store-selection-internal.
2604 2011-12-17 Chong Yidong <cyd@gnu.org>
2606 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
2607 (vc-deduce-fileset): Doc fix.
2609 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2611 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2613 2011-12-13 Sam Steingold <sds@gnu.org>
2615 * man.el (Man-getpage-in-background): When running under a
2616 window-system, ignore $MANWIDTH and $COLUMNS.
2618 2011-12-15 Kenichi Handa <handa@m17n.org>
2620 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2621 (setup-ethiopic-environment-internal): Comment out key-binding for
2622 ethio-toggle-punctuation.
2624 2011-12-13 Alan Mackenzie <acm@muc.de>
2626 Add the switch statement to AWK Mode.
2628 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
2629 "default" to the keywords regexp.
2631 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
2632 expression as the rest.
2633 (c-nonlabel-token-key): Allow string literals for AWK.
2634 Refactor for the other modes.
2636 Large brace-block initialisation makes CC Mode slow: Fix.
2637 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
2638 routines. Limit backward searching in c-font-lock-enclosing.decl.
2640 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2641 pp-state and literal type in addition to the limits.
2642 (c-state-safe-place): New defun, extracted from c-state-literal-at.
2643 (c-state-literal-at): Use the above new defun.
2644 (c-slow-in-literal, c-fast-in-literal): Remove.
2645 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
2647 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2648 being in a literal. Add a limit for backward searching.
2650 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2653 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2655 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2657 2011-12-13 Martin Rudalics <rudalics@gmx.at>
2659 * window.el (delete-other-windows): Use correct frame in call to
2660 window-with-parameter.
2662 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2664 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2665 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2666 (makefile-gmake-statements, makefile-makepp-statements):
2667 Use it and add new makepp keywords.
2668 (makefile-makepp-font-lock-keywords): Add new patterns.
2669 (makefile-match-function-end): Match new [...] and [[...]].
2671 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
2673 * ses.el (ses-call-printer-return, ses-cell-property-get)
2674 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2675 (ses-create-cell-variable, ses-reset-header-string)
2676 (ses-cell-set-formula, ses-repair-cell-reference-all)
2677 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2678 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2679 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2680 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2681 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2682 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2683 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2684 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2685 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2686 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2687 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2688 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2690 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2692 * ses.el: The overall change is to add cell renaming, that is
2693 setting fancy names for cell symbols other than name matching
2694 "\\`[A-Z]+[0-9]+\\'" regexp .
2695 (ses-create-cell-variable): New defun.
2696 (ses-relocate-formula): Relocate formulas only for cells the
2697 symbols of which are not renamed, i.e. symbols whose names do not
2698 match regexp "\\`[A-Z]+[0-9]+\\'".
2699 (ses-relocate-all): Relocate values only for cells the symbols of
2700 which are not renamed.
2701 (ses-load): Create cells variables as the (ses-cell ...) are read,
2702 in order to check row col consistency with cell symbol name only
2703 for cells that are not renamed.
2704 (ses-replace-name-in-formula): New defun.
2705 (ses-rename-cell): New defun.
2707 2011-12-11 Chong Yidong <cyd@gnu.org>
2709 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2710 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2712 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2714 * window.el (other-window): Fix docstring.
2716 2011-12-10 Eli Zaretskii <eliz@gnu.org>
2718 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
2719 `from' or `to' address before taking its substring.
2720 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
2721 encoded name is chopped in the middle of the encoded string, and
2722 thus displayed encoded.
2724 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
2726 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2728 2011-12-10 Eli Zaretskii <eliz@gnu.org>
2730 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2731 to use texinfo-update-node and commands that call it if the
2732 Texinfo file uses @node lines without next/prev/up pointers.
2733 Correct outdated description about texinfo-master-menu.
2734 (texinfo-all-menus-update, texinfo-master-menu)
2735 (texinfo-update-node, texinfo-every-node-update)
2736 (texinfo-multiple-files-update): Doc fix. Warn against updating
2737 all the @node lines.
2738 (texinfo-master-menu): Only call texinfo-update-node if the prefix
2739 argument is numeric. Explain better in the doc string what the
2740 function really does.
2741 (texinfo-insert-master-menu-list): Improve the error message
2742 displayed if there's no menu in the Top node.
2743 (Bug#2975) See also this thread:
2744 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2746 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2748 * speedbar.el (speedbar-supported-extension-expressions):
2749 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2751 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
2753 * printing.el (pr-mode-alist):
2754 * simple.el (filter-buffer-substring-functions)
2755 (completion-list-insert-choice-function):
2756 * window.el (window-with-parameter, window-atom-root)
2757 (window-sides-slots, window-size-fixed, window-min-delta)
2758 (window-max-delta, window--resize-mini-window)
2759 (window--resize-child-windows-normal, window-tree)
2760 (delete-other-windows, quit-window, split-window)
2761 (display-buffer-record-window, special-display-buffer-names)
2762 (special-display-regexps, special-display-popup-frame)
2763 (same-window-p, split-window-sensibly)
2764 (display-buffer-overriding-action, display-buffer-alist)
2765 (display-buffer-base-action, display-buffer, switch-to-buffer)
2766 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2767 (fit-window-to-buffer, recenter-positions)
2768 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2769 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2770 and remove unneeded backslashes in docstrings.
2772 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2774 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2776 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2777 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2779 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2780 when reading the makefile (bug#10116).
2782 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2784 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2787 2011-12-06 Glenn Morris <rgm@gnu.org>
2789 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2791 2011-12-06 Chong Yidong <cyd@gnu.org>
2793 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2795 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
2797 * textmodes/table.el (table-shorten-cell): Fix typo.
2799 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2801 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2803 2011-12-05 Eli Zaretskii <eliz@gnu.org>
2805 * descr-text.el (describe-char): Fix display of strong
2806 right-to-left characters and directional embeddings and overrides.
2808 * simple.el (what-cursor-position): Fix display of codepoints of
2809 strong right-to-left characters.
2811 2011-12-05 Chong Yidong <cyd@gnu.org>
2813 * faces.el (read-color): Doc fix.
2815 2011-12-05 Glenn Morris <rgm@gnu.org>
2817 * align.el (align--set-marker): Add doc-string.
2818 Don't try to move something that is not a marker. (Bug#10216)
2820 2011-12-04 Glenn Morris <rgm@gnu.org>
2822 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2823 overly zealous deletion of trailing whitespace.
2825 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
2827 * server.el (server-delete-client): On Windows, do not try to delete
2829 (server-process-filter): On Windows, treat requests for a tty frame as
2830 if they were for a GUI frame if the running server is in GUI mode.
2832 2011-12-03 Glenn Morris <rgm@gnu.org>
2834 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2836 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2838 * electric.el: Streamline electric-indent's hook.
2839 (electric-indent-chars): Revert to simple list.
2840 (electric-indent-functions): New var.
2841 (electric-indent-post-self-insert-function): Use it.
2843 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2844 there's no inferior buffer (bug#10196).
2845 (prolog-consult-compile): Don't use toggle-read-only.
2847 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
2849 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2850 interrupt. (Bug#10187)
2852 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2854 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2857 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2860 2011-12-02 Juri Linkov <juri@jurta.org>
2862 * info.el (Info-search): Display "end of manual" when Isearch
2863 reaches the end of single-file Info manual. (Bug#9918)
2865 2011-12-02 Eli Zaretskii <eliz@gnu.org>
2867 * isearch.el (isearch-message-prefix): Run the input method part
2868 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2870 2011-12-02 Juri Linkov <juri@jurta.org>
2872 * isearch.el (isearch-occur): Use `word-search-regexp' for
2874 (isearch-search-and-update): Add condition for `isearch-word' and
2875 call `word-search-regexp'. (Bug#10145)
2877 2011-12-01 Glenn Morris <rgm@gnu.org>
2879 * eshell/em-hist.el (eshell-hist-initialize):
2880 Handle eshell-history-size nil and HISTSIZE set or unset.
2881 (eshell-history-file-name, eshell-history-size): Fix custom type.
2883 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2885 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2887 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
2889 * progmodes/verilog-mode.el (verilog-pretty-expr):
2890 Rework verilog-pretty-expr to handle new assignment operators in system
2891 verilog, such as += *= and the like.
2892 (verilog-assignment-operator-re): Regular expression to find the
2893 assigment operator in a verilog assignment.
2894 (verilog-assignment-operation-re): Regular expression to find an
2895 assignment statement for pretty-expr.
2896 (verilog-in-attribute-p): Query returns true if point is in an
2897 attribute context; used to skip these for expression line up from
2899 (verilog-in-parameter-p): Query returns true if point is in an
2900 parameter definition context; used to skip these for expression
2901 line up from pretty-expr.
2902 (verilog-in-parenthesis-p): Query returns true if point is in a
2903 parenthetical expression, specifically ( ) but not [ ] or { };
2904 used by pretty-expr.
2905 (verilog-just-one-space): If there is no space, don't add one.
2906 (verilog-get-lineup-indent-2): Specifically skip just attribute
2907 contexts for expression lineup, rather than skipping all
2908 parenthetical expressions.
2909 (verilog-calculate-indent): Fix comment, and fix indent.
2910 (verilog-do-indent): Indent declarations in lists (suggested by
2912 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2914 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2917 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
2919 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2920 parameters with embedded comments. Reported by Ray Stevens.
2921 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2922 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2923 Reported by Tim Holt.
2924 (verilog-auto): Fix AUTOing a upper module then AUTOing module
2925 instantiated by upper module causing wrong expansion until AUTOed a
2926 second time. Reported by K C Buckenmaier.
2927 (verilog-diff-auto): Fix showing .* as a difference when
2928 `verilog-auto-star-save' off. Reported by Dan Dever.
2929 (verilog-auto-reset, verilog-read-always-signals)
2930 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2931 temporary signals in reset list if
2932 verilog-auto-reset-blocking-in-non is nil, and match assignment
2933 style to each signal's assignment type, bug381.
2934 Reported by Thomas Esposito.
2935 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2936 (verilog-uvm-statement-re): Support UVM indentation and
2937 highlighting, with old OVM keywords only.
2938 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
2939 Support AUTOTIEOFF creating non-wire data types.
2940 Suggested by Jonathan Greenlaw.
2941 (verilog-auto-insert-lisp, verilog-delete-to-paren)
2942 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2943 (verilog-inject-sense, verilog-read-inst-pins)
2944 (verilog-read-sub-decls, verilog-read-sub-decls-line):
2945 Fix mismatching parenthesis inside commented out code when deleting
2946 AUTOINST, bug383. Reported by Jonathan Greenlaw.
2947 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2948 non-numeric vector width. Reported by Alex Reed.
2949 (verilog-auto-ascii-enum): Add "onehot" option to work around not
2950 detecting signals with parameter widths. Reported by Alex Reed.
2951 (verilog-auto-delete-trailing-whitespace):
2952 With `verilog-auto-delete-trailing-whitespace' remove trailing
2953 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
2954 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2955 Fix verilog-scan-cache corruption when running user AUTO expansion
2956 hooks that call indentation routines.
2957 (verilog-simplify-range-expression): Fix typo ignoring lower case
2959 (verilog-delete-auto): Fix delete-autos to also remove user created
2960 automatics, as long as they start with AUTO.
2961 (verilog-batch-diff-auto, verilog-diff-auto)
2962 (verilog-diff-function): Add `verilog-diff-auto' and bind to
2963 "C-c?" to report differences in AUTO expansion, ignoring spaces.
2964 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2965 (verilog-in-paren-quick, verilog-re-search-backward-quick)
2966 (verilog-re-search-forward-quick, verilog-syntax-ppss):
2967 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
2968 is disabled and its cache will get corrupt, causing AUTOS not to
2969 expand. Instead use only -quick functions.
2970 (verilog-scan-region): Fix scanning over escaped quotes.
2971 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2972 (verilog-re-search-backward-quick)
2973 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2974 related functions now ignore strings, to fix misparsing of strings
2975 with magic comments embedded in them.
2976 (verilog-read-auto-template):
2977 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2978 Reported by Brad Dobbie.
2979 (verilog-read-auto-template):
2980 Fix 'verilog-auto-inst-template-numbers' with comments.
2981 Reported by Brad Dobbie.
2982 (verilog-auto-inst, verilog-auto-inst-param)
2983 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2984 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
2985 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
2986 debugging templates without merge conflicts, bug357.
2987 Reported by Brad Dobbie.
2988 (verilog-read-auto-template):
2989 Fix verilog-auto-inst-template-numbers with multiple templates.
2990 Reported by Brad Dobbie.
2991 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2992 abbrevs so user won't be asked to save.
2993 (verilog-read-auto-lisp-present): Fix to start at beginning of
2994 buffer in case called outside of verilog-auto.
2995 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2996 to "X-2". Reported by Matthew Myers.
2997 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2998 all inputs from module templates. Reported by Leith Johnson.
2999 (verilog-module-inside-filename-p): Fix locating programs as with
3001 (verilog-auto-inst-port): Fix vl-width expressions when using
3002 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3003 (verilog-decls-get-regs, verilog-decls-get-signals,
3004 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3005 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3006 verilog-read-decls): Combine reg and wire structures into one var
3007 structure to represent SystemVerilog concepts.
3008 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3009 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
3010 (verilog-auto-wire-type, verilog-insert-definition):
3011 Add verilog-auto-wire-type and AUTOLOGIC to support using
3012 SystemVerilog "logic" keyword instead of "wire"/"reg".
3013 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3014 to declares outputs that also have assignments (presumably in an
3015 ifdef or generate if so there's not a driver conflict).
3016 Reported by Matthew Myers.
3017 (verilog-auto-declare-nettype, verilog-insert-definition):
3018 Add verilog-auto-declare-nettype to fix declarations using
3019 `default_nettype none. Reported by Julian Gorfajn.
3020 (verilog-read-always-signals-recurse, verilog-read-decls)
3021 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3022 malformed end statement, bug325. Reported by Joshua Wise and
3024 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3025 (verilog-inst-comment-re): Fix not deleting Interfaced comment
3026 when expanding .* in interfaces, bug320.
3027 Reported by Pierre-David Pfister.
3028 (verilog-read-module-name): Fix import statements between module
3029 name and open parenthesis, bug317.
3030 Reported by Pierre-David Pfister.
3031 (verilog-simplify-range-expression): Fix simplification of
3032 multiplications inside AUTOWIRE connections, bug303.
3033 (verilog-auto-inst-port): Support parameter expansion in
3034 multidimensional arrays.
3035 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3036 after "assert property". Reported by Julian Gorfajn.
3037 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3038 with multiplication, bug303.
3039 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3040 Reported by Jan Frode Lonnum.
3042 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
3044 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3045 (hfy-shell-file-name, hfy-shell):
3046 * international/fontset.el (x-decompose-font-name): Fix typos.
3048 2011-11-29 Ken Brown <kbrown@cornell.edu>
3050 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3051 (gdb-version): Remove defvar.
3052 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3053 (gdb-gud-context-command, gdb-non-stop-handler)
3054 (gdb-current-context-command, gdb-stopped): Use it.
3055 (gdb-init-1): Enable pretty printing here.
3056 (gdb-non-stop-handler): Don't enable pretty-printing here.
3057 Check to see if the target supports non-stop mode; if not, turn off
3058 non-stop mode. Use the following.
3059 (gdb-check-target-async): New defun.
3060 (gud-watch, gdb-stopped): Fix whitespace.
3061 (gdb-get-source-file): Don't try to display the source file if
3062 `gdb-main-file' is nil.
3064 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3066 * align.el: Try to generate fewer markers (bug#10047).
3067 (align--set-marker): New macro.
3068 (align-region): Use it.
3070 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3072 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3074 2011-11-29 Chong Yidong <cyd@gnu.org>
3076 * indent.el (indent-for-tab-command, indent-according-to-mode):
3078 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3080 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
3082 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3083 aware of remote file names. (Bug#10124)
3085 2011-11-29 Chong Yidong <cyd@gnu.org>
3087 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3089 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3091 * files.el (find-file): Don't use force-same-window (bug#10144).
3092 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3093 use pop-to-buffer if the selected window can't be used.
3094 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3096 2011-11-28 Eli Zaretskii <eliz@gnu.org>
3098 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3101 2011-11-28 Chong Yidong <cyd@gnu.org>
3103 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3105 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
3107 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3108 gdb-get-source-file-list on gdb-create-source-file-list.
3110 2011-11-26 Eli Zaretskii <eliz@gnu.org>
3112 * whitespace.el (whitespace-newline): Use a different foreground
3113 color for 16-color light-background displays.
3115 2011-11-24 Chong Yidong <cyd@gnu.org>
3117 * window.el (display-buffer--special-action): Doc fix.
3119 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
3121 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3122 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3123 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3124 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3125 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3126 (avl-tree-stack-first):
3127 * emacs-lisp/cconv.el (cconv--analyse-use):
3128 * net/gnutls.el (gnutls-negotiate): Fix typos.
3130 2011-11-24 Glenn Morris <rgm@gnu.org>
3132 * lpr.el (lpr-windows-system, lpr-lp-system):
3133 * mail/binhex.el (binhex-begin-line):
3134 * progmodes/grep.el (grep-history, grep-find-history):
3135 * textmodes/flyspell.el:
3136 * vc/pcvs-defs.el (cvs-global-menu):
3137 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3138 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3139 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3141 * net/tls.el: Fix case of "GnuTLS".
3143 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3145 * version.el (emacs-build-system): Give it a doc-string.
3147 2011-11-24 Juri Linkov <juri@jurta.org>
3149 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3151 2011-11-24 Glenn Morris <rgm@gnu.org>
3153 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3154 if called on a non-mime message just toggle the headers. (Bug#8006)
3156 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
3158 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3159 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3160 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3161 (allout-rebullet-heading, allout-open-sibtopic)
3162 (allout-toggle-current-subtree-encryption)
3163 (allout-toggle-subtree-encryption, allout-encrypt-string)
3164 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3165 (allout-distinctive-bullets-string, allout-auto-activation):
3166 * window.el (window-normalize-buffer-to-display):
3167 * progmodes/verilog-mode.el (verilog-batch-indent):
3168 * textmodes/bibtex.el (bibtex-field-braces-opt)
3169 (bibtex-field-strings-opt):
3170 * vc/cvs-status.el (cvs-tree-merge):
3173 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
3175 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3176 `non-essential' to t, in order to avoid remote connections.
3178 2011-11-23 Eli Zaretskii <eliz@gnu.org>
3180 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3181 On MS-DOS and MS-Windows, compare with loaddefs.el
3184 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3186 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3188 2011-11-23 Glenn Morris <rgm@gnu.org>
3190 * paths.el (rmail-file-name): Reformat the doc-string so that it
3193 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3194 (rmail-auto-file): Ignore case in the "special" field names,
3195 as mail-fetch-field does for all others.
3197 * mail/rmail.el (rmail-forward):
3198 * mail/rmailkwd.el (rmail-set-label):
3199 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3200 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3202 * mail/rmail.el (rmail-current-message): Doc fix.
3204 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3206 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3208 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3210 2011-11-22 Glenn Morris <rgm@gnu.org>
3212 * mail/rmailmm.el (test-rmail-mime-handler)
3213 (test-rmail-mime-bulk-handler)
3214 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3216 2011-11-21 Juri Linkov <juri@jurta.org>
3218 * calc/calc.el (calc-read-key-sequence):
3219 Let-bind `input-method-function' to nil. (Bug#10018)
3221 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3223 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3224 Tell the caller that the next line needs recomputation, even
3225 though it doesn't start a sexp (bug#10094).
3227 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3229 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3231 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3233 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3234 Use force-same-window.
3236 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
3238 * descr-text.el (describe-char-unicode-data):
3239 * json.el (json-string-escape):
3240 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3241 (Footnote-unicode, Footnote-style-p):
3242 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3244 2011-11-20 Chong Yidong <cyd@gnu.org>
3246 * window.el (replace-buffer-in-windows): Restore interactive spec.
3248 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3250 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3252 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3253 (byte-compile-global-not-obsolete-vars): New var.
3254 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3256 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3258 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
3260 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3261 * progmodes/pascal.el (electric-pascal-equal):
3262 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3263 * xml.el (xml-substitute-special): Fix typos.
3265 2011-11-20 Glenn Morris <rgm@gnu.org>
3267 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3268 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3270 (rmail-decode-mime-charset): Mark as obsolete.
3272 * mail/rmailsum.el (rmail-message-regexp-p-1):
3273 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3274 Before using mime functions, check they are set. (Bug#10077)
3276 2011-11-19 Juri Linkov <juri@jurta.org>
3278 * info.el (Info-finder-find-node): Use `package--builtins' instead
3279 of `package-alist'. Use node names formed by the pattern "Keyword "
3280 and the keyword name.
3282 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3284 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
3286 2011-11-19 Juri Linkov <juri@jurta.org>
3288 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3289 that calls `revert-buffer' on all Info buffers. (Bug#9915)
3290 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3291 `old-history', `old-history-forward'. Add let-binding
3292 `window-selected'. Remove calls to `kill-buffer',
3293 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
3294 before calling `Info-find-node', so `Info-find-node-2' will reread
3295 the Info file. Restore window positions only when `window-selected'
3298 2011-11-19 Juri Linkov <juri@jurta.org>
3300 * isearch.el (isearch-lazy-highlight-new-loop):
3301 Remove condition `(not isearch-error)'. (Bug#9918)
3303 * misearch.el (multi-isearch-search-fun): Add condition
3304 `(not bound)' to ignore lazy-highlighting search.
3305 Add the search-failed message "end of multi" when the end of
3306 multi-sequence is reached. Uncapitalize the search-failed
3307 message "Repeat for next buffer".
3309 * info.el (Info-search): Add the search-failed message
3310 "end of the manual" when the end of the manual is reached
3313 2011-11-19 Juri Linkov <juri@jurta.org>
3315 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3316 Use non-destructive `remove' instead of `delete' because
3317 `Info-history-list' stored to `Info-isearch-initial-history-list' in
3318 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3320 2011-11-19 Juri Linkov <juri@jurta.org>
3322 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3323 to nil instead of binding `search-ring' and `regexp-search-ring'.
3326 2011-11-19 Eli Zaretskii <eliz@gnu.org>
3328 * simple.el (line-move): Force movement by logical lines for any
3329 hscrolled window, not only when auto-hscroll-mode is on.
3330 (line-move-visual): Update doc string to that effect. (Bug#10076)
3332 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
3334 * language/european.el (macintosh): Define as alias for mac-roman.
3336 2011-11-19 Eli Zaretskii <eliz@gnu.org>
3338 * mail/rmailmm.el (rmail-mime-display-header)
3339 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3340 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3341 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3342 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3343 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3345 (rmail-mime-entity-segment): To get past the tagline, move forward
3346 2 more lines, to account for the 2 empty lines that precede and
3347 follow the line with the buttons.
3348 (rmail-mime-update-tagline): Move one more line, to get past the
3349 empty line that follows the buttons in the tagline. (Bug#9520)
3351 2011-11-19 Martin Rudalics <rudalics@gmx.at>
3353 * window.el (window-max-delta-1, window-min-delta-1)
3354 (window-min-size-1, window-state-get-1, window-state-put-1)
3355 (window-state-put-2): Use "window--" prefix.
3357 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3359 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3360 (smie-warning-count): New var.
3361 (smie-set-prec2tab): Use it.
3362 (smie-bnf->prec2): Improve warnings. Add docstring.
3363 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3364 (smie-bnf--set-class): New function.
3365 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3368 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3369 (compilation-error-properties, compilation-move-to-column):
3370 Handle compilation-first-column while in the target buffer.
3372 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3373 Don't hardcode point-min==1.
3375 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3376 (eshell-rewrite-for-command): Remove workaround.
3377 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3378 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3379 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3381 * files-x.el (modify-file-local-variable): Obey commenting conventions.
3383 2011-11-17 Glenn Morris <rgm@gnu.org>
3385 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3386 Ignore buffer-local generated-autoload-file if it is the same
3387 as the global value. (Bug#10049)
3389 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
3391 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3392 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3393 (reftex-toc-previous-heading, reftex-toc-max-level)
3394 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3395 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3396 (reftex-toc-do-promote, reftex-toc-promote-prepare)
3397 (reftex-toc-promote-action, reftex-toc-extract-section-number)
3398 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3399 (reftex-toc-rename-label, reftex-toc-visit-location)
3400 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3401 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3402 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3403 leaving "*toc*" only for references to the buffer.
3405 2011-11-17 Martin Rudalics <rudalics@gmx.at>
3407 * window.el (window-resize, delete-window, split-window):
3408 Replace window-splits by window-combination-resize.
3409 * cus-start.el (window-splits): Replace by window-combination-resize.
3411 2011-11-17 Glenn Morris <rgm@gnu.org>
3413 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3414 Make bash entry derive from sh entry, not shell entry.
3416 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
3418 * net/tramp-cache.el (tramp-flush-file-property): Flush also
3419 properties of linked files. (Bug#9879)
3421 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3424 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
3426 * menu-bar.el (menu-bar-file-menu):
3427 * printing.el (pr-ps-utility):
3428 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3429 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3430 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3431 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3432 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3433 (icalendar--convert-cyclic-to-ical)
3434 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3435 (icalendar--convert-ical-to-diary)
3436 (icalendar--convert-recurring-to-diary)
3437 (icalendar--convert-non-recurring-all-day-to-diary)
3438 (icalendar-import-format-sample):
3439 * progmodes/idlw-shell.el (idlwave-shell-mode):
3440 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3441 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3442 (vhdl-ps-print-init): Fix typos.
3444 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3446 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3447 FSF and collapse date sequence, obscure author/maintainer email address
3448 better, remove extra version line, track relocation of author's webpage.
3450 * progmodes/python.el (python-pdbtrack-input-prompt)
3451 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3452 regular python pdb prompts. Adjustments shamelessly taken exactly as
3453 suggested in EmacsWiki page (tiny change):
3454 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
3456 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
3458 * expand.el (expand-pos, expand-index, expand-point):
3459 Remove redundant info from docstring.
3460 (expand-add-abbrevs): Doc fix.
3461 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3462 (expand-sample-perl-mode-expand-list): Fix typos.
3464 * net/dbus.el (dbus-event-member-name):
3465 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3466 * term/pc-win.el (msdos-create-frame-with-faces):
3467 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3469 2011-11-16 Martin Rudalics <rudalics@gmx.at>
3471 * window.el (split-window, window-state-get-1)
3472 (window-state-put-1, window-state-put-2): Rename occurrences of
3473 window-nest to window-combination-limit.
3474 * cus-start.el (window-nest): Rename to window-combination-limit.
3476 2011-11-16 Chong Yidong <cyd@gnu.org>
3478 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3481 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3483 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3484 `completing-read' will remove *Completions* and will preserve
3485 current-buffer for us.
3486 (tmm-add-prompt): Users of *Completions* will always (re)set its
3488 (tmm-old-comp-map): Remove.
3490 2011-11-16 Glenn Morris <rgm@gnu.org>
3492 * mail/rmailedit.el: Require rmailmm when compiling.
3493 (rmail-old-mime-state): New declaration.
3494 (rmail-edit-current-message): If editing a mime message,
3495 edit the "raw" message from the mbox buffer.
3496 (rmail-cease-edit): Handle mime messages. (Bug#9840)
3498 2011-11-15 Glenn Morris <rgm@gnu.org>
3500 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3501 which wasn't being used. Add optional arg to force given state.
3502 (rmail-mime): Add optional arg to force given state.
3504 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
3506 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3507 * frame.el (display-mm-dimensions-alist):
3508 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3509 (outline-move-subtree-down):
3510 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3511 (newsticker--treeview-do-get-node):
3512 * net/quickurl.el (quickurl-list-buffer-name):
3513 * progmodes/dcl-mode.el (dcl-mode):
3514 * progmodes/gdb-mi.el (gdb-mapcar*):
3515 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3517 2011-11-15 Glenn Morris <rgm@gnu.org>
3519 * mail/rmail.el (rmail-file-coding-system): It's only ever used
3520 in a boolean sense, so just make it a boolean, and fix the doc.
3521 (rmail-show-mime-function, rmail-mime-feature)
3522 (rmail-require-mime-maybe): Doc fixes.
3523 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3525 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3527 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
3529 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3530 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3531 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3532 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3534 2011-11-15 Glenn Morris <rgm@gnu.org>
3536 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3537 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3538 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3539 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3540 (rmail-mime, rmail-show-mime): Doc fixes.
3542 * term/ns-win.el (mode-line-frame-identification):
3543 Leave it alone. (Bug#10051)
3545 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3547 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3548 Handle empty buffers. (Bug#9978)
3550 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
3552 * international/mule.el (define-charset):
3553 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3554 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3555 * progmodes/verilog-mode.el (verilog-backward-token):
3556 * textmodes/ispell.el (lookup-words):
3557 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3559 2011-11-14 Glenn Morris <rgm@gnu.org>
3561 * progmodes/executable.el
3562 (executable-make-buffer-file-executable-if-script-p):
3563 Handle file-modes returning nil.
3565 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3566 message - not necessary, and causes problems. (Bug#9831)
3568 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3570 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3572 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3573 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3574 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3576 2011-11-12 Martin Rudalics <rudalics@gmx.at>
3578 * window.el (window-resize, delete-window): Use window-splits
3579 variable instead of function.
3580 (window-state-get-1, window-state-put-2, window-state-put):
3581 Don't deal with windows' splits status.
3583 2011-11-12 Glenn Morris <rgm@gnu.org>
3585 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3586 (apropos-documentation): Doc fixes.
3588 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
3590 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3591 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3593 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3595 * electric.el (electric-indent-post-self-insert-function): Make it
3596 possible for a char to only indent in some circumstances.
3597 (electric-indent-mode): Simplify.
3599 2011-11-11 Martin Rudalics <rudalics@gmx.at>
3601 * window.el (windows-with-parameter): Remove unused function.
3602 (windows-at-side): Rename to window-at-side-list.
3603 (window-check, window-atom-check, window-atom-check-1)
3604 (window-side-check, window-size-ignore, window-size-fixed-1)
3605 (window-in-direction-2): Prefix with "window--".
3606 (window-tree-1): Rename to window--subtree, fix doc-string.
3608 2011-11-11 Glenn Morris <rgm@gnu.org>
3610 * subr.el (eval-after-load): If FILE is already loaded,
3611 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3613 2011-11-10 Glenn Morris <rgm@gnu.org>
3615 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3616 Call svn via vc-svn-command rather than vc-do-command.
3617 (vc-svn-command): Add --non-interactive. (Bug#9993)
3618 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3620 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3621 Add toggle-read-only. (Bug#7292)
3622 * files.el (toggle-read-only): Mention that it should only
3623 be used interactively. (Bug#10006)
3625 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3627 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3628 Adjust regexp for OCaml warnings.
3630 * electric.el (electric-pair-post-self-insert-function): Let user
3631 turn it off buffer-locally (bug#9932).
3633 * progmodes/python.el (python-beginning-of-statement):
3636 * progmodes/compile.el: Better handle TABs (bug#9749).
3637 (compilation-internal-error-properties)
3638 (compilation-next-error-function): Obey the target buffer's
3639 compilation-error-screen-columns.
3641 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
3643 * progmodes/meta-mode.el: Remove obsolete comments.
3644 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3645 Fix typos in docstrings.
3647 2011-11-09 Martin Rudalics <rudalics@gmx.at>
3649 * window.el (window-size-fixed-p): Rewrite doc-string.
3650 (window-resizable-p): Rename to window--resizable-p. Update callers.
3651 (window--resizable): New function. Make all callers of
3652 window-resizable call window--resizable instead.
3653 (window-resizable): Rewrite in terms of window--resizable.
3655 2011-11-08 Glenn Morris <rgm@gnu.org>
3657 * progmodes/delphi.el (delphi-mode-syntax-table):
3658 Let define-derived-mode define a proper syntax table. (Bug#9994)
3660 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3662 * window.el: Stay away from defsubst.
3663 (window-list-no-nils): Remove.
3664 (window-state-get-1, window-state-get): Use backquote instead.
3666 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3668 * emacs-lisp/find-func.el (find-function-read):
3669 Fix incorrect use of default argument in `completing-read'.
3671 2011-11-08 Martin Rudalics <rudalics@gmx.at>
3673 * window.el (display-buffer-function, special-display-function):
3674 Mention display-buffer-record-window but do not mention
3675 help-setup parameter in doc-strings.
3676 (window-min-delta): Fix doc-string typo.
3678 2011-11-08 Chong Yidong <cyd@gnu.org>
3680 * window.el (window-total-height, window-total-width): Doc fix.
3681 (window-body-size): Move from C.
3682 (window-body-height, window-body-width): Move to C.
3684 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3686 * window.el: Make special-display like display-buffer-alist (bug#9532).
3687 (display-buffer--special-action): New function, morphed
3688 from display-buffer--special.
3689 (display-buffer): Use it to handle special-display-buffers at higher
3690 priority (just after display-buffer-alist).
3691 (display-buffer-fallback-action, display-buffer--other-frame-action)
3692 (pop-to-buffer-same-window): Remove display-buffer--special.
3694 2011-11-07 Glenn Morris <rgm@gnu.org>
3696 * calendar/cal-menu.el (cal-menu-set-date-title):
3697 Do nothing if not in a calendar. (Bug#9976)
3699 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3701 * files.el (find-file): Always use selected-window.
3703 2011-11-07 Martin Rudalics <rudalics@gmx.at>
3705 * window.el (window-combinations): Make WINDOW argument
3706 mandatory. Rewrite doc-string.
3707 (walk-window-subtree, window-atom-check, window-min-delta)
3708 (window-max-delta, window--resize-this-window)
3709 (window--resize-root-window-vertically, window-tree)
3710 (balance-windows, window-state-put): Rewrite doc-strings as to
3711 not mention the term "subwindow".
3712 (window--resize-subwindows-skip-p): Rename to
3713 window--resize-child-windows-skip-p.
3714 (window--resize-subwindows-normal): Rename to
3715 window--resize-child-windows-normal.
3716 (window--resize-subwindows): Rename to
3717 window--resize-child-windows.
3718 (window-or-subwindow-p): Rename to window--in-subtree-p.
3720 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3722 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3723 Ensure that mbox format messages end in two newlines (Bug#9974).
3725 2011-11-06 Chong Yidong <cyd@gnu.org>
3727 * window.el (window-combination-p): Function deleted; its
3728 side-effect is not used in any existing code.
3729 (window-combinations, window-combined-p): Call window-*-child
3732 2011-11-05 Chong Yidong <cyd@gnu.org>
3734 * window.el (window-valid-p): Rename from window-any-p.
3735 (window-size-ignore, window-state-get): Callers changed.
3736 (window-normalize-window): Rename from window-normalize-any-window.
3737 New arg LIVE-ONLY, replacing window-normalize-live-window.
3738 (window-normalize-live-window): Delete.
3739 (window-combination-p, window-combined-p, window-combinations)
3740 (walk-window-subtree, window-atom-root, window-min-size)
3741 (window-sizable, window-sizable-p, window-size-fixed-p)
3742 (window-min-delta, window-max-delta, window-resizable)
3743 (window-resizable-p, window-full-height-p, window-full-width-p)
3744 (window-current-scroll-bars, window-point-1, set-window-point-1)
3745 (window-at-side-p, window-in-direction, window-resize)
3746 (adjust-window-trailing-edge, maximize-window, minimize-window)
3747 (window-deletable-p, delete-window, delete-other-windows)
3748 (record-window-buffer, unrecord-window-buffer)
3749 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3750 (quit-window, split-window, window-state-put)
3751 (set-window-text-height, fit-window-to-buffer)
3752 (shrink-window-if-larger-than-buffer): Callers changed.
3754 2011-11-04 Eli Zaretskii <eliz@gnu.org>
3756 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3757 rfc2047-decode-string.
3758 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3761 * window.el (window-body-height, window-body-width): Mention in
3762 the doc string that the return values are in frame's canonical
3765 2011-11-03 Alan Mackenzie <acm@muc.de>
3767 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3768 change in cc-engine.el.
3770 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3772 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3774 2011-11-02 Martin Rudalics <rudalics@gmx.at>
3776 * window.el (quit-window): Call unrecord-window-buffer after
3777 showing another buffer in the window. (Bug#9937)
3778 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
3780 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
3782 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3783 Accept status with more than 9 shelves. (Bug#9935)
3784 Reported by Colin D Bennett <colin@gibibit.com>.
3786 2011-11-01 Martin Rudalics <rudalics@gmx.at>
3788 * help.el (with-help-window): Don't reference
3789 temp-buffer-show-specifiers in doc-string.
3791 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3793 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3796 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3798 * whitespace.el: New version 13.2.2.
3799 (whitespace-newline-mode): Disable properly. Reported by Sarah
3802 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
3804 * net/newst-treeview.el: Remove "Time-stamp".
3805 (newsticker--group-manage-orphan-feeds): Do not call
3806 newsticker--treeview-tree-update.
3807 (newsticker-treeview-update, newsticker-treeview):
3808 Call newsticker--treeview-tree-update if necessary.
3810 2011-10-30 Martin Rudalics <rudalics@gmx.at>
3812 * window.el (window-iso-combination-p, window-iso-combined-p)
3813 (window-iso-combinations): Remove "iso-" infix.
3814 Suggested by Chong Yidong.
3815 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3816 (window-max-delta-1, window-resize, window--resize-siblings)
3817 (window--resize-this-window, adjust-window-trailing-edge)
3818 (split-window, balance-windows-1)
3819 (shrink-window-if-larger-than-buffer):
3820 * calendar/calendar.el (calendar-generate-window):
3821 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3823 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3825 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3826 in place (bug#9907).
3827 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3828 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3829 (eshell-structure-basic-command, eshell-rewrite-while-command)
3830 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3831 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3832 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3833 (eshell-do-pipelines-synchronously, eshell-eval-command):
3834 Use backquotes and prefer setq to set.
3835 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3836 (eshell-macrop): Use functionp.
3837 (eshell-do-eval): Handle multiple expressions in `while' body.
3839 2011-10-30 Chong Yidong <cyd@gnu.org>
3841 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3842 instead of set-mark (Bug#9810).
3844 2011-10-30 Chong Yidong <cyd@gnu.org>
3846 * window.el (split-window-below, split-window-right): Rename from
3847 split-window-above-each-other and split-window-side-by-side
3848 respectively. All callers changed.
3849 (split-window-sensibly, split-window-sensibly): Use them.
3850 (split-window-keep-point): Doc fix.
3852 * isearch.el: Add isearch-scroll property to split-window-below
3853 and split-window-right.
3855 * follow.el (follow-mode):
3856 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3857 * progmodes/ada-xref.el (ada-gdb-application):
3858 * emulation/vip.el (vip-buffer-in-two-windows):
3859 * image-dired.el (image-dired-dired-with-window-configuration):
3860 * dired-x.el (dired-do-find-marked-files):
3861 * dired.el (dired-pop-to-buffer):
3862 * bs.el (bs--show-with-configuration):
3863 * vc/emerge.el (emerge-setup-windows):
3864 * textmodes/two-column.el (2C-two-columns):
3865 * textmodes/reftex-toc.el (reftex-toc):
3866 * progmodes/gdb-mi.el (gdb-setup-windows):
3867 * progmodes/fortran.el (fortran-window-create):
3868 * net/newst-treeview.el (newsticker--treeview-window-init):
3869 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3870 * emulation/tpu-edt.el (tpu-gold-map):
3871 * emulation/crisp.el (crisp-mode-map):
3872 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3874 2011-10-29 Chong Yidong <cyd@gnu.org>
3876 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3878 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3880 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3881 forged Ispell output (Bug#7904).
3883 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3885 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3887 * doc-view.el: Avoid ugly errors about not finding nil.
3888 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3889 (doc-view-dvipdf-program, doc-view-unoconv-program)
3890 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3891 Avoid nil or absolute file name as default value.
3892 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3894 2011-10-28 Alan Mackenzie <acm@muc.de>
3896 * progmodes/cc-defs.el (c-version): -> 5.32.2.
3898 2011-10-28 Alan Mackenzie <acm@muc.de>
3900 Amend the handling of c-beginning/end-of-defun in nested declaration
3903 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3904 cc-langs.el. Change it to a defcustom.
3906 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3909 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3910 Prevent "class foo : bar" being spuriously recognized as a label.
3912 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
3913 Add parameter `inclusive' (to include enclosing braces in the region).
3914 (c-widen-to-enclosing-decl-scope): New function.
3915 (c-while-widening-to-decl-block): New macro.
3916 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3917 outward for defun boundaries, and correspondingly change symbol
3918 `respect-enclosure' to `go-outward'.
3919 (c-declaration-limits): Change algorithm to report only the "innermost"
3922 2011-10-28 Deniz Dogan <deniz@dogan.se>
3924 * net/rcirc.el (rcirc-mode): Use hard newlines.
3926 2011-10-28 Alan Mackenzie <acm@muc.de>
3928 Amend to indent and fontify macros "which include their own semicolon"
3929 correctly, using the "virtual semicolon" mechanism.
3931 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
3933 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3934 Recode to scan one line at a time rather than having \n and \r
3935 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
3936 (c-forward-label): Amend for virtual semicolons.
3937 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
3939 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3940 of the new C macros.
3942 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
3943 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3944 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
3945 (c-opt-cpp-macro-define): Make into a full language variable.
3946 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3947 AWK Mode (including \n, \r) removed, no longer needed.
3949 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3950 Invoke c-make-macro-with-semi-re.
3952 * progmodes/cc-vars.el (c-macro-with-semi-re):
3953 (c-macro-names-with-semicolon): New variables.
3954 (c-make-macro-with-semi-re): New function.
3956 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3958 * vc/log-edit.el: Fill empty field rather than adding new one.
3959 (log-edit-add-field): New function.
3960 (log-edit-insert-changelog): Use it.
3962 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3964 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3966 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3968 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3969 (gdb--check-interpreter): New function.
3972 2011-10-27 Glenn Morris <rgm@gnu.org>
3974 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3975 (least-positive-float, least-negative-float)
3976 (least-positive-normalized-float, least-negative-normalized-float)
3977 (float-epsilon, float-negative-epsilon):
3978 Remove unnecessary declarations.
3980 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3981 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3982 (least-positive-float, least-negative-float)
3983 (least-positive-normalized-float, least-negative-normalized-float)
3984 (float-epsilon, float-negative-epsilon): Add doc-strings,
3985 based on those in cl.texi.
3987 * files.el (set-visited-file-name): If the major-mode changed,
3988 reload the local variables. (Bug#9796)
3990 2011-10-27 Chong Yidong <cyd@gnu.org>
3992 * subr.el (change-major-mode-after-body-hook): New hook.
3993 (run-mode-hooks): Run it.
3995 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3996 Use change-major-mode-before-body-hook.
3998 * simple.el (fundamental-mode):
3999 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4000 change introducing fundamental-mode-hook.
4002 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
4004 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
4006 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
4008 * ido.el (ido-file-name-all-completions-1): Do not require
4009 tramp.el explicitly. (Bug#7583)
4011 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4013 * progmodes/octave-mod.el:
4014 * progmodes/octave-inf.el: Update maintainer.
4016 2011-10-26 Chong Yidong <cyd@gnu.org>
4018 * subr.el (with-wrapper-hook): Rewrite doc.
4020 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
4022 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
4023 filenames "/method:foo:". (Bug#9793)
4025 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4027 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4030 2011-10-24 Glenn Morris <rgm@gnu.org>
4032 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4034 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
4036 * notifications.el: Add the requirement of a running D-Bus session
4037 bus to the Commentary.
4039 2011-10-24 Juri Linkov <juri@jurta.org>
4041 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4042 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4045 2011-10-24 Juri Linkov <juri@jurta.org>
4047 * info.el (Info-following-node-name-re): Add newline to the list
4048 of allowed characters for leading space. (Bug#9824)
4050 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4052 * progmodes/octave-inf.el (inferior-octave-mode-map):
4053 Fix C-c C-h binding.
4054 * progmodes/octave-mod.el (octave-help): Remove.
4056 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
4058 Sync with Tramp 2.2.3.
4060 * net/tramp-cache.el (top): Pacify byte-compiler using
4061 `init-file-user' and `site-run-file'.
4063 * net/trampver.el: Update release number.
4065 2011-10-23 Chong Yidong <cyd@gnu.org>
4067 * files.el (toggle-read-only): Remove obsolete comment about
4070 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4071 for toggle-read-only. Note that this hasn't called vc-next-action
4072 since 2008-05-02, though it wasn't documented at the time.
4074 * vc/ediff-init.el (ediff-toggle-read-only-function):
4075 Use toggle-read-only.
4077 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4079 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4082 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4083 correct faulty logical expression.
4084 (c-parse-state-state, c-record-parse-state-state):
4085 (c-replay-parse-state-state): New defvar/defuns.
4086 (c-debug-parse-state): Use new functions.
4088 2011-10-22 Martin Rudalics <rudalics@gmx.at>
4090 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
4091 last fix. Use window-in-direction correctly.
4093 2011-10-21 Chong Yidong <cyd@gnu.org>
4095 * progmodes/idlwave.el (idlwave-mode):
4096 * progmodes/vera-mode.el (vera-mode): No need to set
4097 require-final-newline; that's done in prog-mode.
4098 Suggested by Stefan Monnier.
4100 2011-10-21 Martin Rudalics <rudalics@gmx.at>
4102 * mouse.el (mouse-drag-window-above)
4103 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4104 (mouse-drag-mode-line-1, mouse-drag-header-line)
4105 (mouse-drag-vertical-line-rightward-window): Remove.
4106 (mouse-drag-line): New function.
4107 (mouse-drag-mode-line, mouse-drag-header-line)
4108 (mouse-drag-vertical-line): Call mouse-drag-line.
4109 * window.el (window-at-side-p, windows-at-side): New functions.
4111 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
4113 * tar-mode.el (tar-grind-file-mode):
4114 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4116 2011-10-21 Chong Yidong <cyd@gnu.org>
4118 * progmodes/idlwave.el (idlwave-mode):
4119 * progmodes/vera-mode.el (vera-mode):
4120 Use mode-require-final-newline.
4122 2011-10-20 Glenn Morris <rgm@gnu.org>
4124 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
4126 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4128 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4130 2011-10-20 Chong Yidong <cyd@gnu.org>
4132 * emulation/cua-base.el (cua-mode):
4133 * mail/footnote.el (footnote-mode):
4134 * mail/mailabbrev.el (mail-abbrevs-mode):
4135 * net/xesam.el (xesam-minor-mode):
4136 * progmodes/bug-reference.el (bug-reference-mode):
4137 * progmodes/cap-words.el (capitalized-words-mode):
4138 * progmodes/compile.el (compilation-minor-mode)
4139 (compilation-shell-minor-mode):
4140 * progmodes/gud.el (gud-tooltip-mode):
4141 * progmodes/hideif.el (hide-ifdef-mode):
4142 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4143 * progmodes/subword.el (subword-mode):
4144 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4145 * progmodes/which-func.el (which-function-mode):
4146 * term/tvi970.el (tvi970-set-keypad-mode):
4147 * term/vt100.el (vt100-wide-mode):
4148 * textmodes/flyspell.el (flyspell-mode):
4149 * textmodes/ispell.el (ispell-minor-mode):
4150 * textmodes/nroff-mode.el (nroff-electric-mode):
4151 * textmodes/paragraphs.el (use-hard-newlines):
4152 * textmodes/refill.el (refill-mode):
4153 * textmodes/reftex.el (reftex-mode):
4154 * textmodes/rst.el (rst-minor-mode):
4155 * textmodes/sgml-mode.el (html-autoview-mode)
4156 (sgml-electric-tag-pair-mode):
4157 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4158 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4159 * emulation/crisp.el (crisp-mode):
4160 * emacs-lisp/eldoc.el (eldoc-mode):
4161 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4162 minor mode behavior.
4164 2011-10-19 Juri Linkov <juri@jurta.org>
4166 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4167 the list of hard-coded chars with escape-glyph face.
4169 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4171 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4173 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
4175 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4178 2011-10-19 Glenn Morris <rgm@gnu.org>
4180 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4181 Ignore ignored files. (Bug#9726)
4183 2011-10-19 Chong Yidong <cyd@gnu.org>
4185 Doc fix for minor modes, stating that an omitted argument enables
4186 the mode unconditionally when called from Lisp.
4188 * abbrev.el (abbrev-mode):
4189 * allout.el (allout-mode):
4190 * autoinsert.el (auto-insert-mode):
4191 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4192 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4193 (global-auto-revert-mode):
4194 * battery.el (display-battery-mode):
4195 * composite.el (global-auto-composition-mode)
4196 (auto-composition-mode):
4197 * delsel.el (delete-selection-mode):
4198 * desktop.el (desktop-save-mode):
4199 * dired-x.el (dired-omit-mode):
4200 * dirtrack.el (dirtrack-mode):
4201 * doc-view.el (doc-view-minor-mode):
4202 * double.el (double-mode):
4203 * electric.el (electric-indent-mode, electric-pair-mode):
4204 * emacs-lock.el (emacs-lock-mode):
4205 * epa-hook.el (auto-encryption-mode):
4206 * follow.el (follow-mode):
4207 * font-core.el (font-lock-mode):
4208 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4209 * help.el (temp-buffer-resize-mode):
4210 * hilit-chg.el (highlight-changes-mode)
4211 (highlight-changes-visible-mode):
4212 * hi-lock.el (hi-lock-mode):
4213 * hl-line.el (hl-line-mode, global-hl-line-mode):
4214 * icomplete.el (icomplete-mode):
4215 * ido.el (ido-everywhere):
4216 * image-file.el (auto-image-file-mode):
4217 * image-mode.el (image-minor-mode):
4218 * iswitchb.el (iswitchb-mode):
4219 * jka-cmpr-hook.el (auto-compression-mode):
4220 * linum.el (linum-mode):
4221 * longlines.el (longlines-mode):
4222 * master.el (master-mode):
4223 * mb-depth.el (minibuffer-depth-indicate-mode):
4224 * menu-bar.el (menu-bar-mode):
4225 * minibuf-eldef.el (minibuffer-electric-default-mode):
4226 * mouse-sel.el (mouse-sel-mode):
4227 * msb.el (msb-mode):
4228 * mwheel.el (mouse-wheel-mode):
4229 * outline.el (outline-minor-mode):
4230 * paren.el (show-paren-mode):
4231 * recentf.el (recentf-mode):
4232 * reveal.el (reveal-mode, global-reveal-mode):
4233 * rfn-eshadow.el (file-name-shadow-mode):
4234 * ruler-mode.el (ruler-mode):
4235 * savehist.el (savehist-mode):
4236 * scroll-all.el (scroll-all-mode):
4237 * scroll-bar.el (scroll-bar-mode):
4238 * server.el (server-mode):
4239 * shell.el (shell-dirtrack-mode):
4240 * simple.el (auto-fill-mode, transient-mark-mode)
4241 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4242 (line-number-mode, column-number-mode, size-indication-mode)
4243 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4244 * strokes.el (strokes-mode):
4245 * time.el (display-time-mode):
4246 * t-mouse.el (gpm-mouse-mode):
4247 * tool-bar.el (tool-bar-mode):
4248 * tooltip.el (tooltip-mode):
4249 * type-break.el (type-break-mode-line-message-mode)
4250 (type-break-query-mode):
4251 * view.el (view-mode):
4252 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4253 (global-whitespace-mode, global-whitespace-newline-mode):
4254 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4256 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4257 Fix autogenerated docstring.
4259 2011-10-19 Juri Linkov <juri@jurta.org>
4261 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4262 by checking environment variables "DESKTOP_SESSION" and
4263 "XDG_CURRENT_DESKTOP". (Bug#9779)
4265 2011-10-19 Juri Linkov <juri@jurta.org>
4267 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4268 (browse-url-chromium-program, browse-url-chromium-arguments):
4270 (browse-url-default-browser): Check for `browse-url-chromium' and
4271 call `browse-url-chromium-program'.
4272 (browse-url-chromium): New command. (Bug#9779)
4274 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
4276 * facemenu.el (list-colors-duplicates): On Windows, detect more
4277 duplicates by assuming that only colors matching "^System" are
4278 special "system colors". (Bug#9722)
4280 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4282 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4283 to distinguish the author from the committer.
4285 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
4287 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4289 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
4291 * international/mule.el (sgml-html-meta-auto-coding-function):
4292 Add support for detecting encoding in HTML5 specified only as
4293 <meta charset="UTF-8">. Implementation just makes http-equiv and
4294 content-type parts from HTML4 encoding string optional. (Bug#9716)
4296 2011-10-18 Glenn Morris <rgm@gnu.org>
4298 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
4300 2011-10-18 Chong Yidong <cyd@gnu.org>
4302 * faces.el (cursor): Doc fix.
4304 2011-10-17 Chong Yidong <cyd@gnu.org>
4306 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4308 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
4310 * dirtrack.el (dirtrack): Support shell buffers with path
4311 prefixes, e.g. tramp-based remote shells. (Bug#9647)
4313 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
4315 * json.el: Bump version to 1.3 and note change in History.
4316 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4318 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4320 * comint.el (comint-insert-input, comint-send-input)
4321 (comint-get-old-input-default, comint-backward-matching-input)
4322 (comint-next-prompt): Use nil instead of `input' for field property of
4323 past user input (bug#114).
4325 * minibuffer.el (completion--replace): Inherit surrounding properties
4327 (minibuffer-complete-and-exit): Use it.
4329 * comint.el (comint--table-subvert): Quote the all-completions output
4332 2011-10-17 Martin Rudalics <rudalics@gmx.at>
4334 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4336 * menu-bar.el (menu-bar-file-menu): Add entry for making new
4337 window on right of selected. (Bug#9350) Reword other window
4338 entries and separate them from frame entries.
4340 2011-10-15 Glenn Morris <rgm@gnu.org>
4342 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4345 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
4347 * net/network-stream.el (network-stream-open-starttls):
4348 Improve detection of failure due to lack of TLS support.
4350 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4351 putting the input text in front and in bold.
4353 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4355 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4357 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4360 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4361 unread-command-events rather than pushing yet-another event.
4363 2011-10-14 Eli Zaretskii <eliz@gnu.org>
4365 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4366 the explanation of the possible choices. Make the options passed
4367 to completing-read shorter.
4369 2011-10-13 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
4371 * textmodes/flyspell.el (flyspell-large-region): Make sure
4372 extended character mode is used if defined (Bug#1339).
4374 2011-10-13 Eli Zaretskii <eliz@gnu.org>
4376 * simple.el (what-cursor-position): Fix the display of the
4377 character info for LRE, LRO, RLE, and RLO characters by appending
4380 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4382 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4383 even in case of error; add debug spec; simplify data flow.
4384 (with-timeout-handler): Remove.
4386 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
4388 Fix Bug#6019, Bug#9315.
4390 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4391 complete `buffer-file-name', the local file name part could look
4392 remotely (for example on VMS).
4394 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4395 `tramp-run-real-handler'.
4396 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4397 already quoted by '"'.
4399 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4400 Let `file-name-handler-alist' be nil, the local file name part
4401 could look remotely (for example on VMS).
4403 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4405 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4407 (flyspell-post-command-hook): ...to here.
4409 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4411 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4413 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
4414 using completion. Protect against "slow" callers.
4415 Remove the "message hack".
4417 2011-10-11 Juri Linkov <juri@jurta.org>
4419 * isearch.el (isearch-lazy-highlight-word): New variable.
4420 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4423 2011-10-11 Glenn Morris <rgm@gnu.org>
4425 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4426 like f90-previous-statement does.
4428 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4430 * eshell/eshell.el (eshell-command): History should be saved
4431 only in interactive use, to avoid error.
4433 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4435 * minibuffer.el (completion-file-name-table): Fix last change,
4436 i.e. ignore normal errors but not the other ones.
4438 2011-10-10 Martin Rudalics <rudalics@gmx.at>
4440 * window.el (special-display-buffer-names)
4441 (special-display-regexps): Remove some remnants of earlier
4442 changes from doc-strings.
4443 (quit-windows-on): New function.
4445 * vc/vc.el (vc-revert, vc-rollback):
4446 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4447 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
4448 (Bug#6183) (Bug#7074) (Bug#7447)
4450 2011-10-09 Martin Rudalics <rudalics@gmx.at>
4452 * window.el (frame-auto-hide-function): Add version tag.
4455 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
4457 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4460 2011-10-09 Leo Liu <sdl.web@gmail.com>
4462 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4465 2011-10-08 Glenn Morris <rgm@gnu.org>
4467 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4468 before the first code statement zero indent. (Bug#9690)
4470 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
4472 * simple.el (count-words-region): Always count in the region.
4473 Report the number of lines and characters too.
4474 (count-words): New command, which counts in the buffer if the
4475 region is inactive, as count-words-region used to.
4476 (count-words--message): New function. Handle plurals.
4477 (count-lines-region): Make it an alias for count-words-region.
4479 * bindings.el (esc-map): Replace count-lines-region with
4482 2011-10-08 Martin Rudalics <rudalics@gmx.at>
4484 * window.el (window--delete): Delete dedicated frame
4485 unconditionally when argument KILL is non-nil. (Bug#9699)
4486 (switch-to-buffer): Fix doc-string typo.
4488 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4490 * eshell/eshell.el (eshell-command): Avoid using hooks.
4492 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
4494 * bindings.el ([M-left],[M-right]): Bind to left-word and
4495 right-word respectively.
4497 2011-10-07 Glenn Morris <rgm@gnu.org>
4499 * cus-start.el (debug-on-quit): Fix custom type.
4501 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4503 * subr.el (define-key-after): Clarify that the function is not
4504 useful for non-menu keymaps.
4506 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4508 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4510 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
4511 in current minibuffer (Fix bug with recursive minibuffers).
4513 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
4515 * progmodes/gdb-mi.el (gdb): Doc fix.
4517 2011-10-05 Martin Rudalics <rudalics@gmx.at>
4519 * window.el (frame-auto-hide-function): New option replacing
4520 frame-auto-delete. Suggested by Stefan Monnier.
4521 (window--delete): Call frame-auto-hide-function instead of
4522 investigating frame-auto-delete.
4523 (window-point-1, set-window-point-1): New functions.
4524 (window-in-direction, record-window-buffer, window-state-get-1)
4525 (display-buffer-record-window): Use window-point-1 instead of
4527 (set-window-buffer-start-and-point): Use set-window-point-1.
4529 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4531 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4533 2011-10-05 Glenn Morris <rgm@gnu.org>
4535 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4536 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4538 2011-10-05 Leo Liu <sdl.web@gmail.com>
4540 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4541 works with buffer object.
4543 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4545 * mpc.el (mpc-tool-bar-map): Add labels.
4547 2011-10-04 Glenn Morris <rgm@gnu.org>
4549 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4551 2011-10-04 Martin Rudalics <rudalics@gmx.at>
4553 * window.el (window--delete): New function.
4554 (frame-auto-delete): Resuscitate option.
4555 (bury-buffer, replace-buffer-in-windows)
4556 (quit-window): Rewrite using window--delete.
4557 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4558 Pass display-buffer-mark-dedicated to window--display-buffer-2
4561 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4563 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4564 returns a list (bug#9554). Add remote file name completion.
4565 * comint.el (comint--table-subvert): Curry and get quote&unquote
4566 functions as arguments.
4567 (comint--complete-file-name-data): Adjust call accordingly.
4568 * pcomplete.el (pcomplete--table-subvert): Remove.
4569 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4571 * minibuffer.el (completion-table-case-fold): Use currying.
4572 (completion--styles-type, completion--cycling-threshold-type):
4574 (completion-styles, completion-category-overrides)
4575 (completion-cycle-threshold): Use them.
4576 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4577 completion-table-case-fold.
4579 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
4581 * minibuffer.el (completion-category-overrides): Fix type of styles
4582 and add more user friendly tags (bug#9660).
4584 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4586 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4587 (mule-input-method-string): New widget.
4588 (default-input-method, language-info-custom-alist): Use it.
4590 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4592 * pcomplete.el: Require comint.
4593 (pcomplete--common-suffix): Remove.
4594 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4595 (pcomplete--table-subvert): Sync with comint--table-subvert.
4596 (pcomplete--entries): Use comint-completion-file-name-table.
4597 * comint.el (comint-unquote-filename): Simplify.
4598 (comint-completion-file-name-table): New function (bug#9616).
4599 (comint--complete-file-name-data): Use it.
4601 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4602 (pcmpl-gnu-tar-buffer): Remove.
4603 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
4604 around. Make sure pcomplete-suffix-list is only changed temporarily.
4605 Don't look inside the tar's file if it's too large.
4607 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
4609 * cus-edit.el (custom-mode-map):
4610 * epa.el (epa-key-list-mode-map):
4611 * man.el (Man-mode-map):
4612 * startup.el (splash-screen-keymap):
4613 * simple.el (special-mode-map): Use scroll-up-command and
4614 scroll-down-command.
4616 * progmodes/idlw-help.el (idlwave-help-mode-map):
4617 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4618 * net/newst-plainview.el (newsticker-mode-map):
4619 * emulation/ws-mode.el (wordstar-mode-map):
4620 * emulation/vi.el (vi-com-map):
4621 * calc/calc-graph.el (calc-graph-show-dumb):
4622 * term/sun.el (terminal-init-sun):
4623 * term/ns-win.el (global-map):
4624 * progmodes/grep.el (grep-mode-map):
4625 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4626 * mail/rmail.el (rmail-mode-map):
4627 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4629 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4630 custom-safe-themes as special.
4632 2011-10-01 Julien Danjou <julien@danjou.info>
4634 * notifications.el (notifications-notify): Fix docstring.
4636 2011-10-01 Per Starbäck <per@starback.se>
4638 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4640 2011-09-30 Martin Rudalics <rudalics@gmx.at>
4642 * startup.el (command-line-1): Fix last fix by inserting
4643 initial-scratch-message into *scratch* before displaying it.
4644 (Bug#9605) and (Bug#9636)
4646 2011-09-29 Eli Zaretskii <eliz@gnu.org>
4648 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4649 window is hscrolled, move by logical lines. (Bug#9607)
4650 (line-move-visual): Update the doc string to the above effect.
4652 2011-09-29 Martin Rudalics <rudalics@gmx.at>
4654 * window.el (display-buffer-record-window): When WINDOW is the
4655 selected window use `point' instead of `window-point'. (Bug#9626)
4657 * startup.el (command-line-1): Use insert-before-markers when
4658 inserting initial-scratch-message. (Bug#9605)
4660 * help.el (help-window): Remove variable.
4662 2011-09-29 Glenn Morris <rgm@gnu.org>
4664 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4666 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
4668 * descr-text.el (describe-char-categories): Accept category
4669 descriptions more than one line long.
4671 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4673 * simple.el (delete-trailing-whitespace): Fix last change.
4675 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4676 Don't confuse "y => 3" as the beginning of a `y' operation.
4678 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4679 object has more than 4 slots (bug#9613).
4681 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
4683 * subr.el (with-output-to-temp-buffer):
4684 * net/quickurl.el (quickurl, quickurl-browse-url):
4685 Fix typos in docstrings.
4687 2011-09-27 Eli Zaretskii <eliz@gnu.org>
4689 * minibuffer.el (completion-styles)
4690 (completion-category-overrides): Cross reference each other in doc
4693 2011-09-27 Glenn Morris <rgm@gnu.org>
4695 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4696 to split-string. (Bug#9606)
4698 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4700 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4703 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
4705 * emacs-lisp/package.el (list-packages): Fix echo area message.
4707 2011-09-27 Leo Liu <sdl.web@gmail.com>
4709 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4711 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
4713 * net/dbus.el (dbus-unregister-object): Don't release services for
4714 registered signals. (Bug#9581)
4716 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4718 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4719 function that picks between cfengine 2 and 3 support
4720 automatically. Update docs accordingly.
4722 2011-09-22 Kenichi Handa <handa@m17n.org>
4724 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4726 (indian-itrans-v5-table-for-tamil): New variable.
4727 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4729 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4731 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4732 that's true if the current command involved collapsing of text.
4733 It's reset to false at the beginning of the next command.
4734 (allout-post-command-business): Move the cursor to the beginning
4735 of entry if the cursor is hidden and collapsing activity just
4738 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
4740 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4741 tracking (Bug#9541).
4743 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
4745 * net/newst-reader.el (newsticker-html-renderer)
4746 (newsticker-show-news): Automatically load html rendering package
4747 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4748 because w3m-fill-column is let-bound" and the error "Symbol's value
4749 as variable is void: w3m-fill-column".
4751 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
4753 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4754 Release services only if they are defined. (Bug#9581)
4756 2011-09-23 Richard Stallman <rms@gnu.org>
4758 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4759 distinguish start of paragraph from start of its text.
4761 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4763 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4764 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4765 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4767 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4769 * international/mule-diag.el (mule-diag): Insert a newline after
4770 each fontset description.
4772 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4774 * simple.el (delete-trailing-whitespace):
4775 Document last change; simplify.
4777 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4779 * simple.el (delete-trailing-whitespace): Also delete
4780 extra newlines at the end of the buffer.
4782 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4783 (picture-newline): Use forward-line so as to ignore fields.
4785 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4787 * subr.el (with-wrapper-hook): Fix edebug spec.
4789 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4791 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4794 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
4796 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4797 Fix nasty bug using wrong cached values.
4799 2011-09-23 Alan Mackenzie <acm@muc.de>
4801 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4803 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
4805 * window.el (pop-to-buffer): Ensure right window is selected if we
4806 chose another frame.
4808 2011-09-22 Eli Zaretskii <eliz@gnu.org>
4810 * simple.el (what-cursor-position): Use get-char-property-change
4811 and next-single-char-property-change, to be able to show display
4812 properties that come from overlays as well as text properties.
4814 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
4816 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4818 * cmuscheme.el (run-scheme, switch-to-scheme):
4819 * cus-edit.el (customize-group, custom-buffer-create)
4823 * mail/sendmail.el (mail):
4824 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4826 2011-09-22 Richard Stallman <rms@gnu.org>
4828 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4829 move back only to line beg, don't move back over blank lines.
4831 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
4833 * files.el (copy-directory): Set directory attributes only in case
4834 they could be retrieved from the source directory. (Bug#9565)
4836 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4838 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4839 (hs-find-block-beginning, hs-hide-level-recursive):
4840 Ignore strings as well as comments. (Bug#9502)
4842 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4844 * progmodes/sql.el (sql-comint-postgres):
4845 Convert port number to a string. (Bug#9566)
4847 2011-09-22 Martin Rudalics <rudalics@gmx.at>
4849 * window.el (quit-window): Undedicate window when switching to
4850 previous buffer. Reported by Thierry Volpiatto
4851 <thierry.volpiatto@gmail.com>.
4852 (special-display-popup-frame): When popping up a new frame reset
4853 its previous buffers to nil. Simplify code.
4855 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
4857 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4858 and process filter, as done also in `shell-command'.
4860 2011-09-21 Martin Rudalics <rudalics@gmx.at>
4862 * window.el (set-window-buffer-start-and-point):
4863 Call set-window-start with NOFORCE argument t.
4864 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4865 (quit-window): Reword doc-string. Handle new format of
4866 quit-restore parameter. Don't delete window if it has a
4867 previous buffer we can show instead of the present one.
4868 (display-buffer-record-window): Rewrite using a new format for
4869 the quit-restore window parameter
4870 (special-display-popup-frame, display-buffer-same-window)
4871 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4872 (display-buffer-pop-up-window, display-buffer-use-some-window):
4873 Adapt symbol passed to display-buffer-record-window.
4874 * help.el (help-window-setup): Handle new format of quit-restore
4877 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4879 * faces.el (face-list): Fix docstring (bug#9564).
4881 * window.el (display-buffer--action-function-custom-type):
4882 Don't include internal functions in the Custom interface.
4884 2011-09-20 Juri Linkov <juri@jurta.org>
4886 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4887 (Info-forward-node, Info-backward-node, Info-next-preorder)
4888 (Info-last-preorder): Use it. (Bug#9528)
4890 2011-09-20 Juri Linkov <juri@jurta.org>
4892 * info.el (Info-last-preorder): Visit last menu item only when
4893 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4895 2011-09-20 Julien Danjou <julien@danjou.info>
4897 * password-cache.el (password-cache-remove): Remove entries even if the
4898 value is nil, so that password with a nil value (negative caching) is
4899 possible to invalidate.
4901 2011-09-20 Lawrence Mitchell <wence@gmx.li>
4903 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4904 all whitespace around breakpoint. (Bug#9553)
4905 (f90-find-breakpoint): Only break at whitespace inside a comment.
4907 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4909 * minibuffer.el (completion-file-name-table): Keep track of errors.
4910 (completion-table-with-predicate): Handle the case where pred1 is nil.
4911 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4913 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4915 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4916 (debugger-return-value): Signal an error if the debugging context does
4917 not await any return value.
4919 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4920 * image-mode.el (image-toggle-display-text)
4921 (image-toggle-display-image): Stay away from evil `intangible'.
4923 2011-09-19 Leo Liu <sdl.web@gmail.com>
4925 * replace.el (occur-revert-arguments): Make it permanent-local.
4926 (occur-mode): Don't call font-lock-defontify.
4928 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
4930 * net/ldap.el (ldap-search-internal): Don't push empty search
4933 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4935 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4937 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
4939 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4940 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4942 2011-09-18 Juri Linkov <juri@jurta.org>
4944 * buff-menu.el (Buffer-menu-mode-map):
4945 * dired.el (dired-mode-map):
4946 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4947 (lisp-interaction-mode-map):
4948 * emacs-lisp/package.el (package-menu-mode-map):
4949 * epa.el (epa-key-list-mode-map):
4950 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4951 (menu-bar-options-menu):
4952 * outline.el (outline-mode-menu-bar-map):
4953 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4954 * vc/vc-dir.el (vc-dir-menu-map):
4955 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4956 Capitalize non-function content words in menu item strings.
4958 * dired.el (dired-mode-map): Add menu item for
4959 `image-dired-dired-toggle-marked-thumbs'.
4961 2011-09-18 Juri Linkov <juri@jurta.org>
4963 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4964 to `isearch-case-fold-search' and restore its original value
4965 after the `isearch-mode' call.
4967 2011-09-18 Juri Linkov <juri@jurta.org>
4969 * progmodes/grep.el (grep-process-setup): Don't check code for 1
4970 because `zgrep' returns 1 for successful matches (bug#9226).
4972 2011-09-18 Juri Linkov <juri@jurta.org>
4974 * info.el (Info-extract-menu-node-name): Check the second match
4975 for empty string (second test-case of bug#9528).
4976 (Info-last-preorder): Let-bind `Info-history' to nil to not add
4977 intermediate nodes to the history (first test-case of bug#9528).
4979 2011-09-18 Juri Linkov <juri@jurta.org>
4981 * info.el (Info-mode-syntax-table): New variable.
4982 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
4984 2011-09-18 Juri Linkov <juri@jurta.org>
4986 * info.el (Info-file-supports-index-cookies):
4987 Increment line-beginning-position's arg from 3 to 4 because makeinfo
4988 outputs one more line for long file names (bug#4142).
4990 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
4992 * newcomment.el (comment-normalize-vars): If prompting for
4993 comment-start, set comment-start-skip too (Bug#8424).
4995 2011-09-18 Johan Bockgård <bojohan@gnu.org>
4997 * icomplete.el: Fix previous fix of Bug#5849.
4998 (icomplete-mode): Don't set completion-show-inline-help.
4999 (icomplete-minibuffer-setup): Set completion-show-inline-help
5000 locally during icompletion.
5002 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
5004 * woman.el (woman2-process-escapes): Don't delete unrecognized
5007 * files.el (inhibit-first-line-modes-regexps): Add image files.
5008 (hack-local-variables-prop-line): Return nil for malformed
5009 prop-lines (Bug#9044).
5011 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
5013 * net/tramp.el (top): Don't require 'shell.
5014 (tramp-methods): Fix docstring.
5015 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
5016 Return complete remote file name. Handle "smb" case.
5017 Use `tramp-tmpdir', if defined for the respective method.
5018 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5020 * net/tramp-compat.el (top): Require 'shell.
5022 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5023 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5024 `tramp-current-host'.
5025 (tramp-get-remote-tmpdir): Remove.
5027 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5028 `tramp-tmpdir' entries.
5029 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5030 (tramp-smb-handle-file-attributes): Ignore errors.
5031 (tramp-smb-wait-for-output): Check also for process end.
5033 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5035 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5036 when sending QUIT (bug#9312).
5038 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
5040 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5041 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5042 occur-mode-display-occurrence.
5043 (occur-edit-mode): Add usage message.
5044 (occur-cease-edit): New command.
5045 (occur-after-change-function): Use text properties to find the
5046 position of the prefix text.
5047 (occur-engine): Set stickiness of prefix text properties.
5049 2011-09-17 Glenn Morris <rgm@gnu.org>
5051 * progmodes/etags.el (complete-tag):
5052 Fix call to completion-in-region. (Bug#9526)
5054 2011-09-17 Juri Linkov <juri@jurta.org>
5056 * textmodes/ispell.el (ispell-word): Add to the error message
5057 the word, ispell program name and current dictionary (bug#9121).
5058 (ispell-tex-arg-end): Capitalize "error" in the error message.
5060 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5062 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5065 2011-09-17 Juri Linkov <juri@jurta.org>
5067 * window.el (window-safe-min-height, window-safe-min-width):
5068 Fix typos (followup to bug#9522).
5070 2011-09-17 Sven Joachim <svenjoac@gmx.de>
5072 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5074 2011-09-16 Eli Zaretskii <eliz@gnu.org>
5076 * simple.el (line-move): If goal-column is set, move by logical
5077 lines, not by display lines. (Bug#971)
5078 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5079 to reflect the above change.
5081 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5083 * image.el (imagemagick-register-types): Use regexp-opt.
5085 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
5087 * window.el (display-buffer-base-action): Rename from
5088 display-buffer-default-action. Make default value empty.
5089 (display-buffer-overriding-action): Convert to defvar.
5090 (display-buffer-fallback-action): New var.
5092 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
5094 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5096 (package--add-to-archive-contents): If there is a duplicate entry
5097 with an older version, remove it.
5098 (package-menu-mark-delete, package-menu-mark-install)
5099 (package-menu-mark-unmark): Make unused args optional.
5100 (package-menu-mark-obsolete-for-deletion):
5101 Use package-menu-get-status instead of a regexp search.
5102 (package-menu-get-status): Use tabulated-list-entry.
5103 (package-menu-mark-upgrades): New command.
5104 (package-menu-mode-map): Bind it to U. Add it to menu bar.
5105 (package-menu-execute): Do installation before deletion.
5106 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5107 instead of checking major-mode.
5108 (package-menu--find-upgrades): New function.
5110 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5112 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5113 passwords in the log buffer.
5114 (smtpmail-process-filter): Update the process marker so that the
5115 "broken by peer" status message is inserted in the right place.
5117 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5119 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5120 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5121 bibtex-completion-at-point-function.
5122 (bibtex-completion-at-point-function): Use them.
5124 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5126 * mpc.el (mpc-constraints-tag-lookup): New function.
5127 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5128 also to browser "album|playlist".
5130 2011-09-14 Juri Linkov <juri@jurta.org>
5132 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5133 (isearch-edit-string): Use length of `isearch-string' when
5134 `isearch-fail-pos' returns nil.
5135 (isearch-message): Remove duplicate code and call
5136 `isearch-fail-pos' with arg `t'.
5138 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
5140 * replace.el (occur-mode-goto-occurrence): Don't force using other
5143 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5145 2011-09-14 Martin Rudalics <rudalics@gmx.at>
5147 * window.el (display-buffer-window): Remove.
5148 (display-buffer-record-window): Use help-setup window parameter
5149 instead of variable display-buffer-window.
5150 (display-buffer-function, special-display-buffer-names)
5151 (special-display-function): Mention help-setup parameter instead
5152 of display-buffer-window in doc-string.
5153 * help.el (help-window-setup): New argument help-window.
5154 Use help-window-setup parameter instead of display-buffer-window.
5155 Reword some messages.
5156 (with-help-window): Pass window used for displaying the buffer
5157 to help-window-setup. Don't set display-buffer-window.
5159 2011-09-13 Glenn Morris <rgm@gnu.org>
5161 * emacs-lisp/debug.el (debugger-make-xrefs):
5162 Preserve point. (Bug#9462)
5164 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
5166 * window.el (window-deletable-p): Use next-frame.
5168 2011-09-13 Martin Rudalics <rudalics@gmx.at>
5170 * window.el (window-auto-delete): Remove.
5171 (window-deletable-p): Remove argument FORCE. Don't deal with
5172 dedication and previous buffers.
5173 (switch-to-prev-buffer): Don't delete window.
5174 (delete-windows-on): Delete a window's frame if and only if the
5175 window is dedicated.
5176 (replace-buffer-in-windows): Delete buffer's window or frame if
5177 and only if window is dedicated.
5178 (quit-window): Handle quit-restore as before last change.
5179 (bury-buffer): Delete window only if window-deletable-p returns t.
5181 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
5183 * window.el (window-deletable-p): Never delete the last frame on a
5186 2011-09-13 Glenn Morris <rgm@gnu.org>
5188 * help.el (describe-key-briefly): Copy previous standard-output change.
5190 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
5192 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5194 2011-09-13 Glenn Morris <rgm@gnu.org>
5196 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5197 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5199 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
5201 * dired-aux.el (dired-mark-read-string): Don't return default
5202 value on empty input (Bug#9361).
5203 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5204 Omit initial minibuffer contents.
5205 (dired-do-chmod): Signal an error on empty input.
5206 (dired-mark-read-string): Don't return default on empty input.
5208 * files.el (file-modes-symbolic-to-number): Doc fix.
5210 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5212 * international/mule-cmds.el (ucs-completions): Remove.
5213 (read-char-by-name): Use complete-with-action instead; add metadata.
5215 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
5217 * window.el (display-buffer--action-function-custom-type)
5218 (display-buffer--action-custom-type): New vars.
5219 (display-buffer-alist, display-buffer-default-action)
5220 (display-buffer-overriding-action): Add defcustom types.
5222 * frame.el (delete-other-frames): Doc fix (Bug#276).
5224 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5226 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5228 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
5230 Change modes that used same-window-* vars to use switch-to-buffer.
5232 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5233 Use switch-to-buffer.
5235 * cus-edit.el (customize-group, custom-buffer-create)
5236 (customize-browse, custom-buffer-create-other-window):
5237 Use switch-to-buffer or switch-to-buffer-other-window.
5239 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5240 (Info-prev, Info-up, Info-speedbar-goto-node)
5241 (info-display-manual): Use switch-to-buffer.
5242 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5244 * mail/sendmail.el (mail): Use switch-to-buffer.
5245 (mail-recover): Use switch-to-buffer-other-window.
5247 * cmuscheme.el (run-scheme, switch-to-scheme):
5250 * net/rlogin.el (rlogin):
5251 * net/telnet.el (telnet, rsh):
5252 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5254 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5256 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5258 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5260 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5261 so don't mention it (bug#9301).
5262 (dired-sort-toggle-or-edit): Clarify string further.
5264 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5265 match `x', `w32' and `ns', like the manual says (bug#9029).
5267 * subr.el (eval-after-load): Doc string clarification (bug#9125).
5268 (process-kill-buffer-query-function): Mention the buffer name in
5271 * image-mode.el (image-next-line): The line parameter is mandatory
5274 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5275 which can be useful (bug#9301).
5277 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5279 * subr.el (match-string): Mention that the current buffer should
5280 be the same as the search was done in (bug#9282).
5282 * facemenu.el: Disable the remove-* commands if the mark isn't
5285 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
5287 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5289 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5291 * replace.el (occur-mode-goto-occurrence)
5292 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5295 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5298 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5299 special-display and same-window variables.
5300 (mail-other-window): Use switch-to-buffer-other-window.
5301 (mail-other-frame): USe switch-to-buffer-other-frame.
5303 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5304 Use display-buffer-other-frame.
5305 (gdb-display-gdb-buffer): Use pop-to-buffer.
5307 * progmodes/gud.el (gud-goto-info): Use info-other-window.
5309 * progmodes/python.el: Don't set same-window-buffer-names.
5311 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5313 * window.el (display-buffer-alist): Add *Python*.
5315 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
5317 * window.el (display-buffer-alist): Add entry for buffers
5318 previously handled same-window-*.
5319 (display-buffer-alist, display-buffer-default-action)
5320 (display-buffer-overriding-action): Mark as risky.
5321 (display-buffer-alist): Document action function changes.
5322 (display-buffer--same-window-action)
5323 (display-buffer--other-frame-action): New variables.
5324 (switch-to-buffer, display-buffer-other-frame): Use them.
5325 (display-buffer): Rename reuse-frame entry to reusable-frames.
5326 (display-buffer-reuse-selected-window): Function deleted.
5327 (display-buffer-reuse-window): Handle reusable-frames alist entry.
5328 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5329 (display-buffer-special): New function.
5330 (display-buffer--maybe-pop-up-frame-or-window): Rename from
5331 display-buffer-reuse-or-pop-window. Split off special-display
5332 part into display-buffer-special.
5333 (display-buffer-use-some-window): Don't perform any special
5334 pop-up-frames handling.
5335 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
5336 (display-buffer--maybe-same-window): Rename from
5337 display-buffer-maybe-same-window.
5339 * info.el: Don't set same-window-regexps.
5340 (info-setup): New function.
5341 (info-other-window, info): Call it.
5343 * cus-edit.el: Don't set same-window-regexps.
5344 (customize-group): New argument.
5345 (customize-group-other-window): Use it.
5346 (customize-face, customize-face-other-window): Likewise.
5347 (custom-buffer-create-other-window): Use pop-to-buffer directly.
5351 * progmodes/gud.el: Don't set same-window-regexps.
5357 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5359 2011-09-10 Juri Linkov <juri@jurta.org>
5361 * isearch.el (isearch-edit-string): Remove obsolete mention of
5362 `C-w' (`isearch-yank-word-or-char') from docstring.
5363 (isearch-query-replace): Fix typo in docstring (bug#9466).
5365 2011-09-10 Juri Linkov <juri@jurta.org>
5367 * paren.el (show-paren-function): Don't show escaped parens.
5368 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5370 2011-09-10 Eli Zaretskii <eliz@gnu.org>
5372 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5373 (mm-default-file-encoding): Remove autoload forms, they are
5374 replaced with autoload cookies in mml.el and mm-encode.el.
5375 (mail-add-attachment): New command.
5376 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5377 (mail-mode): Mention mail-insert-file and mail-add-attachment in
5379 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5381 2011-09-10 Reuben Thomas <rrt@sc3d.org>
5383 * simple.el (count-words-region): Use buffer if there's no region
5386 2011-09-09 Juri Linkov <juri@jurta.org>
5388 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5389 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5390 (wdired-isearch-filter-read-only): New function. (Bug#6362)
5392 2011-09-09 Alan Mackenzie <acm@muc.de>
5394 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5395 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
5397 2011-09-09 Eli Zaretskii <eliz@gnu.org>
5399 Fix for Savannah bug#9392.
5400 * simple.el (mail-encode-mml): New defvar.
5402 * mail/rmail.el (mail-encode-mml): Add a defvar.
5403 (rmail-enable-mime-composing): Default to t.
5404 (rmail-forward): Use MIME method of forwarding only if both
5405 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5406 Set mail-encode-mml non-nil if the MIME method was used.
5408 * mail/sendmail.el (mml-to-mime): Add autoload form.
5409 (mail-encode-mml): Add a defvar.
5410 (mail-mode): Make mail-encode-mml buffer-local and initialize it
5412 (mail-send): If mail-encode-mml is non-nil, run the outgoing
5413 message through mml-to-mime, and reset mail-encode-mml to nil.
5415 2011-09-09 Glenn Morris <rgm@gnu.org>
5417 * woman.el (woman-if-body): When processing an .el block,
5418 do not delete the next .el block as well. (Bug#9447)
5419 (woman-special-characters): Add oq, cq, and hy characters.
5421 2011-09-08 Martin Rudalics <rudalics@gmx.at>
5423 * window.el (window-deletable-p): Make sure window is live before
5424 invoking window-prev-buffers.
5426 2011-09-08 Leo Liu <sdl.web@gmail.com>
5428 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5430 2011-09-08 Juri Linkov <juri@jurta.org>
5432 * progmodes/compile.el (compilation-environment): Make it
5433 a defcustom (bug#8340).
5435 2011-09-08 Martin Rudalics <rudalics@gmx.at>
5437 * window.el (frame-auto-delete): Rename to window-auto-delete.
5438 Make it control auto-deletion of windows and/or frames.
5439 (window-deletable-p): New argument FORCE. Rewrite conditions
5440 for deleting window/frame. (Bug#9419)
5441 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5442 Rewrite handling of case when window/frame can be deleted.
5443 (delete-windows-on): Call window-deletable-p with new FORCE
5444 argument t. (Bug#9456)
5446 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
5448 * help-mode.el (help-mode): Restore autoload.
5450 2011-09-07 Juri Linkov <juri@jurta.org>
5452 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5453 `compilation-environment'. Set buffer-local
5454 `compilation-environment' to `thisenv' later after (funcall mode).
5457 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
5458 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5459 instead of replacing its value. (Bug#8340)
5461 2011-09-07 Juri Linkov <juri@jurta.org>
5463 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5464 based on text properties put by `grep-filter' instead of matching
5466 (grep-mode): Set buffer-local `compilation-error-screen-columns'
5467 to the value of `grep-error-screen-columns' (bug#9438).
5469 2011-09-07 Juri Linkov <juri@jurta.org>
5471 * simple.el (next-error-highlight, next-error-highlight-no-select):
5474 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5476 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5477 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
5479 2011-09-07 Leo Liu <sdl.web@gmail.com>
5481 * net/rcirc.el (rcirc-mode): Conditionally initialize
5484 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5486 * emacs-lisp/find-func.el (find-function-C-source): Only set
5487 find-function-C-source-directory after checking that we found a source
5488 file there (bug#9440).
5490 2011-09-06 Alan Mackenzie <acm@muc.de>
5492 * isearch.el (isearch-other-meta-char): Wherever a key list is
5493 unread, "unread" the prefix arg, too. This fixes bug #8901.
5495 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5497 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5499 2011-09-05 Juri Linkov <juri@jurta.org>
5501 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5503 2011-09-05 Juri Linkov <juri@jurta.org>
5505 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5506 keeping point where processing of grep matches begins, and
5507 continue to delete remaining escape sequences from the same point.
5508 (grep-filter): Make leading zero optional in "0?1;31m" because
5509 git-grep emits "\033[1;31m" escape sequences unlike expected
5510 "\033[01;31m" as GNU Grep does (bug#9408).
5511 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5513 2011-09-05 Juri Linkov <juri@jurta.org>
5515 * subr.el (y-or-n-p): Capitalize "yes".
5517 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
5519 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
5520 `tramp-cache-unload-hook' where appropriate.
5521 (tramp-methods): Rename `tramp-remote-sh' to
5522 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5523 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5525 * net/tramp-sh.el (top): Don't require 'shell.
5526 (tramp-methods): Add `tramp-remote-shell' and
5527 `tramp-remote-shell-args' entries.
5528 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5529 (tramp-sh-handle-shell-command): Remove.
5530 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5531 Use `tramp-remote-shell'.
5533 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
5535 * mail/sendmail.el (sendmail-query-once-function): Delete.
5536 (sendmail-query-once): Save directly to send-mail-function.
5537 Update message-send-mail-function too.
5539 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5541 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5543 * progmodes/python.el (python-mode-map): Use correct function to
5544 start python interpreter from menu-bar (as reported by Geert
5546 (inferior-python-mode-map): Fix typo.
5547 (python-shell-map): Remove.
5549 2011-09-03 Deniz Dogan <deniz@dogan.se>
5551 * net/rcirc.el (rcirc-print): Simplify code for
5552 rcirc-scroll-show-maximum-output. There is no need to walk
5553 through all windows to find the right one.
5555 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5557 * help.el (help-return-method): Doc fix.
5559 2011-09-03 Martin Rudalics <rudalics@gmx.at>
5561 * window.el (window-deletable-p): Don't return a non-nil value
5562 when there's a buffer that was shown in the window before.
5564 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5565 Set window's previous buffers to nil.
5567 2011-09-03 Eli Zaretskii <eliz@gnu.org>
5569 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5570 newline before and after the tag line, so it doesn't interfere
5571 with determining the paragraph direction of bidirectional text.
5573 2011-09-03 Leo Liu <sdl.web@gmail.com>
5575 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5577 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
5579 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
5580 (pop-to-buffer): Change interactive spec. Pass second argument
5581 directly to display-buffer.
5582 (display-buffer): Fix interactive spec. Use functionp to
5583 distinguish between a function and a list of functions.
5585 * abbrev.el (edit-abbrevs):
5586 * arc-mode.el (archive-extract):
5587 * autoinsert.el (auto-insert):
5588 * bookmark.el (bookmark-bmenu-list):
5589 * files.el (find-file):
5590 * view.el (view-buffer):
5591 * progmodes/compile.el (compilation-goto-locus):
5592 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5594 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
5596 * window.el (display-buffer-alist): Doc fix.
5597 (display-buffer): Add docstring. Don't treat
5598 display-buffer-default specially.
5599 (display-buffer-reuse-selected-window)
5600 (display-buffer-same-window, display-buffer-maybe-same-window)
5601 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5602 (display-buffer-pop-up-window)
5603 (display-buffer-reuse-or-pop-window)
5604 (display-buffer-use-some-window): New functions.
5605 (display-buffer-default-action): Use them.
5606 (display-buffer-default): Delete.
5607 (pop-to-buffer-1): Fix choice of actions.
5609 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5611 * minibuffer.el (completion--insert-strings): Don't get confused by
5612 completion entries that end with an LF char.
5614 2011-09-01 Eli Zaretskii <eliz@gnu.org>
5616 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5618 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
5620 * window.el (display-buffer): Restore interactive spec.
5621 (display-buffer-same-window, display-buffer-other-window):
5623 (pop-to-buffer-1): New function. Use the above.
5624 (pop-to-buffer, pop-to-buffer-same-window): Use it.
5625 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
5627 * view.el (view-buffer-other-window, view-buffer-other-frame):
5628 Just use pop-to-buffer.
5630 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5632 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5634 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5636 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5638 2011-08-31 Richard Stallman <rms@gnu.org>
5640 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5641 of the separation of rmail-view-buffer from rmail-buffer.
5642 If you say no to "replace original", the decrypt is in the
5643 view buffer. If you say yes, the decrypt goes into the
5646 2011-08-31 Martin Rudalics <rudalics@gmx.at>
5648 * window.el (display-buffer-window): Rewrite doc-string.
5649 (display-buffer-record-window): New function.
5650 (display-buffer-macro-specifiers)
5651 (display-buffer-even-window-sizes, display-buffer-set-height)
5652 (display-buffer-set-width, display-buffer-in-window)
5653 (display-buffer-reuse-window, display-buffer-split-specifiers)
5654 (display-buffer-side-specifiers, display-buffer-split-window-1)
5655 (display-buffer-split-window, display-buffer-split-atom-window)
5656 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5657 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5658 (display-buffer-other-window-means-other-frame)
5659 (display-buffer-normalize-special)
5660 (display-buffer-normalize-default)
5661 (display-buffer-normalize-argument)
5662 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5663 (display-buffer-normalize-specifiers, display-buffer-frame)
5664 (display-buffer-same-window, display-buffer-same-frame)
5665 (display-buffer-other-window)
5666 (display-buffer-same-frame-other-window)
5667 (display-buffer-other-frame, pop-to-buffer-same-window)
5668 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5669 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5670 (switch-to-buffer-same-frame)
5671 (switch-to-buffer-other-window-same-frame)
5672 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5673 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5674 (display-buffer-alist-set): Remove.
5675 (display-buffer-function, special-display-buffer-names)
5676 (special-display-regexps, special-display-function):
5677 In doc-string refer to display-buffer-window and quit-restore
5679 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5680 (special-display-frame-alist, special-display-popup-frame)
5681 (same-window-buffer-names, same-window-regexps, same-window-p)
5682 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5683 (split-window-preferred-function, split-height-threshold)
5684 (split-width-threshold, window-splittable-p)
5685 (split-window-sensibly, window--try-to-split-window)
5686 (window--frame-usable-p, even-window-heights)
5687 (window--even-window-heights, window--display-buffer-1)
5688 (window--display-buffer-2, display-buffer-other-frame):
5689 Restore old Emacs 23 code, order and doc-strings where applicable.
5690 (display-buffer-default, display-buffer-assq-regexp): New functions.
5691 (display-buffer-alist): Rewrite doc-string.
5692 (display-buffer-default-action)
5693 (display-buffer-overriding-action): New variables.
5694 (display-buffer, switch-to-buffer): Rewrite.
5695 (pop-to-buffer): Restore Emacs 23 behavior but use
5696 window-normalize-buffer-to-display.
5697 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5698 Restore Emacs 23 behavior but use
5699 window-normalize-buffer-to-switch-to.
5700 (pop-to-buffer-same-window): Rewrite.
5701 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5702 Rewrite using Emacs 23 options.
5704 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
5706 * net/tramp.el (tramp-root-regexp): Remove.
5707 (tramp-completion-file-name-regexp-unified)
5708 (tramp-completion-file-name-regexp-separate)
5709 (tramp-completion-file-name-regexp-url): Don't use leading volume
5710 letter on win32 systems. (Bug#5303, Bug#9311)
5711 (tramp-drop-volume-letter): Simplify definition.
5712 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5714 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5716 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5719 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5721 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5723 2011-08-29 Juri Linkov <juri@jurta.org>
5725 * isearch.el (isearch-done): Don't display message "Mark saved"
5726 when arg `edit' is non-nil to prevent its flicker in the echo area.
5728 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
5730 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5731 obsolete packages for deletion.
5733 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5735 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5736 (help-mode): Derive help-mode from special-mode. Don't invoke
5737 view-mode from help-mode.
5738 (help-xref-override-view-map): Remove.
5739 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5740 view-mode is not used anymore.
5742 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
5744 * server.el (server-port): Doc fix.
5746 * cus-theme.el (custom-theme-choose-mode): Inherit from
5747 special-mode (Bug#9124).
5748 (custom-theme-choose-mode-map): Add special-mode to parent.
5750 2011-08-28 Alan Mackenzie <acm@muc.de>
5752 * progmodes/cc-fonts.el
5753 (c-make-font-lock-BO-decl-search-function): New function.
5754 (c-basic-matchers-after - "Fontify the clauses after various
5755 keywords"): Extract the three keyword lists for the 3 erroneous
5756 constructs from the list of four, and use the new function above
5757 in place of an old one.
5759 2011-08-28 Deniz Dogan <deniz@dogan.se>
5761 * net/rcirc.el (rcirc-insert-prev-input)
5762 (rcirc-insert-next-input): Remove unused argument.
5764 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5766 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5768 2011-08-27 Alan Mackenzie <acm@muc.de>
5770 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5771 handle function pointer parameters properly.
5773 2011-08-27 Martin Rudalics <rudalics@gmx.at>
5775 * window.el (display-buffer-reuse-window): Fix case where
5776 selected window was reused with non-nil OTHER-WINDOW argument.
5779 2011-08-27 Deniz Dogan <deniz@dogan.se>
5781 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5782 oftc's NickServ messages.
5784 2011-08-27 Glenn Morris <rgm@gnu.org>
5786 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5788 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
5790 * emacs-lisp/package.el (package-install): Call package-initialize
5791 if called interactively.
5793 2011-08-26 Leo Liu <sdl.web@gmail.com>
5795 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5797 2011-08-25 Juri Linkov <juri@jurta.org>
5799 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5800 `search-whitespace-regexp' (bug#9364).
5802 2011-08-25 Juri Linkov <juri@jurta.org>
5804 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5805 `regexp-search-ring' to their global values to protect from
5806 updating by `read-from-minibuffer' (bug#9185).
5808 2011-08-25 Juri Linkov <juri@jurta.org>
5810 * textmodes/ispell.el (ispell-command-loop): Add newline
5811 at the end of the "Use option `i'..." line.
5813 2011-08-25 Juri Linkov <juri@jurta.org>
5815 * battery.el (display-battery-mode): If `battery-status-function'
5816 or `battery-mode-line-format' is nil, display the message and set
5817 `display-battery-mode' to nil (bug#9363).
5819 2011-08-25 Eli Zaretskii <eliz@gnu.org>
5821 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5822 bidi-string-mark-left-to-right; they are unnecessary now.
5824 2011-08-25 Deniz Dogan <deniz@dogan.se>
5826 * net/quickurl.el: Documentation typo fixes.
5828 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
5830 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5832 2011-08-25 Glenn Morris <rgm@gnu.org>
5834 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5836 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5837 (smtpmail-via-smtp): Handle nil response from smtp.
5839 2011-08-24 Juri Linkov <juri@jurta.org>
5841 * proced.el (proced-marked): Inherit from `error' instead of
5842 `font-lock-warning-face'.
5844 * ibuffer.el (ibuffer-marked-face): Change default face from
5845 `font-lock-warning-face' to `warning'.
5846 (ibuffer-deletion-face): Change default face from
5847 `font-lock-type-face' to `error'.
5849 * battery.el (battery-update): Use the face `error' instead of
5850 `font-lock-warning-face' (bug#6117).
5852 2011-08-24 Juri Linkov <juri@jurta.org>
5854 * faces.el (success): Change face color from "Green3" to
5855 "ForestGreen" on light background (bug#9353).
5857 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
5859 * window.el (quit-window): Rename from quit-restore-window.
5860 Use same arglist as old quit-window.
5861 (frame-auto-delete): Doc fix.
5863 * view.el (view-mode-exit): Use quit-window.
5865 2011-08-24 Juri Linkov <juri@jurta.org>
5867 * isearch.el (isearch-ring-adjust1): Start visiting previous
5868 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5869 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5870 for empty search string (when the last search string is reused
5871 automatically) to adjust the isearch ring to the last element and
5872 prepare the correct index for further M-p commands (bug#9185).
5874 2011-08-24 Kenichi Handa <handa@m17n.org>
5876 * international/ucs-normalize.el: If decomposition property of
5877 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5879 (nfd, nfkd): Likewise.
5881 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5883 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5884 from process filters aren't reliably transmitted to the surrounding
5885 accept-process-output.
5886 (mpc-proc-check): New function.
5887 (mpc-proc-sync): Use it (bug#8293)
5889 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5891 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5892 Add compatibility functions (bug#9313).
5894 2011-08-23 Eli Zaretskii <eliz@gnu.org>
5896 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5898 * international/uni-bidi.el: Regenerate.
5900 2011-08-23 Kenichi Handa <handa@m17n.org>
5902 * international/charprop.el:
5903 * international/uni-bidi.el:
5904 * international/uni-category.el:
5905 * international/uni-combining.el:
5906 * international/uni-comment.el:
5907 * international/uni-decimal.el:
5908 * international/uni-decomposition.el:
5909 * international/uni-digit.el:
5910 * international/uni-lowercase.el:
5911 * international/uni-mirrored.el:
5912 * international/uni-name.el:
5913 * international/uni-numeric.el:
5914 * international/uni-old-name.el:
5915 * international/uni-titlecase.el:
5916 * international/uni-uppercase.el: Regenerate.
5918 2011-08-23 Martin Rudalics <rudalics@gmx.at>
5920 * help.el (help-window-setup): Fix message displayed when other
5921 window is reused. (Bug#9341)
5923 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5925 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5926 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5928 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5930 * shell.el (shell-parse-pcomplete-arguments): New function.
5931 (shell-completion-vars): Use it instead (bug#9160).
5933 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5935 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5936 strings and comments (bug#9333).
5938 * emacs-lisp/debug.el (debug-arglist): New function.
5939 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
5940 (debug-on-entry-1): Handle interpreted closures (bug#9120).
5942 2011-08-22 Juri Linkov <juri@jurta.org>
5944 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5945 Revert regexp that highlights output switches to its old
5946 pre-2010-10-28 value and remove one `?' from it (bug#9319).
5948 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5949 to check for empty output (bug#9226).
5951 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
5953 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5954 symbol-constituent as the default, as that stops font-lock from
5955 working properly (Bug#8843).
5957 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5959 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5960 `coding-system-for-*' around the process open call to avoid
5961 auth-source side effects.
5962 (smtpmail-try-auth-methods): Expand the secret password.
5963 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5966 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
5968 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5970 * emacs-lisp/find-func.el (find-function-noselect): New arg
5973 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5974 signal an error for built-in functions (Bug#6664).
5976 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5978 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5979 (smtpmail-try-auth-methods): Use it.
5981 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
5983 * font-lock.el (font-lock-fontify-region)
5984 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5985 (font-lock-default-unfontify-buffer)
5986 (font-lock-default-fontify-region)
5987 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5989 * progmodes/compile.el (compilation-error-properties):
5990 Fix confusion between file struct and message struct (Bug#9319).
5991 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5994 * net/browse-url.el (browse-url-firefox): Don't call
5995 browse-url-firefox-sentinel unless using -remote (Bug#9328).
5997 2011-08-20 Glenn Morris <rgm@gnu.org>
5999 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6001 * tutorial.el (tutorial--default-keys): Update some default bindings.
6003 * files.el (hack-local-variables): Fully ignore case for "mode:".
6005 2011-08-20 Alan Mackenzie <acm@muc.de>
6007 Resolve invalid use of a regexp in regexp-opt.
6009 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6010 detection for a java annotation.
6012 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
6013 detection for a java annotation.
6015 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6017 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6019 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
6021 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6024 2011-08-20 Alan Mackenzie <acm@muc.de>
6026 Fontify CPP expressions correctly when starting in the middle of
6027 such a construct. Mainly for when jit-lock etc. starts a chunk
6030 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
6032 (c-make-font-lock-search-form): New function, extracted from
6033 c-make-font-lock-search-function.
6034 (c-make-font-lock-search-function): Use the above function.
6035 (c-make-font-lock-context-search-function): New function.
6036 (c-cpp-matchers): Enhance the preprocessor expression case with
6038 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6039 which takes an expression.
6041 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6043 2011-08-20 Martin Rudalics <rudalics@gmx.at>
6045 * window.el (display-buffer-reuse-window)
6046 (display-buffer-pop-up-window): Don't reuse or split a side
6049 2011-08-19 Glenn Morris <rgm@gnu.org>
6051 * files.el (hack-local-variables-prop-line, hack-local-variables):
6052 Downcase "Mode:". (Bug#9331)
6054 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
6056 * international/characters.el: Add L and R categories.
6058 * subr.el (bidi-string-mark-left-to-right): Rename from
6059 string-mark-left-to-right. Use category search.
6061 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6063 2011-08-18 Juri Linkov <juri@jurta.org>
6065 * faces.el (error, warning, success): New faces with definitions
6066 copied from old default values of `font-lock-warning-face',
6067 `compilation-warning', `compilation-info' (bug#6117).
6069 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6071 * progmodes/compile.el (compilation-error): Inherit from `error'.
6072 (compilation-warning): Inherit from `warning'.
6073 (compilation-info): Inherit from `success'.
6075 * dired.el (dired-marked): Inherit from `warning'.
6076 (dired-flagged): Inherit from `error'.
6078 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6080 * mail/smtpmail.el (auth-source): Require to avoid problems with
6081 binding variables (bug#9298). Also clean up some unused
6084 * net/network-stream.el (network-stream-open-starttls):
6085 Support using starttls.el without using gnutls-cli.
6087 2011-08-17 Juri Linkov <juri@jurta.org>
6089 * progmodes/grep.el (rgrep): Handle the case when
6090 `grep-find-command' is a cons cell (bug#9278).
6092 2011-08-17 Martin Rudalics <rudalics@gmx.at>
6094 * window.el (display-buffer-pop-up-frame): Run frame creation
6095 function with BUFFER current (as special-display-popup-frame
6096 does). Reported by Drew Adams.
6098 2011-08-17 Daiki Ueno <ueno@unixuser.org>
6100 * epa-mail.el: Simplify GnuPG group expansion using
6102 (epa-mail-group-alist, epa-mail-group-modtime)
6103 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6104 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6105 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6108 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
6110 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6112 2011-08-16 Alan Mackenzie <acm@muc.de>
6114 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6115 Correct, to avoid the inside of macros.
6117 2011-08-16 Richard Stallman <rms@gnu.org>
6119 * epa-mail.el: Handle GnuPG group definitions.
6120 (epa-mail-group-alist, epa-mail-group-modtime)
6121 (epa-mail-gnupg-conf-file): New variables.
6122 (epa-mail-parse-groups, epa-mail-sync-groups)
6123 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6124 (epa-mail-expand-recipients): New functions.
6125 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6127 * mail/rmail.el (rmail-epa-decrypt): New command.
6129 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6130 Don't bind buffer-read-only, just inhibit-read-only.
6131 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6132 (epa-decrypt-armor-in-region): Make error message clearer.
6134 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6136 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6137 and "a2b" to "ab" for `prefix'.
6139 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
6141 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6143 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6144 Fourquet (Bug#8804).
6146 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
6148 * startup.el (argi): Declare as global variable (bug#9275).
6150 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
6152 * subr.el (string-mark-left-to-right): Search the entire string
6153 for RTL script, not just the terminating character. Doc fix.
6155 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6157 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6159 (js--regexp-literal, js-syntax-propertize-function): Remove.
6160 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6161 (js-mode-map): Don't rebind electric keys.
6162 (js-insert-and-indent): Remove.
6163 (js-mode): Setup electric-layout and electric-indent instead.
6165 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6167 2011-08-12 Daiki Ueno <ueno@unixuser.org>
6169 * epa.el (epa-progress-callback-function): Fix the logic of
6170 displaying progress.
6171 * epa-file.el (epa-file-insert-file-contents): Make progress
6172 display more user-friendly.
6173 (epa-file-write-region): Ditto.
6175 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
6177 * subr.el (string-mark-left-to-right): New function.
6179 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6180 Use string-mark-left-to-right.
6181 (list-buffers-noselect): Caller changed.
6183 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6184 Use string-mark-left-to-right.
6185 (tabulated-list-print): Recenter after moving point.
6187 2011-08-10 Juri Linkov <juri@jurta.org>
6189 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6190 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6191 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6193 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
6195 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6198 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
6200 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6201 character. (Bug#6594)
6203 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
6205 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6206 (image-dired--with-db-file): New macro.
6207 (image-dired-write-tags, image-dired-remove-tag)
6208 (image-dired-create-gallery-lists, image-dired-write-comments)
6209 (image-dired-get-comment, image-dired-mark-tagged-files)
6210 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6211 (image-dired-gallery-generate): Use insert-file-contents.
6213 * time.el (display-time-world-list, display-time-world-display):
6214 * time-stamp.el (time-stamp-string):
6215 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6216 set-time-zone-rule (Bug#7337).
6218 2011-08-08 Daiki Ueno <ueno@unixuser.org>
6220 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6221 (epg-error-to-string, epg-errors-to-string): New function.
6222 (epg-wait-for-completion): Reverse errors list.
6223 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6224 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6225 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6226 (epg-sign-keys, epg-generate-key-from-file)
6227 (epg-generate-key-from-string): Format errors by using
6228 epg-errors-to-string (bug#9255).
6229 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6231 2011-08-07 Juri Linkov <juri@jurta.org>
6233 * faces.el (list-faces-display): Remove extra angle bracket
6234 from `help-mode-map'.
6236 * info.el (Info-history-toc-nodes): Doc fix.
6238 * longlines.el (longlines-mode): Doc fix.
6240 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6242 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6243 of statements and in a few more cases (bug#9183).
6245 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6247 (cl-transform-lambda): Use them (bug#9239).
6249 2011-08-05 Martin Rudalics <rudalics@gmx.at>
6251 * window.el (display-buffer-same-window)
6252 (display-buffer-same-frame, display-buffer-other-window)
6253 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6254 (pop-to-buffer-other-window)
6255 (pop-to-buffer-same-frame-other-window)
6256 (pop-to-buffer-other-frame): Make them defuns.
6257 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6259 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6261 * subr.el (make-composed-keymap): Move from C. Change calling
6262 convention, and improve docstring to bring attention to a subtle point.
6263 * minibuffer.el (completing-read-default): Adjust accordingly.
6265 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
6267 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6268 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6270 * net/trampver.el: Update release number.
6272 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6274 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6277 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6279 * mail/sendmail.el (sendmail-query-once): Restore the current
6280 buffer after querying (bug#9074).
6282 * dired.el (dired-flagged): Use different faces for marked and
6283 flagged files (bug#6117).
6285 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6288 * ido.el (ido-mode): Switch off the message if called
6291 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6292 before 587, since it appears that that's more likely to work for
6295 * cus-edit.el (custom-file): When running under emacs -q, always
6296 refuse to save the customizations, even if the .emacs file doesn't
6299 * info.el: Remove the `Info-beginning-of-buffer' function
6302 * net/network-stream.el (network-stream-open-starttls):
6303 Use `starttls-available-p' to see whether starttls.el can be used.
6305 2011-08-01 Martin Rudalics <rudalics@gmx.at>
6307 * window.el (display-buffer-in-window): Don't set dedicated status
6308 of window here (Bug#9215).
6309 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6310 (display-buffer-pop-up-side-window)
6311 (display-buffer-in-side-window): Set dedicated status of window here.
6313 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6315 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6316 before binding generated-autoload-file.
6318 2011-08-01 Deniz Dogan <deniz@dogan.se>
6320 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6322 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
6324 Sync with Tramp 2.2.2.
6326 * net/trampver.el: Update release number.
6328 2011-07-30 Juri Linkov <juri@jurta.org>
6330 * dired-aux.el (dired-touch-initial): Remove function.
6331 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6332 current time, and `default' to the last modification time of the
6333 current marked file (bug#6887).
6335 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
6337 * simple.el (goto-line): Use string-to-number to provide a
6338 numeric argument to read-number (bug#9163).
6340 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
6342 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6343 connection process, it could be nil.
6345 2011-07-27 Leo Liu <sdl.web@gmail.com>
6347 Simplify url handling in rcirc-mode.
6349 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6350 (rcirc-browse-url-at-mouse): Remove.
6351 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6353 2011-07-26 Alan Mackenzie <acm@muc.de>
6355 Fontify bitfield declarations properly.
6357 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6358 (c-symbol-chars): Now exported as a lang variable.
6359 (c-not-primitive-type-keywords): New lang variable.
6361 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6362 QT keyword "more" to prevent "more slots: ...." being spuriously
6363 parsed as a bitfield declaration.
6365 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6366 Refactor and enhance to handle bitfield declarations.
6367 (c-punctuation-in): New function.
6368 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6369 declarations properly.
6371 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
6373 * calendar/icalendar.el (icalendar--all-events): Take care of
6374 multiple vcalendars in a single file.
6375 (icalendar--convert-float-to-ical): Checkdoc fixes.
6377 2011-07-25 Deniz Dogan <deniz@dogan.se>
6379 * image.el (insert-image): Clarifying docstring.
6381 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
6383 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6384 `tramp-send-command-and-check' if there is no error.
6385 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6387 2011-07-22 Alan Mackenzie <acm@muc.de>
6389 Prevent cc-langs.elc being loaded at run time.
6391 * progmodes/cc-mode.el: Remove two autoload forms which loaded
6394 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
6395 "(require 'cc-langs)". Quote a form so it will evaluate at
6396 (cc-mode's) compilation time.
6398 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
6400 * net/tramp.el (tramp-file-name-handler): Avoid recursive
6403 2011-07-21 Martin Rudalics <rudalics@gmx.at>
6405 * window.el (display-buffer-pop-up-window)
6406 (display-buffer-pop-up-side-window)
6407 (display-buffer-in-side-window): Call display-buffer-set-height
6408 and display-buffer-set-width after setting the new window's
6409 buffer so `fit-window-to-buffer' and friends work on the right buffer.
6411 2011-07-20 Sam Steingold <sds@gnu.org>
6413 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6414 (etags-tags-included-tables): Call `convert-standard-filename' on
6415 the file names contained in TAGS so that windows Emacs can handle
6416 TAGS files created by cygwin ctags.
6418 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6420 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6421 which apparently didn't work.
6423 2011-07-19 Roland Winkler <winkler@gnu.org>
6425 * proced.el (proced-send-signal): For *Marked Processes* buffer
6426 put point at beginning of buffer.
6428 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
6430 * proced.el (proced-format): Make header lines align with the text
6433 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6435 * view.el (view-buffer): Allow running in `special' modes if we're
6436 visiting a file (bug#8615).
6438 2011-07-19 Martin Rudalics <rudalics@gmx.at>
6440 * window.el (display-buffer-alist-of-strings-p)
6441 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6443 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6446 2011-07-18 Alan Mackenzie <acm@muc.de>
6448 Fontify declarators properly when, e.g., a jit-lock chunk begins
6449 inside a declaration.
6451 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6453 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6455 (c-complex-decl-matchers): Insert reference to
6456 c-font-lock-enclosing-decls.
6458 * progmodes/cc-engine.el (c-backward-single-comment):
6459 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6460 to nil around calls to (forward-comment -1).
6462 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6464 * image.el (put-image): Doc typo fix.
6466 * progmodes/etags.el (tags-search): Doc typo fix.
6468 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6469 password if we get errors 550 to 554.
6471 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6473 * net/gnutls.el (gnutls-log-level): Remove.
6475 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6476 indentation character (bug#6380).
6478 * files.el (buffer-offer-save): Made permanently local (bug#6241).
6480 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6481 to clarify what the problem is (bug#4291).
6483 * simple.el (current-kill): Clarify what
6484 `interprogram-paste-function' does (bug#7500).
6485 (auto-fill-mode): Document `auto-fill-function' in relation to
6486 `auto-fill-mode' (bug#2470).
6488 2011-07-16 Lawrence Mitchell <wence@gmx.li>
6490 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6491 method if slot is read-only (bug#9035).
6493 2011-07-16 Martin Rudalics <rudalics@gmx.at>
6495 * frame.el (select-frame-set-input-focus): New argument NORECORD.
6496 * window.el (pop-to-buffer): Select window used even if it was
6497 selected before, see discussion of (Bug#8615), (Bug#6954).
6498 Pass argument NORECORD on to select-frame-set-input-focus.
6500 2011-07-15 Glenn Morris <rgm@gnu.org>
6502 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
6505 2011-07-09 Lawrence Mitchell <wence@gmx.li>
6507 * net/gnutls.el (gnutls-min-prime-bits): New variable.
6508 (gnutls-negotiate): Use it.
6510 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6512 * net/gnutls.el (gnutls-negotiate):
6513 Upcase `gnutls-algorithm-priority'.
6515 2011-07-15 Glenn Morris <rgm@gnu.org>
6517 * jka-compr.el (jka-compr-verbose): Move from here...
6518 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
6519 Add missing :version tag.
6520 * info.el: No need to require jka-compr when compiling.
6522 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6524 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6525 (gnutls-negotiate): Use it.
6527 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6529 * info.el (Info-beginning-of-buffer): New command.
6530 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6531 announcing `b' as the key (bug#8325).
6532 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
6534 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6536 * international/mule-cmds.el
6537 (describe-specified-language-support): Make the error message
6540 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6542 * isearch.el (isearch-barrier): Add a doc string, since it's
6543 mentioned in a function doc string (bug#8678).
6545 2011-07-15 Martin Rudalics <rudalics@gmx.at>
6547 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6548 buffer argument (Bug#9083) and self-identifying label argument.
6550 2011-07-15 Glenn Morris <rgm@gnu.org>
6552 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6554 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6556 * man.el (Man-fontify-manpage): Fix message when formatting the
6557 man page (bug#7929).
6559 2011-07-14 Eli Zaretskii <eliz@gnu.org>
6561 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6562 argument LRM; if non-nil, append an invisible LRM character to the
6564 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6565 last argument non-nil, when formatting buffer names.
6566 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6567 paragraph direction.
6569 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6571 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6572 the man page name (bug#7929).
6574 * image.el (put-image): Mention the `put-image' overlay property
6577 * scroll-bar.el (set-scroll-bar-mode): Mention that
6578 `scroll-bar-mode' lists the values (bug#7772).
6580 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6583 * rect.el (apply-on-rectangle): Return the point after the last
6585 (string-rectangle): Go to the point after the last operation
6588 * printing.el (pr-toggle-region): Clarify the documentation
6589 slightly (bug#7493).
6591 * time.el (display-time-update):
6592 Allow `display-time-mail-function' to return nil (bug#7158).
6593 Fix suggested by Detlev Zundel.
6595 * vc/diff.el (diff): Clarify the order the file names are read
6598 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6599 the doc string (bug#7015).
6601 * font-lock.el (font-lock-maximum-decoration): Mention what
6602 numeric levels mean (bug#6935).
6604 * startup.el (initial-buffer-choice): Don't mention the `none'
6605 selection, which is against policy.
6607 2011-07-14 Martin Rudalics <rudalics@gmx.at>
6609 * window.el (display-buffer-normalize-special):
6610 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
6612 2011-07-14 Eli Zaretskii <eliz@gnu.org>
6614 * subr.el (version<, version<=, version=): Mention "-CVS" and
6615 "-12345" alpha version numbers.
6617 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
6619 * bindings.el: Add advertised binding for set-mark-command
6622 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
6624 * bindings.el (mode-line-other-buffer):
6625 * bookmark.el (bookmark-bmenu-2-window):
6626 * bs.el (bs-cycle-next, bs-cycle-previous):
6627 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6630 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6633 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
6635 * follow.el (follow-debug-message, follow-redisplay):
6636 * jka-cmpr-hook.el (with-auto-compression-mode):
6637 Fix typos in docstrings.
6639 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6641 * subr.el (with-silent-modifications): Clarify somewhat what the
6642 macro inhibits (bug#6525).
6644 * simple.el (eval-expression): Note what it does if called
6645 interactively (bug#6495).
6647 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
6649 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6650 Use pop-to-buffer buffer-or-name if it is nil.
6652 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6653 Remove switch-to-buffer.
6655 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6657 * files.el (make-directory): Clarify that an error will be raised
6658 if there's an error (bug#6397).
6660 * startup.el (initial-buffer-choice): Add `none' as a choice
6663 * subr.el (add-hook): Clarify section about buffer-local hooks
6666 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6668 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
6670 * tabify.el (untabify): Preserve the current column so that point
6671 doesn't move (bug#6032).
6673 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6675 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6676 Rewrite to avoid awkward possessive "s" (bug#5986).
6678 2011-07-13 Glenn Morris <rgm@gnu.org>
6680 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6681 (dired-insert-directory): Give a message the first time
6682 if ls is found not to support --dired.
6684 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6686 * simple.el (toggle-truncate-lines): Clarify what is toggled
6687 (bug#5580). Text by Drew Adams.
6689 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
6691 * simple.el (blink-matching-open): Make the error message from the
6692 last change less verbose.
6694 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6696 * font-lock.el (font-lock-comment-face): Use the high contrast
6697 "yellow" color for font-lock-comment-face on low color terminals
6698 using a dark background color (bug#4221).
6700 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6702 * dired.el (dired-insert-set-properties): Make the doc string
6703 reflect what it does now (bug#5325).
6705 * simple.el (blink-matching-open): Say that we were unable to find
6706 the match within the limit, if we're limited (bug#5122).
6708 * international/mule-cmds.el (prefer-coding-system): Add an
6711 * progmodes/etags.el (tags-search): Document `file-list-form'
6714 2011-07-13 Lawrence Mitchell <wence@gmx.li>
6716 * net/browse-url.el (browse-url-default-browser)
6717 (browse-url-browser-function): Make the default browser choice a
6718 bit more logical (bug#4300). Also clean up the doc string.
6720 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
6722 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6723 binary endings (bug#4440).
6725 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6727 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6728 which can be pretty annoying (bug#8971).
6730 * jka-compr.el (jka-compr-verbose): New variable, and use
6731 throughout (bug#8971).
6733 * info.el (Info-find-file): Fall back on the installation
6734 directory if we can't find the info node anywhere else.
6736 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6738 * vc/vc.el (vc-revert-file):
6739 Don't set file time-stamp in the past. (Bug#5181)
6741 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6743 * files.el (after-find-file): Give a better error message when
6744 trying to find a symlink that points to a file that doesn't exist
6747 * progmodes/cc-vars.el: Remove (probably) misleading comment
6750 2011-07-12 Johan Bockgård <bojohan@gnu.org>
6752 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6754 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
6756 * mouse-sel.el: Hack restoring functionality, while keeping
6757 compatibility with 2010-07-03 changes to mouse selection.
6758 (mouse-sel-primary-overlay): New var.
6759 (mouse-sel-selection-alist): Use it.
6760 (mouse-sel-mode): Doc fix; remove points that are default features
6763 2011-07-12 Johan Bockgård <bojohan@gnu.org>
6765 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6766 Fix previous fix (bug#2490).
6768 2011-07-12 Roland Winkler <winkler@gnu.org>
6770 * textmodes/bibtex.el (bibtex-initialize):
6771 Use pop-to-buffer-same-window.
6772 (bibtex-search-entries): Fix interactive call.
6774 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6776 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6777 Fontise bytecomp Error lines more correctly (bug#2490).
6778 Fix suggested by Johan Bockgård.
6780 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6782 * dired-x.el (dired-guess-default): Use `delete-dups'.
6784 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
6786 * dired.el (dired-mark-prompt):
6787 * dired-aux.el (dired-read-shell-command): Doc fix.
6789 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6791 * mail/sendmail.el (sendmail-query-once):
6792 Use `customize-save-variable' unconditionally, now that it works under
6795 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6797 * cus-edit.el (custom-file): Take an optional no-error variable.
6798 (customize-save-variable): Set the variable, and give a warning if
6799 running under "emacs -q".
6801 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
6803 * loadhist.el (unload-feature-special-hooks):
6804 Add `auto-coding-functions', `fill-nobreak-predicate' and
6805 `find-directory-functions' (bug#5327).
6807 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6809 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6811 * cus-edit.el (custom-guess-name-alist): -alist variables should
6812 use the `alist' type (bug#3120). Suggested by Drew Adams.
6814 * printing.el: Add documentation to all the `pr-toggle-' commands.
6816 2011-07-11 Leo Liu <sdl.web@gmail.com>
6818 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6819 backends where it makes sense (bug#2623).
6821 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6823 * dired-x.el (dired-guess-default): Remove duplicate shell command
6825 (dired-guess-default): Fix grammar in doc string (bug#2028).
6826 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
6828 * subr.el (remove-duplicates): New conveniency function.
6830 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6832 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6835 2011-07-10 Martin Rudalics <rudalics@gmx.at>
6837 * window.el (display-buffer-normalize-default): Don't invert
6838 meaning of even-window-heights. Reported by Eli Zaretskii
6841 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6843 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6845 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
6847 * window.el (display-buffer): Fix arguments to
6848 display-buffer-reuse-window in last change.
6850 * faces.el (link): Use a less saturated blue on light backgrounds.
6852 * startup.el (fancy-startup-text, fancy-about-text)
6853 (fancy-startup-tail): Use font-lock faces, for background safety.
6855 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6857 * emulation/viper-cmd.el (viper-change-state-to-vi):
6858 Limit triggering of abbrev expansion (Bug#9038).
6860 2011-07-09 Martin Rudalics <rudalics@gmx.at>
6862 * window.el (display-buffer-default-specifiers): Remove.
6863 (display-buffer-macro-specifiers): Remove default specifiers.
6864 (display-buffer-alist): Default to nil.
6865 (display-buffer-reuse-window): New optional argument other-window.
6866 (display-buffer-pop-up-window): Allow splitting internal
6867 windows. Check whether a live window was created.
6868 (display-buffer-other-window-means-other-frame)
6869 (display-buffer-normalize-arguments): Rename to
6870 display-buffer-normalize-argument and rewrite. Set the
6871 other-window specifier.
6872 (display-buffer-normalize-special): New function.
6873 (display-buffer-normalize-options): Rename to
6874 display-buffer-normalize-default and rewrite.
6875 (display-buffer-normalize-options-inhibit): Remove.
6876 (display-buffer-normalize-specifiers): Rewrite.
6877 (display-buffer): Process other-window specifier and call
6878 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6880 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
6881 (display-buffer-alist-set): Don't handle 'unset default values.
6882 (display-buffer-in-window, display-buffer-alist-set):
6883 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
6884 <tassilo@member.fsf.org>.
6886 2011-07-09 Leo Liu <sdl.web@gmail.com>
6888 * register.el (insert-register): Restore accidental change on
6889 2011-06-26. (Bug#9028)
6891 2011-07-09 Glenn Morris <rgm@gnu.org>
6893 * subr.el (remq): Handle the empty list. (Bug#9024)
6895 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6897 * mail/sendmail.el (send-mail-function): No longer delay custom
6899 * custom.el (custom-initialize-delay): Doc fix.
6901 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6903 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6905 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
6907 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6908 human-friendly prompt.
6910 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6912 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6913 provided by a particular plugin.
6915 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6917 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6918 save customizations (with "emacs -Q"), just set the variable
6919 instead of erroring out.
6921 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6923 2011-07-08 Juri Linkov <juri@jurta.org>
6925 * arc-mode.el (archive-zip-expunge, archive-zip-update)
6926 (archive-zip-update-case): Use 7z if found by `executable-find'.
6927 The order of searching the available programs is the same as in
6928 `archive-zip-extract' (bug#8968).
6930 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
6932 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6933 (menu-bar-options-menu): Tweak descriptions.
6935 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6937 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6938 menu items into verb phrases (bug#1421). Also refill to fit under
6941 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
6943 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6944 (Info-read-node-name): Doc fix (Bug#1084).
6946 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6947 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6948 (end-of-sexp, beginning-of-sexp)
6949 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6950 (forward-symbol, forward-same-syntax, word-at-point)
6951 (sentence-at-point): Doc fix (Bug#1144).
6953 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6955 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6956 should cover it (bug#1281).
6958 * cus-edit.el (custom-show): Mark as obsolete.
6960 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
6961 negotiation fails, then possibly try again with a non-encrypted
6962 connection (bug#9017).
6964 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6967 2011-07-07 Richard Stallman <rms@gnu.org>
6969 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6970 property, and handle its changed format.
6971 Look for the correct line number.
6972 Use file's line contents (but not past first =) to find
6973 correct line in message.
6975 2011-07-07 Kenichi Handa <handa@m17n.org>
6977 * international/characters.el (build-unicode-category-table):
6979 (unicode-category-table): Set it by unicode-property-table-internal.
6981 * international/mule-cmds.el (char-code-property-alist): Move to
6983 (get-char-code-property): Call unicode-property-table-internal to
6984 load a file. Call get-unicode-property-internal where necessary.
6985 (put-char-code-property): Call unicode-property-table-internal to
6986 load a file. Call put-unicode-property-internal where necessary.
6987 put-unicode-property-internal where necessary.
6988 (char-code-property-description):
6989 Call unicode-property-table-internal to load a file.
6991 * international/charprop.el:
6992 * international/uni-bidi.el:
6993 * international/uni-category.el:
6994 * international/uni-combining.el:
6995 * international/uni-comment.el:
6996 * international/uni-decimal.el:
6997 * international/uni-decomposition.el:
6998 * international/uni-digit.el:
6999 * international/uni-lowercase.el:
7000 * international/uni-mirrored.el:
7001 * international/uni-name.el:
7002 * international/uni-numeric.el:
7003 * international/uni-old-name.el:
7004 * international/uni-titlecase.el:
7005 * international/uni-uppercase.el: Regenerate.
7007 * loadup.el: Load international/charprop.el before
7008 international/characters.
7010 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
7012 * window.el (next-buffer, previous-buffer): Signal an error if
7013 called from a minibuffer window.
7015 * bindings.el: Revert 2011-07-04 change.
7017 2011-07-06 Richard Stallman <rms@gnu.org>
7019 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7020 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7021 Treat markers like ints.
7022 (rmail-mime-entity): Doc fix.
7024 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7026 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7027 defcustom again for backwards compatibility.
7029 * simple.el (shell-command-on-region): Fill.
7031 * dired-aux.el (dired-kill-line): Add a doc string.
7033 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7034 to "\\sw\\|\\s_" (bug#358).
7036 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7037 (dired-unmark-backward): Ditto.
7038 (dired-flag-backup-files): Ditto.
7040 * dired-x.el (dired-mark-sexp): Ditto.
7042 2011-07-06 Richard Stallman <rms@gnu.org>
7044 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7045 (rmail-mime-entity): New arg TRUNCATED.
7046 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7048 (rmail-mime-save): Warn if entity is truncated.
7049 (rmail-mime-toggle-hidden): Likewise, for showing.
7050 (rmail-mime-process-multipart): Record when an entity is truncated.
7052 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7053 if ENTITY is a string.
7055 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7057 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
7058 of faces when `M-C-x'-ing their definitions (bug#8378).
7059 Also clean up the code slightly.
7061 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
7062 because that makes the colors go away.
7064 * mail/sendmail.el (send-mail-function): Change the default to
7065 `sendmail-query-once'.
7066 (sendmail-query-once): Add an autoload cookie.
7068 * net/network-stream.el (network-stream-open-starttls): Try using
7069 a plain connection even if the server offered STARTTLS, and we
7070 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7071 capability. This should make smtpmail.el work in slightly more
7074 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
7076 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7078 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7080 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7082 * progmodes/sql.el: Version 3.0
7083 (sql-product-alist): Add product :completion-object,
7084 :completion-column, and :statement attributes.
7085 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
7086 (sql-mode-syntax-table): Mark all punctuation.
7087 (sql-font-lock-keywords-builder): Temporarily remove fallback on
7089 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
7090 (sql-mode-oracle-font-lock-keywords): Improve.
7091 (sql-oracle-show-reserved-words): New function for development.
7092 (sql-product-font-lock): Simplify for source code buffers.
7093 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7095 (sql-highlight-product): Set product specific syntax table.
7096 (sql-mode-map): Add statement movement functions.
7097 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7099 (sql-statement-regexp, sql-beginning-of-statement)
7100 (sql-end-of-statement, sql-signum): New functions.
7101 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
7102 (sql-show-sqli-buffer): Bug fix.
7103 (sql-interactive-mode): Store connection data as buffer local.
7104 (sql-connect): Add NEW-NAME parameter. Redesign interaction
7105 with sql-interactive-mode.
7106 (sql-save-connection): Save buffer local settings.
7107 (sql-connection-menu-filter): Change menu entry name.
7108 (sql-product-interactive): Bug fix.
7109 (sql-preoutput-hold): New variable.
7110 (sql-interactive-remove-continuation-prompt): Bug fixes.
7111 (sql-debug-redirect): New variable.
7112 (sql-str-literal): New function.
7113 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
7115 (sql-oracle-save-settings, sql-oracle-restore-settings)
7116 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7117 (sql-completion-object, sql-completion-column)
7118 (sql-completion-sqlbuf): New variables.
7119 (sql-build-completions-1, sql-build-completions)
7120 (sql-try-completion): New functions.
7121 (sql-read-table-name): Use them.
7122 (sql-contains-names): New buffer local variable.
7123 (sql-list-all, sql-list-table): Use it.
7124 (sql-oracle-completion-types): New variable.
7125 (sql-oracle-completion-object, sql-sqlite-completion-object)
7126 (sql-postgres-completion-object): New functions.
7128 2011-07-06 Glenn Morris <rgm@gnu.org>
7130 * window.el (pop-to-buffer): Doc fix.
7132 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
7134 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7136 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
7138 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7140 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
7142 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
7144 * button.el (button): Inherit from link face. Suggested by Dan
7147 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7149 * progmodes/gdb-mi.el: Fit in 80 columns.
7150 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7153 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7154 if imenu is simply not configured (bug#8941).
7156 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7158 * allout.el (allout-post-undo-hook): New allout outline-change
7159 event hook to signal undo activity.
7160 (allout-post-command-business): Run allout-post-undo-hook if an
7162 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7163 * allout-widgets.el (allout-widgets-after-undo-function):
7164 Ensure the integrity of the current item's decoration after it has been
7165 in the vicinity of an undo.
7166 (allout-widgets-mode): Include allout-widgets-after-undo-function
7167 on the new allout-post-undo-hook.
7169 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7171 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7172 Let define-derived-mode define it.
7173 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7174 cycles of abbrev-table inheritance (bug#8998).
7176 2011-07-05 Roland Winkler <winkler@gnu.org>
7178 * textmodes/bibtex.el: Add support for biblatex.
7179 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7180 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7181 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7182 (bibtex-entry-alist, bibtex-field-alist): New variables.
7183 (bibtex-entry-field-alist): Obsolete alias for
7184 bibtex-BibTeX-entry-alist.
7185 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7186 (bibtex-set-dialect): New command.
7187 (bibtex-entry-type, bibtex-entry-head)
7188 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7189 Bind via bibtex-set-dialect.
7190 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7191 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7192 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7193 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7194 Define via bibtex-set-dialect.
7195 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7196 Obey bibtex-no-opt-remove-re.
7197 (bibtex-vec-push, bibtex-vec-incr): New functions.
7198 (bibtex-format-entry, bibtex-field-list)
7199 (bibtex-print-help-message, bibtex-validate)
7200 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7202 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7204 * progmodes/compile.el (compilation-goto-locus):
7205 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7206 * bs.el (bs-cycle-next, bs-cycle-previous):
7207 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7208 * bindings.el (mode-line-other-buffer):
7209 * autoinsert.el (auto-insert):
7210 * arc-mode.el (archive-extract):
7211 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7213 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
7215 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7216 Fix check of `emacs-lock-unlockable-modes'.
7217 Coerce true values of `emacs-lock--try-unlocking' to t.
7219 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
7221 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7222 * emacs-lock.el: New file.
7224 2011-07-05 Julien Danjou <julien@danjou.info>
7226 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7227 than `boundp' to check if face is set.
7229 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
7231 * register.el (registerv-make):
7232 * window.el (window-min-height): Fix typos in docstrings.
7234 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7236 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7239 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
7241 * server.el (server-execute): Catch quit and call
7242 `server-return-error' to pass the error back to emacsclient and
7243 close the connection (bug#8942).
7245 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7247 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7248 insecure exception for current topic. Also note that auto-saves
7249 are handled differently.
7251 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7252 State variables for tracking auto-save inhibition situation.
7254 (allout-write-contents-hook-handler): Rename from
7255 'allout-write-file-hook-handler', and describe how it depends on
7256 write-contents-functions sensitivity to non-nil value to prevent
7259 (allout-auto-save-hook-handler): Remove. auto-save does not check
7260 this in individual buffers, only in the starting buffer, so this
7261 is not the right way for us to inhibit auto-save in a buffer
7262 according to its condition.
7264 (allout-mode): Use new allout-write-contents-hook-handler, and
7265 only with write-contents-functions. Remove auto-save provisions -
7266 they're implemented elsewhere.
7268 (allout-before-change-handler): If undo is in progress, note that
7269 for attention of allout-post-command-business.
7271 (allout-post-command-business): If the command we're following was
7272 an undo, check for change in the status of encrypted items and
7273 adjust auto-save inhibitions accordingly.
7275 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7276 according to whether there are or aren't any plain-text topics
7279 (allout-inhibit-auto-save-info-for-decryption):
7280 Adjust buffer-saved-size and some allout state to inhibit auto-saves
7281 if there are plain-text topics pending encryption.
7283 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7284 buffer-saved-size and some allout state to not inhibit auto-saves
7285 if there are no longer any plain-text topics pending encryption.
7287 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7288 No longer provide for exemption of the current topic.
7290 2011-07-04 Juri Linkov <juri@jurta.org>
7292 Add 7z operations to delete and save changed members (bug#8968).
7293 * arc-mode.el (archive-7z-expunge, archive-7z-update):
7295 (archive-7z-write-file-member): New function.
7296 (archive-7z-summarize): Fix the number of dashes in the
7299 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7301 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7304 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
7306 * bindings.el: Ignore next-buffer and previous-buffer in
7307 minibuffer-local-map.
7309 * font-lock.el (font-lock-builtin-face): Change light background
7310 color to dark slate blue (Bug#6693).
7312 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
7314 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7316 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7318 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7319 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7320 Add switch-to-buffer.
7322 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7324 * isearch.el (isearch-search-fun-function): Clarify further the
7325 meaning of the function returned.
7327 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
7329 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7331 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7332 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7334 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
7335 `tramp-default-remote-path' does not exist.
7336 (tramp-send-command-and-read): New optional argument NOERROR.
7337 (tramp-open-connection-setup-interactive-shell)
7338 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7339 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7340 (tramp-process-sentinel): Flush also process' connection property.
7341 (tramp-sh-handle-start-file-process): Do not set process
7342 sentinel. It is done now ...
7343 (tramp-maybe-open-connection): ... here. (Bug#8929)
7345 2011-07-04 MON KEY <monkey@sandpframing.com>
7347 * play/animate.el (animate-string): Doc fixes and allow changing
7348 the buffer name (bug#5417).
7350 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7352 * play/animate.el (animation-buffer-name): Rename from *animate*.
7354 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
7356 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7357 This is simpler and helps future-proof the code.
7358 (timer-until): Use time-subtract and float-time.
7359 (timer--time-less-p): Use time-less-p.
7361 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
7363 * type-break.el (timep): Use the value of `float-time' to avoid a
7364 byte-compiler warning.
7366 * server.el (server-eval-and-print): Return any result, even nil.
7368 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7370 * type-break.el: Accept time formats that the builtins accept.
7371 (timep, type-break-time-difference): Accept any format that
7372 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7373 This is simpler and helps future-proof the code.
7374 (type-break-time-difference): Round rather than ignoring
7375 subseconds components.
7377 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7379 * info.el (Info-apropos-matches): Make non-interactive, since it
7380 doesn't seem to do anything useful as a command (bug#8829).
7382 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
7384 * frame.el (frame-background-mode, frame-set-background-mode):
7386 (frame-default-terminal-background): New function.
7388 * custom.el (custom-push-theme): Don't record faces in `changed'
7389 theme; this doesn't work correctly for per-frame face settings.
7390 (disable-theme): Use face-set-after-frame-default to reset faces.
7391 (custom--frame-color-default): New function.
7393 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7395 * dired.el (dired-flagging-regexp): Remove unused variable
7398 2011-03-29 Kevin Ryde <user42@zip.com.au>
7400 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7401 `perl-Test2' extend to match possible "fail #N" rep count
7404 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7406 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7407 `smtpmail-via-smtp' now returns the error instead of nil.
7409 * isearch.el (isearch-search-fun-function): Clarify the doc string
7412 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
7414 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7415 unnecessary spaces (bug#8987).
7417 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7419 * net/network-stream.el (open-network-stream): Use the
7420 :end-of-capability command thoughout.
7422 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7424 * net/network-stream.el (open-network-stream): Add the
7425 :end-of-capability command parameter, used by pop3.el.
7427 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7429 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7431 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7432 for list)" (bug#6475).
7434 * files.el (file-expand-wildcards): Ignore non-readable
7435 sub-directories while trying to find matches instead of signaling
7436 an error (bug#6297).
7438 * man.el (Man-reference-regexp): Allow matching possible
7439 word-wrapped references (bug#6289).
7441 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7442 for consistency with the other vc buffers (bug#6197).
7443 (vc-checkin): Ditto.
7445 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7447 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7449 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7451 * custom.el (defcustom): Clarify that :set is only used in the
7452 Customize user interface (bug#6089).
7454 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7455 associated with a file, refuse to run instead of erroring out
7458 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7459 the doc string, since it appears that using `fill-column' always
7460 controls the width (bug#7845).
7462 * simple.el (shell-command-on-region): Say where the error output
7463 went if `shell-command-default-error-buffer' is set (bug#6857).
7465 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7467 * allout.el (allout-yank-processing): Adjust cursor position for
7468 backwards-deleted space.
7470 (allout-rebullet-heading): Register changes with
7471 allout-exposure-changed-hook, so the modified topic is properly
7474 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7476 * minibuffer.el (completion-in-region): Document PREDICATE
7479 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7480 of keyword/argument pairs (bug#6904).
7482 * replace.el (multi-occur):
7483 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
7485 2011-07-02 Drew Adams <drew.adams@oracle.com>
7487 * dired.el (dired-mark-if): Make the message about whether it's
7488 marking or unmarking clearer (bug#8523).
7490 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7492 * disp-table.el (display-table-print-array): New function.
7493 (describe-display-table): Use it to print the vectors more pretty
7496 2011-07-02 Martin Rudalics <rudalics@gmx.at>
7498 * window.el (window-state-get-1): Don't assign clone numbers.
7499 Add clone-of item to list of window parameters.
7500 (window-state-put-2): Don't process clone numbers.
7501 (display-buffer-alist): Fix doc-string.
7503 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7505 * subr.el (remq): Don't allocate if it's not needed.
7506 (keymap--menu-item-binding, keymap--menu-item-with-binding)
7507 (keymap--merge-bindings): New functions.
7508 (keymap-canonicalize): Use them to refine the canonicalization.
7509 * minibuffer.el (minibuffer-local-completion-map)
7510 (minibuffer-local-must-match-map): Move initialization from C.
7511 (minibuffer-local-filename-completion-map): Move initialization from C;
7512 don't inherit from anything here.
7513 (minibuffer-local-filename-must-match-map): Make obsolete.
7514 (completing-read-default): Use make-composed-keymap to combine
7515 minibuffer-local-filename-completion-map with either
7516 minibuffer-local-must-match-map or
7517 minibuffer-local-filename-completion-map.
7519 2011-07-01 Glenn Morris <rgm@gnu.org>
7521 * type-break.el (type-break-time-sum): Use dolist.
7523 * textmodes/flyspell.el (flyspell-word-search-backward):
7524 Replace CL function.
7526 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7528 * mouse.el (mouse--strip-first-event): New function.
7529 (function-key-map): Use it to map fringe clicks to normal clicks
7532 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7533 (vc-bzr-revision-completion-table): Add support for annotate and date.
7535 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7536 inherit from parent.
7538 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7540 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
7541 (dired-show-file-type): Doc fixup (bug#8818).
7543 * dired.el (dired-mode): Fix up the doc string as suggested by
7544 Drew Adams (bug#8817).
7546 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7547 cookie, since the manual says that it should be possible to add
7548 this function to `find-file-hook' (bug#8709).
7550 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7552 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7553 here. Noted Ted Zlatanov as the maintainer.
7554 (cfengine-common-settings, cfengine-common-syntax): New functions
7555 to set up common things between `cfengine-mode' and
7557 (cfengine3-mode): New mode.
7558 (cfengine3-defuns cfengine3-defuns-regex
7559 (cfengine3-class-selector-regex cfengine3-category-regex)
7560 (cfengine3-vartypes cfengine3-font-lock-keywords)
7561 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
7562 (cfengine3-indent-line): Add from cfengine3.el.
7564 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
7566 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7568 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7570 2011-07-01 Martin Rudalics <rudalics@gmx.at>
7572 * window.el (same-window-buffer-names, same-window-regexps)
7573 (same-window-p, special-display-frame-alist)
7574 (special-display-popup-frame, special-display-function)
7575 (special-display-buffer-names, special-display-regexps)
7576 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7577 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7578 (split-window-preferred-function, split-height-threshold)
7579 (split-width-threshold, even-window-heights)
7580 (display-buffer-mark-dedicated, window-splittable-p)
7581 (split-window-sensibly, window-safely-shrinkable-p):
7583 (display-buffer): Don't spread args with function specifier
7584 because special-display-popup-frame won't like it.
7586 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7588 Time-stamp simplifications and fixes.
7589 These improve accuracy slightly, and future-proof the code
7590 against some potential changes to current-time format.
7592 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7593 by using time-since and float-time.
7595 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7596 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7597 + NNN microseconds".
7599 * type-break.el (type-break-time-sum): Rewrite using time-add.
7601 * play/hanoi.el (hanoi-current-time-float): Remove.
7602 All uses replaced by float-time.
7604 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7605 This yields a more-accurate answer.
7606 (rng-time-to-float): Remove; no longer needed.
7608 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7610 * calendar/timeclock.el (timeclock-seconds-to-time):
7611 Defalias to seconds-to-time, since they're the same thing.
7613 * emacs-lisp/elp.el (elp-elapsed-time):
7614 * emacs-lisp/benchmark.el (benchmark-elapse):
7615 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7617 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7619 * window.el (bury-buffer): Don't iconify the only frame.
7620 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7621 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7623 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
7625 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7626 Add mouse-yank-primary.
7628 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7630 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7632 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7634 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7635 (find-library-name): Use it to find relative load names when provided
7636 absolute file name (bug#8803).
7638 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7640 * textmodes/flyspell.el (flyspell-word): Consider words that
7641 differ only in case as potential doublons (bug#5687).
7643 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7644 Remove two rather uninteresting debugging-like messages to make
7645 debbugs.el more silent.
7647 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7648 a password-like phrase.
7650 2011-06-30 Masatake YAMATO <yamato@redhat.com>
7652 * progmodes/cc-guess.el: New file.
7654 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
7656 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7657 derived from `c-basic-common-init'.
7659 * progmodes/cc-mode.el (top-level): Require cc-guess.
7660 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7662 2011-06-30 Lawrence Mitchell <wence@gmx.li>
7664 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7666 2011-06-30 Alan Mackenzie <acm@muc.de>
7668 * progmodes/cc-engine.el (c-guess-continued-construct):
7669 Correct the handling of template-args-cont, particularly for when font
7670 lock is disabled. Name this case as "CASE G".
7672 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7674 * allout.el (allout-yank-processing): Fix injection of extra space
7675 between bullet and non-whitespace character in first topic when
7676 pasting, ensuring that the actual spacing in the pasted topic
7677 following the bullet char is preserved. This extra space was
7678 causing pasted encrypted topics to get a decrypted status even
7679 when the content was actually still encrypted. Now the decryption
7680 status from before the paste is preserved.
7682 (allout-flag-region): Set all allout overlays so they evaporate
7683 when reduced to zero length (evanescent), to prevent overlay
7686 2011-06-30 Glenn Morris <rgm@gnu.org>
7688 * w32-fns.el (w32-charset-info-alist): Declare.
7690 * find-dired.el (find-grep-options): Simplify.
7692 * term/ns-win.el (ns-set-resource): Declare.
7694 * ses.el (row, col): Declare dynamic variables honestly.
7696 * textmodes/reftex-parse.el (index-tags): Declare.
7698 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
7700 * cus-edit.el (customize-push-and-save): New function.
7702 * files.el (hack-local-variables-confirm): Use it.
7704 * custom.el (load-theme): New arg NO-CONFIRM.
7705 Use customize-push-and-save (Bug#8720).
7706 (custom-enabled-themes): Doc fix.
7708 * cus-theme.el (customize-create-theme)
7709 (custom-theme-merge-theme): Callers to load-theme changed.
7711 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7713 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7714 short URLs have at least one dot in them (bug #7614).
7716 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7717 nil, because using a pty is apparently too slow (bug #895).
7719 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7721 * mail/sendmail.el (sendmail-query-once): New function.
7722 (sendmail-query-once-function): New variable.
7724 2011-06-29 Glenn Morris <rgm@gnu.org>
7726 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7728 * ses.el (top-level): Require cl when compiling.
7729 (ses-set-localvars): Fix error statement.
7730 Call it at compile time to silence a storm of warnings.
7732 2011-06-29 Martin Rudalics <rudalics@gmx.at>
7734 * window.el (normalize-live-buffer): Rename to
7735 window-normalize-buffer.
7736 (normalize-live-frame): Rename to window-normalize-frame.
7737 (normalize-any-window): Rename to window-normalize-any-window.
7738 (normalize-live-window): Rename to window-normalize-live-window.
7739 (make-window-atom): Rename to window-make-atom.
7740 (window-resize-reset): Rename to window--resize-reset.
7741 (window-resize-reset-1): Rename to window--resize-reset-1.
7742 (resize-mini-window): Rename to window--resize-mini-window.
7743 (resize-subwindows-skip-p): Rename to
7744 window--resize-subwindows-skip-p.
7745 (resize-subwindows-normal): Rename to
7746 window--resize-subwindows-normal.
7747 (resize-subwindows): Rename to window--resize-subwindows.
7748 (resize-other-windows): Rename to window--resize-siblings.
7749 (resize-this-window): Rename to window--resize-this-window.
7750 (resize-root-window): Rename to window--resize-root-window.
7751 (resize-root-window-vertically): Rename to
7752 window--resize-root-window-vertically.
7753 (normalize-buffer-to-display): Rename to
7754 window-normalize-buffer-to-display.
7755 (normalize-buffer-to-switch-to): Rename to
7756 window-normalize-buffer-to-switch-to.
7757 Correspondingly update all callers of the functions listed
7759 (display-buffer-alist, display-buffer-normalize-arguments)
7760 (display-buffer-normalize-options, display-buffer)
7761 (display-buffer-alist-set): Use "function" instead of
7764 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
7766 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7767 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7768 debbugs.gnu.org. Mention acknowledgment email.
7770 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7772 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7773 buffer multibyteness, since it shouldn't matter.
7775 2011-06-28 Martin Rudalics <rudalics@gmx.at>
7777 * window.el (display-buffer-in-side-window): Handle dedicated
7778 windows as in display-buffer-reuse-window.
7779 (display-buffer-normalize-alist): Use value of override
7781 (display-buffer-normalize-specifiers): Use value of
7782 other-window-means-other-frame specifier.
7783 (display-buffer-alist): Rewrite some texts in widgets.
7784 (display-buffer): Spread arguments when calling function
7785 specified by fun-with-args.
7787 2011-06-28 Deniz Dogan <deniz@dogan.se>
7789 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7792 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7793 selectors (Bug#5732).
7794 (css-proprietary-nmstart-re): Use `regexp-opt'.
7796 2011-06-27 Jari Aalto <jari.aalto@cante.net>
7798 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7799 (eshell-ls-date-format): New defcustom.
7800 (eshell-ls-file): Use it.
7802 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7804 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7806 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7808 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7809 (ange-ftp-make-tmp-name): New arg.
7810 (ange-ftp-file-local-copy): Use it.
7812 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
7814 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7815 no-conversion (Bug#8870).
7817 2011-06-27 Martin Rudalics <rudalics@gmx.at>
7819 * window.el (window-right, window-left, window-child)
7820 (window-child-count, window-last-child)
7821 (window-iso-combination-p, walk-window-tree-1)
7822 (window-atom-check-1, window-tree-1, delete-window)
7823 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7824 new naming conventions - window-vchild, window-hchild,
7825 window-next and window-prev are now called window-top-child,
7826 window-left-child, window-next-sibling and window-prev-sibling
7828 (resize-window-reset): Rename to window-resize-reset.
7829 (resize-window-reset-1): Rename to window-resize-reset-1.
7830 (resize-window): Rename to window-resize.
7831 (window-min-height, window-min-width)
7832 (resize-mini-window, resize-this-window, resize-root-window)
7833 (resize-root-window-vertically, adjust-window-trailing-edge)
7834 (enlarge-window, shrink-window, maximize-window)
7835 (minimize-window, delete-window, quit-restore-window)
7836 (split-window, balance-windows, balance-windows-area-adjust)
7837 (balance-windows-area, window-state-put-2)
7838 (display-buffer-even-window-sizes, display-buffer-set-height)
7839 (display-buffer-set-width, set-window-text-height)
7840 (fit-window-to-buffer): Rename all "resize-window" prefixed
7841 calls to use the "window-resize" prefix convention.
7842 (display-buffer-alist): Fix symbol for label specifier.
7843 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7844 corresponding specifier.
7845 Reported by Juanma Barranquero <lekktu@gmail.com>.
7847 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7849 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7851 (ses-call-printer): Does not pass an empty string to formatter when the
7852 cell is empty to keep from barking printer Calc math-format-value.
7854 2011-06-27 Richard Stallman <rms@gnu.org>
7856 * battery.el (battery-mode-line-limit): New variable.
7857 (battery-update): Handle it.
7859 * mail/rmailmm.el (rmail-mime-process-multipart):
7860 Handle truncated messages.
7862 2011-06-27 Glenn Morris <rgm@gnu.org>
7864 * progmodes/flymake.el (flymake-err-line-patterns):
7865 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7867 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7869 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
7870 (ses--clean-!, ses--clean-_): New functions.
7871 (ses-range): Add configurability of readout order, and conversion
7874 * ses.el (ses-repair-cell-reference-all): New function.
7875 (ses-cell-symbol): Set macro as safe, so that it can be used in
7878 * ses.el: Update cycle detection algorithm.
7879 (ses-localvars): Add ses--Dijkstra-attempt-nb and
7880 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
7881 (ses-set-localvars): New function.
7882 (ses-make-cell): Add property-list as a cell element.
7883 (ses-cell-property-get-fun, ses-cell-property-get)
7884 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
7885 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7887 (ses-cell-property-set, ses-cell-property-pop)
7888 (ses-cell-property-get-handle): New macro.
7889 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7890 New aliases, used for code readability.
7891 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7893 (ses-self-reference-early-detection): New defcustom.
7894 (ses-formula-references): Robustify against self-referring cells.
7895 (ses-mode): Use ses-set-localvars.
7896 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7897 before lauching the update processing.
7898 (ses-initialize-Dijkstra-attempt): New function.
7899 (ses-recalculate-cell): Update for cycle detection based on
7902 * ses.el: Fix commenting and indenting convention.
7904 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7906 * bs.el (bs-cycle-next): Complete last change.
7908 2011-06-27 Drew Adams <drew.adams@oracle.com>
7910 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7912 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7914 * net/network-stream.el (network-stream-open-starttls):
7915 Don't re-get capabilities unless we've reestablished connection.
7916 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7918 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7919 to binary to possibly avoid line encoding issues on Windows (among
7922 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7924 * net/network-stream.el (open-network-stream): Return an :error
7925 saying what the problem was, if possible.
7927 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7930 * net/network-stream.el (network-stream-open-starttls): If we
7931 wanted to use STARTTLS, and the server offered it, but we weren't
7932 able to because we had no STARTTLS support, then close the connection.
7933 (open-network-stream): Return an :error element, if present.
7935 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
7937 * hl-line.el (hl-line-sticky-flag): Doc fix.
7938 (global-hl-line-sticky-flag): New option (Bug#8323).
7939 (global-hl-line-highlight): Obey it.
7941 * vc/vc.el (vc-revert-show-diff): Default to t.
7943 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
7945 * allout-widgets.el (allout-widgets-post-command-business):
7946 Stop decorating intermediate isearch matches. They're not being
7947 undecorated when an isearch is continued past, and isearch
7948 automatically collapses them. This leads to "widget leaks", where
7949 decorated items accumulate in collapsed areas. Lines with lots of
7950 hidden widgets can slow down cursor travel, substantially.
7951 Too much complicated machinery would be needed to ensure undecoration,
7952 so we're doing without this nicety.
7954 (allout-widgets-tally-string): Don't try to do a hash-table-count
7955 of allout-widgets-tally when it's nil. This eliminates spurious "Error
7956 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7957 *Messages* when allout-widgets-maintain-tally is t.
7959 2011-06-26 Martin Rudalics <rudalics@gmx.at>
7961 * window.el (display-buffer-normalize-argument): Rename to
7962 display-buffer-normalize-arguments. Handle special meaning of
7963 LABEL argument. Respect special-display-function when popping up
7964 a new frame. Fix code searching for a window showing the buffer
7966 (display-buffer-normalize-specifiers):
7967 Call display-buffer-normalize-arguments.
7968 (display-buffer-in-window): Don't undedicate the window if its
7969 buffer remains the same.
7970 Reported by Drew Adams <drew.adams@oracle.com>.
7971 (display-buffer-alist): Add choice for same-window macro
7973 (display-buffer): Mention special meaning of LABEL argument in
7974 doc-string. Fix quoting. Don't pop up a new frame even as
7977 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
7979 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7980 avoid deleting the current window in some cases (bug#8911).
7982 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
7984 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7987 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7989 * net/network-stream.el (network-stream-open-starttls):
7990 Use built-in TLS support if `gnutls-available-p' is true.
7991 (network-stream-open-tls): Ditto.
7993 2011-06-26 Leo Liu <sdl.web@gmail.com>
7995 * register.el (registerv): New struct.
7996 (registerv-make): New function.
7997 (jump-to-register, describe-register-1, insert-register):
7998 Support the jump-func, print-func and insert-func slot of a registerv
8001 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
8003 * vc/vc.el (vc-revert-show-diff): New defcustom.
8004 (vc-diff-internal): New arg specifying diff buffer.
8005 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8006 reuse an existing *vc-diff* buffer (Bug#8927).
8008 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8010 2011-06-26 Glenn Morris <rgm@gnu.org>
8012 * progmodes/f90.el (f90-critical-indent): New option.
8013 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8014 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8015 (f90-mode): Doc fix.
8016 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8017 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8018 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8019 (f90-match-end): Handle block, critical.
8021 2011-06-25 Glenn Morris <rgm@gnu.org>
8023 * calendar/diary-lib.el (diary-included-files): Doc fix.
8024 (diary-include-files): New function, extracted from
8025 diary-include-other-diary-files and diary-mark-included-diary-files.
8026 (diary-include-other-diary-files, diary-mark-included-diary-files):
8027 Just call diary-include-files.
8028 (diary-mark-entries): Reset diary-included-files on first call.
8030 * calendar/diary-lib.el (diary-mark-entries)
8031 (diary-mark-included-diary-files):
8032 Visit included diary-files in temp buffers.
8034 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8035 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8036 (f90-start-block-re, f90-imenu-generic-expression)
8037 (f90-looking-at-program-block-start, f90-no-block-limit):
8038 Add support for submodules.
8040 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8041 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
8043 2011-06-25 Eli Zaretskii <eliz@gnu.org>
8045 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8046 buffer-file-type before setting its value, to avoid disastrous
8047 global effects on decoding files for DOS/Windows systems. (Bug#8780)
8049 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
8051 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8053 * ses.el (ses-unload-function):
8054 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8056 * proced.el (proced-unload-function):
8057 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8059 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8061 * server.el (server-create-window-system-frame): Add parameters arg.
8062 (server-process-filter): Doc fix. Handle frame-parameters.
8064 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
8066 Fix bug#8730, bug#8781.
8068 * loadhist.el (unload--set-major-mode): New function.
8069 (unload-feature): Use it.
8071 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8072 (python-unload-function): New function.
8074 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8076 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8078 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8080 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8081 the candidates list.
8083 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
8085 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8087 2011-06-23 Richard Stallman <rms@gnu.org>
8089 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8090 (rmail-variables): Set next-error-move-function.
8091 (rmail-what-message): Take argument POS.
8092 (rmail-next-error-move): New function.
8094 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8096 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8097 messages for adjacent non-terminals.
8099 2011-06-23 Richard Stallman <rms@gnu.org>
8101 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
8102 (rmail-show-message-1): Preserve buffer modified flag.
8103 (rmail-start-mail): Don't specify use of rmail-mail-return;
8104 that's done by mail-bury now.
8105 (rmail-mail-return): Handle arg NEWBUF.
8107 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
8109 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8112 2011-06-23 Martin Rudalics <rudalics@gmx.at>
8114 * window.el (get-lru-window, get-mru-window)
8115 (get-largest-window): Never return a minibuffer window.
8116 (display-buffer-pop-up-window): Fix a bug that could lead to
8117 reusing the minibuffer window.
8118 (display-buffer): Pass original specifier argument to
8119 display-buffer-function instead of the normalized one.
8120 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8122 2011-06-22 Leo Liu <sdl.web@gmail.com>
8124 * minibuffer.el (completing-read-function)
8125 (completing-read-default): Move from minibuf.c
8127 2011-06-22 Richard Stallman <rms@gnu.org>
8129 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8130 to Rmail even if not started by a special Rmail command.
8132 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8133 Copy the buffer currently showing just one message.
8135 2011-06-22 Roland Winkler <winkler@gnu.org>
8137 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8138 (bibtex-clean-entry): First delete the old key so that a
8139 customized algorithm for generating the new key does not get
8140 confused by the old key.
8141 (bibtex-url): Obey regexp of first step.
8142 (bibtex-search-entries): Do not use add-to-list with local
8145 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8147 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8148 stored a user name, then query for the password first, instead of
8149 waiting for SMTP to give an error message and the trying again.
8151 2011-06-22 Lawrence Mitchell <wence@gmx.li>
8153 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8154 BUFFER in call-process.
8156 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8158 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8160 (smtpmail-try-auth-methods): Require user name and password from
8163 2011-06-22 Martin Rudalics <rudalics@gmx.at>
8165 * window.el (display-buffer-default-specifiers)
8166 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8167 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
8168 (split-window): Normalize SIDE argument (Bug#8916).
8170 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8171 (special-display-frame-alist, special-display-popup-frame):
8172 Remove duplicate declarations. These are now in window.el.
8174 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8176 * mail/smtpmail.el (smtpmail-via-smtp):
8177 Set :use-starttls-if-possible so that we always use STARTTLS if the
8178 server supports it. SMTP servers that support STARTTLS commonly
8181 * net/network-stream.el (network-stream-open-starttls): Support
8182 upgrading to STARTTLS always, even if we don't have built-in support.
8183 (open-network-stream): Add the :always-query-capabilities keyword.
8185 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8186 upgrades with `open-network-stream', and rely solely on
8187 auth-source for all credentials. Big changes throughout the file,
8189 (smtpmail-auth-credentials): Remove.
8190 (smtpmail-starttls-credentials): Remove.
8191 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8194 * net/network-stream.el (network-stream-open-starttls):
8195 Provide support for client certificates both for external and built-in
8197 (auth-source): Require.
8198 (open-network-stream): Document the :client-certificate keyword.
8199 (network-stream-certificate): Change cert-cert to cert and
8202 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
8204 * net/tramp-cache.el (top): Don't load the persistency file when
8205 "emacs -Q" has been called.
8207 2011-06-21 Tim Harper <timcharper@gmail.com>
8209 * term/ns-win.el (ns-initialize-window-system):
8210 Set application-specific `ApplePressAndHoldEnabled' system
8211 resource to NO as it is not yet supported by the NS port.
8213 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
8215 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8216 (list-dynamic-libraries): ...not here.
8218 2011-06-21 Leo Liu <sdl.web@gmail.com>
8220 * subr.el (sha1): Implement sha1 using secure-hash.
8222 2011-06-21 Martin Rudalics <rudalics@gmx.at>
8224 * window.el (display-buffer-alist): In default value do not
8225 enforce searching a window on any but the selected frame.
8226 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8227 (display-buffer-select-window): Remove function.
8228 (display-buffer-in-window): When a window on another frame gets
8229 reused, do not select it any more but just raise its frame if
8230 necessary (Bug#8851) and (Bug#8856).
8231 (display-buffer-normalize-options): Handle pop-up-frames related
8232 options more faithfully.
8233 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8234 window if it is on another frame.
8235 (display-buffer-alist, display-buffer-default-specifiers):
8236 Don't make new frame unsplittable by default.
8237 (display-buffer-normalize-argument): Fix doc-string typo and use
8238 'same-frame-other-window instead of 'other-window when associating
8239 with display-buffer-macro-specifiers.
8241 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8243 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8245 (5x5-mode-map, 5x5-mode-menu): Bind them.
8246 (5x5-draw-grid): Tweak the solver's rendering.
8248 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8250 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8251 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8253 2011-06-21 Drew Adams <drew.adams@oracle.com>
8255 * menu-bar.el: Use function variable instead of switch-to-buffer.
8256 (menu-bar-select-buffer-function): New variable.
8257 (menu-bar-update-buffers): Use it (bug#8876).
8259 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8261 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8264 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8266 * x-dnd.el (x-dnd-version-from-flags)
8267 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8268 and long as number (Bug#8899).
8269 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8271 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8273 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
8274 (completion-try-completion, completion-all-completions): Compute the
8275 metadata argument if it's missing; make it optional (bug#8795).
8277 * wid-edit.el: Use lex-bind and move towards completion-at-point.
8278 (widget-complete): Use new :completion-function property.
8279 (widget-completions-at-point): New function.
8280 (default): Use :completion-function instead of :complete.
8281 (widget-default-completions): Rename from widget-default-complete;
8283 (widget-string-complete, widget-file-complete, widget-color-complete):
8285 (file, symbol, function, variable, coding-system, color):
8286 * international/mule-cmds.el (default-input-method, charset)
8287 (language-info-custom-alist):
8288 * cus-edit.el (face): Use new property :completions.
8290 * progmodes/pascal.el (pascal-completions-at-point): New function.
8291 (pascal-mode): Use it.
8292 (pascal-mode-map): Use completion-at-point.
8293 (pascal-toggle-completions): Make obsolete.
8294 (pascal-complete-word, pascal-show-completions):
8295 * progmodes/octave-mod.el (octave-complete-symbol):
8296 Redefine as obsolete alias.
8297 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8298 Signal absence of completion info for old Octave,
8299 (inferior-octave-complete): Redefine as obsolete alias.
8300 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8301 (meta-completions-at-point): Rename from meta-complete-symbol and
8302 adapt it for use on completion-at-point-functions.
8303 (meta-common-mode): Use it.
8304 (meta-looking-at-backward, meta-match-buffer): Remove.
8305 (meta-complete-symbol): Redefine as obsolete alias.
8306 (meta-common-mode-map): Use completion-at-point.
8307 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8308 (makefile-mode-map): Use completion-at-point.
8309 (makefile-completions-at-point): Rename from makefile-complete and
8310 adapt it for use on completion-at-point-functions.
8311 (makefile-mode): Use it.
8312 (makefile-complete): Redefine as obsolete alias.
8314 2011-06-20 Deniz Dogan <deniz@dogan.se>
8316 * net/rcirc.el: Delete trailing whitespaces once and for all.
8318 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
8320 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8322 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
8324 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8326 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8328 2011-06-19 Martin Rudalics <rudalics@gmx.at>
8330 * window.el (display-buffer-other-window-means-other-frame):
8331 Call display-buffer-normalize-alist.
8332 (display-buffer-normalize-specifiers-1): Rename to
8333 display-buffer-normalize-argument. New argument other-frame.
8335 (display-buffer-normalize-specifiers-2): Rename to
8336 display-buffer-normalize-options.
8337 (display-buffer-normalize-alist-1): New function.
8338 (display-buffer-normalize-specifiers-3): Rename to
8339 display-buffer-normalize-alist.
8340 Call display-buffer-normalize-alist-1.
8341 (display-buffer-normalize-options-inhibit): New variable.
8342 (display-buffer-normalize-specifiers): Rewrite calling
8343 display-buffer-normalize-alist,
8344 display-buffer-normalize-argument, and
8345 display-buffer-normalize-options. Don't call the latter if
8346 display-buffer-normalize-options-inhibit is non-nil.
8347 (frame-auto-delete): New option.
8348 (window-deletable-p): Use frame-auto-delete.
8349 (window-list-no-nils, window-state-ignored-parameters)
8350 (window-state-get-1, window-state-get, window-state-put-list)
8351 (window-state-put-1, window-state-put-2, window-state-put):
8353 (display-buffer-normalize-options): Move special-display-p group
8354 after pop-up-frame group (Bug#8851) and (Bug#8856).
8356 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
8358 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8360 (rx-submatch-n): New function.
8363 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8366 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8368 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8370 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8371 anytime existing face settings are present (Bug#8889).
8373 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8374 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8375 Remove unused argument.
8377 2011-06-18 Martin Rudalics <rudalics@gmx.at>
8379 * window.el (display-buffer-default-specifiers):
8380 Remove pop-up-frame. Add pop-up-window-min-height,
8381 pop-up-window-min-width, and another reuse-window specifier
8382 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
8383 (display-buffer-normalize-specifiers-2):
8384 Handle split-height-threshold and split-width-threshold also when
8385 pop-up-windows is unset. Add a reuse-window specifier for the
8386 case popping up a new window fails.
8387 (special-display-popup-frame): Remove double quoting.
8388 (display-buffer-normalize-specifiers-1): Fix thinko.
8390 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8392 * shell.el (shell-completion-vars): Set pcomplete-termination-string
8393 according to comint-completion-addsuffix.
8395 * pcomplete.el: Convert to lexical binding and fix bug#8819.
8396 (pcomplete-suffix-list): Mark as obsolete.
8397 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8398 pcomplete-seen in the closure.
8399 (pcomplete-comint-setup): Setup completion-at-point as well.
8400 (pcomplete--entries): New function.
8401 (pcomplete--env-regexp): New var.
8402 (pcomplete-entries): Rewrite to work with partial-completion and
8403 without relying on pcomplete-suffix-list.
8404 (pcomplete-pare-list): Remove, unused.
8406 2011-06-17 Martin Rudalics <rudalics@gmx.at>
8408 * window.el (display-buffer-alist): Set pop-up-window-min-height
8409 and pop-up-window-min-width in default value. Reported by
8410 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
8411 other-window-means-other-frame.
8412 (display-buffer-macro-specifiers): Comment out entry for
8413 other-window specifier.
8414 (display-buffer-other-window-means-other-frame): New function.
8415 (display-buffer-normalize-specifiers-1): New arguments
8416 buffer-name and label. Treat other-window case specially.
8417 (display-buffer-normalize-specifiers-2): Treat other-window case
8419 (display-buffer-normalize-specifiers-3): New function.
8420 (display-buffer-normalize-specifiers):
8421 Call display-buffer-normalize-specifiers-3.
8423 2011-06-17 Martin Rudalics <rudalics@gmx.at>
8425 * window.el (same-window-p): Fix two typos introduced when
8426 adding with-no-warnings.
8427 (display-buffer-normalize-specifiers-1): Don't check
8428 pop-up-frames for 'unset initialization.
8429 (display-buffer-normalize-specifiers-2): Major rewrite using
8430 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8431 (pop-up-frames, display-buffer-reuse-frames)
8432 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8433 Suggested by David Engster <deng@randomsample.de>.
8434 (even-window-heights): Initialize to 'unset.
8435 (display-buffer-alist-set): Handle new 'unset initializations.
8436 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8439 2011-06-16 Martin Rudalics <rudalics@gmx.at>
8441 * window.el (display-buffer-normalize-specifiers-1):
8442 Respect current value of pop-up-frames for most reasonable values of
8443 second argument of display-buffer (Bug#8865).
8444 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8445 (switch-to-buffer-other-window-same-frame)
8446 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8448 (display-buffer): Don't check noninteractive when calling
8449 display-buffer-pop-up-frame.
8450 (display-buffer-pop-up-frame): Never pop up a frame in
8451 noninteractive mode (Bug#8857).
8452 (enlarge-window, shrink-window): Don't report an error when the
8453 window can't be resized as requested (Bug#8862).
8455 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8457 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8459 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8461 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8463 2011-06-15 Alan Mackenzie <acm@muc.de>
8465 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8466 for declarators, disable knr checking to speed up for normal files.
8467 2: Refactor, replacing a sequence of nested if forms by a cond form.
8469 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8471 * net/network-stream.el (open-network-stream): Add the keyword
8472 :always-query-capabilities for the case where you want to force a
8473 `plain' network connection, but the protocol still requires the
8474 capabilitiy command (i.e., SMTP and EHLO).
8476 * subr.el (process-live-p): Rename from `process-alive-p' for
8477 consistency with other `-live-p' functions.
8479 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8481 * window.el (same-window-buffer-names, same-window-regexps)
8482 (special-display-frame-alist, special-display-popup-frame)
8483 (special-display-function, special-display-buffer-names)
8484 (special-display-regexps, pop-up-frame-alist)
8485 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8486 (pop-up-windows, split-window-preferred-function)
8487 (split-height-threshold, split-width-threshold, even-window-heights)
8488 (display-buffer-mark-dedicated): Don't encourage the use of
8489 display-buffer-alist from Elisp code.
8491 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
8493 * progmodes/python.el (python-mode): Derive from prog-mode.
8494 * progmodes/ps-mode.el (ps-mode):
8495 * progmodes/mixal-mode.el (mixal-mode):
8496 * progmodes/cfengine.el (cfengine-mode):
8497 * progmodes/ld-script.el (ld-script-mode): Likewise.
8499 2011-06-15 Martin Rudalics <rudalics@gmx.at>
8501 * window.el (display-buffer-alist): Trim default value to avoid
8502 popping up a new frame (Bug#8857) or reusing an arbitrary window
8504 (display-buffer): Do not fall back on popping up a new frame in
8505 batch mode (Bug#8857).
8507 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
8509 * cus-theme.el (describe-theme-1): Use custom-theme-p.
8510 (custom-theme-summary): New function.
8511 (customize-themes): Use it.
8513 2011-06-13 Glenn Morris <rgm@gnu.org>
8515 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8517 2011-06-13 Martin Rudalics <rudalics@gmx.at>
8519 * help.el (help-window): Remove variable.
8520 (help-window-point-marker, temp-buffer-max-height)
8521 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8522 (help-print-return-message): Don't set help-window.
8523 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8524 (help-window-setup-finish): Remove.
8525 (help-window-display-message, help-window-setup)
8526 (with-help-window): Major rewrite based on new
8527 display-buffer-window variable.
8529 * help-mode.el (help-mode-finish): Remove help-window related
8532 * view.el (view-exits-all-viewing-windows): Remove reference to
8533 view-return-to-alist in doc-string.
8534 (view-return-to-alist): Make obsolete.
8535 (view-buffer): Call pop-to-buffer-same-window and remove
8537 (view-buffer-other-window): Call pop-to-buffer-other-window and
8538 simplify code. Ignore second argument.
8539 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8540 simplify code. Ignore second argument.
8541 (view-return-to-alist-update): Make obsolete.
8542 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8543 Rewrite using quit-restore window parameters.
8544 (view-mode-exit): Rename second argument to EXIT-ONLY.
8545 Rewrite using quit-restore-window.
8546 (View-exit, View-exit-and-edit, View-leave, View-quit)
8547 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8548 appropriate arguments.
8549 (view-end-message): Use quit-restore window parameter.
8551 * window.el (display-buffer-function): Rewrite doc-string.
8552 (display-buffer-window, display-buffer-alist): New variables.
8553 (display-buffer-split-specifiers)
8554 (display-buffer-side-specifiers)
8555 (display-buffer-macro-specifiers): New constants.
8556 (display-buffer-even-window-sizes, display-buffer-set-height)
8557 (display-buffer-set-width, display-buffer-select-window)
8558 (display-buffer-in-window, display-buffer-reuse-window)
8559 (display-buffer-split-window-1, display-buffer-split-window)
8560 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8561 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8562 (display-buffer-in-side-window, normalize-buffer-to-display)
8563 (display-buffer-normalize-specifiers-1)
8564 (display-buffer-normalize-specifiers-2)
8565 (display-buffer-normalize-specifiers, display-buffer-frame):
8567 (display-buffer): Major rewrite.
8568 (display-buffer-other-window, display-buffer-other-frame)
8569 (pop-to-buffer, switch-to-buffer-other-window)
8570 (switch-to-buffer-other-frame): Rewrite.
8571 (display-buffer-same-window, display-buffer-same-frame)
8572 (display-buffer-same-frame-other-window)
8573 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8574 (pop-to-buffer-other-window)
8575 (pop-to-buffer-same-frame-other-window)
8576 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8577 (switch-to-buffer-other-window-same-frame): New functions.
8578 (same-window-p, special-display-p): Rewrite disabling warnings.
8580 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8581 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8583 (same-window-buffer-names, same-window-regexps)
8584 (special-display-frame-alist, special-display-popup-frame)
8585 (special-display-function, special-display-buffer-names)
8586 (special-display-regexps, pop-up-frame-alist)
8587 (pop-up-frame-function, split-window-preferred-function)
8588 (split-height-threshold, split-width-threshold)
8589 (even-window-heights): Make obsolete.
8591 2011-06-12 Glenn Morris <rgm@gnu.org>
8593 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
8594 Misc simplifications.
8596 2011-06-12 Martin Rudalics <rudalics@gmx.at>
8598 * window.el (window-safely-shrinkable-p): Restore function which
8599 was inadvertently removed in change from 2011-06-11. Declare as
8602 * calendar/calendar.el (calendar-generate-window):
8603 Use window-iso-combined-p instead of combination of one-window-p and
8604 window-safely-shrinkable-p.
8606 2011-06-12 Glenn Morris <rgm@gnu.org>
8608 * progmodes/fortran.el (fortran-mode-syntax-table):
8609 * progmodes/f90.el (f90-mode-syntax-table):
8610 Set % to punctuation. (Bug#8820)
8611 (f90-find-tag-default): Remove, no longer needed.
8613 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8615 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8617 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
8619 * image.el (image-animated-p): Return animation delay in seconds.
8620 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8621 (image-animate-timeout): Remove DELAY argument. Don't assume
8622 every subimage has the same delay; get it from image-animated-p.
8623 (image-animate): Caller changed.
8625 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
8627 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8628 to ignored backtrace functions.
8630 2011-06-11 Glenn Morris <rgm@gnu.org>
8632 * calendar/appt.el (appt-disp-window-function): Doc fix.
8633 (appt-check): Handle overlapping appointments. (Bug#8337)
8635 2011-06-11 Martin Rudalics <rudalics@gmx.at>
8637 * window.el (window-tree-1, window-tree): New functions, moving
8638 the latter to window.el.
8639 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8640 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8641 (bw-refresh-edges): Remove.
8642 (balance-windows-1, balance-windows-2): New functions.
8643 (balance-windows): Rewrite in terms of window tree functions,
8644 balance-windows-1 and balance-windows-2.
8645 (bw-adjust-window): Remove.
8646 (balance-windows-area-adjust): New function with functionality of
8647 bw-adjust-window but using resize-window.
8648 (set-window-text-height): Rewrite doc-string.
8649 Use normalize-live-window and resize-window.
8650 (enlarge-window-horizontally, shrink-window-horizontally):
8651 Rename argument to DELTA.
8652 (window-buffer-height): New function.
8653 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8654 Rewrite using new window resize routines.
8655 (kill-buffer-and-window, mouse-autoselect-window-select):
8656 Use ignore-errors instead of condition-case.
8657 (quit-window): Call delete-frame instead of delete-windows-on
8658 for the only buffer on frame.
8660 2011-06-10 Martin Rudalics <rudalics@gmx.at>
8662 * loadup.el (top-level): Load window before files for the sake
8663 of replace-buffer-in-windows.
8665 * files.el (read-buffer-to-switch)
8666 (switch-to-buffer-other-window)
8667 (switch-to-buffer-other-frame, display-buffer-other-frame):
8670 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8671 (previous-buffer): Move to window.el.
8673 * bindings.el (unbury-buffer): Move to window.el.
8675 * window.el (delete-other-windows-vertically): Move after
8676 definition of delete-other-windows.
8677 (other-window, delete-windows-on, replace-buffer-in-windows):
8678 Move here from window.c.
8679 (record-window-buffer, unrecord-window-buffer)
8680 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8681 (switch-to-next-buffer): New functions.
8682 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8683 from simple.el. Call switch-to-next-buffer.
8684 (previous-buffer): Move here from simple.el.
8685 Call switch-to-prev-buffer.
8686 (bury-buffer): Move here from buffer.c. Switch to previous
8687 buffer when window cannot be deleted.
8688 (unbury-buffer): Move here from bindings.el.
8689 (ctl-x-map): Move binding for other-window from window.c to
8691 (read-buffer-to-switch, switch-to-buffer-other-window)
8692 (switch-to-buffer-other-frame): Move here from files.el.
8693 (normalize-buffer-to-switch-to): New functions.
8694 (switch-to-buffer): Move here from buffer.c.
8695 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
8697 2011-06-10 Martin Rudalics <rudalics@gmx.at>
8699 * window.el (window-min-height, window-min-width): Move here
8700 from window.c. Add defcustoms and rewrite doc-strings.
8701 (resize-mini-window, resize-window): New functions.
8702 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8703 Move here from window.c.
8704 (maximize-window, minimize-window): New functions.
8705 (delete-window, delete-other-windows, split-window): Move here
8707 (window-split-min-size): New function.
8708 (split-window-keep-point): Mention split-window-above-each-other
8709 instead of split-window-vertically.
8710 (split-window-above-each-other, split-window-vertically):
8711 Rename split-window-vertically to split-window-above-each-other
8712 and provide defalias for old definition.
8713 (split-window-side-by-side, split-window-horizontally):
8714 Rename split-window-horizontally to split-window-side-by-side
8715 and provide defalias for the old definition.
8716 (ctl-x-map): Move bindings for delete-window,
8717 delete-other-windows and enlarge-window here from window.c.
8718 Replace bindings for split-window-vertically and
8719 split-window-horizontally by bindings for
8720 split-window-above-each-other and split-window-side-by-side.
8722 * cus-start.el (all): Remove entries for window-min-height and
8723 window-min-width. Add entries for window-splits and
8726 2011-06-09 Glenn Morris <rgm@gnu.org>
8728 * calendar/appt.el (appt-mode-line): New function.
8729 (appt-check, appt-disp-window): Use it.
8731 * files.el (hack-one-local-variable-eval-safep):
8732 Allow minor-modes with explicit +/-1 arguments.
8734 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8736 * term/xterm.el (xterm): Add defgroup.
8737 (xterm-extra-capabilities): Add defcustom to supply known xterm
8738 capabilities, skip querying them, or query them (default).
8739 (terminal-init-xterm): Use it.
8740 (terminal-init-xterm-modify-other-keys): New function to set up
8741 modifyOtherKeys support to simplify `terminal-init-xterm'.
8743 2011-06-09 Martin Rudalics <rudalics@gmx.at>
8745 * window.el (resize-window-reset, resize-window-reset-1)
8746 (resize-subwindows-skip-p, resize-subwindows-normal)
8747 (resize-subwindows, resize-other-windows, resize-this-window)
8748 (resize-root-window, resize-root-window-vertically)
8749 (window-deletable-p, window-or-subwindow-p)
8750 (frame-root-window-p): New functions.
8752 2011-06-09 Glenn Morris <rgm@gnu.org>
8754 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8755 (ange-ftp-get-files): Use it.
8757 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8759 * mail/sendmail.el (mail-recover-1, mail-recover):
8760 * files.el (recover-file, recover-session):
8761 Handle dired-listing-switches not being just a single short option.
8763 2011-06-09 Glenn Morris <rgm@gnu.org>
8765 * calendar/appt.el (appt-display-message, appt-disp-window):
8766 Handle lists of appointments.
8768 2011-06-08 Martin Rudalics <rudalics@gmx.at>
8770 * window.el (one-window-p): Move down in code.
8772 (window-current-scroll-bars): Rewrite doc-string.
8773 Normalize live window argument.
8774 (walk-windows, get-window-with-predicate, count-windows):
8775 Rewrite doc-string. Use window-list-1.
8776 (window-in-direction-2, window-in-direction, get-mru-window):
8779 2011-06-08 Reuben Thomas <rrt@sc3d.org>
8781 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8784 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
8786 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8788 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
8790 * loadhist.el (unload-feature-special-hooks):
8791 Add `comint-output-filter-functions'.
8793 2011-06-08 Ivan Kanis <gnu@kanis.fr>
8795 * calendar/appt.el (appt-check): Move some initializations into the let.
8797 2011-06-08 Martin Rudalics <rudalics@gmx.at>
8799 * window.el (window-height): Defalias to window-total-height.
8800 (window-width): Defalias to window-body-width.
8802 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
8804 * image-mode.el (image-toggle-animation): New command.
8805 (image-mode-map): Bind it to RET.
8806 (image-mode): Update message.
8807 (image-toggle-display-image): Avoid a spurious cache flush.
8808 (image-transform-rotation): Doc fix.
8809 (image-transform-properties): Return quickly in the normal case.
8810 (image-animate-loop): Rename from image-animate-max-time.
8812 * image.el (image-animate-max-time): Move to image-mode.el.
8813 (create-animated-image): Remove unnecessary function.
8814 (image-animate): Rename from image-animate-start. New arg.
8815 (image-animate-stop): Remove; just use image-animate-timer.
8816 (image-animate-timer): Use car-safe.
8817 (image-animate-timeout): Rename argument.
8819 2011-06-07 Martin Rudalics <rudalics@gmx.at>
8821 * window.el (get-lru-window, get-largest-window): Move here from
8822 window.c. Rename first argument to ALL-FRAMES.
8823 Rephrase doc-strings.
8824 (get-buffer-window-list): Rewrite using window-list-1.
8825 Rephrase doc-string.
8826 (window-safe-min-height, window-safe-min-width): New constants.
8827 (window-size-ignore, window-min-size, window-min-size-1)
8828 (window-sizable, window-sizable-p, window-size-fixed-1)
8829 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8830 (window-max-delta-1, window-max-delta, window-resizable)
8831 (window-resizable-p, window-total-height, window-total-width)
8832 (window-body-width): New functions.
8833 (window-full-height-p, window-full-width-p): Rewrite using
8835 (window-body-height): Rewrite using window-body-size.
8837 2011-06-06 Martin Rudalics <rudalics@gmx.at>
8839 * window.el (window-right, window-left, window-child)
8840 (window-child-count, window-last-child, window-any-p)
8841 (normalize-live-buffer, normalize-live-frame)
8842 (normalize-any-window, normalize-live-window)
8843 (window-iso-combination-p, window-iso-combined-p)
8844 (window-iso-combinations)
8845 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8846 (windows-with-parameter, window-with-parameter)
8847 (window-atom-root, make-window-atom, window-atom-check-1)
8848 (window-atom-check, window-side-check, window-check):
8850 (ignore-window-parameters, window-sides, window-sides-vertical)
8851 (window-sides-slots): New variables.
8852 (window-size-fixed): Move down in code. Minor doc-string fix.
8854 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8856 * comint.el (comint-dynamic-complete-as-filename)
8857 (comint-dynamic-complete-filename): Correctly call
8858 completion-in-region.
8860 2011-06-05 Deniz Dogan <deniz@dogan.se>
8862 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8865 2011-06-05 Deniz Dogan <deniz@dogan.se>
8867 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8868 (rcirc): Use it to prompt for encryption.
8870 2011-06-05 Roland Winkler <winkler@gnu.org>
8872 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8873 (bibtex-search-entries): New command bound to C-c C-a.
8874 (bibtex-display-entries): New function.
8876 2011-06-05 Roland Winkler <winkler@gnu.org>
8878 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8879 (bibtex-insert-kill): After yanking insert newline if necessary.
8880 (bibtex-initialize): Call bibtex-string-files-init only once.
8881 (bibtex-mode): Do not call easy-menu-add.
8882 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8883 (bibtex-yank): Set arg properly if nil.
8885 2011-06-05 Roland Winkler <winkler@gnu.org>
8887 * textmodes/bibtex.el (bibtex-search-entry-globally):
8889 (bibtex-search-entry): Use it.
8891 2011-06-05 Roland Winkler <winkler@gnu.org>
8893 * textmodes/bibtex.el (bibtex-entry-format): New option
8895 (bibtex-format-entry, bibtex-reformat): Honor this option.
8896 (bibtex-parse-entry): Return fields in proper order.
8898 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
8900 * doc-view.el (doc-view-remove-if): Move computation of result out
8901 of `dolist' to silence misleading lexical-binding warning.
8903 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
8905 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8906 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8908 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
8910 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8913 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
8915 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8916 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8917 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8918 (tramp-parse-putty):
8919 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8920 (tramp-completion-function-alist-ssh)
8921 (tramp-completion-function-alist-telnet)
8922 (tramp-completion-function-alist-su)
8923 (tramp-completion-function-alist-putty): Set `tramp-autoload'
8928 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8929 load "tramp.el" `tramp-set-completion-function'.
8931 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8933 * shell.el: Require and use pcomplete.
8934 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8935 (shell-completion-vars): Set pcomplete-default-completion-function.
8937 2011-06-04 Deniz Dogan <deniz@dogan.se>
8939 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8942 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8944 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8946 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
8948 * bs.el (bs--mark-unmark, bs--nth-wrapper):
8949 * mpc.el (mpc-select-extend, mpc-songpointer-context):
8950 * vc/log-view.el (log-view-beginning-of-defun):
8951 * vc/smerge-mode.el (smerge-apply-resolution-patch)
8952 (smerge-refine-forward, smerge-refine-chopup-region):
8953 Silence warning for unused `dotimes' counter variables.
8955 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8957 * net/tramp.el (tramp-with-progress-reporter): Rename from
8958 with-progress-reporter. Use `declare'.
8961 * net/tramp-gvfs.el: Update all uses.
8963 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
8965 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8966 buffer isn't killed before making it current.
8968 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8970 Silence various byte-compiler warnings.
8971 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8972 `access-type' and new obsolescence format.
8973 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8975 (byte-compile-check-variable): New `access-type' argument.
8976 Only warn if the access-type is obsolete.
8977 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8978 (byte-compile-variable-set): Adjust callers.
8979 * help-fns.el (describe-variable): Adjust to new obsolescence format.
8980 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8981 setting it as obsolete.
8982 * simple.el (minibuffer-completing-symbol):
8983 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8985 * minibuffer.el (minibuffer-completing-file-name): Don't make it
8987 * international/quail.el (quail-mouse-choose-completion): Remove unused
8988 code referring to obsolete var.
8989 (quail-choose-completion-string): Remove.
8990 * server.el (server-clients-with, server-kill-buffer-query-function)
8991 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8992 * proced.el (proced-send-signal):
8993 * emacs-lisp/lisp.el (lisp-complete-symbol):
8994 Replace completion-annotate-function with completion-extra-properties.
8996 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8998 * simple.el (goto-line): Use read-number.
8999 (overriding-map-is-bound): Remove.
9000 (saved-overriding-map): Change default.
9001 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9002 Take the map as argument.
9003 (universal-argument, negative-argument, digit-argument): Use it.
9004 (restore-overriding-map): Adjust.
9005 (do-auto-fill): Use fill-forward-paragraph.
9006 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9008 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9009 (minibuffer-inactive-mode): New major mode.
9010 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9011 the *Messages* buffer" hack.
9012 (mouse-popup-menubar): Don't burp if the event is a normal key.
9014 Miscellaneous tweaks.
9015 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9016 lexical scoping as in subr.el's dolist and dotimes.
9017 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9018 Silence compiler warning.
9019 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9020 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9021 * international/ccl.el (ccl-compile): Trivial simplification.
9022 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9023 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9024 `printflag' argument.
9025 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9026 Purecopy the whole obsolescence data.
9028 2011-06-01 Leo Liu <sdl.web@gmail.com>
9030 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9031 improve doc-string as suggested by Marco Pessotto
9032 <melmothx@gmail.com>.
9033 (rcirc-print): Fix last change.
9035 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9037 * minibuffer.el (complete-with-action): Return nil for the metadata and
9038 boundaries of non-functional tables.
9039 (completion-table-dynamic): Return nil for the metadata.
9040 (completion-table-with-terminator): Add default case, using
9041 complete-with-action.
9042 (completion--metadata): New function.
9043 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9044 to try and avoid pathological performance problems.
9045 (completion--embedded-envvar-table): Return `category' metadata.
9047 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9049 * subr.el (process-alive-p): New tiny convenience function.
9051 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9053 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9054 content but also its previous major mode.
9056 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
9058 * emacs-lisp/debug.el (debug): Restore the previous content of the
9059 *Backtrace* buffer when we exit with C-M-c.
9061 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9063 * minibuffer.el: Add metadata method to completion tables.
9064 (completion-category-overrides): New defcustom.
9065 (completion-metadata, completion--field-metadata)
9066 (completion-metadata-get, completion--styles)
9067 (completion--cycle-threshold): New functions.
9068 (completion-try-completion, completion-all-completions):
9069 Add `metadata' argument to choose completion-styles.
9070 (completion--do-completion): Use metadata to choose cycling.
9071 (completion-all-sorted-completions): Use metadata for sorting.
9072 Remove :completion-cycle-penalty which is not needed any more.
9073 (completion--try-word-completion): Add `metadata' argument.
9074 (minibuffer-completion-help): Check metadata for annotation function
9076 (completion-file-name-table): Return `category' metadata.
9077 (minibuffer-completing-file-name): Make obsolete.
9078 * simple.el (minibuffer-completing-symbol): Make obsolete.
9079 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9080 completion-try-completion.
9082 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9084 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9086 2011-05-30 Leo Liu <sdl.web@gmail.com>
9088 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
9089 (rcirc-print): Decode all incoming messages (bug#8744).
9090 (rcirc-decode-coding-system): Allow value nil for automatic coding
9093 2011-06-01 Glenn Morris <rgm@gnu.org>
9095 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9097 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9099 * image.el (image-animate-max-time): Allow nil and t values.
9101 (create-animated-image): Doc fix.
9102 (image-animate-start): Remove second arg; just use
9103 image-animate-max-time.
9104 (image-animate-timeout): Doc fix. Args changed.
9106 * image-mode.el (image-toggle-display-image): Ensure that the
9107 image spec passed to the animate timer is the same object as in
9108 the buffer's display property (Bug#6981).
9109 (image-transform-properties): Doc fix.
9111 * image.el (image-animate-max-time): Default to nil.
9113 2011-05-29 Martin Rudalics <rudalics@gmx.at>
9115 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9116 entire buffer list (Bug#8184).
9118 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9120 * image.el (imagemagick-types-inhibit)
9121 (imagemagick-register-types): Doc fix.
9123 2011-05-29 Deniz Dogan <deniz@dogan.se>
9125 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9128 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
9130 * select.el: Don't perform clipboard-manager saving in hooks;
9131 leave the hooks empty.
9133 2011-05-28 Leo Liu <sdl.web@gmail.com>
9135 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9136 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9137 (occur-edit-mode): New major mode (Bug#8463).
9138 (occur-after-change-function): New function.
9139 (occur-engine): Give Occur tags a read-only property.
9141 2011-05-28 Kevin Ryde <user42@zip.com.au>
9143 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9145 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9147 * bindings.el (help-echo): Make the initial non-indicator dash
9148 empty on graphical terminals (Bug#7295).
9150 * files.el (auto-mode-alist): Move config rule after the
9151 in-stripping one (Bug#8547).
9153 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9155 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9158 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9160 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9161 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9164 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9166 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9168 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9170 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9171 (hs-hide-block-at-point, hs-find-block-beginning)
9172 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9175 2011-05-28 Glenn Morris <rgm@gnu.org>
9177 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9179 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
9181 * help-fns.el (describe-function-1): If the function is a derived
9182 major mode, print the parent mode.
9184 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9185 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9187 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9189 * minibuffer.el (completion--capf-wrapper): Check applicability before
9190 returning non-nil for non-exclusive completion data.
9191 * progmodes/etags.el (tags-completion-at-point-function):
9192 * info-look.el (info-lookup-completions-at-point): Mark as
9194 (info-complete): Adjust accordingly.
9196 * info-look.el: Convert to lexical-binding and completion-at-point.
9197 (info-lookup-completions-at-point): New function.
9198 (info-complete): Use it and completion-in-region.
9200 2011-05-28 Drew Adams <drew.adams@oracle.com>
9202 * isearch.el: Let M-e start with point at the first mismatched char.
9203 (isearch-fail-pos): New function.
9204 (isearch-edit-string): Use it.
9206 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9208 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9210 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
9212 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9213 traversal functions for avl-trees.
9214 (avl-tree--stack): New struct.
9215 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9216 (avl-tree-enter): Add optional `updatefun' arg.
9217 (avl-tree--do-enter): Add optional `updatefun' arg.
9218 Change return value.
9219 (avl-tree-delete): Add optional `test' and `nilflag' args.
9220 (avl-tree--do-delete): Add `test' and `nilflag' args.
9221 Change return value.
9222 (avl-tree-member): Add optional `nilflag'
9223 (avl-tree-member-p): New function.
9224 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9225 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9226 (avl-tree-stack-empty-p): New functions.
9228 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9229 avl-tree--del-balance1 and make it work both ways.
9230 (avl-tree--del-balance2): Remove.
9231 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9232 make it work both ways.
9233 (avl-tree--enter-balance2): Remove.
9234 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9236 (avl-tree--mapc, avl-tree-map): Add direction argument.
9238 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
9240 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9242 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
9244 * select.el: Support clipboard managers with built-in function
9245 x-clipboard-manager-save, via delete-frame-functions and
9247 (xselect-convert-to-targets): Add MULTIPLE target to list.
9248 (xselect-convert-to-save-targets): New function.
9250 2011-05-27 Kenichi Handa <handa@m17n.org>
9252 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9253 let-binding rfc2047-encode-encoded-words to nil.
9255 2011-05-27 Glenn Morris <rgm@gnu.org>
9257 * mail/emacsbug.el: Don't require url-util.
9259 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9261 * files.el (set-auto-mode):
9262 Also respect mode: entries at the end of the file. (Bug#8586)
9264 2011-05-26 Glenn Morris <rgm@gnu.org>
9266 * files.el (hack-local-variables-prop-line, hack-local-variables):
9267 Downcase mode names, as seems to be traditional.
9268 (hack-local-variables, hack-local-variables-apply): Doc fixes.
9270 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9271 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9273 2011-05-25 Julien Danjou <julien@danjou.info>
9275 * textmodes/rst.el (rst-define-level-faces): Do not define face
9276 symbol if it is already defined.
9278 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
9280 * play/5x5.el (5x5-new-game, 5x5-randomize):
9281 Reset 5x5-solver-output to nil when a new grid is cast.
9282 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9283 these debugging traces, as defmacro breaks the compiled code.
9285 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9287 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9289 2011-05-24 Leo Liu <sdl.web@gmail.com>
9291 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9292 (vc-bzr-sha1): Adapt.
9294 * sha1.el: Remove. Function `sha1' is now builtin.
9296 * bindings.el: Provide sha1 feature.
9298 2011-05-24 Kenichi Handa <handa@m17n.org>
9300 * mail/sendmail.el: Require `rfc2047'.
9301 (mail-insert-from-field): Do not perform RFC2047 encoding.
9302 (mail-encode-header): New function.
9303 (sendmail-send-it): Set buffer-file-coding-system of the work
9304 buffer to the return value of select-message-coding-system.
9305 Call mail-encode-header.
9307 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9309 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
9311 * mail/supercite.el (sc-default-cite-frame):
9312 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
9314 2011-05-24 Glenn Morris <rgm@gnu.org>
9316 * progmodes/python.el (brm-menu): Declare.
9318 * emulation/viper.el (viper-set-hooks): Declare.
9320 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9321 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9322 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9323 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9324 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9325 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9327 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9329 Add an :exit-function for completion-at-point.
9331 * minibuffer.el (completion--done): New fun.
9332 (completion--do-completion): Use it. New arg `expect-exact'.
9333 (minibuffer-complete, minibuffer-complete-word): Don't output message,
9334 since completion--do-completion does it for us now.
9335 (minibuffer-force-complete): Use completion--done and
9336 completion--replace. Handle sole-completion case with more care.
9337 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9338 (completion-extra-properties): New var.
9339 (completion-annotate-function): Make obsolete.
9340 (minibuffer-completion-help): Adjust accordingly.
9341 Use completion-list-insert-choice-function.
9342 (completion-at-point, completion-help-at-point):
9343 Bind completion-extra-properties.
9344 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9345 * simple.el (completion-list-insert-choice-function): New var.
9346 (completion-setup-function): Preserve it.
9347 (choose-completion): Pay attention to it, shuffle the code a bit.
9348 (choose-completion-string): New arg `insert-function'.
9350 * textmodes/bibtex.el: Convert to lexical binding.
9351 (bibtex-mode-map): Use completion-at-point.
9352 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9353 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9354 (bibtex-complete): Define as obsolete alias.
9355 (bibtex-complete-internal): Remove.
9356 (bibtex-format-entry): Remove unused sub-group in regexp.
9357 * shell.el (shell--command-completion-data)
9358 (shell-environment-variable-completion):
9359 * pcomplete.el (pcomplete-completions-at-point):
9360 * comint.el (comint--complete-file-name-data): Use :exit-function
9361 instead of completion-table-with-terminator so it also works for
9364 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9366 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9368 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9371 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9373 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9375 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9376 customization variable and implement: If non-nil, auto-fill will
9377 be inhibited while on topic's header line.
9379 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
9381 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
9382 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
9383 always have a solution in grid size = 5 cases.
9384 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9385 (5x5-solver-output, 5x5-log-buffer): New vars.
9386 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9387 Make these variables buffer local to achieve 5x5 multi-session-ness.
9388 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9389 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9390 (5x5-solve-suggest): New funs.
9391 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9392 randomize a grid so that we ensure that there is always a solution.
9393 (5x5-make-random-grid): Allow other movement than flipping.
9395 2011-05-23 Kevin Ryde <user42@zip.com.au>
9397 * emacs-lisp/advice.el (ad-read-advised-function):
9398 Use `function-called-at-point' as the default, if it has
9399 advice and passes PREDICATE.
9401 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9403 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9404 byte-compile-lambda if it's actually a lambda.
9406 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9407 Fix function quoting. Use backquote better.
9409 2011-05-22 Yuanle Song <sylecn@gmail.com>
9411 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9412 matching (Bug#8516).
9414 2011-01-22 Jari Aalto <jari.aalto@cante.net>
9416 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9417 different face (Bug#8178).
9419 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
9421 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9424 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9426 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9427 funcall as well (bug#8712). Warn when performing those conversions.
9428 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9430 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9432 2011-05-22 Glenn Morris <rgm@gnu.org>
9434 * files.el (hack-local-variables-prop-line): Small simplifications.
9435 (hack-local-variables, hack-local-variables-prop-line):
9436 If MODE-ONLY, return the mode, rather than just `t'.
9438 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9440 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9442 2011-05-21 Glenn Morris <rgm@gnu.org>
9444 * files.el (hack-local-variables-prop-line, hack-local-variables):
9445 If only interested in the mode, don't bother doing the other stuff.
9447 * image-mode.el (image-after-revert-hook):
9448 Redraw all frames on which the image is visible. (Bug#8567)
9450 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9452 * wid-edit.el (widget-checklist-match-inline):
9453 Fix 2011-04-19 change. (Bug#8649)
9455 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9457 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9458 Also allow singlespace after single-letter capitals followed by a dot.
9460 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9461 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9463 2011-05-20 Nix <nix@esperi.org.uk>
9465 * files.el (basic-save-buffer-2):
9466 Fix handling of break-hardlink-on-save with non-existent files.
9468 2011-05-19 Deniz Dogan <deniz@dogan.se>
9470 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9471 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
9473 2011-05-19 Glenn Morris <rgm@gnu.org>
9475 * progmodes/f90.el (f90-type-def-re):
9476 Handle "type, bind(c)". (Bug#8691)
9478 * emacs-lisp/autoload.el (batch-update-autoloads):
9479 Set autoload-excludes by parsing loadup.el rather than Makefiles.
9481 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
9483 * net/tramp.el (tramp-process-actions): Set "first-password-request"
9484 property for the correct connection in case of multihops.
9486 2011-05-18 Glenn Morris <rgm@gnu.org>
9488 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
9489 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9491 Rationalize calendar handling of day and month abbrev-arrays.
9492 * calendar/calendar.el (calendar-customized-p): New function.
9493 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9494 (calendar-day-name-array, calendar-month-name-array): Doc fix.
9496 (calendar-abbrev-length, calendar-day-abbrev-array)
9497 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9498 (calendar-day-abbrev-array, calendar-month-abbrev-array):
9499 Elements may no longer be nil.
9500 (calendar-day-name, calendar-month-name):
9501 Update for changed nature of abbrev arrays.
9502 * calendar/diary-lib.el (diary-name-pattern):
9503 Update for changed nature of abbrev arrays.
9504 (diary-mark-entries-1): Update calendar-make-alist calls.
9505 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9506 * calendar/cal-html.el (cal-html-day-abbrev-array):
9507 Simply inherit from calendar-day-abbrev-array.
9509 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9511 * progmodes/grep.el (grep-mode): Disable default
9512 compilation-directory-matcher setting (bug#8684).
9514 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
9516 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9517 instead of "head" and "tail". There were problems with SunOS 5.9,
9518 and it performs better.
9520 2011-05-17 Glenn Morris <rgm@gnu.org>
9522 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9524 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9525 Replace obsolete function.
9527 * shell.el (pcomplete-parse-arguments-function): Declare.
9529 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9530 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9531 (appt-check): Doc fixes.
9532 (appt-disp-window-function, appt-delete-window-function):
9533 Remove needless special case in custom :type.
9534 (appt-display-count): Default to 0, not nil.
9535 (appt-check): Reset appt-display-count to 0, not nil.
9537 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
9539 * progmodes/python.el (python-font-lock-keywords):
9540 Add the Python 3.X keyword "nonlocal" (bug#8639).
9542 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9544 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9546 2011-05-16 Kevin Ryde <user42@zip.com.au>
9548 * info-look.el (makefile-automake-mode): New setups, looking in
9549 automake manual, then makefile-mode.
9550 (makefile-mode): Remove automake manual, have it just in
9551 makefile-automake-mode since there's various things different or
9552 not relevant to plain make.
9553 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9554 believe a hypothetical automake-mode would go to makefile-mode,
9555 not the other way around.
9557 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
9559 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9560 hunk-end tags (Bug#8672).
9562 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9563 vc-annotate-show-diff-revision-at-line (Bug#8671).
9565 2011-05-14 Glenn Morris <rgm@gnu.org>
9567 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9568 in the middle of an existing one with multiple authors. (Bug#8645)
9569 (change-log-font-lock-keywords): Also handle multiple author lines
9570 with leading tabs. (Bug#8644)
9572 * calendar/appt.el (appt-check): Rename some local variables.
9573 Some simplification/reordering.
9575 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9576 (feedmail-sendmail-f-doesnt-sell-me-out)
9577 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9578 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9579 (feedmail-queue-runner-message-sender): Set :version.
9580 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9581 (bbdb-dwim-net-address, vm-mail): Declare.
9582 (feedmail-binmail-gnulinuxish-template):
9583 Rename from feedmail-binmail-linuxish-template.
9584 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9585 Use insert-buffer-substring.
9587 2011-05-14 Bill Carpenter <bill@carpenter.org>
9589 * mail/feedmail.el (feedmail-patch-level): Increase.
9590 (feedmail-debug): New custom group.
9591 (feedmail-confirm-outgoing-timeout)
9592 (feedmail-sendmail-f-doesnt-sell-me-out)
9593 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9594 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9595 (feedmail-sender-line, feedmail-from-line)
9596 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
9597 (feedmail-spray-this-address)
9598 (feedmail-spray-address-fiddle-plex-list)
9599 (feedmail-queue-use-send-time-for-date)
9600 (feedmail-queue-use-send-time-for-message-id)
9601 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9602 (feedmail-buffer-eating-function):
9604 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9605 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9606 (feedmail-message-action-scroll-down): New functions.
9607 (feedmail-queue-directory, feedmail-queue-draft-directory):
9608 Use expand-file-name.
9609 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9610 Remove C-v help entry.
9611 (feedmail-queue-buffer-file-name): New variable.
9612 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9613 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9614 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9615 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9616 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9617 (feedmail-message-action-toggle-spray)
9618 (feedmail-run-the-queue-no-prompts)
9619 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9620 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9621 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9622 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9623 (feedmail-envelope-deducer, feedmail-fiddle-from)
9624 (feedmail-fiddle-sender, feedmail-default-date-generator)
9625 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9626 (feedmail-fiddle-spray-address)
9627 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9628 (feedmail-fiddle-list-of-fiddle-plexes)
9629 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9630 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9631 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9632 Change default. Doc fix.
9633 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9634 (feedmail-binmail-linuxish-template): New constant.
9635 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9636 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9637 (feedmail-send-it): Add debug call.
9638 Use feedmail-queue-buffer-file-name, and
9639 feedmail-send-it-immediately-wrapper.
9640 (feedmail-message-action-send): Add debug call.
9641 Use feedmail-send-it-immediately-wrapper.
9642 (feedmail-queue-express-to-queue): Add debug call.
9643 Run feedmail-queue-express-hook.
9644 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9645 (feedmail-message-action-help-blat):
9646 Rename from feedmail-queue-send-edit-prompt-help-first.
9647 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9648 Check line-endings. Handle errors better.
9649 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9650 Doc fix. Add debug call.
9651 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9652 Use feedmail-queue-send-edit-prompt-inner.
9653 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9654 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9655 from feedmail-queue-send-edit-prompt.
9656 (feedmail-queue-send-edit-prompt-help)
9657 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9658 (feedmail-tidy-up-slug): Add debug call.
9659 Respect feedmail-queue-slug-suspect-regexp.
9660 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9661 (feedmail-dump-message-to-queue): Add debug call.
9662 Expand queue-directory.
9663 (feedmail-dump-message-to-queue): Change message slightly.
9664 Use feedmail-say-chatter.
9665 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9666 (feedmail-send-it-immediately-wrapper): New function.
9667 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9668 Insert empty string rather than newline. Handle full-frame case.
9669 Use catch/throw. Use feedmail-say-chatter.
9670 (feedmail-fiddle-from): Try mail-host-address.
9671 (feedmail-default-message-id-generator): Doc fix.
9672 Bind system-time-locale. Handle missing end.
9673 (feedmail-fiddle-x-mailer): Add debug call.
9674 Handle feedmail-x-mailer-line being nil.
9675 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9676 Add debug call. Use buffer-substring-no-properties.
9677 (feedmail-say-debug, feedmail-say-chatter): New functions.
9678 (feedmail-find-eoh): Give an explicit error.
9680 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
9682 * net/newst-treeview.el (newsticker-treeview-face): Change default
9683 family from helvetica to sans.
9684 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
9685 etc/images/newsticker.
9687 * net/newst-reader.el (newsticker-feed-face): Change default
9688 family from helvetica to sans.
9690 * net/newst-plainview.el (newsticker-new-item-face)
9691 (newsticker-old-item-face, newsticker-immortal-item-face)
9692 (newsticker-obsolete-item-face, newsticker-date-face)
9693 (newsticker-statistics-face): Change default family from
9695 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
9696 etc/images/newsticker.
9698 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9699 (newsticker--process-auto-mark-filter-match): : Tell user about
9702 2011-05-13 Didier Verna <didier@xemacs.org>
9704 Common Lisp indentation improvements on defmethod and lambda-lists.
9705 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9707 (lisp-lambda-list-keyword-parameter-indentation)
9708 (lisp-lambda-list-keyword-parameter-alignment)
9709 (lisp-lambda-list-keyword-alignment): New customizable user options.
9710 (lisp-indent-defun-method): Improve docstring.
9711 (extended-loop-p): Fix comment.
9712 (lisp-indent-lambda-list-keywords-regexp): New variable.
9713 (lisp-indent-lambda-list): New function.
9714 (lisp-indent-259): Use it.
9715 (lisp-indent-defmethod): Support for more than one
9716 method qualifier and properly indent methods lambda-lists.
9717 (defgeneric): Provide a missing common-lisp-indent-function property.
9719 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9721 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9722 bounds for the empty string (bug#8667).
9724 2011-05-13 Glenn Morris <rgm@gnu.org>
9726 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9728 * mail/sendmail.el (sendmail-program): Try executable-find first.
9729 (sendmail-send-it): `sendmail-program' cannot be unbound.
9731 * calendar/appt.el (appt-make-list): Simplify.
9732 (appt-time-msg-list): Doc fix.
9733 (appt-check): Change mode-line message at the time of the appointment.
9735 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9737 * progmodes/ld-script.el (ld-script-keywords)
9738 (ld-script-builtins): Update keywords list.
9740 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9742 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9744 * shell.el (shell-completion-vars): New function.
9746 * simple.el (read-shell-command): Use it.
9747 (blink-matching-open): No need for " [...]" in minibuffer-message.
9749 2011-05-12 Glenn Morris <rgm@gnu.org>
9751 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9752 (appt-check): Simplify.
9754 2011-05-12 Eli Zaretskii <eliz@gnu.org>
9756 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
9757 literal "/dev/null".
9759 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9761 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9764 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
9766 * progmodes/which-func.el (which-function):
9767 Use add-log-current-defun instead of add-log-current-defun-function,
9768 which might not be defined (Bug#8260).
9770 2011-05-12 Glenn Morris <rgm@gnu.org>
9772 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9773 Let byte-compile-initial-macro-environment always take precedence.
9775 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9777 * net/rcirc.el: Add support for SSL/TLS connections.
9778 (rcirc-server-alist): New field `encryption'.
9779 (rcirc): Check `encryption' settings.
9780 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9781 Merge make-local-variable into `set'.
9782 (rcirc--connection-open-p): New function.
9783 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9784 the process is not a network process (e.g. running gnutls-cli).
9785 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9786 Make rcirc-(en|de)code-coding-system local here.
9787 (rcirc-mode): Merge make-local-variable into `set'.
9788 (rcirc-parent-buffer): Make permanent buffer-local.
9789 (rcirc-multiline-minor-mode): Don't do it here.
9790 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9791 there's no server buffer.
9793 2011-05-11 Glenn Morris <rgm@gnu.org>
9795 * newcomment.el (comment-kill): Prefix "unused" local.
9797 * term/w32console.el (get-screen-color): Declare.
9799 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9800 Handle symbol elements of byte-compile-initial-macro-environment.
9802 2011-05-10 Leo Liu <sdl.web@gmail.com>
9804 * bookmark.el (bookmark-bmenu-mode-map):
9805 Bind bookmark-bmenu-search to `/'.
9807 * mail/footnote.el: Convert to utf-8 encoding.
9808 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9809 (Footnote-unicode): New function.
9810 (footnote-style-alist): Add unicode style to the list.
9811 (footnote-style): Doc fix.
9813 2011-05-10 Jim Meyering <meyering@redhat.com>
9815 Fix doubled-word typos.
9816 * international/quail.el (quail-insert-kbd-layout): and and -> and
9817 * kermit.el: and and -> and
9818 * net/ldap.el (ldap-search-internal): to to -> to
9819 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9820 * progmodes/js.el (js-mode): and and -> and
9821 * textmodes/artist.el (artist-move-to-xy): at at -> at
9822 (artist-draw-region-trim-line-endings): if if -> if
9823 And Safetyc -> Safety.
9824 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9826 2011-05-10 Glenn Morris <rgm@gnu.org>
9827 Stefan Monnier <monnier@iro.umontreal.ca>
9829 * files.el (hack-one-local-variable-eval-safep):
9830 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9832 2011-05-10 Glenn Morris <rgm@gnu.org>
9834 * calendar/diary-lib.el (diary-list-entries-hook)
9835 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9836 (diary-nongregorian-marking-hook, diary-list-entries)
9837 (diary-include-other-diary-files, diary-mark-entries)
9838 (diary-mark-included-diary-files): Doc fixes.
9840 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
9842 * misc.el: Require tabulated-list.el during compilation.
9844 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
9846 * progmodes/compile.el (compilation-start):
9847 Run compilation-filter-hook for the async case too.
9848 (compilation-filter-hook): Doc fix.
9850 2011-05-09 Deniz Dogan <deniz@dogan.se>
9852 * wdired.el: Remove outdated installation comment. Fix usage
9855 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
9857 * misc.el: Implement new command `list-dynamic-libraries'.
9858 (list-dynamic-libraries--loaded-only-p): New variable.
9859 (list-dynamic-libraries--refresh): New function.
9860 (list-dynamic-libraries): New command.
9862 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
9864 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9865 Fix the ant regexp to handle end-line and end-column info from jikes.
9866 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9867 higher priority to avoid clobbering by gnu.
9869 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
9871 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9872 if the face has existing theme settings (Bug#8454).
9874 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9876 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9877 Only match variables declared via `my' or `our' (Bug#8261).
9879 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9880 special file names `.' and `..' (Bug#8259).
9882 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
9884 * progmodes/grep.el (grep-mode-font-lock-keywords):
9885 Remove buffer-changing entries.
9886 (grep-filter): New function.
9887 (grep-mode): Add it to compilation-filter-hook.
9889 * progmodes/compile.el (compilation-filter-hook)
9890 (compilation-filter-start): New defvars.
9891 (compilation-filter): Call compilation-filter-hook prior to
9892 updating the process mark.
9894 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9896 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9898 2011-05-07 Eli Zaretskii <eliz@gnu.org>
9900 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9901 mailclient-send-it even if window-system is nil. (Bug#8595)
9903 * term/w32console.el (terminal-init-w32console):
9904 Call get-screen-color and use its output to set the frame
9905 background-mode. (Bug#8597)
9907 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9909 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9910 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9912 (defgeneric, eieio--defmethod): Use them.
9913 (eieio-defgeneric): Remove.
9914 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9916 2011-05-07 Glenn Morris <rgm@gnu.org>
9918 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9919 Use let rather than let*.
9920 (timeclock-find-discrep): Remove unused local.
9922 * calendar/diary-lib.el (diary-comment-start): Doc fix.
9924 * calendar/appt.el (appt-time-msg-list): Doc fix.
9926 2011-05-06 Noah Friedman <friedman@splode.com>
9928 * apropos.el (apropos-print-doc): Only use
9929 emacs-lisp-docstring-fill-column when it is bound to an integer,
9930 per that variable's documentation.
9932 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9934 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
9935 and warnings are not silently discarded (e.g. use -d instead of -P).
9937 2011-05-06 Glenn Morris <rgm@gnu.org>
9939 * calendar/appt.el (appt-message-warning-time): Doc fix.
9940 (appt-warning-time-regexp): New option.
9941 (appt-make-list): Respect appt-message-warning-time.
9943 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9945 (diary-add-to-list): Strip comments from the displayed string.
9946 (diary-mode): Set comment-start and comment-end.
9948 * vc/diff-mode.el (smerge-refine-subst): Declare.
9949 (diff-refine-hunk): Don't require smerge-mode when compiling.
9951 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
9953 * simple.el (list-processes): Return nil as the docstring says.
9955 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
9957 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9959 (ange-ftp-write-region, ange-ftp-insert-file-contents)
9960 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9961 determining of binary transfer. (Bug#7383)
9963 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
9965 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9966 Fix port computation bug. (Bug#8618)
9968 2011-05-05 Glenn Morris <rgm@gnu.org>
9970 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9972 * simple.el (shell-dynamic-complete-functions)
9973 (comint-dynamic-complete-functions): Declare.
9975 * net/network-stream.el (gnutls-negotiate):
9976 * simple.el (tabulated-list-print): Fix declarations.
9978 * progmodes/gud.el (syntax-symbol, syntax-point):
9979 Remove unnecessary and incorrect declarations.
9981 * emacs-lisp/check-declare.el (check-declare-scan):
9982 Handle byte-compile-initial-macro-environment in bytecomp.el
9984 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9986 Fix earlier half-done eieio-defmethod change (bug#8338).
9987 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9988 Streamline and change calling convention.
9989 (defmethod): Adjust accordingly and simplify.
9990 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9991 new eieio--defmethod.
9992 (slot-boundp): Minor CSE simplification.
9994 2011-05-05 Milan Zamazal <pdm@zamazal.org>
9996 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9997 (glasses-make-readable): Use glasses-separate-capital-groups.
9999 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
10001 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10002 (warning-series): Doc fix.
10003 (display-warning): Don't try to create the buffer if we just found it.
10005 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
10007 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10008 (autoload-find-generated-file): New function.
10009 (generate-file-autoloads): Bind generated-autoload-file to
10011 (update-file-autoloads, update-directory-autoloads):
10012 Use autoload-find-generated-file. If called interactively, prompt for
10013 output file (Bug#7989).
10014 (batch-update-autoloads): Doc fix.
10016 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
10018 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10020 2011-05-04 Glenn Morris <rgm@gnu.org>
10022 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10023 function, so it follows changes in calendar-date-style.
10024 (diary-fancy-date-matcher): New function.
10025 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10026 (diary-fancy-font-lock-fontify-region-function):
10027 Use diary-fancy-date-pattern as a function.
10029 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10030 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10032 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10034 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10035 instead of positional arguments. Allow :keylist and :crlfiles
10037 (open-gnutls-stream): Call it.
10039 * net/network-stream.el (network-stream-open-starttls): Adjust to
10040 call `gnutls-negotiate' with :process and :hostname arguments.
10042 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10044 * minibuffer.el (completion--message): New function.
10045 (completion--do-completion, minibuffer-complete)
10046 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10047 (completion--do-completion): Don't ignore completion-auto-help when in
10050 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10051 internal encoding (e.g. tibetan zero is not whitespace).
10052 (global-whitespace-mode): Prefer save-current-buffer.
10053 (whitespace-trailing-regexp): Remove useless save-match-data.
10054 (whitespace-empty-at-bob-regexp): Minor simplification.
10056 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
10058 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10060 2011-05-03 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
10062 * textmodes/ispell.el (ispell-add-per-file-word-list):
10063 Use `concat' to create string for insertion.
10065 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10067 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10068 Avoid open-line which runs post-self-insert-hook.
10069 (bibtex-fill-entry): Remove unused `end' var.
10071 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10073 * textmodes/ispell.el (ispell-add-per-file-word-list):
10074 Protect against `nil' value of `comment-start' (Bug#8579).
10076 2011-05-03 Leo Liu <sdl.web@gmail.com>
10078 * isearch.el (isearch-yank-pop): New command.
10079 (isearch-mode-map): Bind it to `M-y'.
10080 (isearch-forward): Mention it.
10082 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10084 * simple.el (minibuffer-complete-shell-command): Remove.
10085 (minibuffer-local-shell-command-map): Use completion-at-point.
10086 (read-shell-command): Setup completion vars here instead.
10087 (read-expression-map): Bind TAB to symbol completion.
10089 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10090 error directly rather via storing it into `results'.
10092 2011-05-02 Leo Liu <sdl.web@gmail.com>
10094 * vc/diff.el: Fix description.
10096 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10098 * server.el (server-eval-at): New function.
10100 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10102 * net/network-stream.el (open-network-stream): Take a :nowait
10103 parameter and pass it on to `make-network-process'.
10104 (network-stream-open-plain): Ditto.
10106 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10108 * faces.el (face-spec-set-match-display): Don't match toolkit
10109 options on terminal frames.
10111 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10113 * progmodes/pascal.el: Use lexical binding.
10114 (pascal-mode-map): Remove author preferences.
10116 * pcomplete.el (pcomplete-std-complete): Don't abuse
10117 completion-at-point.
10119 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
10121 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10122 removing code that has been dead since 1991 or so.
10124 * startup.el (command-line): When warning about "_emacs", use a
10125 delayed warning to allow the user to filter it out.
10127 2011-04-28 Deniz Dogan <deniz@dogan.se>
10129 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10130 user has not joined.
10132 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10134 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10135 aren't any completions at point.
10137 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
10139 * subr.el (display-delayed-warnings): New function.
10140 (delayed-warnings-hook): New variable.
10142 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10144 * minibuffer.el (completion-at-point, completion-help-at-point):
10145 Don't presume that a given completion-at-point-function will always
10146 use the same calling convention.
10148 * pcomplete.el (pcomplete-completions-at-point):
10149 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10150 pcomplete-seen is non-nil.
10151 (pcomplete-comint-setup): Also recognize the new comint/shell
10152 completion functions.
10153 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10154 pcomplete-seen is non-nil.
10156 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
10158 * calendar/icalendar.el (diary-lib): Add require statement.
10159 (icalendar--create-uid): Read out a uid from a text-property on
10160 the first character in the entry. This allows for code to add its
10161 own uid to the entry.
10162 (icalendar--convert-float-to-ical): Add export of
10163 `diary-float'-entries save for those with the optional DAY
10166 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10168 * subr.el (shell-quote-argument): Use alternate escaping strategy
10169 when we spot a variable reference in a string.
10171 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10173 * cus-start.el (all): Define customization for debug-on-event.
10175 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10177 * subr.el (shell-quote-argument): Escape correctly under Windows.
10179 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10181 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10183 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
10185 * net/tramp.el (tramp-process-actions): Add POS argument.
10186 Delete region between POS and (pos).
10188 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10189 Use `nil' position in `tramp-process-actions' call.
10190 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10192 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10193 position in `tramp-process-actions' call.
10195 * net/trampver.el: Update release number.
10197 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10199 * custom.el (defcustom): Obey lexical-binding.
10201 Fix octave-inf completion problems reported by Alexander Klimov.
10202 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10203 Inherit from octave-mode-syntax-table.
10204 (inferior-octave-mode): Set info-lookup-mode.
10205 (inferior-octave-completion-at-point): New function.
10206 (inferior-octave-complete): Use it and completion-in-region.
10207 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10208 comint-filename-completion.
10209 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10210 symbol elements which shouldn't be word elements.
10211 (octave-font-lock-keywords, octave-beginning-of-defun)
10212 (octave-function-header-regexp): Adjust regexps accordingly.
10213 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10215 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
10217 * net/gnutls.el (gnutls-errorp): Declare before first use.
10219 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10221 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10222 verify-error, and verify-hostname-error parameters. Check whether
10223 default trustfile exists before going to use it. Add missing
10224 argument to gnutls-message-maybe call. Return value.
10225 Reported by Claudio Bley <claudio.bley@gmail.com>.
10226 (open-gnutls-stream): Add usage example.
10228 * net/network-stream.el (network-stream-open-starttls): Give host
10229 parameter to `gnutls-negotiate'.
10230 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
10231 * subr.el (shell-quote-argument): Escape correctly under Windows.
10233 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
10235 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10236 Use correct match group (bug#8438).
10238 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
10240 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10241 (package-menu--generate): New arg specifying packages to show.
10242 (package-menu-refresh, package-menu-execute, list-packages):
10244 (package-show-package-list): New function, replacing deleted
10245 package--list-packages (renamed because it is non-internal).
10247 * finder.el (finder-list-matches): Use package-show-package-list
10248 instead of deleted package--list-packages.
10250 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10251 Based on a previous implementation by Juanma Barranquero (Bug#8366).
10252 (vc-annotate-mode-map): Bind it to RET.
10254 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10256 * progmodes/etags.el (next-file): Don't use set-buffer to change
10257 buffers (Bug#8478).
10259 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
10261 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10263 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10264 (apropos-accumulator): Doc fix.
10265 (apropos-function, apropos-macro, apropos-command)
10266 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10267 (apropos-plist): Add face property.
10268 (apropos-symbols-internal): Fix indentation.
10269 (apropos-print): Simplify help, and recognize apropos-multi-type.
10270 (apropos-print-doc): Use button-type-get to extract the button's
10271 face property. Fill docstring (Bug#8352).
10273 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
10275 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10277 * play/mpuz.el (mpuz-silent): Doc fix.
10278 (mpuz-mode-map): Use mapc.
10279 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10280 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10281 Fix typos in docstrings.
10283 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10284 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10286 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10288 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
10290 * minibuffer.el (completion--do-completion): Avoid the "Next char
10291 not unique" prompt if icomplete-mode is enabled (Bug#5849).
10293 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10294 mouse-2 into unread-command-events, it is interpreted correctly.
10296 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
10297 (image-toggle-display): Doc fix.
10299 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
10301 * textmodes/page.el (what-page): Use line-number-at-pos to
10302 calculate line number (Bug#6825).
10304 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
10306 * eshell/esh-mode.el (find-tag-interactive): Declare function.
10307 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10308 Pass argument NO-DEFAULT to `find-tag-interactive'.
10310 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
10312 Lexical-binding cleanup.
10314 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10315 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10316 * progmodes/ada-prj.el (ada-prj-initialize-values)
10317 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10318 (ada-prj-show-value):
10319 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10320 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10321 (antlr-invalidate-context-cache, antlr-options-menu-filter)
10322 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10323 * progmodes/bug-reference.el (bug-reference-push-button):
10324 * progmodes/fortran.el (fortran-line-length):
10325 * progmodes/glasses.el (glasses-change):
10326 * progmodes/octave-mod.el (octave-fill-paragraph):
10327 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10328 (python-pdbtrack-grub-for-buffer, python-sentinel):
10329 * progmodes/sql.el (sql-save-connection):
10330 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10331 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10332 Mark unused parameters.
10334 * progmodes/compile.el (compilation--flush-directory-cache)
10335 (compilation--flush-parse, compile-internal): Mark unused parameters.
10336 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10337 (compilation-next-error-function): Remove unused variable `timestamp'.
10339 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10340 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10342 * progmodes/dcl-mode.el (dcl-end-of-command):
10343 Remove unused variable `start'.
10344 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10345 (dcl-option-value-basic, dcl-option-value-offset)
10346 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10347 Mark unused parameters.
10348 (dcl-save-local-variable): Remove unused variable `val'.
10351 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10352 Mark unused parameters.
10353 (delphi-ignore-changes): Move before first use.
10354 (delphi-charset-token-at): Remove unused variable `start'.
10355 (delphi-else-start): Remove unused variable `if-count'.
10356 (delphi-comment-block-start, delphi-comment-block-end):
10357 Remove unused variable `kind'.
10358 (delphi-indent-line): Remove unused variable `new-point'.
10360 * progmodes/ebrowse.el (ebrowse-files-list)
10361 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10362 Mark unused parameters. Don't quote `lambda'.
10363 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10364 Don't quote `lambda'.
10365 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10366 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10367 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10368 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10369 Use `ignore-errors'.
10370 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10371 (ebrowse-view/find-file-and-search-pattern)
10372 (ebrowse-view/find-member-declaration/definition):
10373 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10374 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10375 Rename parameter PREFIX-ARG to PREFIX.
10376 (ebrowse-tags-read-name): Remove unused variables `start' and
10378 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10381 * progmodes/etags.el (local-find-tag-hook): Declare.
10382 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10383 Mark unused parameters.
10385 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10386 (executable-interpret): Mark unused parameter.
10388 * progmodes/flymake.el (flymake-process-sentinel)
10389 (flymake-after-change-function)
10390 (flymake-create-temp-with-folder-structure)
10391 (flymake-get-include-dirs-dot): Mark unused parameters.
10392 (flymake-safe-delete-directory): Remove unused variable `err'.
10394 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10395 (speedbar-timer-fn, speedbar-line-text)
10396 (speedbar-change-expand-button-char, speedbar-delete-subblock)
10397 (speedbar-center-buffer-smartly): Declare functions.
10398 (gdb-find-watch-expression): Remove unused variable `array'.
10399 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10400 (gdb-starting): Mark unused parameters.
10401 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10402 (gdb-table-string): Remove unused variable `res'.
10403 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10404 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10405 (gdb-display-buffer): Remove unused variable `cur-size'.
10407 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10408 allow lexical-binding compilation.
10409 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10410 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10411 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10412 Mark unused parameters.
10413 (gud-gdb-marker-filter): Remove unused variable `match'.
10414 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10415 lambda expressions and funcall them, instead of using `fset'.
10417 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10418 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10420 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10421 variable `header-beg'; use `let'.
10423 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10424 `restart', `last-sexp' and `at-do'.
10426 * progmodes/js.el (js--debug): Mark unused parameter.
10427 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10428 (js--splice-into-items): Remove unused variable `item'.
10429 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10431 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10432 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10433 (makefile-complete): Remove unused variable `try'.
10434 (makefile-fill-paragraph, makefile-match-function-end):
10435 Mark unused parameters.
10437 * progmodes/octave-inf.el (inferior-octave-complete):
10438 Remove unused variable `proc'.
10439 (inferior-octave-output-digest): Mark unused parameter.
10441 * progmodes/perl-mode.el (perl-calculate-indent):
10442 Remove unused variable `err'.
10444 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10445 (prolog-indent-line): Mark unused parameters.
10446 (prolog-indent-line): Remove unused variable `beg'.
10448 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10449 (reporter-dont-compact-list): Declare.
10451 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10452 Remove unused variable `char'.
10453 (sh-debug): Mark unused parameter.
10454 (sh-get-indent-info): Remove unused variable `start'.
10455 (sh-calculate-indent): Remove unused variable `var'.
10457 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10458 (simula-electric-keyword): Remove unused variable `null'.
10459 (simula-search-backward, simula-search-forward): Remove unused
10460 variables `begin' and `end'.
10462 * progmodes/vera-mode.el (vera-guess-basic-syntax):
10463 Remove unused variable `pos'.
10464 (vera-electric-tab, vera-comment-uncomment-region):
10465 Mark unused parameters.
10466 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10468 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
10470 * emacs-lisp/package.el (package--builtins, package-alist)
10471 (package-load-descriptor, package-built-in-p, package-activate)
10472 (define-package, package-installed-p)
10473 (package-compute-transaction, package-buffer-info)
10474 (package--push): Doc fix. Distinguish more clearly between
10475 version strings and version lists.
10477 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
10479 Lexical-binding cleanup.
10481 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10482 (5x5-make-mutate-best):
10483 * play/fortune.el (fortune-in-buffer):
10484 * play/gomoku.el (gomoku-init-display):
10485 * play/solitaire.el (solitaire, solitaire-do-check):
10486 * play/tetris.el (tetris-default-update-speed-function):
10487 Mark unused parameters.
10489 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10490 (bubbles--shift): Remove unused variable `char-org'.
10491 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
10492 (bubbles--show-images): Remove unused variable `char'.
10494 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10495 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10496 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10497 (decipher-analyze-buffer): Use ?\s.
10498 (decipher-make-checkpoint): Remove unused variable `mapping'.
10500 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10502 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10503 Remove unused variable `result'; use `let'.
10505 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10506 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10507 (gametree-children-shown-p, gametree-compute-reduced-score):
10508 Use `ignore-errors'.
10510 * play/handwrite.el (ps-lpr-switches): Declare.
10511 (handwrite): Remove unused variables `pmin' and `lastp'.
10513 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10515 * play/landmark.el (landmark-init-display)
10516 (landmark-update-naught-weights): Mark unused parameters.
10517 (landmark-y): Remove unused variable `noise'. Simplify.
10518 (landmark-human-plays): Remove unused variable `score'.
10520 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10521 (mpuz-try-proposal): Remove unused variable `game'.
10523 * play/zone.el (life-patterns): Declare.
10525 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
10527 * vc/vc.el (ediff-vc-internal): Declare function.
10529 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10531 * shell.el: Use lexical-binding and std completion UI.
10532 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10533 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10534 comint-preoutput-filter-functions rather than on
10535 comint-output-filter-functions.
10536 (shell-command-completion, shell--command-completion-data)
10537 (shell-filename-completion, shell-environment-variable-completion)
10538 (shell-c-a-p-replace-by-expanded-directory): New functions.
10539 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10540 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10541 (shell-dynamic-complete-environment-variable): Use them.
10542 (shell-dynamic-complete-as-environment-variable)
10543 (shell-dynamic-complete-as-command): Remove.
10544 (shell-match-partial-variable): Match past point.
10545 * comint.el: Clean up use of completion-at-point-functions.
10546 (comint-completion-at-point): New function.
10547 (comint-mode): Use it completion-at-point-functions.
10548 (comint-dynamic-complete): Make it obsolete.
10549 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10550 (comint-c-a-p-replace-by-expanded-history): New function.
10551 (comint-dynamic-complete-functions)
10552 (comint-replace-by-expanded-history): Use it.
10553 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10554 termination strings. Try harder to avoid second try-completion.
10555 (completion-in-region-mode-map): Disable bindings that don't work yet.
10557 * comint.el: Use lexical-binding. Require CL.
10558 (comint-dynamic-complete-functions): Use comint-filename-completion.
10559 (comint-completion-addsuffix): Tweak custom type.
10560 (comint-filename-completion, comint--common-suffix)
10561 (comint--common-quoted-suffix, comint--table-subvert)
10562 (comint--complete-file-name-data): New functions.
10563 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10564 (comint-dynamic-list-filename-completions): Use them.
10565 (comint-dynamic-simple-complete): Make obsolete.
10567 * minibuffer.el (completion-in-region-mode):
10568 Keep completion-in-region-mode--predicate global.
10569 (completion-in-region--postch):
10570 Assume completion-in-region-mode--predicate is not null.
10572 * progmodes/flymake.el (flymake-start-syntax-check-process):
10573 Obey `dir'. Simplify.
10575 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10576 we're in VC after all.
10578 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10580 * vc/vc.el (vc-diff-build-argument-list-internal)
10581 (vc-version-ediff, vc-ediff): New commands.
10582 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10584 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10586 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10589 * obsolete/erc-hecomplete.el: Make obsolete.
10590 * obsolete/: Standardize obsolescence info in the header.
10592 2011-04-20 Glenn Morris <rgm@gnu.org>
10594 * calendar/solar.el (solar-horizontal-coordinates):
10595 Use the longitude argument rather than `calendar-longitude'.
10596 (solar-date-next-longitude): Remove unused locals.
10598 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10600 * whitespace.el: New version 13.2.1.
10602 2011-04-20 felix <EmacsWiki> (tiny change)
10604 * whitespace.el (global-whitespace-mode): Keep highlight when
10605 switching between major modes on a file.
10607 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10609 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10610 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10611 multi-line comments as well.
10613 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
10615 Lexical-binding cleanup.
10617 * arc-mode.el (archive-mode-revert):
10618 * cmuscheme.el (scheme-interactively-start-process):
10619 * custom.el (custom-initialize-delay):
10620 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10621 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10622 * emacs-lock.el (emacs-lock-clear-sentinel):
10623 * ezimage.el (defezimage):
10624 * follow.el (follow-avoid-tail-recenter):
10625 * fringe.el (set-fringe-mode-1):
10626 * generic-x.el (bat-generic-mode-compile):
10627 * help-mode.el (help-info-variable, help-do-xref)
10628 (help-mode-revert-buffer):
10629 * help.el (view-emacs-todo):
10630 * iswitchb.el (iswitchb-completion-help):
10631 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10632 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10633 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10634 * locate.el (locate-update):
10635 * longlines.el (longlines-encode-region)
10636 (longlines-after-change-function):
10637 * outline.el (outline-isearch-open-invisible):
10638 * ps-def.el (declare-function, charset-dimension, char-width)
10640 * ps-mule.el (ps-mule-plot-string):
10641 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10642 (recentf-edit-list-select, recentf-edit-list-validate)
10643 (recentf-open-files-action):
10644 * rect.el (delete-whitespace-rectangle-line)
10645 (rectangle-number-line-callback):
10646 * register.el (window-configuration-to-register)
10647 (frame-configuration-to-register):
10648 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10649 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10650 (xselect-convert-to-targets, xselect-convert-to-delete)
10651 (xselect-convert-to-filename, xselect-convert-to-charpos)
10652 (xselect-convert-to-lineno, xselect-convert-to-colno)
10653 (xselect-convert-to-os, xselect-convert-to-host)
10654 (xselect-convert-to-user, xselect-convert-to-class)
10655 (xselect-convert-to-name, xselect-convert-to-integer)
10656 (xselect-convert-to-atom, xselect-convert-to-identity):
10657 * subr.el (declare, ignore, process-kill-without-query)
10658 (text-clone-maintain):
10659 * terminal.el (te-get-char, te-tic-sentinel):
10660 * tool-bar.el (tool-bar-make-keymap):
10661 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10662 * type-break.el (type-break-mode, type-break-noninteractive-query):
10663 * view.el (View-back-to-mark):
10664 * wid-browse.el (widget-browse-action, widget-browse-widget)
10665 (widget-browse-widgets, widget-browse-sexp):
10666 * widget.el (define-widget-keywords):
10667 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10668 Mark unused parameters.
10670 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10671 (align-areas): Remove unused variable `look'.
10672 (align-region): Remove unused variables `real-end' and `pos-list'.
10674 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10676 * bindings.el (mode-line-modified, mode-line-remote):
10677 Mark unused parameters.
10678 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10680 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10681 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10683 * comint.el (comint-history-isearch-pop-state)
10684 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10685 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10686 (comint-substitute-in-file-name): Doc fix.
10688 * completion.el (cmpl-statistics-block): Mark unused parameter.
10689 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10690 (save-completions-to-file, load-completions-from-file):
10691 Remove unused local variable `e'.
10693 * composite.el (compose-chars): Remove unused variable `len'.
10694 (lgstring-insert-glyph): Remove unused variable `g'.
10695 (compose-glyph-string): Remove unused variables `ascent',
10696 `descent', `lbearing' and `rbearing'.
10697 (compose-glyph-string-relative): Remove unused variables
10698 `lbearing', `rbearing' and `wadjust'.
10699 (compose-gstring-for-graphic): Remove unused variables `header',
10700 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10701 (compose-gstring-for-terminal): Remove unused variables `header'
10702 and `nchars'. Use `let', not `let*'.
10704 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10705 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10706 (Custom-buffer-done, custom-buffer-create-internal)
10707 (custom-browse-visibility-action, custom-browse-group-tag-action)
10708 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10709 (widget-magic-mouse-down-action, custom-toggle-parent)
10710 (custom-add-parent-links, custom-toggle-hide-variable)
10711 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10712 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10713 (custom-face-menu-create, custom-variable-menu-create, get)
10714 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10715 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10716 (customize-apropos): Remove unused variable `tests'.
10717 (custom-group-value-create): Remove unused variable `hidden-p'.
10718 (sort-fold-case): Declare.
10720 * cus-theme.el (custom-reset-standard-faces-list)
10721 (custom-reset-standard-variables-list): Declare.
10722 (customize-create-theme, custom-theme-revert, custom-theme-write)
10723 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10724 Mark unused parameters.
10726 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10728 * delim-col.el (delimit-columns-max): Move defvar before first use.
10730 * descr-text.el (describe-char-categories): Don't quote `lambda'.
10731 (describe-char): Don't quote `lambda'. Mark unused parameter.
10733 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10734 (auto-insert): Declare.
10735 (desktop-restore-file-buffer): Rename desktop-* parameters;
10737 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10738 (desktop-buffer): Rename desktop-* parameters.
10740 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10741 (dframe-reposition-frame-xemacs, dframe-help-echo)
10742 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10743 Mark unused parameters.
10745 * dired-aux.el (backup-extract-version-start, overwrite-query)
10746 (overwrite-backup-query, rename-regexp-query)
10747 (rename-non-directory-query): Declare.
10748 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10749 (dired-add-entry): Remove unused variable `orig-file-name'.
10750 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10751 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10752 `dired-copy-preserve-time' directly.
10753 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10754 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10756 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10757 (dired-virtual-revert, dired-make-relative-symlink):
10758 Mark unused parameters.
10759 (manual-program): Declare.
10760 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10761 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10762 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10764 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10766 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10768 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10771 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10773 * electric.el (Electric-command-loop): Rename parameter
10774 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10776 * expand.el (expand-in-literal): Remove unused variable `here'.
10778 * facemenu.el (facemenu-add-new-color):
10779 Remove unused variable `docstring'.
10781 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10782 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10783 (face-attr-construct): Mark unused parameter. Doc fix.
10784 (read-color): Remove unused variable `hex-string'.
10786 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10787 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10788 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10789 (display-buffer-other-frame): Remove unused variable `old-window'.
10790 (kill-buffer-hook): Declare.
10791 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10792 Mark unused parameters.
10793 (after-find-file): Pass 1 to `auto-save-mode', not t.
10795 * files-x.el (auto-insert): Declare.
10796 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10798 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
10799 variable `buf'. Mark unused parameter.
10800 (find-lisp-insert-directory): Mark unused parameter.
10802 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10803 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10804 (format-common-tail): Remove, unused.
10805 (format-deannotate-region): Remove unused variable `loc'.
10806 (format-annotate-region): Remove unused variable `p'.
10807 (format-annotate-single-property-change): Remove unused variables
10808 `default' and `tail'.
10810 * forms.el (read-file-filter): Declare.
10811 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10813 * frame.el (frame-creation-function-alist): Mark unused parameter.
10814 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10816 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10817 Remove unused parameters.
10818 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10819 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10821 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10822 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10823 (hfy-prepare-tag-map): Mark unused parameters.
10824 (htmlfontify-buffer): Use `called-interactively-p'.
10826 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10827 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10828 (ibuffer-do-occur): Mark unused parameters.
10829 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10830 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10832 * ibuffer.el: Don't quote `lambda'.
10833 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10834 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10835 Mark unused parameters.
10837 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10838 (ido-completing-read): Mark unused parameters.
10839 (ido-copy-current-word): Mark unused parameters;
10840 remove unused variable `name'.
10841 (ido-sort-merged-list): Remove unused parameter `dirs'.
10843 * ielm.el (ielm-input-sender): Mark unused parameter.
10844 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10845 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10846 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10847 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10848 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10850 * image-dired.el (image-dired-display-thumbs): Remove unused
10851 variables `curr-file' and `count'.
10852 (image-dired-remove-tag): Remove unused variable `start'.
10853 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10854 variable `curr-file'
10855 (image-dired-rotate-original): Remove unused variable `temp-file'.
10856 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10857 Remove unused variable `file'.
10858 (image-dired-gallery-generate): Remove unused variable `curr'.
10859 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10861 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10863 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10865 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10867 * isearch.el (minibuffer-history-symbol): Declare.
10868 (isearch-edit-string): Remove unused variable `err'.
10869 (isearch-message-prefix, isearch-message-suffix):
10870 Mark unused parameters.
10872 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10874 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10876 * makesum.el (double-column): Remove unused variable `cnt'.
10878 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10879 (ido-ignore-item-temp-list): Declare.
10881 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10882 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10883 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10884 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10887 * mouse-sel.el (mouse-extend-internal):
10888 Remove unused variable `orig-window-frame'.
10890 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10891 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10892 Move declarations before first use.
10893 (pcomplete-opt): Mark unused parameters; doc fix.
10895 * proced.el (proced-revert): Mark unused parameter.
10896 (proced-send-signal): Remove unused variable `err'.
10898 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10899 Rename parameter PREFIX-ARG to ARG.
10900 (ps-basic-plot-string, ps-basic-plot-whitespace):
10901 Mark unused parameters.
10903 * replace.el (replace-count): Define.
10904 (occur-revert-function): Mark unused parameters.
10905 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10906 (isearch-case-fold-search, isearch-string): Declare.
10907 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10908 bind `case-fold-search'. Remove unused variables `beg' and `end',
10910 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10911 COUNT and bind `replace-count'.
10912 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10915 * savehist.el (print-readably, print-string-length): Declare.
10917 * shadowfile.el (shadow-expand-cluster-in-file-name):
10918 Remove unused variable `cluster'.
10919 (shadow-copy-file): Remove unused variable `i'.
10920 (shadow-noquery, shadow-clusters, shadow-site-cluster)
10921 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10922 (shadow-define-literal-group, shadow-define-regexp-group)
10923 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10925 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10926 (shell): Use `called-interactively-p'.
10927 (shell-directory-tracker): Remove unused variable `chdir-failure'.
10929 * simple.el (compilation-context-lines, comint-file-name-quote-list)
10930 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10931 (delete-backward-char): Remove unused variable `ocol'.
10932 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10933 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10934 (event-apply-hyper-modifier, event-apply-shift-modifier)
10935 (event-apply-control-modifier, event-apply-meta-modifier):
10936 Mark unused parameters.
10937 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10938 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10940 * speedbar.el (speedbar-ignored-directory-expressions)
10941 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10942 (speedbar-find-file, speedbar-dir-follow)
10943 (speedbar-directory-buttons-follow, speedbar-tag-find)
10944 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10945 (speedbar-buffers-line-directory, speedbar-buffer-click):
10946 Mark unused parameters.
10947 (speedbar-tag-file): Remove unused variable `mode'.
10948 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10950 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10952 * talk.el (talk): Remove unused variable `display'.
10954 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10955 (tar-write-region-annotate): Mark unused parameter.
10957 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10958 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10959 Declare them, wrapped in `with-no-warnings' to avoid replacing one
10960 warning by another.
10962 * time-stamp.el (time-stamp-string-preprocess):
10963 Remove unused variable `require-padding'.
10965 * tree-widget.el (widget-glyph-enable): Declare.
10966 (tree-widget-action): Mark unused parameter.
10968 * w32-fns.el (x-get-selection): Mark unused parameter.
10969 (autoload-make-program, generated-autoload-file): Declare.
10971 * wdired.el (wdired-revert): Mark unused parameters.
10972 (wdired-xcase-word): Remove unused variable `err'.
10974 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10975 (whitespace-help-scroll): Remove unused variable `data-help'.
10977 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10978 (widget-image-insert, widget-after-change, default)
10979 (widget-default-format-handler, widget-default-notify)
10980 (widget-default-prompt-value, widget-info-link-action)
10981 (widget-url-link-action, widget-function-link-action)
10982 (widget-variable-link-action, widget-file-link-action)
10983 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10984 (widget-field-prompt-internal, widget-field-action, widget-field-match)
10985 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10986 (widget-insert-button-action, widget-delete-button-action, visibility)
10987 (widget-documentation-link-action, widget-documentation-string-action)
10988 (widget-const-prompt-value, widget-regexp-match, symbol)
10989 (widget-coding-system-prompt-value)
10990 (widget-key-sequence-value-to-external, sexp)
10991 (widget-sexp-value-to-internal, character, vector, cons)
10992 (widget-choice-prompt-value, widget-boolean-prompt-value)
10993 (widget-color--choose-action): Mark unused parameters.
10994 (widget-item-match-inline, widget-choice-match-inline)
10995 (widget-checklist-match, widget-checklist-match-inline)
10996 (widget-group-match): Rename parameter VALUES to VALS.
10997 (widget-field-value-set): Remove unused variable `size'.
10998 (widget-color-action): Remove unused variables `value' and `start'.
11000 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
11001 variable `dir'. Doc fix.
11002 (windmove-find-other-window): Don't pass it.
11004 * window.el (count-windows): Mark unused parameter.
11005 (bw-adjust-window): Remove unused variable `err'.
11007 * woman.el (woman-file-name): Remove unused variable `default'.
11008 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11009 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11010 (global-font-lock-mode): Declare.
11011 (woman-decode-region): Mark unused parameter.
11012 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11014 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11015 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11016 (x-dnd-handle-moz-url): Remove unused variable `title'.
11017 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11019 * xml.el (xml-parse-tag, xml-parse-attlist):
11020 Remove unused variable `pos'.
11022 2011-04-19 Glenn Morris <rgm@gnu.org>
11024 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11025 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11026 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11027 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11028 * calendar/cal-html.el (cal-html-insert-minical):
11029 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11030 (calendar-mark-date-pattern):
11031 Prefix "unused" locals.
11033 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11034 optional argument `style'.
11036 * calendar/appt.el (appt-make-list):
11037 * calendar/cal-china.el (calendar-chinese-date-string):
11038 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11039 (diary-hebrew-yahrzeit):
11040 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11041 * calendar/calendar.el (calendar-generate-window):
11042 * calendar/time-date.el (time-to-days):
11043 Remove unused local variables.
11045 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
11047 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11048 glyphless-char-display table.
11049 (tabulated-list-glyphless-char-display): New var.
11051 2011-04-18 Sam Steingold <sds@gnu.org>
11053 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11054 to acknowledgments.
11056 2011-04-17 Glenn Morris <rgm@gnu.org>
11058 * calendar/diary-lib.el (diary-sexp-entry):
11059 * calendar/holidays.el (holiday-sexp):
11060 Set debug-on-error rather than the removed stack-trace-on-error.
11062 2011-04-16 Glenn Morris <rgm@gnu.org>
11064 * progmodes/f90.el: Use lexical-binding.
11065 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11067 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11069 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11070 (mail-mode): Setup mailalias completion here instead.
11071 * mail/mailalias.el: Use lexical-binding.
11072 (pattern, mailalias-done): Declare dynamic.
11073 (mail-completion-at-point-function): New function, from mail-complete.
11074 (mail-complete): Use it.
11075 (mail-completion-expand): New function.
11076 (mail-get-names): Use it.
11077 (mail-directory, mail-directory-process, mail-directory-stream):
11078 Don't use `pattern' for lexically bound arg.
11080 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11082 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11083 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11084 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11086 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11087 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11088 (byte-interactive-p): Define them again, for use when inlining
11091 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
11093 * loadup.el: Use `string-to-number', not `string-to-int'.
11095 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11097 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11098 gud-gdb-complete-command.
11099 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11100 (gud-gdb-completion-at-point): New function.
11101 (gud-gdb-completions): Remove.
11103 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
11105 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11106 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11107 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11108 whether `executable-find' is bound.
11110 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11112 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11114 * minibuffer.el (completion-in-region-mode-predicate)
11115 (completion-in-region-mode--predicate): New vars.
11116 (completion-in-region, completion-in-region--postch)
11117 (completion-in-region-mode): Use them.
11118 (completion--capf-wrapper): Also return the hook function.
11119 (completion-at-point, completion-help-at-point):
11120 Adjust and provide a predicate.
11122 Preserve arg names for advice of subr and lexical functions (bug#8457).
11123 * help-fns.el (help-function-arglist): Consolidate the subr and
11124 new-byte-code cases. Add argument `preserve-names' to extract names
11125 from the docstring when needed.
11126 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11127 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11128 (ad-arglist): Use help-function-arglist's new arg.
11129 (ad-definition-type): Use cond.
11131 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
11133 * autorevert.el (auto-revert-handler):
11134 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11135 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11136 Don't quote lambda.
11138 * image-mode.el (image-transform-set-scale):
11139 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11141 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11143 * net/network-stream.el (network-stream-open-starttls): Only do
11144 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
11145 Upgrades via gnutls-cli are too slow to be done opportunistically.
11147 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
11149 * dframe.el (dframe-current-frame): Remove spurious quote.
11151 2011-04-12 Glenn Morris <rgm@gnu.org>
11153 * calendar/cal-tex.el (cal-tex-end-document):
11154 Try to automatically use latin1 input if needed.
11156 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11157 Don't try to cons a mark onto an empty element.
11159 2011-04-11 Leo Liu <sdl.web@gmail.com>
11161 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11163 (ido-kill-buffer-at-head): Support killing virtual buffers.
11165 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
11167 * minibuffer.el (completion-show-inline-help): New var.
11168 (completion--do-completion, minibuffer-complete)
11169 (minibuffer-force-complete, minibuffer-complete-word):
11170 Inhibit minibuffer messages if completion-show-inline-help is nil.
11172 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11173 to avoid interference from inline help (Bug#5849).
11175 2011-04-10 Leo Liu <sdl.web@gmail.com>
11177 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11180 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
11182 * image-mode.el (image-toggle-display-image): Signal an error if
11184 (image-transform-mode, image-transform-resize)
11185 (image-transform-set-rotation): Doc fix.
11186 (image-transform-set-resize): Delete.
11187 (image-transform-set-scale, image-transform-fit-to-height)
11188 (image-transform-fit-to-width): Handle image-toggle-display-image
11189 and image-transform-resize directly.
11191 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
11193 * doc-view.el (doc-view-fit-width-to-window)
11194 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11195 New functions for fitting the shown image to the Emacs window size.
11196 (doc-view-mode-map): Add bindings for the new functions.
11198 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
11200 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
11201 Fix typo in docstring.
11203 2011-04-08 Eli Zaretskii <eliz@gnu.org>
11205 * files.el (file-size-human-readable): Produce one digit after
11206 decimal, like "ls -lh" does.
11208 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11209 the file size representation.
11211 * simple.el (list-processes): If async subprocesses are not
11212 available, error out with a clear error message.
11214 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
11216 * help.el (help-form-show): New function, to be called from C.
11217 Put help-form output in a buffer named differently than *Help*.
11219 2011-04-08 Eli Zaretskii <eliz@gnu.org>
11221 * files.el (file-size-human-readable): New function.
11223 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11224 computing the representation inline. Don't require `cl'.
11226 2011-04-08 Glenn Morris <rgm@gnu.org>
11228 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11230 * net/browse-url.el (browse-url-firefox):
11231 Test system-type, not system-configuration.
11233 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11234 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11235 Use log-edit-empty-buffer-p. (Bug#7598)
11237 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11238 (rlogin-mode-map): Initialize in the defvar.
11239 (rlogin): Use ignore-errors.
11241 * replace.el (occur-mode-map): Some fixes for menu items.
11243 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11245 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11247 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
11249 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11250 issuing unused warnings.
11252 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11255 * simple.el: Lisp reimplement of list-processes. Based on an
11256 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11257 (process-menu-mode): New major mode.
11258 (list-processes--refresh, list-processes):
11259 (process-menu-visit-buffer): New functions.
11261 * files.el (save-buffers-kill-emacs): Don't assume any return
11262 value of list-processes, which is undocumented anyway.
11264 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
11266 * emacs-lisp/tabulated-list.el: New file.
11268 * emacs-lisp/package.el: Use Tabulated List mode.
11269 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11270 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11271 table format using Tabulated List mode variables.
11272 (package--push): New macro, replacing package-list-maybe-add.
11273 (package-menu--generate): Use package--push. Renamed from
11274 package--generate-package-list.
11275 (package-menu-refresh, list-packages): Use it.
11276 (package-menu--print-info): Rename from package-print-package.
11277 Return insertion data instead of inserting it directly.
11278 (package-menu-describe-package, package-menu-execute):
11279 Use tabulated-list-get-id.
11280 (package-menu-mark-delete, package-menu-mark-install)
11281 (package-menu-mark-unmark, package-menu-backup-unmark)
11282 (package-menu-mark-obsolete-for-deletion):
11283 Use tabulated-list-put-tag.
11284 (package--list-packages, package-menu-revert)
11285 (package-menu-get-package, package-menu-get-version)
11286 (package-menu-sort-by-column): Functions deleted.
11287 (package-menu-package-list, package-menu-sort-key): Vars deleted.
11288 (package-menu--status-predicate, package-menu--version-predicate)
11289 (package-menu--name-predicate)
11290 (package-menu--description-predicate): Handle arguments in the
11291 Tabulated List format.
11292 (package-list-packages-no-fetch): Call list-packages.
11294 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
11296 * files.el (after-find-file-from-revert-buffer): Remove variable.
11297 (after-find-file): Don't bind it.
11298 (revert-buffer-in-progress-p): New variable.
11299 (revert-buffer): Bind it.
11300 Pass nil for `after-find-file-from-revert-buffer'.
11302 * saveplace.el (save-place-find-file-hook): Use new variable
11303 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11305 2011-04-06 Glenn Morris <rgm@gnu.org>
11307 * Makefile.in (AUTOGEN_VCS): New variable.
11308 (autoloads): Use $AUTOGEN_VCS.
11310 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11311 * calendar/calendar.el (calendar-mode-map):
11312 Check for toolkit scroll bars. (Bug#8305)
11314 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
11316 * minibuffer.el (completion-in-region--postch)
11317 (completion-in-region-mode): Remove unnecessary messages.
11319 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
11321 * font-lock.el (font-lock-refresh-defaults):
11322 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11323 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11325 * info.el (Info-directory-list, Info-read-node-name-2)
11326 (Info-split-parameter-string): Doc fixes.
11327 (Info-virtual-nodes): Reflow docstring.
11328 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11329 (Info-apropos-toc-nodes, info-finder, Info-get-token)
11330 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11331 Fix typos in docstrings.
11332 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11333 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11334 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11335 (Info-restore-desktop-buffer): Mark unused parameters.
11336 (Info-directory-find-file, Info-directory-find-node)
11337 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11338 (Info-virtual-index-find-node, Info-apropos-find-file)
11339 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
11340 Mark unused parameters; fix typos in docstrings.
11341 (Info-virtual-index): Remove unused local variable `nodename'.
11343 2011-04-05 Deniz Dogan <deniz@dogan.se>
11345 * net/rcirc.el: Update my e-mail address.
11346 (rcirc-mode-map): Remove M-o binding.
11348 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
11350 * startup.el (command-line): Save the cursor's theme-face
11351 directly, instead of using face-override-spec.
11353 * custom.el (load-theme): Minor optimization in assigning faces.
11355 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
11357 * help-fns.el (describe-variable): Complete all variables having
11358 documentation, including keywords.
11359 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11361 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
11363 Convert to lexical-binding.
11365 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11366 (bs--get-marked-string, bs--get-modified-string)
11367 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11368 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11369 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11371 * ehelp.el (electric-help-execute-extended)
11372 (electric-help-ctrl-x-prefix):
11373 * hexl.el (hexl-revert-buffer-function):
11374 * linum.el (linum-after-change, linum-after-scroll):
11375 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11377 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11379 2011-04-04 Daiki Ueno <ueno@unixuser.org>
11386 * epg.el: Use lexical binding.
11388 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
11390 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11392 * textmodes/flyspell.el (flyspell-word): Recognize default
11393 dictionary case for flyspell-mark-duplications-exceptions.
11394 Use regexp matching for languages.
11395 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11396 default dictionary (Bug#7926).
11398 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
11400 * emacs-lisp/package.el (package--with-work-buffer):
11401 Recognize https URLs.
11403 * net/network-stream.el: Move from gnus/proto-stream.el.
11404 Change prefix to network-stream throughout.
11405 (open-protocol-stream): Merge into open-network-stream, leaving
11406 open-protocol-stream as an alias. Handle nil BUFFER args.
11408 * subr.el (open-network-stream): Move to net/network-stream.el.
11410 2011-04-02 Glenn Morris <rgm@gnu.org>
11412 * find-dired.el (find-exec-terminator): New option.
11413 (find-ls-option): Test for -ls support.
11414 (find-ls-subdir-switches): Test for -b in find-ls-option.
11415 (find-dired, find-grep-dired): Doc fixes.
11416 (find-dired): Use find-exec-terminator.
11418 * find-dired.el (find-ls-option, find-ls-subdir-switches)
11419 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11420 (find-name-arg): Remove purecopy.
11422 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11423 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11424 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11425 accordingly. Don't add the null-device if not needed.
11427 * files.el (save-some-buffers): Doc fix.
11429 2011-04-02 Eli Zaretskii <eliz@gnu.org>
11431 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11433 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
11435 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11436 Use `dolist' rather than `mapcar'.
11438 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11440 Add lexical binding.
11442 * subr.el (apply-partially): Use new closures rather than CL.
11443 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11444 (dolist, dotimes): Use slightly different expansion for lexical code.
11445 (functionp): Move to C.
11446 (letrec): New macro.
11447 (with-wrapper-hook): Use it and apply-partially instead of CL.
11448 (eval-after-load): Preserve lexical-binding.
11449 (save-window-excursion, with-output-to-temp-buffer): Turn them
11452 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11454 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11456 (help-add-fundoc-usage): Don't add `Not documented'.
11457 (help-function-arglist): Handle closures, subroutines, and new
11458 byte-code-functions.
11459 (help-make-usage): Remove leading underscores.
11460 (describe-function-1): Handle closures.
11461 (describe-variable): Use special-variable-p for completion.
11463 * files.el (lexical-binding): Declare safe.
11465 * emacs-lisp/pcase.el: Don't use destructuring-bind.
11466 (pcase--memoize): Rename from pcase-memoize. Change weakness.
11467 (pcase): Add `let' pattern.
11468 Change memoization so it actually works.
11469 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11470 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11473 * emacs-lisp/macroexp.el: Use lexical binding.
11474 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
11475 Don't convert ' to #' without checking that it's indeed quoting
11478 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
11479 Use eval-sexp-add-defvars.
11480 (eval-sexp-add-defvars): New fun.
11482 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11484 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11486 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11487 than the internal `byte-compile-lambda'.
11488 (defmethod): Don't hide code under quotes.
11489 (eieio-defmethod): New `code' argument.
11491 * emacs-lisp/eieio-comp.el: Remove.
11493 * emacs-lisp/edebug.el (edebug-eval-defun)
11494 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11495 (edebug-toggle): Avoid `eval'.
11497 * emacs-lisp/disass.el (disassemble-internal): Handle new
11499 (disassemble-1): Handle new byte codes.
11501 * emacs-lisp/cl.el (pushnew): Silence warning.
11503 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11504 (cl-byte-compile-throw): Remove.
11505 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11507 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11510 * emacs-lisp/cconv.el: New file.
11512 * emacs-lisp/bytecomp.el: Use lexical binding instead of
11513 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
11514 (byte-compile-initial-macro-environment):
11515 Handle declare-function here.
11516 (byte-compile--lexical-environment): New var.
11517 (byte-stack-ref, byte-stack-set, byte-discardN)
11518 (byte-discardN-preserve-tos): New lap codes.
11519 (byte-interactive-p): Don't use any more.
11520 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11522 (byte-compile-lapcode): Use them and handle new lap codes.
11523 (byte-compile-obsolete): Remove.
11524 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11525 (byte-compile-arglist-warn): Check late def of inlinable funs.
11526 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11527 since they should have been expanded by now.
11528 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11529 (byte-compile-from-buffer): Remove unused second arg.
11530 (byte-compile-preprocess): New function.
11531 (byte-compile-toplevel-file-form): New function to distinguish
11532 file-form calls from outside from file-form calls from hunk-handlers.
11533 (byte-compile-file-form): Simplify.
11534 (byte-compile-file-form-defsubst): Remove.
11535 (byte-compile-file-form-defmumble): Simplify now that
11536 byte-compile-lambda always returns a byte-code-function.
11537 (byte-compile): Preprocess.
11538 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11539 Remove, not used any more.
11540 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11541 (byte-compile-make-args-desc): New funs.
11542 (byte-compile-lambda): Handle lexical functions. Always return
11543 a byte-code-function.
11544 (byte-compile-reserved-constants): New var, to make up room for
11545 closed-over variables.
11546 (byte-compile-constants-vector): Obey it.
11547 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11548 (byte-compile-macroexpand-declare-function): New function.
11549 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11550 byte-code-functions.
11551 (byte-compile-form): Check obsolescence here.
11552 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11553 (byte-compile-variable-ref): Remove.
11554 (byte-compile-dynamic-variable-op): New fun.
11555 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11556 (byte-compile-variable-set): New funs.
11557 (byte-compile-discard): Add 2 args.
11558 (byte-compile-stack-ref, byte-compile-stack-set)
11559 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11560 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11561 macroexpand-all instead.
11562 (byte-compile-quote-form): Remove.
11563 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11564 (byte-compile-bind, byte-compile-unbind): New funs.
11565 (byte-compile-let): Handle let* and lexical binding.
11566 (byte-compile-let*): Remove.
11567 (byte-compile-catch, byte-compile-unwind-protect)
11568 (byte-compile-track-mouse, byte-compile-condition-case):
11569 Handle a new :fun-body form, used for lexical scoping.
11570 (byte-compile-save-window-excursion)
11571 (byte-compile-with-output-to-temp-buffer): Remove.
11572 (byte-compile-defun): Simplify.
11573 (byte-compile-stack-adjustment): New fun.
11574 (byte-compile-out): Use it.
11575 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11577 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11580 * emacs-lisp/byte-opt.el: Use lexical binding.
11581 (byte-inline-lapcode): Remove (to bytecomp).
11582 (byte-compile-inline-expand): Pay attention to inlining to/from
11583 lexically bound code.
11584 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11586 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11587 any more and don't call compiler-macros.
11588 (byte-compile-splice-in-already-compiled-code): Remove.
11589 (byte-code): Don't inline any more.
11590 (disassemble-offset): Receive `bytes' as argument rather than via
11592 (byte-compile-tag-number): Declare before first use.
11593 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11594 `return' even if make-spliceable.
11595 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11596 obsolete interactive-p.
11597 (byte-optimize-lapcode): Optimize new lap-codes.
11598 Don't trip up on new form of `byte-constant' lap code.
11600 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11602 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11604 * custom.el (custom-initialize-default, custom-declare-variable):
11607 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11609 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11610 (COMPILE_FIRST): Add macroexp and cconv.
11611 * makefile.w32-in: Mirror changes in Makefile.in.
11613 * vc/cvs-status.el:
11617 * vc/smerge-mode.el:
11618 * textmodes/bibtex-style.el:
11619 * textmodes/css.el:
11627 * emacs-lisp/smie.el:
11630 * abbrev.el: Use lexical binding.
11632 2011-04-01 Eli Zaretskii <eliz@gnu.org>
11634 * info.el (info-display-manual): New function.
11636 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11638 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11640 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11642 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
11643 an entry for that server in rcirc-authinfo. (Bug#8385)
11645 2011-03-31 Glenn Morris <rgm@gnu.org>
11647 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11649 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11651 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11653 * progmodes/python.el (python-default-interpreter)
11654 (python-python-command-args, python-jython-command-args)
11655 (python-which-shell, python-which-args, python-which-bufname)
11656 (python-file-queue, python-comint-output-filter-function)
11657 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11658 variables and functions.
11660 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11662 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11663 (completion-in-region-mode): New minor mode.
11664 (completion-in-region): Use it.
11665 (completion-in-region--data, completion-in-region-mode-map): New vars.
11666 (completion-in-region--postch): New function.
11667 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11669 (completion--capf-wrapper): New function.
11670 (completion-at-point): Use it to track well-behavedness of
11672 (completion-help-at-point): New command.
11674 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11676 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11677 syntax class to search for whitespace on a single line
11678 (Message-ID: <4D938140.4030905@redhat.com>).
11680 2011-03-30 Leo Liu <sdl.web@gmail.com>
11682 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11684 (edit-abbrevs-map): Bind them here.
11685 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11687 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11689 * allout.el (allout-hide-by-annotation, allout-flag-region):
11690 Reduce possibility of overlay leakage by making them volatile.
11692 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11693 hash is not shared between buffers. Mode initialization is
11694 responsible for giving it a useful starting value.
11695 (allout-item-span): Reduce possibility of overlay leakage by
11696 making them volatile.
11697 (allout-widgets-count-buttons-in-region): Add diagnostic function
11698 for tracking down button overlay leaks.
11700 2011-03-29 Leo Liu <sdl.web@gmail.com>
11702 * ido.el (ido-read-internal): Use the default history var
11703 minibuffer-history if no HISTORY is specified.
11705 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11707 * net/imap.el (imap-shell-open, imap-process-connection-type):
11708 Use imap-process-connection-type for 'shell' streams as well as
11709 Kerberos, SSL, other subprocesses.
11711 2011-03-28 Leo Liu <sdl.web@gmail.com>
11713 * abbrev.el (abbrev-table-empty-p): New function.
11714 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11715 nonempty ones. (Bug#5937)
11717 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11719 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11721 2011-03-27 Leo Liu <sdl.web@gmail.com>
11723 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11724 for foreground and background colors.
11725 (ansi-color-make-color-map): Adapt.
11727 2011-03-25 Leo Liu <sdl.web@gmail.com>
11729 * midnight.el (midnight-time-float): Remove. Note it calculates
11730 the microsecond component incorrectly and seconds-to-time does the
11732 Remove redundant (require 'timer).
11734 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11735 (ido-completions): Remove unused arguments. (Bug#8329)
11737 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11739 * minibuffer.el (completion--flush-all-sorted-completions):
11740 Remove itself from hook.
11741 (completion-at-point): Let the functions perform the completion
11742 immediately and return nil or t.
11743 * comint.el (comint-dynamic-complete-functions): Now identical to
11744 completion-at-point-functions.
11745 (comint-dynamic-list-input-ring): Remove unused var `index'.
11746 (comint--match-partial-filename, comint--unquote&expand-filename):
11747 New funs, split from comint-match-partial-filename.
11748 (comint-dynamic-complete): Use completion-at-point.
11749 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11751 2011-03-24 Drew Adams <drew.adams@oracle.com>
11753 * thingatpt.el: Support `defun'.
11755 2011-03-23 Leo Liu <sdl.web@gmail.com>
11757 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11759 * help-mode.el (help-mode-finish): Tweak regexp.
11761 2011-03-23 Glenn Morris <rgm@gnu.org>
11763 * eshell/esh-opt.el (eshell-eval-using-options):
11764 Do not bind unused local variable `eshell-option-stub'.
11766 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11768 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
11770 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11771 keymap variable in `with-no-warnings' to avoid a warning when the
11772 keymap has been already `defconst'ed.
11774 2011-03-22 Leo Liu <sdl.web@gmail.com>
11776 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11777 encode all chars in abbrevs; otherwise use emacs-mule or
11778 utf-8-emacs. (Bug#8308)
11780 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
11782 * simple.el (backward-delete-char-untabify):
11783 Avoid warning about using `delete-backward-char'.
11785 * image.el (image-type-file-name-regexps): Make it variable.
11786 `imagemagick-register-types' modifies it, and the user may want
11787 to add new extensions for known image types.
11788 (imagemagick-register-types): Throw error if not using ImageMagick.
11790 2011-03-22 Leo Liu <sdl.web@gmail.com>
11792 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11793 located before rcirc-prompt-end-marker.
11794 (rcirc-complete): Error if point is not after rcirc prompt.
11795 Handle the case when table is nil.
11796 (rcirc-user-authenticated): Define to fix compiler warning.
11798 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
11800 * custom.el (custom--inhibit-theme-enable): Make it affect only
11801 custom-theme-set-variables and custom-theme-set-faces.
11802 (provide-theme): Ignore custom--inhibit-theme-enable.
11803 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11804 (custom-enabling-themes): Delete variable.
11805 (enable-theme): Accept only loaded themes as arguments.
11806 Ignore the special custom-enabled-themes variable.
11807 (custom-enabled-themes): Forbid themes from setting this.
11808 Eliminate use of custom-enabling-themes.
11809 (custom-push-theme): Quote "changed" custom var entry.
11811 2011-03-21 Leo Liu <sdl.web@gmail.com>
11813 * ido.el (ido-read-internal): Add ido-selected to history instead
11816 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11818 * subr.el (deferred-action-list, deferred-action-function):
11821 2011-03-21 Leo Liu <sdl.web@gmail.com>
11823 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11824 change on 2011-02-13 (bug#8309).
11826 * minibuffer.el (read-file-name-function): Change default value.
11827 (read-file-name--defaults): Rename from read-file-name-defaults.
11828 (read-file-name-default): Rename from read-file-name.
11829 (read-file-name): Call read-file-name-function.
11831 2011-03-21 Glenn Morris <rgm@gnu.org>
11833 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11836 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
11838 * cus-theme.el: Add missing provide statement.
11839 (customize-create-theme): Extract theme value correctly.
11840 (custom-theme-visit-theme): Autoload.
11841 (customize-create-theme): Prompt before inserting default faces.
11843 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11845 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11846 units and musical notes.
11848 2011-03-20 Leo Liu <sdl.web@gmail.com>
11850 * ido.el (ido-read-internal): Use completing-read-default.
11851 (ido-completing-read): Fix compatibility with completing-read.
11853 2011-03-20 Christian Ohler <ohler@gnu.org>
11855 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11856 (ert-delete-all-tests): Use `called-interactively-p' rather than
11858 (ert--make-xrefs-region): Respect END.
11860 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
11862 * dired-aux.el (dired-create-directory): Signal an error if the
11863 directory already exists (Bug#8246).
11865 * facemenu.el (list-colors-display): Call list-faces-display
11866 inside with-help-window.
11867 (list-colors-print): Use display property to align the final
11868 column, instead of checking window-width.
11870 2011-03-19 Eli Zaretskii <eliz@gnu.org>
11872 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
11873 windows-nt systems.
11874 (emerge-protect-metachars): Quote correctly for ms-dos and
11875 windows-nt systems.
11877 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
11879 * info.el (info-initialize): Replace all uses of `:' with
11880 path-separator for compatibility with non-Unix systems.
11881 Cache quoting of path-separator. (Bug#8258)
11883 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
11885 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11886 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11887 (mouse-avoidance-mode): Fix typos in docstrings.
11889 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
11891 * startup.el (package-subdirectory-regexp): Move from package.el.
11892 Omit \\` and \\', and let callers add them.
11894 * emacs-lisp/package.el (package-strip-version)
11895 (package-load-all-descriptors): Add \\` and \\' to
11896 package-subdirectory-regexp before using it.
11897 (package-untar-buffer): New arg DIR; ensure that file untars only
11898 into this expected directory. Remove superfluous delete-region.
11899 (package-unpack): Caller changed.
11900 (package-tar-file-info): Use package-subdirectory-regexp.
11902 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11904 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11905 diff-mode-shared-map (bug#8284).
11906 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
11908 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11910 * calendar/time-date.el (format-seconds): Use assoc instead of
11911 assoc-string, since assoc-string doesn't exist in XEmacs.
11913 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
11915 * custom.el (custom-known-themes): Reflow docstring.
11916 (custom-theme-load-path): Fix typo in docstring.
11917 (load-theme): Fix typo in error message.
11918 (custom-available-themes, custom-variable-theme-value):
11919 Use `let', not `let*'.
11921 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11923 * calc/README: Mention inclusion of musical notes.
11925 * calc/calc-units.el (calc-lu-quant): Rename from
11926 `calc-logunits-quantity'.
11927 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11928 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11929 (calc-db): Rename from `calc-dblevel'.
11930 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11931 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11932 (calc-np): Rename from `calc-nplevel'.
11933 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11934 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11935 (calc-lu-plus): Rename from `calc-logunits-add'.
11936 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11937 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11938 (calc-lu-minus): Rename from `calc-logunits-sub'.
11939 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11940 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11941 (calc-lu-times): Rename from `calc-logunits-mul'.
11942 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11943 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11944 (calc-lu-divide): Rename from `calc-logunits-div'.
11945 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11946 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11948 * calc/calc-ext.el (calc-init-extensions): Update the names of the
11949 functions being autoloaded.
11951 * calc/calc.el (calc-lu-power-reference): Rename from
11952 `calc-logunits-power-reference'.
11953 (calc-lu-field-reference): Rename from
11954 `calc-logunits-field-reference'.
11956 * calc/calc-help.el (calc-l-prefix-help):
11957 Mention musical note functions.
11959 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11961 * minibuffer.el (completion-all-sorted-completions):
11962 Use :completion-cycle-penalty text property if present.
11964 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
11966 * allout.el (allout-yank-processing): Adjust for new rebulleting
11967 regime so bullet being yanked is used without prompting the user
11970 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
11972 * startup.el (command-line): Warn the user that _emacs is deprecated.
11974 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
11976 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11977 (delphi-verbose, delphi-comment-face, delphi-string-face)
11978 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11979 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11980 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11981 (delphi-new-comment-line, delphi-font-lock-defaults)
11982 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11983 Fix typos in docstrings.
11985 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
11987 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
11988 Invert the roles of character and string values for INSTEAD, so a
11989 string is used for the more common case of a defaulting prompt.
11991 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11993 * progmodes/ruby-mode.el (ruby-backward-sexp):
11994 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11995 * play/gamegrid.el (gamegrid-make-face):
11996 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11997 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11998 * notifications.el (notifications-notify):
11999 * net/xesam.el (xesam-search-engines):
12000 * net/quickurl.el (quickurl-list-insert):
12001 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12003 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
12005 * startup.el (command-line): Update package subdirectory regexp.
12007 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12009 * allout.el (allout-abbreviate-flattened-numbering)
12010 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12012 * subr.el (read-char-choice): Only show the cursor after the prompt,
12013 not after the answer.
12015 2011-03-15 Kevin Ryde <user42@zip.com.au>
12017 * help-fns.el (variable-at-point): Skip leading quotes, if any
12020 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12022 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12025 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
12027 * shell.el (shell): When called interactively, offer to change the
12028 shell file name on remote hosts.
12030 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12032 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12033 integration for LDAP parameters. The host, base, user or binddn,
12034 and secret tokens can be specified in a netrc file, for instance.
12035 This is optional because an `auth-source' parameter must be
12036 specified in the search attributes.
12038 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
12040 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12042 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12044 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12045 into declaration. Remove redundant and harmful binding.
12047 2011-03-12 Eli Zaretskii <eliz@gnu.org>
12049 * files.el (file-ownership-preserved-p): Pass `integer' as an
12050 explicit 2nd argument to `file-attributes'. If the file's owner
12051 is the Administrators group on Windows, and the current user is
12052 Administrator, consider that a match.
12054 * server.el (server-ensure-safe-dir): Consider server directory
12055 safe on MS-Windows if its owner is the Administrators group while
12056 the current Emacs user is Administrator. Use `=' to compare
12057 numerical UIDs, since they could be integers or floats.
12059 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
12061 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12063 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
12065 Sync with Tramp 2.2.1.
12067 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12069 * net/trampver.el: Update release number.
12071 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12073 * progmodes/compile.el (compilation--previous-directory): Fix up
12074 various nil/dead-marker mismatches (bug#8014).
12075 (compilation-directory-properties, compilation-error-properties):
12076 Don't call it at a position past the one we're about to change.
12078 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12079 Disable obsolescence warnings in the file that declares it.
12081 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12083 * allout-widgets.el (allout-widgets-tally):
12084 Initialize allout-widgets-tally as a hash table rather than nil to
12085 prevent mode-line redisplay warnings. Also, clarify the module
12086 description and fix a comment typo.
12088 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
12090 * help-fns.el (describe-variable): Don't complete keywords.
12091 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12093 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
12095 * emacs-lisp/package.el (package-version-join): Impose a standard
12096 string representation for pre/alpha/beta version lists.
12097 (package-unpack-single): Standardize the directory name by passing
12098 it through package-version-join.
12099 (package-strip-rcs-id): Accept any version string that does not
12100 signal an error in version-to-list.
12102 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
12104 * simple.el (delete-trailing-whitespace): Return nil for the
12105 benefit of `write-file-functions'.
12107 2011-03-10 Glenn Morris <rgm@gnu.org>
12109 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12111 * vc/vc-git.el (vc-git-program): New option.
12112 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12113 (vc-git--call): Use it.
12115 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12117 * cus-edit.el (Custom-newline): If no button at point, look
12118 for a subgroup button at start-of-line. (Bug#2298)
12120 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12122 2011-03-10 Julien Danjou <julien@danjou.info>
12124 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12125 `cursor-type' is nil.
12127 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12129 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12131 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12133 * allout.el: Change so yank of distinctive-bullet items
12134 preserves the existing header prefix, rebulleting it if necessary,
12135 rather than replacing it. This is necessary for proper operation
12136 of cooperative addons like allout-widgets.
12137 (allout-make-topic-prefix, allout-rebullet-heading):
12138 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12139 value as alternate bullet to be used, instead of prompting the user
12140 for a bullet character.
12142 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
12144 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12145 Do not use `tramp-file-name-port', because this returns also
12146 `tramp-default-port'.
12148 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12150 * net/rcirc.el (rcirc-handler-001): Remove useless
12151 with-rcirc-process-buffer.
12152 (rcirc-check-auth-status): Swap arguments to string-match.
12154 2011-03-09 Glenn Morris <rgm@gnu.org>
12156 * shell.el (shell-mode):
12157 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12159 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12160 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12162 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
12164 * emacs-lisp/package.el (package-refresh-contents)
12165 (package-menu-execute): Use condition-case-no-debug.
12167 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
12169 * simple.el (shell-command-to-string): Use `process-file'.
12171 * emacs-lisp/package.el (package-tar-file-info): Handle also
12174 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12175 Use `equal' for upload base check.
12177 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12179 * textmodes/texinfo.el (texinfo-environments):
12180 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12182 2011-03-08 Glenn Morris <rgm@gnu.org>
12184 * cus-start.el (cursor-in-non-selected-windows):
12185 Fix :set quoting oddness. (Bug#8192)
12187 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12188 in some setf expressions. (Bug#2159)
12190 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
12192 * custom.el (custom-available-themes): Return themes in
12193 alphabetical order.
12195 See ChangeLog.15 for earlier changes.
12197 ;; Local Variables:
12201 Copyright (C) 2011-2012 Free Software Foundation, Inc.
12203 This file is part of GNU Emacs.
12205 GNU Emacs is free software: you can redistribute it and/or modify
12206 it under the terms of the GNU General Public License as published by
12207 the Free Software Foundation, either version 3 of the License, or
12208 (at your option) any later version.
12210 GNU Emacs is distributed in the hope that it will be useful,
12211 but WITHOUT ANY WARRANTY; without even the implied warranty of
12212 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12213 GNU General Public License for more details.
12215 You should have received a copy of the GNU General Public License
12216 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.