1 2012-03-31 Glenn Morris <rgm@gnu.org>
3 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5 * calendar/calendar.el (calendar-window-list)
6 (calendar-hide-window): Restore. (Bug#11140)
7 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
11 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14 Check if file is a symlink (Bug#10489).
16 * files.el (copy-directory): Likewise.
18 2012-03-30 Chong Yidong <cyd@gnu.org>
20 * image.el (imagemagick-types-inhibit)
21 (imagemagick-register-types): Doc fix.
23 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
25 * ispell.el (ispell-get-extended-character-mode): Disable
26 extended-char-mode for hunspell. hunspell does not support it and
27 treats ~word as ordinary words in pipe mode.
29 2012-03-30 Glenn Morris <rgm@gnu.org>
31 * tutorial.el (help-with-tutorial): Ensure local variables don't
32 happen to make the buffer read-only. (Bug#11127)
34 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
36 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
37 (perl-calculate-indent): Return `noindent' in strings.
39 2012-03-28 Sam Steingold <sds@gnu.org>
41 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
42 instead of the broken adhockery which does not prevent calendar
43 buffers from being displayed at random after exit.
44 (calendar-window-list, calendar-hide-window): Remove the broken
47 2012-03-28 Glenn Morris <rgm@gnu.org>
49 * replace.el (query-replace-map): Doc fix.
51 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
53 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
56 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
58 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
60 (avl-tree--check, avl-tree--check-node): New funs.
62 2012-03-27 Martin Rudalics <rudalics@gmx.at>
64 * window.el (switch-to-visible-buffer): New option.
65 (switch-to-prev-buffer, switch-to-next-buffer):
66 Observe switch-to-visible-buffer. Make sure that checking for a window
67 showing a buffer already is done on the same frame.
69 2012-03-27 Glenn Morris <rgm@gnu.org>
71 * startup.el (mail-host-address): Doc fix.
73 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
75 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
78 2012-03-26 Ami Fischman <ami@fischman.org>
80 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
82 2012-03-26 Glenn Morris <rgm@gnu.org>
84 * files.el (save-buffers-kill-emacs): Doc fix.
86 * startup.el (normal-top-level, command-line, command-line-1):
87 Give them doc strings.
89 2012-03-25 Eli Zaretskii <eliz@gnu.org>
91 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
92 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
94 2012-03-25 Chong Yidong <cyd@gnu.org>
96 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
97 theme if it was previously enabled before (Bug#11031).
99 * cus-theme.el (custom-theme-write-faces): Retrieve current face
100 spec with custom-face-get-current-spec if its :shown-value is not
101 determined yet (Bug#9337).
102 (customize-create-theme, custom-theme-revert): Doc fixes.
104 * button.el (button-at): Minor addition to docstring.
106 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
108 * vc/vc.el (vc-merge): Fix a prompt.
110 2012-03-24 Chong Yidong <cyd@gnu.org>
112 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
115 * button.el (button-at): Minor addition to docstring.
117 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
119 * newcomment.el (comment-choose-indent): No space after BOL.
121 2012-03-22 Sam Steingold <sds@gnu.org>
123 * window.el (switch-to-prev-buffer): Revert last patch because the
124 bug turned out to be an advertised feature (Elisp manual 28.14).
126 2012-03-22 Glenn Morris <rgm@gnu.org>
128 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
129 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
131 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
133 * net/network-stream.el (network-stream-open-starttls): Make error
134 message under Windows be less misleading.
136 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
138 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
139 understands (bug#9942).
141 2012-03-22 Chong Yidong <cyd@gnu.org>
143 * simple.el (end-of-visible-line): Handle return value of
144 next-single-property-change properly (Bug#9371).
146 2012-03-22 Kenichi Handa <handa@m17n.org>
148 * international/quail.el (quail-insert-kbd-layout): Fix previous
149 change. To avoid unwanted bidi reordering, use
150 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
152 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
154 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
155 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
156 (ruby-beginning-of-indent): Be more careful with the difference
157 between word-boundary and symbol boundary.
158 (ruby-mode-syntax-table): Make : a symbol constituent.
160 2012-03-21 Andreas Politz <politza@fh-trier.de>
162 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
164 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
166 * progmodes/etags.el (tags-completion-at-point-function):
169 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
171 2012-03-21 Sam Steingold <sds@gnu.org>
173 * progmodes/etags.el (tags-completion-at-point-function):
174 Avoid the error when point is inside the pattern.
176 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
178 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
181 2012-03-21 Drew Adams <drew.adams@oracle.com>
183 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
185 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
187 * ido.el (ido-set-current-directory, ido-read-internal)
188 (ido-choose-completion-string, ido-completion-help): Handle nil
189 value of ido-completion-buffer (Bug#11008).
191 2012-03-21 Sam Steingold <sds@gnu.org>
193 * window.el (switch-to-prev-buffer): Do not switch to a visible
194 window previous buffer, just like with the frame previous buffers.
196 2012-03-21 Chong Yidong <cyd@gnu.org>
198 * faces.el (make-face, make-empty-face, copy-face):
199 * face-remap.el (face-remap-add-relative, face-remap-set-base):
202 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
204 * wid-edit.el (widget-complete-field): Remove (bug#11051).
205 (widget-complete): Remove broken use of it.
207 2012-03-20 Chong Yidong <cyd@gnu.org>
209 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
210 Use string-width and truncate-string-width to handle arbitrary
213 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
215 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
216 to draw rectangles, not squares. (Regression introduced by revno
217 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
219 2012-03-18 Chong Yidong <cyd@gnu.org>
221 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
222 it is not yet defined (for temacs).
224 2012-03-18 Leo Liu <sdl.web@gmail.com>
226 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
228 2012-03-17 Eli Zaretskii <eliz@gnu.org>
230 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
231 (ispell-choices-win-default-height, ispell-silently-savep)
232 (ispell-dictionary-alist, ispell-encoding8-command)
233 (ispell-check-version, ispell-aspell-find-dictionary)
234 (ispell-valid-dictionary-list, ispell-words-keyword)
235 (ispell-get-word, ispell-internal-change-dictionary)
236 (ispell-region, ispell-skip-region-list)
237 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
238 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
239 (ispell-message-text-end, ispell-message)
240 (ispell-buffer-local-parsing): Doc fix.
242 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
244 * htmlfontify.el: Add support for code block fontification for ODT
246 (hfy-optimisations): Define new option
248 (hfy-fontify-buffer): Honor above setting.
249 (hfy-begin-span, hfy-end-span): New routines factored out form
250 `hfy-fontify-buffer'.
251 (hfy-begin-span-handler, hfy-end-span-handler): New variables
252 that permit insertion of custom tags.
253 (hfy-fontify-buffer): Use above handlers.
254 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
255 (hfy-face-to-css): Re-defined to be a variable.
256 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
257 over multiple runs. This is made possible by having the caller let
258 bind a special variable `hfy-user-sheet-assoc'.
259 (htmlfontify-string): New defun.
260 (hfy-compile-face-map): Make sure that the last char in the
261 buffer is correctly fontified.
262 (hfy-face-resolve-face): Whitespace only change.
264 2012-03-17 Eli Zaretskii <eliz@gnu.org>
266 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
269 2012-03-16 Leo Liu <sdl.web@gmail.com>
271 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
273 2012-03-16 Alan Mackenzie <acm@muc.de>
275 Further optimise the handling of large macros.
277 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
278 limit to a call of `c-literal-limits'.
279 (c-determine-+ve-limit): New function.
280 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
281 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
282 In CASE 5B, restrict a search limit to 500.
283 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
285 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
286 Restrict macro bounds to +-500 from after-change's BEG END.
288 2012-03-16 Leo Liu <sdl.web@gmail.com>
290 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
292 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
294 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
295 `special-mode' setting of `buffer-read-only'. (Bug#11010)
297 2012-03-16 Glenn Morris <rgm@gnu.org>
299 * view.el (view-buffer, view-buffer-other-window)
300 (view-buffer-other-frame): Doc fixes re special mode-class.
302 * subr.el (eval-after-load): If named feature is provided not from
303 a file, run after-load forms. (Bug#10946)
305 * calendar/calendar.el (calendar-insert-at-column):
306 Handle non-unit-width characters a bit better. (Bug#10978)
308 2012-03-15 Chong Yidong <cyd@gnu.org>
310 * emacs-lisp/ring.el (ring-extend): New function.
311 (ring-insert+extend): Extend the ring correctly (Bug#11019).
313 * comint.el (comint-read-input-ring)
314 (comint-add-to-input-history): Grow comint-input-ring lazily.
316 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
318 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
319 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
321 * imenu.el: Fix multiple inheritance breakage (bug#9199).
322 (imenu-add-to-menubar): Don't add a redundant index.
323 (imenu-update-menubar): Handle a dynamically composed keymap.
325 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
327 * mail/sendmail.el (mail-encode-header):
328 Bind rfc2047-encode-encoded-words to nil.
330 2012-03-13 Glenn Morris <rgm@gnu.org>
332 * calendar/calendar.el (calendar-string-spread):
333 Handle non-unit-width characters a bit better. (Bug#10978)
335 2012-03-13 Leo Liu <sdl.web@gmail.com>
337 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
338 directory and file as argument (Bug#10822).
340 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
342 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
343 For dynamically generated code, follow $PC.
344 (gdb-disassembly-handler-custom): Handle no function name case.
346 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
348 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
349 * emulation/ws-mode.el (ws-query-replace):
350 * sort.el (sort-regexp-fields):
351 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
353 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
355 * dabbrev.el: Fix cycle completion order (bug#10963).
356 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
357 (dabbrev-completion): Don't use an obarray; provide
358 a cycle-sort-function.
360 2012-03-12 Leo Liu <sdl.web@gmail.com>
362 * simple.el (kill-new): Use equal-including-properties for comparison.
363 (kill-do-not-save-duplicates): Doc fix.
365 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
367 * dabbrev.el: Fix cycle completion (bug#10963).
368 Use lexical binding and wrap to 80 columns.
369 (dabbrev-completion): Delay computing the list of completions.
371 2012-03-12 Kenichi Handa <handa@m17n.org>
373 * international/quail.el (quail-insert-kbd-layout): Surround each
374 row by LRO and PDF instead of inserting many LRMs. Pad the left
375 and right of each non-spacing marks. Insert invisible space
376 between lower and upper characters to prevent composition.
378 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
380 * minibuffer.el (minibuffer-complete): Don't get confused when the
381 function is run twice via different commands (bug#10958).
382 (complete-with-action): Fix docstring.
384 2012-03-12 Chong Yidong <cyd@gnu.org>
386 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
387 (nxml-completion-at-point-function): New function.
389 (nxml-bind-meta-tab-to-complete-flag): Default to t.
391 * emacs-lisp/package.el (package-unpack, package-unpack-single):
392 Load generated autoloads file before byte compiling (Bug#10970).
393 (package--make-autoloads-and-compile): New helper fun.
395 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
397 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
399 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
401 * autorevert.el (auto-revert-handler): Ensure, that
402 file-readable-p is applied only for local files or in
403 auto-revert-tail-mode.
405 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
407 * server.el (server-eval-at): Handle non-tcp connections.
408 Decode result string.
410 * server.el (server-msg-size): New constant.
411 (server-reply-print): New function.
412 (server-eval-and-print): Use it.
413 (server-eval-at): Use server-quote-arg and server-unquote-arg.
416 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
418 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
421 2012-03-11 Chong Yidong <cyd@gnu.org>
423 * simple.el (goto-line): Doc fix (Bug#9938).
425 * subr.el (save-window-excursion): Doc fix (Bug#9979).
427 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
428 when finished (Bug#10963).
430 2012-03-11 Martin Rudalics <rudalics@gmx.at>
432 * window.el (split-window-below): Fix bug in case where
433 split-window-keep-point is nil (Bug#10971).
435 2012-03-11 Juri Linkov <juri@jurta.org>
437 * replace.el (replace-highlight): Set isearch-word to nil
438 unconditionally. (Bug#10887)
440 2012-03-10 Eli Zaretskii <eliz@gnu.org>
442 * net/mairix.el (mairix-replace-invalid-chars): Rename from
443 mairix-replace-illegal-chars; all callers changed. Don't remove
444 ^, ~, and = characters: they are meaningful in mairix search specs.
445 (mairix-widget-create-query): Add usage information about mairix
446 search forms: negating words, searching for substrings, etc.
448 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
450 * international/fontset.el (font-encoding-alist): Add an entry for
453 2012-03-10 Richard Stallman <rms@gnu.org>
455 * mail/sendmail.el (mail-encode-header):
456 Set rfc2047-encode-encoded-words.
458 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
460 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
461 view buffer means not swapped.
462 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
463 (rmail-write-region-annotate): Error if real text has disappeared.
465 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
467 2012-03-10 Chong Yidong <cyd@gnu.org>
469 * emulation/cua-rect.el (cua--init-rectangles):
470 * emulation/cua-base.el (cua--init-keymaps):
471 Add delete-forward-char to remappings (Bug#9666).
473 2012-03-10 Martin Rudalics <rudalics@gmx.at>
475 * speedbar.el (speedbar-unhighlight-one-tag-line):
476 Avoid unhighlighting due to frame switching (Bug#10275).
478 2012-03-10 Chong Yidong <cyd@gnu.org>
480 * minibuffer.el (completion-in-region, completion-help-at-point):
481 Give the completion field overlay a high priority (Bug#6830).
483 * dired.el (dired-goto-file): Recognize absolute file name
485 (dired-goto-file-1): New helper function.
486 (dired-toggle-read-only): Inhibit warnings.
488 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
490 * net/dbus.el: (dbus-property-handler): Return empty array if
491 there are no properties.
493 2012-03-09 Leo Liu <sdl.web@gmail.com>
495 * savehist.el (savehist-printable): Stricter check for string
498 2012-03-09 Eli Zaretskii <eliz@gnu.org>
500 * mail/smtpmail.el (smtpmail-send-it):
501 Bind coding-system-for-write to *-unix, so that FCC files are kept in
504 2012-03-09 Glenn Morris <rgm@gnu.org>
506 * files.el (dir-locals-find-file):
507 Don't check result is regular, readable.
508 (dir-locals-read-from-file): Demote errors.
510 2012-03-08 Eli Zaretskii <eliz@gnu.org>
512 * international/quail.el (quail-insert-kbd-layout):
513 Insert invisible LRM characters before each character in a keyboard
514 layout cell, to prevent their reordering by bidi display engine.
515 For details, see the discussion in
516 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
518 2012-03-08 Alan Mackenzie <acm@muc.de>
520 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
521 the starting position; make it extend the marked region when
522 invoked repeatedly - all under appropriate circumstances.
523 Fixes bugs #5525, #10906.
525 2012-03-08 Glenn Morris <rgm@gnu.org>
527 * files.el (locate-dominating-file, dir-locals-find-file):
528 Undo 2012-03-06 change.
530 2012-03-07 Eli Zaretskii <eliz@gnu.org>
532 * international/quail.el (quail-help):
533 Force bidi-paragraph-direction be left-to-right. See discussion in
534 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
537 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
539 Avoid superfluous registering of signals. (Bug#10807)
541 * notifications.el (notifications-on-action-object)
542 (notifications-on-close-object): New defvars.
543 (notifications-on-action-signal, notifications-on-closed-signal):
544 Unregister the signal if not needed any longer.
545 (notifications-notify): Register `notifications-action-signal' or
546 `notifications-closed-signal', if :on-action or :on-close has been
549 2012-03-07 Chong Yidong <cyd@gnu.org>
551 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
554 2012-03-06 Glenn Morris <rgm@gnu.org>
556 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
557 (x-disown-selection-internal, x-get-selection-internal):
558 Doc fix (add arglist signatures). (Bug#10783)
560 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
562 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
563 Handle breakpoints with no "type".
565 2012-03-06 Glenn Morris <rgm@gnu.org>
567 * files.el (locate-dominating-file): Add optional predicate argument.
568 (dir-locals-find-file): Make use of above change.
570 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
572 * info.el (Info-insert-dir): Also try "dir.gz".
574 2012-03-06 Glenn Morris <rgm@gnu.org>
576 * files.el (dir-locals-find-file):
577 Ignore non-readable or non-regular files. (Bug#10928)
579 * files.el (locate-dominating-file): Doc fix.
581 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
583 * calendar/calendar.el (calendar-set-mode-line):
584 `getenv' returns a string. (Bug#10951)
586 2012-03-05 Leo Liu <sdl.web@gmail.com>
588 * simple.el (backward-delete-char-untabify): Constrain point to
591 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
593 2012-03-05 Chong Yidong <cyd@gnu.org>
595 * simple.el (count-words): If called from Lisp, return the word
596 count, for symmetry with `count-lines'. Arglist changed.
597 (count-words--message): Args changed. Consolidate counting code
598 from count-words and count-words-region.
599 (count-words-region): Caller changed.
600 (count-lines-region): Make it an obsolete alias.
602 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
604 * saveplace.el (save-place-to-alist)
605 (save-place-ignore-files-regexp): Allow value nil to disable this
608 2012-03-04 Chong Yidong <cyd@gnu.org>
610 * faces.el (face-spec-reset-face): For the default face, reset the
611 attributes to default values (Bug#10748).
613 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
615 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
616 previous patch: Check `message-send-mail-function', and not the
617 default function (bug#10897).
619 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
621 * notifications.el (notifications-on-action-signal)
622 (notifications-on-closed-signal): Check for unique service name of
623 incoming event. Fix error in removing entry.
624 (top): Register for signals with wildcard service name.
625 (notifications-notify): Use daemon unique service name for map entries.
627 2012-03-04 Chong Yidong <cyd@gnu.org>
629 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
631 2012-03-04 Glenn Morris <rgm@gnu.org>
633 * abbrev.el (copy-abbrev-table, abbrev-table-p)
634 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
635 (expand-abbrev, define-abbrev-table): Doc fixes.
637 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
639 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
640 `message-default-send-mail-function' and not `send-mail-function'
641 when doing the prompting for `sendmail-query-once' before sending
642 in Message buffers (bug#10897).
644 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
645 This is inconsistent with all the other stream functions, which leave
646 the setting up to the higher levels (if so wanted) (bug#10931).
648 2012-03-02 Alan Mackenzie <acm@muc.de>
650 Depessimize the handling of very large macros.
652 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
653 (c-macro-cache-syntactic): New variables to implement a one
655 (c-invalidate-macro-cache): New function.
656 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
657 Adapt to use the new cache.
658 (c-state-safe-place): Use better the cache of safe positions.
659 (c-state-semi-nonlit-pos-cache)
660 (c-state-semi-nonlit-pos-cache-limit):
662 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
663 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
664 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
665 Use c-state-semi-safe-place.
667 * progmodes/cc-langs.el (c-get-state-before-change-functions):
668 Add c-invalidate-macro-cache to the C, C++, Obj entries.
670 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
672 * jka-compr.el (jka-compr-call-process):
673 Apply `file-accessible-directory-p' only when the default directory is
676 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
678 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
679 access of FILE2, if FILE1 does not exist.
681 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
682 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
684 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
685 Add "PAGER=" to `process-environment'.
687 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
689 * progmodes/sql.el: Bug fix
690 (sql-get-login-ext): Save login values in globals.
691 (sql-get-login): Use new version of `sql-get-login-ext'.
692 (sql-interactive-mode): Set global `sql-connection' to nil.
693 (sql-connect): Set global values for connection.
694 (sql-product-interactive): Save global values as buffer local.
696 2012-02-29 Leo Liu <sdl.web@gmail.com>
698 * abbrev.el (define-abbrevs): Reset sys to nil.
700 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
702 * files.el (file-equal-p): Rename from `files-equal-p'.
703 Return nil when one or both files don't exist.
704 (file-subdir-of-p): Now only top directory must exists,
705 return nil if it doesn't.
706 (copy-directory): No need to test with `file-subdir-of-p' after
708 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
711 2012-02-28 Glenn Morris <rgm@gnu.org>
713 * shell.el (shell-mode):
714 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
715 * play/landmark.el (landmark-font-lock-face-O):
716 * play/handwrite.el (handwrite):
717 * play/gomoku.el (gomoku-O):
718 * net/browse-url.el (browse-url-browser-display):
719 * international/mule.el (define-charset):
720 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
721 * filesets.el (filesets-find-file-delay):
722 * eshell/em-xtra.el (eshell-xtra):
723 * eshell/em-unix.el (eshell-grep):
724 * emulation/viper.el (viper-mode):
725 * emacs-lisp/regexp-opt.el (regexp-opt-group):
726 * emacs-lisp/easymenu.el (easy-menu-define):
727 * calendar/timeclock.el (timeclock-use-display-time):
729 * bookmark.el (bookmark-save-flag):
730 Doc fix (standardize possessive apostrophe usage).
732 2012-02-27 Chong Yidong <cyd@gnu.org>
734 * emulation/viper-cmd.el (viper-intercept-ESC-key):
735 Fix key-binding lookup for ESC key (Bug#9146).
737 * font-lock.el (font-lock-specified-p): Rename from
738 font-lock-spec-present. Callers changed.
740 2012-02-27 Daniel Hackney <dan@haxney.org>
742 * emacs-lisp/package.el (package-compute-transaction):
743 Handle holding a package version to t in package-load-list.
745 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
747 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
748 (tramp-get-inode, tramp-get-device): Use cached values.
750 2012-02-26 Alan Mackenzie <acm@muc.de>
752 Check there is a font-lock specification before doing initial
755 * font-core.el (font-lock-mode): Move the conditional from
756 :after-hook to font-lock-initial-fontify.
757 (font-lock-default-function): Move the check for a specification
758 to font-lock-spec-present.
760 * font-lock.el (font-lock-initial-fontify): Call ...
761 (font-lock-spec-present): New function.
763 2012-02-26 Jim Blandy <jimb@red-bean.com>
765 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
766 (gdb-send): Apply it to the operand of the '-interpreter-exec
767 console' command, so that we can pass arguments with (say) quotes
768 in them. Store exact string sent in gdb-debug-log (Bug#10765).
770 2012-02-26 Chong Yidong <cyd@gnu.org>
772 * help-fns.el (describe-function-1): Clarify description of
773 remapping (Bug#10844).
775 * files.el (files-equal-p): Doc fix.
776 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
777 and quit the loop once a mismatch is found.
779 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
781 * bs.el (bs--show-with-configuration): Don't throw an error
782 if the window cannot be split; otherwise, subsequent calls to
783 bs-show fail, restoring a stale window config. (Bug#10882)
785 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
787 * term/ns-win.el (global-map): Bind ns-drag-file to
788 ns-find-file (Bug#5855, Bug#10050).
790 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
792 * calendar/parse-time.el (parse-time-string): Allow extractor to
795 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
797 * net/tramp.el (tramp-file-name-for-operation):
798 Add `files-equal-p' and `file-subdir-of-p'.
800 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
801 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
802 Add COPY-CONTENTS argument.
804 2012-02-25 Chong Yidong <cyd@gnu.org>
806 Add custom groups for VC backends, for consistency with vc-bzr.
808 * vc/vc-arch.el (vc-arch):
809 * vc/vc-cvs.el (vc-cvs):
810 * vc/vc-git.el (vc-git):
811 * vc/vc-hg.el (vc-hg):
812 * vc/vc-mtn.el (vc-mtn):
813 * vc/vc-rcs.el (vc-rcs):
814 * vc/vc-sccs.el (vc-sccs):
815 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
816 All relevant defcustoms reassigned.
818 2012-02-25 Chong Yidong <cyd@gnu.org>
820 * newcomment.el (comment-styles): Add autoload (Bug#10868).
822 * term/x-win.el (x-initialize-window-system): Reduce default for
823 x-selection-timeout to 5 seconds (Bug#8869).
825 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
827 * files.el (file-subdir-of-p): Fix typo.
829 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
831 * files.el (files-equal-p, file-subdir-of-p): New functions.
832 (copy-directory): Error when trying to copy a directory on itself.
833 Add missing copy-contents arg to tramp handler.
834 * dired-aux.el (dired-copy-file-recursive): Same.
835 (dired-create-files): Modify destination when source is equal to
836 dest when copying files.
837 Return also when dest is a subdir of source. (Bug#10489)
839 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
841 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
844 2012-02-23 Alan Mackenzie <acm@muc.de>
846 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
847 parameter "after-hook:" to allow the expansion to run code after
848 the execution of the mode hooks.
850 * font-lock.el (font-lock-initial-fontify): New function extracted
851 from font-lock-mode-internal.
853 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
856 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
858 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
859 (completion--cache-all-sorted-completions): New function.
860 (completion-all-sorted-completions): Use it.
861 (completion--do-completion, minibuffer-force-complete):
862 Use it to re-instate the flush hook.
864 * icomplete.el (icomplete-completions): Replace last fix with a better
867 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
869 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
870 when it might call us back infinitely (bug#10797).
872 2012-02-23 Glenn Morris <rgm@gnu.org>
874 * minibuffer.el (completion-category-overrides): Doc fix.
876 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
878 * minibuffer.el (completion-table-with-context): Fix inf-loop.
879 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
881 2012-02-23 Glenn Morris <rgm@gnu.org>
883 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
884 (authors-obsolete-files-regexps, authors-ignored-files)
885 (authors-ambiguous-files, authors-renamed-files-alist):
888 2012-02-23 Juri Linkov <juri@jurta.org>
890 * isearch.el (isearch-occur): Sync interactive spec with occur's
891 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
893 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
895 2012-02-22 Juri Linkov <juri@jurta.org>
897 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
898 (ucs-insert): Doc fix. Check for hex digits in the string.
899 Don't display `nil' in the error message. (Bug#10857)
901 2012-02-22 Alan Mackenzie <acm@muc.de>
903 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
905 2012-02-22 Glenn Morris <rgm@gnu.org>
907 * ffap.el (ffap-c-path):
908 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
910 2012-02-22 Chong Yidong <cyd@gnu.org>
912 * custom.el (load-theme): Doc fix.
914 2012-02-22 Glenn Morris <rgm@gnu.org>
916 * dired-x.el (dired-guess-shell-alist-default):
917 Remove escape sequences from nroff output. (Bug#172)
919 2012-02-21 Glenn Morris <rgm@gnu.org>
921 * vc/emerge.el (emerge-defvar-local):
922 Set `permanent-local' property rather than unused `preserved'.
924 * textmodes/picture.el (picture-delete-char): New alias.
925 (picture-mode-map): Use it. (Bug#10860)
926 (picture-mode): Doc fix.
928 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
930 * newcomment.el (uncomment-region-default): Remove unused binding.
932 2012-02-21 Glenn Morris <rgm@gnu.org>
934 * textmodes/picture.el (picture-motion, picture-motion-reverse)
935 (picture-self-insert, picture-tab-chars): Doc fix.
936 (picture-mode-map): Fix C-a, C-e.
938 2012-02-20 Glenn Morris <rgm@gnu.org>
940 * emacs-lisp/authors.el (authors-aliases): Add another entry.
942 2012-02-20 Leo Liu <sdl.web@gmail.com>
944 * icomplete.el (icomplete-completions): Check FROM arg before
945 passing to substring (Bug#10850).
947 2012-02-19 Chong Yidong <cyd@gnu.org>
949 * comint.el: Require ansi-color.
950 (comint-output-filter-functions): Add ansi-color-process-output.
952 * ansi-color.el: Don't set comint-output-filter-functions; it is
953 now in the initial value defined in comint.el.
954 (ansi-color-apply-face-function): New variable.
955 (ansi-color-apply-on-region): Use it.
956 (ansi-color-apply-overlay-face): New function.
958 * shell.el (shell): No need to require ansi-color.
959 (shell-mode): Use ansi-color-apply-face-function to highlight
960 color escapes using font-lock-face property (Bug#10835).
962 2012-02-19 Chong Yidong <cyd@gnu.org>
964 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
965 mode-line formats (Bug#10839).
967 2012-02-18 Glenn Morris <rgm@gnu.org>
969 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
971 * mail/undigest.el (unforward-rmail-message): Doc fix.
973 * saveplace.el (save-place-ignore-files-regexp): Add :version.
975 2012-02-18 Eli Zaretskii <eliz@gnu.org>
977 * international/characters.el (script-list): Sync with the latest
978 Unicode Character Database.
980 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
982 * international/titdic-cnv.el: Remove duplicate coding tag.
983 * language/cham.el: Likewise.
984 * language/tai-viet.el: Likewise.
986 2012-02-18 Glenn Morris <rgm@gnu.org>
988 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
989 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
990 (calendar-bahai-all-holidays-flag, calendar-other-dates):
991 * calendar/diary-lib.el (diary-abbreviated-year-flag):
992 * calendar/holidays.el (holiday-bahai-holidays)
993 (calendar-holidays, list-holidays):
994 Use utf-8 Bahá'í in doc-strings, menus, etc.
996 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
998 * saveplace.el (save-place-ignore-files-regexp): New variable
999 allowing for excluding files from saving their location of point.
1000 The default value matches the temporary commit message editing
1001 files from Git, SVN, Bazaar, and Mercurial.
1002 (save-place-to-alist): Use it.
1004 2012-02-17 Lawrence Mitchell <wence@gmx.li>
1005 Stefan Monnier <monnier@iro.umontreal.ca>
1007 * newcomment.el (uncomment-region-default): Don't leave extra space
1008 when an arg is provided (bug#8150).
1010 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1012 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
1014 2012-02-17 Glenn Morris <rgm@gnu.org>
1016 * net/socks.el: Require network-stream. (Bug#10599)
1018 2012-02-17 Kenichi Handa <handa@m17n.org>
1020 * international/charprop.el:
1021 * international/uni-name.el:
1022 * international/uni-old-name.el:
1023 * international/uni-comment.el: Regenerate.
1025 2012-02-16 Glenn Morris <rgm@gnu.org>
1027 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1028 Interactively in calendar buffer, give an error if not on a date.
1030 2012-02-15 Glenn Morris <rgm@gnu.org>
1032 * shell.el (shell-delimiter-argument-list):
1033 Revert 2011-02-17 change. (Bug#8027)
1035 2012-02-15 Chong Yidong <cyd@gnu.org>
1037 * minibuffer.el (completion-at-point-functions): Doc fix.
1039 * custom.el (defcustom): Doc fix; note use of defvar.
1041 2012-02-15 Glenn Morris <rgm@gnu.org>
1043 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1046 2012-02-14 Glenn Morris <rgm@gnu.org>
1048 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1050 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1052 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1053 way the ports list is computed.
1054 (smtpmail-query-smtp-server): Prompt the user for a port number if
1055 we can't connect to any of the standard ports (bug#10810).
1057 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1059 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1061 2012-02-13 Glenn Morris <rgm@gnu.org>
1063 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1065 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1067 * net/gnutls.el (gnutls-trustfiles): New variable.
1068 (gnutls-negotiate): Use it.
1070 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1072 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1073 does its stuff if Gnus is running.
1075 2012-02-13 Alan Mackenzie <acm@muc.de>
1077 Fix a loop in c-set-fl-decl-start.
1079 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
1080 c-backward-syntactic-ws actually moves backwards.
1082 2012-02-13 Leo Liu <sdl.web@gmail.com>
1084 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1085 beginning so that all \C-o chars are removed.
1087 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1089 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
1091 2012-02-12 Alan Mackenzie <acm@muc.de>
1093 Fix infinite loop with long macros.
1094 * cc-engine.el (c-state-safe-place): Handle macros properly.
1096 2012-02-12 Chong Yidong <cyd@gnu.org>
1098 * window.el (display-buffer): Doc fix (Bug#10785).
1100 2012-02-12 Glenn Morris <rgm@gnu.org>
1102 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1103 (x-disown-selection-internal, x-get-selection-internal):
1104 Sync docs with the xselect.c versions.
1106 * allout-widgets.el: Add missing license notice.
1108 2012-02-11 Glenn Morris <rgm@gnu.org>
1110 * select.el (x-get-selection-internal, x-own-selection-internal)
1111 (x-disown-selection-internal):
1112 * x-dnd.el (x-get-selection-internal): Update declarations.
1114 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1116 * window.el (window-sides-slots):
1117 * tool-bar.el (tool-bar-position):
1118 * term/xterm.el (xterm-extra-capabilities):
1119 * ses.el (ses-self-reference-early-detection):
1120 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1121 (verilog-auto-wire-type)
1122 (verilog-auto-delete-trailing-whitespace)
1123 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1124 (verilog-auto-tieoff-declaration):
1125 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1126 (sql-oracle-statement-starters, sql-oracle-scan-on):
1127 * progmodes/prolog.el (prolog-align-comments-flag)
1128 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1129 (prolog-left-indent-regexp, prolog-paren-indent-p)
1130 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1131 (prolog-types, prolog-mode-specificators)
1132 (prolog-determinism-specificators, prolog-directives)
1133 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1134 (prolog-electric-dot-flag)
1135 (prolog-electric-dot-full-predicate-template)
1136 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1137 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1138 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1139 (prolog-program-switches, prolog-prompt-regexp)
1140 (prolog-debug-on-string, prolog-debug-off-string)
1141 (prolog-trace-on-string, prolog-trace-off-string)
1142 (prolog-zip-on-string, prolog-zip-off-string)
1143 (prolog-use-standard-consult-compile-method-flag)
1144 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1145 (prolog-imenu-max-lines, prolog-info-predicate-index)
1146 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1147 (prolog-char-quote-workaround):
1148 * progmodes/cc-vars.el (c-defun-tactic):
1149 * net/tramp.el (tramp-encoding-command-interactive)
1150 (tramp-local-end-of-line):
1151 * net/soap-client.el (soap-client):
1152 * net/netrc.el (netrc-file):
1153 * net/gnutls.el (gnutls):
1154 * minibuffer.el (completion-category-overrides)
1155 (completion-cycle-threshold)
1156 (completion-pcm-complete-word-inserts-delimiters):
1157 * man.el (Man-name-local-regexp):
1158 * mail/feedmail.el (feedmail-display-full-frame):
1159 * international/characters.el (glyphless-char-display-control):
1160 * eshell/em-ls.el (eshell-ls-date-format):
1161 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1162 (lisp-lambda-list-keyword-parameter-indentation)
1163 (lisp-lambda-list-keyword-parameter-alignment):
1164 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1165 * dired-x.el (dired-omit-verbose):
1166 * cus-theme.el (custom-theme-allow-multiple-selections):
1167 * calc/calc.el (calc-highlight-selections-with-faces)
1168 (calc-lu-field-reference, calc-lu-power-reference)
1169 (calc-note-threshold):
1170 * battery.el (battery-mode-line-limit):
1171 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1172 (archive-7z-update):
1173 * allout.el (allout-prefixed-keybindings)
1174 (allout-unprefixed-keybindings)
1175 (allout-inhibit-auto-fill-on-headline)
1176 (allout-flattened-numbering-abbreviation):
1177 * allout-widgets.el (allout-widgets-auto-activation)
1178 (allout-widgets-icons-dark-subdir)
1179 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1180 (allout-widgets-theme-dark-background)
1181 (allout-widgets-theme-light-background)
1182 (allout-widgets-item-image-properties-emacs)
1183 (allout-widgets-item-image-properties-xemacs)
1184 (allout-widgets-run-unit-tests-on-load)
1185 (allout-widgets-time-decoration-activity)
1186 (allout-widgets-hook-error-post-time)
1187 (allout-widgets-track-decoration):
1188 Add missing :version tags to new defcustoms and defgroups.
1190 * progmodes/sql.el (sql-ansi-statement-starters)
1191 (sql-oracle-statement-starters): Add custom type.
1193 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1194 (prolog-system-version): Give it a type.
1196 2012-02-11 Eli Zaretskii <eliz@gnu.org>
1198 * term/pc-win.el (x-select-text, x-selection-owner-p)
1199 (x-own-selection-internal, x-disown-selection-internal)
1200 (x-get-selection-internal): Sync doc strings and argument lists
1201 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1203 2012-02-11 Leo Liu <sdl.web@gmail.com>
1205 * progmodes/python.el (python-end-of-statement): Fix infinite
1208 2012-02-10 Glenn Morris <rgm@gnu.org>
1210 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1211 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1213 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1215 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1216 about SMTP before checking the From header.
1218 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
1219 into own function for reuse by emacsbug.el.
1221 2012-02-10 Leo Liu <sdl.web@gmail.com>
1223 * subr.el (condition-case-unless-debug): Rename from
1224 condition-case-no-debug. All callers changed.
1225 (with-demoted-errors): Fix caller.
1227 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1228 * nxml/rng-valid.el (rng-do-some-validation):
1229 * emacs-lisp/package.el (package-refresh-contents)
1230 (package-menu-execute):
1231 * desktop.el (desktop-create-buffer):
1232 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1234 2012-02-10 Glenn Morris <rgm@gnu.org>
1236 * textmodes/bibtex.el:
1237 Add missing :version tags for new/changed defcustoms.
1239 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1241 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
1243 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1244 (smtpmail-via-smtp): Use it, or fall back on the From address.
1245 (smtpmail-send-it): Ditto.
1247 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1249 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1250 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1251 (byte-compile-tmp-var): New const.
1252 (byte-compile-defvar): Use it to minimize .elc size.
1253 Just use `defvar' rather than simulate it (bug#10761).
1255 2012-02-09 Glenn Morris <rgm@gnu.org>
1257 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1259 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1262 * progmodes/compile.el (compilation-error-screen-columns)
1263 (compilation-first-column, compilation-filter-start): Doc fixes.
1265 * vc/log-view.el (log-view-toggle-entry-display):
1266 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1268 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1269 (report-emacs-bug-can-use-xdg-email):
1270 (report-emacs-bug-insert-to-mailer): Doc fixes.
1271 (report-emacs-bug): Message fix.
1273 * net/browse-url.el (browse-url-can-use-xdg-open)
1274 (browse-url-xdg-open): Doc fixes.
1276 * electric.el (electric-indent-mode, electric-pair-mode)
1277 (electric-layout-rules, electric-layout-mode): Doc fixes.
1278 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1280 2012-02-08 Martin Rudalics <rudalics@gmx.at>
1282 * server.el (server-unselect-display): Don't inadvertently kill
1283 the current buffer. (Bug#10729)
1285 2012-02-08 Glenn Morris <rgm@gnu.org>
1287 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1288 (sql-list-table): Doc fixes.
1290 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1291 Comment out (does nothing).
1293 * completion.el (dynamic-completion-mode):
1294 * dirtrack.el (dirtrack-debug-mode):
1295 * electric.el (electric-layout-mode):
1296 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1297 * face-remap.el (text-scale-mode, buffer-face-mode):
1298 * iimage.el (iimage-mode):
1299 * image-mode.el (image-transform-mode):
1300 * minibuffer.el (completion-in-region-mode):
1301 * scroll-lock.el (scroll-lock-mode):
1302 * simple.el (next-error-follow-minor-mode):
1303 * tar-mode.el (tar-subfile-mode):
1304 * tooltip.el (tooltip-mode):
1305 * vcursor.el (vcursor-use-vcursor-map):
1306 * wid-browse.el (widget-minor-mode):
1307 * emulation/tpu-edt.el (tpu-edt-mode):
1308 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1309 * international/iso-ascii.el (iso-ascii-mode):
1310 * language/thai-util.el (thai-word-mode):
1311 * mail/supercite.el (sc-minor-mode):
1312 * net/goto-addr.el (goto-address-mode):
1313 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1314 * progmodes/cwarn.el (cwarn-mode):
1315 * progmodes/flymake.el (flymake-mode):
1316 * progmodes/glasses.el (glasses-mode):
1317 * progmodes/hideshow.el (hs-minor-mode):
1318 * progmodes/pascal.el (pascal-outline-mode):
1319 * textmodes/enriched.el (enriched-mode):
1320 * vc/smerge-mode.el (smerge-mode):
1321 Doc fixes (minor mode argument).
1323 2012-02-07 Eli Zaretskii <eliz@gnu.org>
1325 * ls-lisp.el (ls-lisp-sanitize): New function.
1326 (ls-lisp-insert-directory): Use it to fix or remove any elements
1327 in file-alist with missing attributes. (Bug#4673)
1329 2012-02-07 Alan Mackenzie <acm@muc.de>
1331 Fix spurious recognition of c-in-knr-argdecl.
1333 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1334 putative K&R region.
1336 2012-02-07 Alan Mackenzie <acm@muc.de>
1338 * progmodes/cc-engine.el (c-forward-objc-directive):
1339 Prevent looping in "#pragma mark @implementation".
1341 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
1343 * notifications.el (notifications-on-closed-signal): Make `reason'
1344 optional. (Bug#10744)
1346 2012-02-07 Glenn Morris <rgm@gnu.org>
1348 * emacs-lisp/easy-mmode.el (define-minor-mode):
1349 Doc fixes for the macro and the mode it defines.
1351 * image.el (imagemagick-types-inhibit): Doc fix.
1353 * cus-start.el (imagemagick-render-type): Add it.
1355 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1357 * progmodes/cc-mode.el
1358 (c-standard-font-lock-fontify-region-function): Set the default at
1359 load time, too, so that `font-lock-fontify-buffer' can be called
1360 without setting up the entire mode first. This fixes a bug in
1361 `mm-inline-text' with C MIME parts.
1363 2012-02-06 Chong Yidong <cyd@gnu.org>
1365 * simple.el (list-processes--refresh): Delete exited processes
1368 * comint.el (comint-next-prompt): next-single-char-property-change
1369 and prev-single-char-property-change never return nil (Bug#8657).
1371 * custom.el (defcustom): Doc fix (Bug#9711).
1373 2012-02-05 Chong Yidong <cyd@gnu.org>
1375 * cus-edit.el (custom-variable-reset-backup): Quote the value
1376 before storing it in the customized-value property (Bug#6712).
1377 (custom-display): Add a customization type tag.
1378 (custom-buffer-create-internal): Improve tooltip message.
1380 * wid-edit.el (widget-field-value-get): New optional arg to
1381 suppress trailing whitespace truncation.
1382 (character): Use it (Bug#2689).
1384 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1386 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1387 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1389 2012-02-05 Chong Yidong <cyd@gnu.org>
1391 * cus-edit.el (custom-variable-value-create): For mismatched
1392 types, show the current value (Bug#7600).
1394 * custom.el (defcustom): Doc fix.
1396 2012-02-05 Glenn Morris <rgm@gnu.org>
1398 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1400 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
1402 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1403 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1404 (pp-last-sexp): Use `looking-at-p'.
1406 2012-02-04 Glenn Morris <rgm@gnu.org>
1408 * files.el (revert-buffer):
1409 Doc fix (mention revert-buffer-in-progress-p).
1411 * emacs-lisp/ert-x.el (ert-simulate-command):
1412 Check deferred-action-list (which is obsolete) is bound.
1414 * subr.el (with-wrapper-hook): Doc fixes.
1416 * simple.el (filter-buffer-substring-functions)
1417 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1419 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1421 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1422 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1424 2012-02-04 Leo Liu <sdl.web@gmail.com>
1426 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1428 2012-02-04 Glenn Morris <rgm@gnu.org>
1430 * image.el (image-extension-data): Add obsolete alias.
1432 * isearch.el (isearch-update): Doc fix.
1434 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1436 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1438 2012-02-03 Glenn Morris <rgm@gnu.org>
1440 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1441 (image-animate-timeout): Doc fix.
1443 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1445 2012-02-02 Glenn Morris <rgm@gnu.org>
1447 * server.el (server-auth-dir): Doc fix.
1448 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1450 * subr.el (run-mode-hooks): Doc fix.
1452 2012-02-02 Juri Linkov <juri@jurta.org>
1454 * image-mode.el (image-toggle-display-image): Remove tautological
1455 `major-mode' from the `derived-mode-p' test.
1457 2012-02-02 Kenichi Handa <handa@m17n.org>
1459 * composite.el (compose-region): Cancel previous change.
1461 2012-02-02 Kenichi Handa <handa@m17n.org>
1463 * composite.el (compose-region, compose-string): Signal error for
1464 a null string component (Bug#6988).
1466 2012-02-01 Chong Yidong <cyd@gnu.org>
1468 * view.el (view-buffer-other-window, view-buffer-other-frame):
1469 Handle special modes like view-buffer (Bug#10650).
1470 (view-buffer): Simplify.
1472 * frame.el (set-frame-font): Tweak meaning of third argument.
1474 * dynamic-setting.el (font-setting-change-default-font):
1475 Use set-frame-font (Bug#9982).
1477 2012-02-01 Glenn Morris <rgm@gnu.org>
1479 * progmodes/compile.el (compilation-internal-error-properties):
1480 Respect compilation-first-column in the "*compilation*" buffer.
1482 * emacs-lisp/easy-mmode.el (define-minor-mode):
1483 Relax :variable's test for a named function.
1485 2012-01-31 Alan Mackenzie <acm@muc.de>
1487 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1490 2012-01-31 Chong Yidong <cyd@gnu.org>
1492 * frame.el (set-frame-font): New arg ALL-FRAMES.
1494 * menu-bar.el (menu-set-font): Use set-frame-font.
1496 * faces.el (face-spec-reset-face): Don't apply unspecified
1497 attribute values to the default face.
1499 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
1501 * progmodes/cwarn.el (cwarn): Remove dead link.
1502 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1503 Remove * from defcustom docstrings.
1504 (turn-on-cwarn-mode): Make obsolete.
1505 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1506 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1508 2012-01-31 Glenn Morris <rgm@gnu.org>
1510 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1511 Fix :variable handling of mode a symbol not equal to modefun.
1512 Allow named functions to be used as the cdr of :variable.
1514 2012-01-30 Glenn Morris <rgm@gnu.org>
1516 * emacs-lisp/authors.el (authors-fixed-entries):
1517 Remove reference to deleted file rnewspost.el.
1519 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
1521 * window.el (window-with-parameter): Remove unused variable `windows'.
1522 (window--side-check): Remove unused variable `code'.
1523 (window--resize-siblings): Remove unused variable `first'.
1524 (adjust-window-trailing-edge): Remove unused variable `failed'.
1525 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1526 Use `let', not `let*'.
1527 (balance-windows-2): Remove unused variable `found'.
1528 (window--state-put-2): Remove unused variable `splits'.
1529 (window-state-put): Remove unused variable `selected'.
1530 (same-window-p): Use `string-match-p'.
1531 (display-buffer-assq-regexp): Remove unused variable `value'.
1532 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1533 Mark argument ALIST as ignored.
1534 (pop-to-buffer): Remove unused variable `old-window'.
1536 2012-01-29 Eli Zaretskii <eliz@gnu.org>
1538 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1539 and .lzma compressed files.
1541 2012-01-29 Chong Yidong <cyd@gnu.org>
1543 * frame.el (window-system-default-frame-alist): Doc fix.
1545 * dynamic-setting.el (font-setting-change-default-font): Don't
1546 change the default face if SET-FONT argument is non-nil (Bug#9982).
1548 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1550 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1552 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
1554 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1555 breakpoints in files outside current directory (Bug#6098).
1557 2012-01-29 Chong Yidong <cyd@gnu.org>
1559 * progmodes/python.el: Require ansi-color at top-level.
1561 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1562 Define and use in Emacs Lisp mode (Bug#9360).
1563 (lisp-mode-abbrev-table): Add doc.
1564 (lisp-mode-variables): Don't set local-abbrev-table.
1565 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1567 2012-01-28 Roland Winkler <winkler@gnu.org>
1569 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1571 2012-01-28 Roland Winkler <winkler@gnu.org>
1573 * textmodes/bibtex.el (bibtex-entry-alist): New function.
1574 (bibtex-set-dialect): Use it. Either set global values of
1575 dialect-dependent variables or bind these variables buffer-locally
1577 (bibtex-mode): Call bibtex-set-dialect via
1578 hack-local-variables-hook.
1579 (bibtex-dialect): Update docstring.
1580 Add safe-local-variable predicate.
1581 (bibtex-entry-alist, bibtex-field-alist): Initialize via
1583 (bibtex-mode-map): Define menu for each dialect.
1584 (bibtex-entry): Fix docstring.
1586 2012-01-28 Chong Yidong <cyd@gnu.org>
1588 * eshell/esh-arg.el (eshell-quote-argument): New function.
1590 * eshell/esh-ext.el (eshell-invoke-batch-file):
1591 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1592 first arg to eshell-parse-command (Bug#10523).
1594 2012-01-28 Drew Adams <drew.adams@oracle.com>
1596 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1597 `default-directory' is non-nil.
1599 2012-01-28 Eli Zaretskii <eliz@gnu.org>
1601 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1602 line that displays system-configuration-options. (Bug#9924)
1604 2012-01-28 Drew Adams <drew.adams@oracle.com>
1606 * descr-text.el (describe-char): Show information about POS, in
1607 addition to information about the character at POS. Improve and
1608 update the doc string. Change "code point" to "code point in
1609 charset", to avoid confusion with the character's Unicode code
1610 point shown above that. (Bug#10129)
1612 2012-01-28 Eli Zaretskii <eliz@gnu.org>
1614 * descr-text.el (describe-char): Show the raw character, not only
1615 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
1616 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1619 2012-01-28 Phil Hagelberg <phil@hagelb.org>
1621 * emacs-lisp/package.el (package-install):
1622 Run package-refresh-contents if there is no archive yet (Bug#9798).
1624 2012-01-28 Chong Yidong <cyd@gnu.org>
1626 * emacs-lisp/package.el (package-maybe-load-descriptor):
1627 New function, split from package-maybe-load-descriptor.
1628 (package-maybe-load-descriptor): Use it.
1629 (package-download-transaction): Fully load required packages
1630 inside the loop, so that `require' calls work (Bug#10593).
1631 (package-install): No need to call package-initialize now.
1633 2012-01-28 Chong Yidong <cyd@gnu.org>
1635 * simple.el (deactivate-mark): Doc fix (Bug#8614).
1637 * tooltip.el (tooltip-mode): Doc fix.
1638 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1640 * frame.el (set-cursor-color): Doc fix (Bug#352).
1642 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1643 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1645 * cus-edit.el (custom-buffer-create-internal): Fix search button
1647 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
1649 2012-01-27 Eduard Wiebe <usenet@pusto.de>
1651 * dired.el (dired-mark-files-regexp):
1652 Include any subdirectory components. (Bug#10445)
1654 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
1656 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1657 Handle [host]:port syntax. (Bug#10533)
1659 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
1661 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1663 2012-01-26 Glenn Morris <rgm@gnu.org>
1665 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1666 * term.el (term-raw-escape-map): Use Control-X-prefix.
1667 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
1669 2012-01-25 Martin Rudalics <rudalics@gmx.at>
1671 * window.el (window-state-get, window--state-get-1): Don't deal
1672 with fixed-sizeness of windows. Simplify code.
1674 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
1676 * window.el (window--state-get-1, window--state-put-2):
1677 Don't save and restore the mark.
1679 2012-01-25 Chong Yidong <cyd@gnu.org>
1681 * custom.el (custom-variable-p): Doc fix.
1683 2012-01-25 Glenn Morris <rgm@gnu.org>
1685 * dired.el (dired-goto-file): Handle some of the more common
1686 characters that `ls -b' escapes. (Bug#10596)
1688 * progmodes/compile.el (compilation-next-error-function):
1689 Respect compilation-first-column in the "*compilation*" buffer.
1690 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
1692 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
1694 2012-01-24 Glenn Morris <rgm@gnu.org>
1696 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
1698 2012-01-24 Julien Danjou <julien@danjou.info>
1700 * color.el (color-rgb-to-hsl): Fix value computing.
1701 (color-hue-to-rgb): New function.
1702 (color-hsl-to-rgb): New function.
1703 (color-clamp, color-saturate-hsl, color-saturate-name)
1704 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1705 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1707 2012-01-24 Glenn Morris <rgm@gnu.org>
1709 * vc/vc-rcs.el (vc-rcs-create-tag):
1710 * vc/vc-sccs.el (vc-sccs-create-tag):
1711 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
1713 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
1715 * eshell/esh-util.el (eshell-read-hosts-file):
1716 Skip comment lines. (Bug#10549)
1718 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
1720 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
1722 * subr.el (display-delayed-warnings): Doc fix.
1723 (collapse-delayed-warnings): New function to collapse identical
1725 (delayed-warnings-hook): Add it.
1727 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
1729 * net/tramp.el (tramp-action-login): Set connection property "login-as".
1731 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
1732 properties, when "login-as" is set.
1734 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
1735 (tramp-default-user-alist): Don't add "pscp".
1736 (tramp-do-copy-or-rename-file-out-of-band): Use connection
1737 property "login-as", if set. (Bug#10530)
1739 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
1741 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
1742 "plink1" and "psftp". (Bug#10530)
1744 2012-01-21 Kenichi Handa <handa@m17n.org>
1746 * international/mule-cmds.el (prefer-coding-system): Show a
1747 warning message if the default value of file-name-coding-system
1750 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1752 * windmove.el (windmove-reference-loc):
1753 Fix windmove-reference-loc miscalculation.
1755 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1757 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1760 2012-01-21 Glenn Morris <rgm@gnu.org>
1762 * international/mule.el (auto-coding-alist): Add .tbz.
1764 * files.el (local-enable-local-variables): Doc fix.
1765 (inhibit-local-variables-regexps): Rename from
1766 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
1767 Doc fix. Add some extensions from auto-coding-alist.
1768 (inhibit-local-variables-suffixes):
1769 Rename from inhibit-first-line-modes-suffixes. Doc fix.
1770 (inhibit-local-variables-p):
1771 New function, extracted from set-auto-mode-1.
1772 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
1773 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
1774 (hack-local-variables): Doc fix. Make the mode-only case
1775 respect enable-local-variables and friends.
1776 Respect inhibit-local-variables-regexps for file-locals, but
1777 not for directory-locals.
1778 (set-visited-file-name):
1779 Take account of inhibit-local-variables-regexps.
1780 Whether it applies may change as the file name is changed.
1781 * jka-cmpr-hook.el (jka-compr-install):
1782 * jka-compr.el (jka-compr-uninstall):
1783 Update for inhibit-first-line-modes-suffixes name change.
1785 2012-01-20 Martin Rudalics <rudalics@gmx.at>
1787 * help-macro.el (make-help-screen): Temporarily restore original
1788 binding for minor-mode-map-alist (Bug#10454).
1790 2012-01-19 Julien Danjou <julien@danjou.info>
1792 * color.el (color-name-to-rgb): Use the white color to find the max
1793 color component value and return correctly computed values.
1794 (color-name-to-rgb): Add missing float conversion for max value.
1796 2012-01-19 Martin Rudalics <rudalics@gmx.at>
1798 * window.el (window--state-get-1, window-state-get): Do not use
1799 special state value for window-persistent-parameters.
1800 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
1801 (window--state-put-2): Reset all window parameters to nil before
1802 assigning values of persistent parameters.
1804 2012-01-18 Alan Mackenzie <acm@muc.de>
1806 Eliminate sluggishness and hangs in fontification of "semicolon
1809 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
1810 Change value 10000 -> 3000.
1811 (c-state-safe-place): Reformulate so it doesn't stack up an
1812 infinite number of wrong entries in c-state-nonlit-pos-cache.
1813 (c-determine-limit-get-base, c-determine-limit): New functions to
1814 determine backward search limits disregarding literals.
1815 (c-find-decl-spots): Amend commenting.
1816 (c-cheap-inside-bracelist-p): New function which detects "={".
1818 * progmodes/cc-fonts.el
1819 (c-make-font-lock-BO-decl-search-function): Give a limit to a
1821 (c-font-lock-declarations): Fix an occurrence of point being
1822 undefined. Check additionally for point being in a bracelist or
1823 near a macro invocation without a semicolon so as to avoid a
1824 fruitless time consuming search for a declarator. Give a more
1825 precise search limit for declarators using the new
1828 2012-01-18 Glenn Morris <rgm@gnu.org>
1830 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
1831 (set-auto-mode): Doc fixes.
1833 2012-01-17 Glenn Morris <rgm@gnu.org>
1835 * isearch.el (search-nonincremental-instead): Fix doc typo.
1837 * dired.el (dired-insert-directory): Handle newlines in directory name.
1838 (dired-build-subdir-alist): Unescape newlines in directory name.
1840 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
1842 * net/tramp.el (tramp-local-end-of-line): New defcustom.
1843 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
1844 (tramp-action-terminal): Use it. (Bug#10530)
1846 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1848 * minibuffer.el (completion--replace): Strip properties (bug#10062).
1850 2012-01-16 Martin Rudalics <rudalics@gmx.at>
1852 * window.el (window-state-ignored-parameters): Remove variable.
1853 (window--state-get-1): Rename argument MARKERS to IGNORE.
1854 Handle persistent window parameters. Make copy of clone-of
1855 parameter only if requested. (Bug#10348)
1856 (window--state-put-2): Install a window parameter only if it has
1857 a non-nil value or an existing parameter shall be overwritten.
1859 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
1861 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
1863 2012-01-14 Eli Zaretskii <eliz@gnu.org>
1865 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
1866 don't pass the (nil) value of `upnode' to string-match.
1868 2012-01-14 Chong Yidong <cyd@gnu.org>
1870 * startup.el (command-line): Fix X resource class for cursorColor.
1871 Fix values recognized by the cursorBlink resource.
1873 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
1875 * epg.el (epg--make-temp-file): Avoid permission race condition
1876 when running on old Emacs versions (bug#10403).
1878 2012-01-14 Glenn Morris <rgm@gnu.org>
1880 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
1882 2012-01-13 Alan Mackenzie <acm@muc.de>
1884 Fix filling for when filladapt mode is enabled.
1886 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
1887 c-mask-paragraph, pass in `fill-paragraph' rather than
1888 `fill-region-as-paragraph'. (This is a reversion of a previous
1890 * progmodes/cc-mode.el (c-basic-common-init):
1891 Make fill-paragraph-handle-comment buffer local and set it to nil.
1893 2012-01-13 Glenn Morris <rgm@gnu.org>
1895 * dired.el (dired-switches-escape-p): New function.
1896 (dired-insert-directory): Use dired-switches-escape-p.
1897 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
1899 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
1901 2012-01-12 Glenn Morris <rgm@gnu.org>
1903 * mail/sendmail.el (mail-mode): Update paragraph-separate for
1904 changes in adaptive-fill-regexp. (Bug#10276)
1906 2012-01-11 Alan Mackenzie <acm@muc.de>
1908 Fix Emacs bug #10463 - put `widen's around the critical spots.
1910 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
1911 widen around each invocation of c-state-pp-to-literal. Remove an
1912 unused let variable.
1914 2012-01-11 Glenn Morris <rgm@gnu.org>
1916 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
1919 2012-01-10 Chong Yidong <cyd@gnu.org>
1921 * net/network-stream.el (network-stream-open-starttls):
1922 Avoid emitting a confusing error message when the server gives a bad
1923 response to the capability command.
1925 2012-01-10 Glenn Morris <rgm@gnu.org>
1927 * mail/unrmail.el (unrmail): Tweak previous change.
1929 2012-01-09 Chong Yidong <cyd@gnu.org>
1931 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
1933 2012-01-08 Alan Mackenzie <acm@muc.de>
1935 Optimise font locking in long enum definitions.
1937 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
1938 arm to a cond form to handle enums.
1939 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
1940 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
1942 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
1944 * files.el (move-file-to-trash): Preserve default file modes on error.
1947 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1949 * faces.el (set-face-attribute): Clarify the meaning of the nil
1952 * subr.el (with-selected-frame): Mention that the selected frame
1953 is restored (bug#9980).
1955 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
1958 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
1959 (password-read): Don't autoload unused function.
1961 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
1963 * progmodes/which-func.el (which-func-mode): Turn into a
1964 non-interactive function and mark as obsolete (bug#10428).
1966 2012-01-06 Chong Yidong <cyd@gnu.org>
1968 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
1969 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
1970 functions, along with 1 and -1.
1972 2012-01-06 Eli Zaretskii <eliz@gnu.org>
1974 * time.el (display-time-load-average)
1975 (display-time-default-load-average): Doc fixes. See the thread
1977 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
1980 2012-01-06 Glenn Morris <rgm@gnu.org>
1982 * mail/unrmail.el (unrmail): Give an explicit error if the input file
1983 has no messages. (Bug#10377)
1985 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
1986 than Info-edit. (Bug#10385)
1988 * time.el (display-time-load-average, display-time-next-load-average):
1991 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
1992 local setting of buffer-read-only to the input buffer. (Bug#10419)
1994 * calendar/calendar.el (calendar-mode):
1995 Locally set scroll-margin to 0. (Bug#10379)
1997 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
1999 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2001 2012-01-05 Glenn Morris <rgm@gnu.org>
2003 * eshell/em-unix.el (diff-no-select): Autoload it.
2004 (eshell/diff): Use diff-no-select. (Bug#10420)
2006 2012-01-05 Chong Yidong <cyd@gnu.org>
2008 * shell.el (shell-dynamic-complete-functions): Revert last change.
2009 (shell-command-completion-function): New function.
2010 (shell-completion-vars): Use it to implement
2011 shell-completion-execonly (Bug#10417).
2013 * custom.el (enable-theme): Don't set custom-safe-themes.
2015 * cus-theme.el (custom-theme-merge-theme):
2016 Ignore custom-enabled-themes and custom-safe-themes.
2018 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
2020 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2021 first prompt in `sql-interacive-mode'.
2022 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
2024 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
2025 (sql-product-interactive): Bug fix: Set `sql-buffer' in
2026 context of original buffer. Invoke `sql-login-hook'.
2028 2012-01-04 Eli Zaretskii <eliz@gnu.org>
2030 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2031 letters in cite-prefix.
2033 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2035 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2037 2012-01-03 Chong Yidong <cyd@gnu.org>
2039 * shell.el (shell-dynamic-complete-functions):
2040 Put pcomplete-completions-at-point, so as to try
2041 comint-filename-completion first (Bug#10417).
2043 2012-01-02 Richard Stallman <rms@gnu.org>
2045 * battery.el (battery-status-function):
2046 Detect when to use battery-yeeloong-sysfs.
2047 (battery-echo-area-format): Add string for Yeeloong.
2048 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2049 (battery-yeeloong-sysfs): New function.
2051 2012-01-02 Chong Yidong <cyd@gnu.org>
2053 * dirtrack.el (dirtrack-list): Eliminate unused third element.
2054 (dirtrack): Merge code for handling relative filenames in prompt
2055 from shell-dir-cookie-watcher.
2056 (dirtrack-debug-message): New arg to avoid excess format calls.
2058 * shell.el (shell-dir-cookie-re): Variable deleted.
2059 (shell-dir-cookie-watcher): Function deleted.
2060 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2063 2012-01-01 Eli Zaretskii <eliz@gnu.org>
2065 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2066 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
2069 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2071 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2073 2011-12-31 Eli Zaretskii <eliz@gnu.org>
2075 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2076 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2078 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
2080 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2081 also for alternative shells.
2082 (tramp-open-connection-setup-interactive-shell): Check, whether
2083 the shell is a busybox.
2084 (tramp-send-command): Don't suppress multiple prompts for
2085 busyboxes, it hurts.
2087 2011-12-28 Chong Yidong <cyd@gnu.org>
2089 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2090 (gdb-get-source-file): Move mode line update to
2091 gdb-get-source-file (Bug#10087).
2093 2011-12-25 Chong Yidong <cyd@gnu.org>
2095 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2096 gud-gdb-marker-filter without taking it as an argument.
2097 (gud-gdb-run-command-fetch-lines): Caller changed.
2098 (gud-gdb-completion-function): New variable.
2099 (gud-gdb-completion-at-point): Use it.
2100 (gud-gdb-completions-1): Split from gud-gdb-completions.
2102 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2103 function as separate arguments.
2104 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2105 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2106 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2107 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2108 (gdb-stopped, def-gdb-auto-update-trigger)
2109 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
2110 (gdb-get-changed-registers, gdb-get-main-selected-frame):
2112 (gud-gdbmi-completions): New function.
2113 (gdb): Use it for generating the completion table.
2115 2011-12-24 Alan Mackenzie <acm@muc.de>
2117 Introduce a mechanism to widen the region used in context font
2118 locking. Use this to protect declarations from losing their contexts.
2120 * progmodes/cc-langs.el (c-before-font-lock-functions):
2121 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
2122 (c-before-context-fontification-functions): New defvar, a list of
2123 functions to be run just before context (etc.) font locking.
2125 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
2126 New, functionality extracted from
2127 c-neutralize-syntax-in-and-mark-CPP.
2128 (c-in-after-change-fontification): New variable.
2129 (c-after-change): Set c-in-after-change-fontification.
2130 (c-set-fl-decl-start): Rejig its interface, so it can be called
2131 from both after-change and context fontifying.
2132 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2134 (c-standard-font-lock-fontify-region-function): New variable.
2135 (c-font-lock-fontify-region): New function.
2137 2011-12-24 Juri Linkov <juri@jurta.org>
2139 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2142 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
2144 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2145 existence of source file. (Bug#10325)
2147 2011-12-23 Alan Mackenzie <acm@muc.de>
2149 Fix unstable fontification inside templates.
2151 * progmodes/cc-langs.el (c-before-font-lock-functions):
2152 Newly created from the singular version. The (c c++ objc) entry now
2153 additionally has c-set-fl-decl-start. The other languages (apart
2154 from AWK) have that as a single entry.
2156 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2157 The functionality for "local" declarations has been extracted to
2158 c-set-fl-decl-start.
2160 * progmodes/cc-mode.el (c-common-init, c-after-change):
2161 Changes due to pluralisation of c-before-font-lock-functions.
2162 (c-set-fl-decl-start): New function, extracted from
2163 c-font-lock-enclosing-decls and enhanced.
2165 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
2167 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2169 2011-12-22 Juri Linkov <juri@jurta.org>
2171 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2173 2011-12-22 Chong Yidong <cyd@gnu.org>
2175 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2177 2011-12-21 Drew Adams <drew.adams@oracle.com>
2179 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2181 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2183 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2185 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2187 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2188 highlighting and support. Fix up comments for capitalization.
2189 (cfengine-mode-debug): New var.
2190 (cfengine3-mode): Change the modeline indicator to "CFE3".
2191 (cfengine3-font-lock-keywords): Improve defun highlighting.
2192 (cfengine2-actions): Rename from `cfengine-actions'.
2193 (cfengine2-font-lock-keywords): Rename from
2194 `cfengine-font-lock-keywords'.
2195 (cfengine2-imenu-expression): Rename from
2196 `cfengine-imenu-expression'.
2197 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2198 (cfengine2-beginning-of-defun): Rename from
2199 `cfengine-beginning-of-defun'.
2200 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2201 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2202 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2203 modeline indicator to "CFE2".
2204 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2205 (cfengine-mode-abbrevs): Mark obsolete.
2207 2011-12-21 Chong Yidong <cyd@gnu.org>
2209 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2212 2011-12-20 Martin Rudalics <rudalics@gmx.at>
2214 * window.el (window-normalize-buffer-to-display): Remove.
2215 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2217 2011-12-19 Chong Yidong <cyd@gnu.org>
2219 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2220 Don't signal an error in a predicate function; return non-nil.
2221 (vc-dir-mark-file): Move the error here.
2222 (vc-dir-mark-unmark): If acting on the region, keep going if one
2223 of the entries cannot be marked/unmarked.
2224 (vc-dir-mark-all-files): If current entry is a directory, mark
2225 only child files, as documented.
2227 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2229 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2230 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2233 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2235 * term/ns-win.el (ns-get-selection-internal)
2236 (ns-store-selection-internal): Declare.
2237 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2238 Declare as obsolete.
2239 (ns-get-pasteboard, ns-paste-secondary):
2240 Use ns-get-selection-internal.
2241 (ns-set-pasteboard, ns-copy-including-secondary):
2242 Use ns-store-selection-internal.
2244 2011-12-17 Chong Yidong <cyd@gnu.org>
2246 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
2247 (vc-deduce-fileset): Doc fix.
2249 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2251 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2253 2011-12-13 Sam Steingold <sds@gnu.org>
2255 * man.el (Man-getpage-in-background): When running under a
2256 window-system, ignore $MANWIDTH and $COLUMNS.
2258 2011-12-15 Kenichi Handa <handa@m17n.org>
2260 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2261 (setup-ethiopic-environment-internal): Comment out key-binding for
2262 ethio-toggle-punctuation.
2264 2011-12-13 Alan Mackenzie <acm@muc.de>
2266 Add the switch statement to AWK Mode.
2268 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
2269 "default" to the keywords regexp.
2271 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
2272 expression as the rest.
2273 (c-nonlabel-token-key): Allow string literals for AWK.
2274 Refactor for the other modes.
2276 Large brace-block initialisation makes CC Mode slow: Fix.
2277 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
2278 routines. Limit backward searching in c-font-lock-enclosing.decl.
2280 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2281 pp-state and literal type in addition to the limits.
2282 (c-state-safe-place): New defun, extracted from c-state-literal-at.
2283 (c-state-literal-at): Use the above new defun.
2284 (c-slow-in-literal, c-fast-in-literal): Remove.
2285 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
2287 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2288 being in a literal. Add a limit for backward searching.
2290 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2293 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2295 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2297 2011-12-13 Martin Rudalics <rudalics@gmx.at>
2299 * window.el (delete-other-windows): Use correct frame in call to
2300 window-with-parameter.
2302 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2304 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2305 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2306 (makefile-gmake-statements, makefile-makepp-statements):
2307 Use it and add new makepp keywords.
2308 (makefile-makepp-font-lock-keywords): Add new patterns.
2309 (makefile-match-function-end): Match new [...] and [[...]].
2311 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
2313 * ses.el (ses-call-printer-return, ses-cell-property-get)
2314 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2315 (ses-create-cell-variable, ses-reset-header-string)
2316 (ses-cell-set-formula, ses-repair-cell-reference-all)
2317 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2318 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2319 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2320 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2321 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2322 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2323 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2324 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2325 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2326 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2327 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2328 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2330 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2332 * ses.el: The overall change is to add cell renaming, that is
2333 setting fancy names for cell symbols other than name matching
2334 "\\`[A-Z]+[0-9]+\\'" regexp .
2335 (ses-create-cell-variable): New defun.
2336 (ses-relocate-formula): Relocate formulas only for cells the
2337 symbols of which are not renamed, i.e. symbols whose names do not
2338 match regexp "\\`[A-Z]+[0-9]+\\'".
2339 (ses-relocate-all): Relocate values only for cells the symbols of
2340 which are not renamed.
2341 (ses-load): Create cells variables as the (ses-cell ...) are read,
2342 in order to check row col consistency with cell symbol name only
2343 for cells that are not renamed.
2344 (ses-replace-name-in-formula): New defun.
2345 (ses-rename-cell): New defun.
2347 2011-12-11 Chong Yidong <cyd@gnu.org>
2349 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2350 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2352 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2354 * window.el (other-window): Fix docstring.
2356 2011-12-10 Eli Zaretskii <eliz@gnu.org>
2358 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
2359 `from' or `to' address before taking its substring.
2360 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
2361 encoded name is chopped in the middle of the encoded string, and
2362 thus displayed encoded.
2364 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
2366 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2368 2011-12-10 Eli Zaretskii <eliz@gnu.org>
2370 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2371 to use texinfo-update-node and commands that call it if the
2372 Texinfo file uses @node lines without next/prev/up pointers.
2373 Correct outdated description about texinfo-master-menu.
2374 (texinfo-all-menus-update, texinfo-master-menu)
2375 (texinfo-update-node, texinfo-every-node-update)
2376 (texinfo-multiple-files-update): Doc fix. Warn against updating
2377 all the @node lines.
2378 (texinfo-master-menu): Only call texinfo-update-node if the prefix
2379 argument is numeric. Explain better in the doc string what the
2380 function really does.
2381 (texinfo-insert-master-menu-list): Improve the error message
2382 displayed if there's no menu in the Top node.
2383 (Bug#2975) See also this thread:
2384 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2386 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2388 * speedbar.el (speedbar-supported-extension-expressions):
2389 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2391 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
2393 * printing.el (pr-mode-alist):
2394 * simple.el (filter-buffer-substring-functions)
2395 (completion-list-insert-choice-function):
2396 * window.el (window-with-parameter, window-atom-root)
2397 (window-sides-slots, window-size-fixed, window-min-delta)
2398 (window-max-delta, window--resize-mini-window)
2399 (window--resize-child-windows-normal, window-tree)
2400 (delete-other-windows, quit-window, split-window)
2401 (display-buffer-record-window, special-display-buffer-names)
2402 (special-display-regexps, special-display-popup-frame)
2403 (same-window-p, split-window-sensibly)
2404 (display-buffer-overriding-action, display-buffer-alist)
2405 (display-buffer-base-action, display-buffer, switch-to-buffer)
2406 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2407 (fit-window-to-buffer, recenter-positions)
2408 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2409 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2410 and remove unneeded backslashes in docstrings.
2412 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2414 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2416 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2417 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2419 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2420 when reading the makefile (bug#10116).
2422 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2424 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2427 2011-12-06 Glenn Morris <rgm@gnu.org>
2429 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2431 2011-12-06 Chong Yidong <cyd@gnu.org>
2433 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2435 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
2437 * textmodes/table.el (table-shorten-cell): Fix typo.
2439 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2441 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2443 2011-12-05 Eli Zaretskii <eliz@gnu.org>
2445 * descr-text.el (describe-char): Fix display of strong
2446 right-to-left characters and directional embeddings and overrides.
2448 * simple.el (what-cursor-position): Fix display of codepoints of
2449 strong right-to-left characters.
2451 2011-12-05 Chong Yidong <cyd@gnu.org>
2453 * faces.el (read-color): Doc fix.
2455 2011-12-05 Glenn Morris <rgm@gnu.org>
2457 * align.el (align--set-marker): Add doc-string.
2458 Don't try to move something that is not a marker. (Bug#10216)
2460 2011-12-04 Glenn Morris <rgm@gnu.org>
2462 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2463 overly zealous deletion of trailing whitespace.
2465 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
2467 * server.el (server-delete-client): On Windows, do not try to delete
2469 (server-process-filter): On Windows, treat requests for a tty frame as
2470 if they were for a GUI frame if the running server is in GUI mode.
2472 2011-12-03 Glenn Morris <rgm@gnu.org>
2474 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2476 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2478 * electric.el: Streamline electric-indent's hook.
2479 (electric-indent-chars): Revert to simple list.
2480 (electric-indent-functions): New var.
2481 (electric-indent-post-self-insert-function): Use it.
2483 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2484 there's no inferior buffer (bug#10196).
2485 (prolog-consult-compile): Don't use toggle-read-only.
2487 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
2489 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2490 interrupt. (Bug#10187)
2492 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2494 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2497 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2500 2011-12-02 Juri Linkov <juri@jurta.org>
2502 * info.el (Info-search): Display "end of manual" when Isearch
2503 reaches the end of single-file Info manual. (Bug#9918)
2505 2011-12-02 Eli Zaretskii <eliz@gnu.org>
2507 * isearch.el (isearch-message-prefix): Run the input method part
2508 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2510 2011-12-02 Juri Linkov <juri@jurta.org>
2512 * isearch.el (isearch-occur): Use `word-search-regexp' for
2514 (isearch-search-and-update): Add condition for `isearch-word' and
2515 call `word-search-regexp'. (Bug#10145)
2517 2011-12-01 Glenn Morris <rgm@gnu.org>
2519 * eshell/em-hist.el (eshell-hist-initialize):
2520 Handle eshell-history-size nil and HISTSIZE set or unset.
2521 (eshell-history-file-name, eshell-history-size): Fix custom type.
2523 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2525 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2527 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
2529 * progmodes/verilog-mode.el (verilog-pretty-expr):
2530 Rework verilog-pretty-expr to handle new assignment operators in system
2531 verilog, such as += *= and the like.
2532 (verilog-assignment-operator-re): Regular expression to find the
2533 assigment operator in a verilog assignment.
2534 (verilog-assignment-operation-re): Regular expression to find an
2535 assignment statement for pretty-expr.
2536 (verilog-in-attribute-p): Query returns true if point is in an
2537 attribute context; used to skip these for expression line up from
2539 (verilog-in-parameter-p): Query returns true if point is in an
2540 parameter definition context; used to skip these for expression
2541 line up from pretty-expr.
2542 (verilog-in-parenthesis-p): Query returns true if point is in a
2543 parenthetical expression, specifically ( ) but not [ ] or { };
2544 used by pretty-expr.
2545 (verilog-just-one-space): If there is no space, don't add one.
2546 (verilog-get-lineup-indent-2): Specifically skip just attribute
2547 contexts for expression lineup, rather than skipping all
2548 parenthetical expressions.
2549 (verilog-calculate-indent): Fix comment, and fix indent.
2550 (verilog-do-indent): Indent declarations in lists (suggested by
2552 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2554 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2557 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
2559 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2560 parameters with embedded comments. Reported by Ray Stevens.
2561 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2562 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2563 Reported by Tim Holt.
2564 (verilog-auto): Fix AUTOing a upper module then AUTOing module
2565 instantiated by upper module causing wrong expansion until AUTOed a
2566 second time. Reported by K C Buckenmaier.
2567 (verilog-diff-auto): Fix showing .* as a difference when
2568 `verilog-auto-star-save' off. Reported by Dan Dever.
2569 (verilog-auto-reset, verilog-read-always-signals)
2570 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2571 temporary signals in reset list if
2572 verilog-auto-reset-blocking-in-non is nil, and match assignment
2573 style to each signal's assignment type, bug381.
2574 Reported by Thomas Esposito.
2575 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2576 (verilog-uvm-statement-re): Support UVM indentation and
2577 highlighting, with old OVM keywords only.
2578 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
2579 Support AUTOTIEOFF creating non-wire data types.
2580 Suggested by Jonathan Greenlaw.
2581 (verilog-auto-insert-lisp, verilog-delete-to-paren)
2582 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2583 (verilog-inject-sense, verilog-read-inst-pins)
2584 (verilog-read-sub-decls, verilog-read-sub-decls-line):
2585 Fix mismatching parenthesis inside commented out code when deleting
2586 AUTOINST, bug383. Reported by Jonathan Greenlaw.
2587 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2588 non-numeric vector width. Reported by Alex Reed.
2589 (verilog-auto-ascii-enum): Add "onehot" option to work around not
2590 detecting signals with parameter widths. Reported by Alex Reed.
2591 (verilog-auto-delete-trailing-whitespace):
2592 With `verilog-auto-delete-trailing-whitespace' remove trailing
2593 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
2594 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2595 Fix verilog-scan-cache corruption when running user AUTO expansion
2596 hooks that call indentation routines.
2597 (verilog-simplify-range-expression): Fix typo ignoring lower case
2599 (verilog-delete-auto): Fix delete-autos to also remove user created
2600 automatics, as long as they start with AUTO.
2601 (verilog-batch-diff-auto, verilog-diff-auto)
2602 (verilog-diff-function): Add `verilog-diff-auto' and bind to
2603 "C-c?" to report differences in AUTO expansion, ignoring spaces.
2604 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2605 (verilog-in-paren-quick, verilog-re-search-backward-quick)
2606 (verilog-re-search-forward-quick, verilog-syntax-ppss):
2607 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
2608 is disabled and its cache will get corrupt, causing AUTOS not to
2609 expand. Instead use only -quick functions.
2610 (verilog-scan-region): Fix scanning over escaped quotes.
2611 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2612 (verilog-re-search-backward-quick)
2613 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2614 related functions now ignore strings, to fix misparsing of strings
2615 with magic comments embedded in them.
2616 (verilog-read-auto-template):
2617 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2618 Reported by Brad Dobbie.
2619 (verilog-read-auto-template):
2620 Fix 'verilog-auto-inst-template-numbers' with comments.
2621 Reported by Brad Dobbie.
2622 (verilog-auto-inst, verilog-auto-inst-param)
2623 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2624 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
2625 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
2626 debugging templates without merge conflicts, bug357.
2627 Reported by Brad Dobbie.
2628 (verilog-read-auto-template):
2629 Fix verilog-auto-inst-template-numbers with multiple templates.
2630 Reported by Brad Dobbie.
2631 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2632 abbrevs so user won't be asked to save.
2633 (verilog-read-auto-lisp-present): Fix to start at beginning of
2634 buffer in case called outside of verilog-auto.
2635 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2636 to "X-2". Reported by Matthew Myers.
2637 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2638 all inputs from module templates. Reported by Leith Johnson.
2639 (verilog-module-inside-filename-p): Fix locating programs as with
2641 (verilog-auto-inst-port): Fix vl-width expressions when using
2642 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
2643 (verilog-decls-get-regs, verilog-decls-get-signals,
2644 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2645 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2646 verilog-read-decls): Combine reg and wire structures into one var
2647 structure to represent SystemVerilog concepts.
2648 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2649 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
2650 (verilog-auto-wire-type, verilog-insert-definition):
2651 Add verilog-auto-wire-type and AUTOLOGIC to support using
2652 SystemVerilog "logic" keyword instead of "wire"/"reg".
2653 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2654 to declares outputs that also have assignments (presumably in an
2655 ifdef or generate if so there's not a driver conflict).
2656 Reported by Matthew Myers.
2657 (verilog-auto-declare-nettype, verilog-insert-definition):
2658 Add verilog-auto-declare-nettype to fix declarations using
2659 `default_nettype none. Reported by Julian Gorfajn.
2660 (verilog-read-always-signals-recurse, verilog-read-decls)
2661 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2662 malformed end statement, bug325. Reported by Joshua Wise and
2664 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2665 (verilog-inst-comment-re): Fix not deleting Interfaced comment
2666 when expanding .* in interfaces, bug320.
2667 Reported by Pierre-David Pfister.
2668 (verilog-read-module-name): Fix import statements between module
2669 name and open parenthesis, bug317.
2670 Reported by Pierre-David Pfister.
2671 (verilog-simplify-range-expression): Fix simplification of
2672 multiplications inside AUTOWIRE connections, bug303.
2673 (verilog-auto-inst-port): Support parameter expansion in
2674 multidimensional arrays.
2675 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2676 after "assert property". Reported by Julian Gorfajn.
2677 (verilog-simplify-range-expression): Fix "couldn't merge" errors
2678 with multiplication, bug303.
2679 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2680 Reported by Jan Frode Lonnum.
2682 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
2684 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2685 (hfy-shell-file-name, hfy-shell):
2686 * international/fontset.el (x-decompose-font-name): Fix typos.
2688 2011-11-29 Ken Brown <kbrown@cornell.edu>
2690 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2691 (gdb-version): Remove defvar.
2692 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2693 (gdb-gud-context-command, gdb-non-stop-handler)
2694 (gdb-current-context-command, gdb-stopped): Use it.
2695 (gdb-init-1): Enable pretty printing here.
2696 (gdb-non-stop-handler): Don't enable pretty-printing here.
2697 Check to see if the target supports non-stop mode; if not, turn off
2698 non-stop mode. Use the following.
2699 (gdb-check-target-async): New defun.
2700 (gud-watch, gdb-stopped): Fix whitespace.
2701 (gdb-get-source-file): Don't try to display the source file if
2702 `gdb-main-file' is nil.
2704 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2706 * align.el: Try to generate fewer markers (bug#10047).
2707 (align--set-marker): New macro.
2708 (align-region): Use it.
2710 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2712 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2714 2011-11-29 Chong Yidong <cyd@gnu.org>
2716 * indent.el (indent-for-tab-command, indent-according-to-mode):
2718 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
2720 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
2722 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
2723 aware of remote file names. (Bug#10124)
2725 2011-11-29 Chong Yidong <cyd@gnu.org>
2727 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
2729 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2731 * files.el (find-file): Don't use force-same-window (bug#10144).
2732 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
2733 use pop-to-buffer if the selected window can't be used.
2734 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
2736 2011-11-28 Eli Zaretskii <eliz@gnu.org>
2738 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
2741 2011-11-28 Chong Yidong <cyd@gnu.org>
2743 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2745 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
2747 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2748 gdb-get-source-file-list on gdb-create-source-file-list.
2750 2011-11-26 Eli Zaretskii <eliz@gnu.org>
2752 * whitespace.el (whitespace-newline): Use a different foreground
2753 color for 16-color light-background displays.
2755 2011-11-24 Chong Yidong <cyd@gnu.org>
2757 * window.el (display-buffer--special-action): Doc fix.
2759 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
2761 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2762 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2763 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2764 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2765 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2766 (avl-tree-stack-first):
2767 * emacs-lisp/cconv.el (cconv--analyse-use):
2768 * net/gnutls.el (gnutls-negotiate): Fix typos.
2770 2011-11-24 Glenn Morris <rgm@gnu.org>
2772 * lpr.el (lpr-windows-system, lpr-lp-system):
2773 * mail/binhex.el (binhex-begin-line):
2774 * progmodes/grep.el (grep-history, grep-find-history):
2775 * textmodes/flyspell.el:
2776 * vc/pcvs-defs.el (cvs-global-menu):
2777 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
2778 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
2779 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2781 * net/tls.el: Fix case of "GnuTLS".
2783 * paths.el (rmail-file-name): Format doc-string for make-docfile.
2785 * version.el (emacs-build-system): Give it a doc-string.
2787 2011-11-24 Juri Linkov <juri@jurta.org>
2789 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
2791 2011-11-24 Glenn Morris <rgm@gnu.org>
2793 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
2794 if called on a non-mime message just toggle the headers. (Bug#8006)
2796 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
2798 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
2799 (allout-lead-with-comment-string, allout-structure-deleted-hook)
2800 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
2801 (allout-rebullet-heading, allout-open-sibtopic)
2802 (allout-toggle-current-subtree-encryption)
2803 (allout-toggle-subtree-encryption, allout-encrypt-string)
2804 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
2805 (allout-distinctive-bullets-string, allout-auto-activation):
2806 * window.el (window-normalize-buffer-to-display):
2807 * progmodes/verilog-mode.el (verilog-batch-indent):
2808 * textmodes/bibtex.el (bibtex-field-braces-opt)
2809 (bibtex-field-strings-opt):
2810 * vc/cvs-status.el (cvs-tree-merge):
2813 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
2815 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
2816 `non-essential' to t, in order to avoid remote connections.
2818 2011-11-23 Eli Zaretskii <eliz@gnu.org>
2820 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2821 On MS-DOS and MS-Windows, compare with loaddefs.el
2824 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2826 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
2828 2011-11-23 Glenn Morris <rgm@gnu.org>
2830 * paths.el (rmail-file-name): Reformat the doc-string so that it
2833 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
2834 (rmail-auto-file): Ignore case in the "special" field names,
2835 as mail-fetch-field does for all others.
2837 * mail/rmail.el (rmail-forward):
2838 * mail/rmailkwd.el (rmail-set-label):
2839 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
2840 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
2842 * mail/rmail.el (rmail-current-message): Doc fix.
2844 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
2846 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2848 * server.el (server-eval-and-print): Allow C-g (bug#6585).
2850 2011-11-22 Glenn Morris <rgm@gnu.org>
2852 * mail/rmailmm.el (test-rmail-mime-handler)
2853 (test-rmail-mime-bulk-handler)
2854 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
2856 2011-11-21 Juri Linkov <juri@jurta.org>
2858 * calc/calc.el (calc-read-key-sequence):
2859 Let-bind `input-method-function' to nil. (Bug#10018)
2861 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2863 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
2864 Tell the caller that the next line needs recomputation, even
2865 though it doesn't start a sexp (bug#10094).
2867 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2869 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
2871 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2873 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2874 Use force-same-window.
2876 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
2878 * descr-text.el (describe-char-unicode-data):
2879 * json.el (json-string-escape):
2880 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
2881 (Footnote-unicode, Footnote-style-p):
2882 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
2884 2011-11-20 Chong Yidong <cyd@gnu.org>
2886 * window.el (replace-buffer-in-windows): Restore interactive spec.
2888 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2890 * electric.el (electric-indent-mode): Fix last change (too optimistic).
2892 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
2893 (byte-compile-global-not-obsolete-vars): New var.
2894 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
2896 (byte-compile-warn-obsolete): Align text with the one in *Help*.
2898 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
2900 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
2901 * progmodes/pascal.el (electric-pascal-equal):
2902 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
2903 * xml.el (xml-substitute-special): Fix typos.
2905 2011-11-20 Glenn Morris <rgm@gnu.org>
2907 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
2908 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
2910 (rmail-decode-mime-charset): Mark as obsolete.
2912 * mail/rmailsum.el (rmail-message-regexp-p-1):
2913 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
2914 Before using mime functions, check they are set. (Bug#10077)
2916 2011-11-19 Juri Linkov <juri@jurta.org>
2918 * info.el (Info-finder-find-node): Use `package--builtins' instead
2919 of `package-alist'. Use node names formed by the pattern "Keyword "
2920 and the keyword name.
2922 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2924 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
2926 2011-11-19 Juri Linkov <juri@jurta.org>
2928 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
2929 that calls `revert-buffer' on all Info buffers. (Bug#9915)
2930 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
2931 `old-history', `old-history-forward'. Add let-binding
2932 `window-selected'. Remove calls to `kill-buffer',
2933 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
2934 before calling `Info-find-node', so `Info-find-node-2' will reread
2935 the Info file. Restore window positions only when `window-selected'
2938 2011-11-19 Juri Linkov <juri@jurta.org>
2940 * isearch.el (isearch-lazy-highlight-new-loop):
2941 Remove condition `(not isearch-error)'. (Bug#9918)
2943 * misearch.el (multi-isearch-search-fun): Add condition
2944 `(not bound)' to ignore lazy-highlighting search.
2945 Add the search-failed message "end of multi" when the end of
2946 multi-sequence is reached. Uncapitalize the search-failed
2947 message "Repeat for next buffer".
2949 * info.el (Info-search): Add the search-failed message
2950 "end of the manual" when the end of the manual is reached
2953 2011-11-19 Juri Linkov <juri@jurta.org>
2955 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
2956 Use non-destructive `remove' instead of `delete' because
2957 `Info-history-list' stored to `Info-isearch-initial-history-list' in
2958 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
2960 2011-11-19 Juri Linkov <juri@jurta.org>
2962 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
2963 to nil instead of binding `search-ring' and `regexp-search-ring'.
2966 2011-11-19 Eli Zaretskii <eliz@gnu.org>
2968 * simple.el (line-move): Force movement by logical lines for any
2969 hscrolled window, not only when auto-hscroll-mode is on.
2970 (line-move-visual): Update doc string to that effect. (Bug#10076)
2972 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2974 * language/european.el (macintosh): Define as alias for mac-roman.
2976 2011-11-19 Eli Zaretskii <eliz@gnu.org>
2978 * mail/rmailmm.el (rmail-mime-display-header)
2979 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
2980 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
2981 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
2982 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
2983 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
2985 (rmail-mime-entity-segment): To get past the tagline, move forward
2986 2 more lines, to account for the 2 empty lines that precede and
2987 follow the line with the buttons.
2988 (rmail-mime-update-tagline): Move one more line, to get past the
2989 empty line that follows the buttons in the tagline. (Bug#9520)
2991 2011-11-19 Martin Rudalics <rudalics@gmx.at>
2993 * window.el (window-max-delta-1, window-min-delta-1)
2994 (window-min-size-1, window-state-get-1, window-state-put-1)
2995 (window-state-put-2): Use "window--" prefix.
2997 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2999 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3000 (smie-warning-count): New var.
3001 (smie-set-prec2tab): Use it.
3002 (smie-bnf->prec2): Improve warnings. Add docstring.
3003 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3004 (smie-bnf--set-class): New function.
3005 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3008 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3009 (compilation-error-properties, compilation-move-to-column):
3010 Handle compilation-first-column while in the target buffer.
3012 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3013 Don't hardcode point-min==1.
3015 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3016 (eshell-rewrite-for-command): Remove workaround.
3017 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3018 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3019 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3021 * files-x.el (modify-file-local-variable): Obey commenting conventions.
3023 2011-11-17 Glenn Morris <rgm@gnu.org>
3025 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3026 Ignore buffer-local generated-autoload-file if it is the same
3027 as the global value. (Bug#10049)
3029 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
3031 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3032 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3033 (reftex-toc-previous-heading, reftex-toc-max-level)
3034 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3035 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3036 (reftex-toc-do-promote, reftex-toc-promote-prepare)
3037 (reftex-toc-promote-action, reftex-toc-extract-section-number)
3038 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3039 (reftex-toc-rename-label, reftex-toc-visit-location)
3040 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3041 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3042 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3043 leaving "*toc*" only for references to the buffer.
3045 2011-11-17 Martin Rudalics <rudalics@gmx.at>
3047 * window.el (window-resize, delete-window, split-window):
3048 Replace window-splits by window-combination-resize.
3049 * cus-start.el (window-splits): Replace by window-combination-resize.
3051 2011-11-17 Glenn Morris <rgm@gnu.org>
3053 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3054 Make bash entry derive from sh entry, not shell entry.
3056 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
3058 * net/tramp-cache.el (tramp-flush-file-property): Flush also
3059 properties of linked files. (Bug#9879)
3061 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3064 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
3066 * menu-bar.el (menu-bar-file-menu):
3067 * printing.el (pr-ps-utility):
3068 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3069 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3070 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3071 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3072 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3073 (icalendar--convert-cyclic-to-ical)
3074 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3075 (icalendar--convert-ical-to-diary)
3076 (icalendar--convert-recurring-to-diary)
3077 (icalendar--convert-non-recurring-all-day-to-diary)
3078 (icalendar-import-format-sample):
3079 * progmodes/idlw-shell.el (idlwave-shell-mode):
3080 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3081 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3082 (vhdl-ps-print-init): Fix typos.
3084 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3086 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3087 FSF and collapse date sequence, obscure author/maintainer email address
3088 better, remove extra version line, track relocation of author's webpage.
3090 * progmodes/python.el (python-pdbtrack-input-prompt)
3091 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3092 regular python pdb prompts. Adjustments shamelessly taken exactly as
3093 suggested in EmacsWiki page (tiny change):
3094 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
3096 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
3098 * expand.el (expand-pos, expand-index, expand-point):
3099 Remove redundant info from docstring.
3100 (expand-add-abbrevs): Doc fix.
3101 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3102 (expand-sample-perl-mode-expand-list): Fix typos.
3104 * net/dbus.el (dbus-event-member-name):
3105 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3106 * term/pc-win.el (msdos-create-frame-with-faces):
3107 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3109 2011-11-16 Martin Rudalics <rudalics@gmx.at>
3111 * window.el (split-window, window-state-get-1)
3112 (window-state-put-1, window-state-put-2): Rename occurrences of
3113 window-nest to window-combination-limit.
3114 * cus-start.el (window-nest): Rename to window-combination-limit.
3116 2011-11-16 Chong Yidong <cyd@gnu.org>
3118 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3121 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3123 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3124 `completing-read' will remove *Completions* and will preserve
3125 current-buffer for us.
3126 (tmm-add-prompt): Users of *Completions* will always (re)set its
3128 (tmm-old-comp-map): Remove.
3130 2011-11-16 Glenn Morris <rgm@gnu.org>
3132 * mail/rmailedit.el: Require rmailmm when compiling.
3133 (rmail-old-mime-state): New declaration.
3134 (rmail-edit-current-message): If editing a mime message,
3135 edit the "raw" message from the mbox buffer.
3136 (rmail-cease-edit): Handle mime messages. (Bug#9840)
3138 2011-11-15 Glenn Morris <rgm@gnu.org>
3140 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3141 which wasn't being used. Add optional arg to force given state.
3142 (rmail-mime): Add optional arg to force given state.
3144 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
3146 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3147 * frame.el (display-mm-dimensions-alist):
3148 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3149 (outline-move-subtree-down):
3150 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3151 (newsticker--treeview-do-get-node):
3152 * net/quickurl.el (quickurl-list-buffer-name):
3153 * progmodes/dcl-mode.el (dcl-mode):
3154 * progmodes/gdb-mi.el (gdb-mapcar*):
3155 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3157 2011-11-15 Glenn Morris <rgm@gnu.org>
3159 * mail/rmail.el (rmail-file-coding-system): It's only ever used
3160 in a boolean sense, so just make it a boolean, and fix the doc.
3161 (rmail-show-mime-function, rmail-mime-feature)
3162 (rmail-require-mime-maybe): Doc fixes.
3163 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3165 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3167 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
3169 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3170 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3171 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3172 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3174 2011-11-15 Glenn Morris <rgm@gnu.org>
3176 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3177 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3178 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3179 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3180 (rmail-mime, rmail-show-mime): Doc fixes.
3182 * term/ns-win.el (mode-line-frame-identification):
3183 Leave it alone. (Bug#10051)
3185 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3187 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3188 Handle empty buffers. (Bug#9978)
3190 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
3192 * international/mule.el (define-charset):
3193 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3194 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3195 * progmodes/verilog-mode.el (verilog-backward-token):
3196 * textmodes/ispell.el (lookup-words):
3197 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3199 2011-11-14 Glenn Morris <rgm@gnu.org>
3201 * progmodes/executable.el
3202 (executable-make-buffer-file-executable-if-script-p):
3203 Handle file-modes returning nil.
3205 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3206 message - not necessary, and causes problems. (Bug#9831)
3208 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3210 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3212 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3213 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3214 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3216 2011-11-12 Martin Rudalics <rudalics@gmx.at>
3218 * window.el (window-resize, delete-window): Use window-splits
3219 variable instead of function.
3220 (window-state-get-1, window-state-put-2, window-state-put):
3221 Don't deal with windows' splits status.
3223 2011-11-12 Glenn Morris <rgm@gnu.org>
3225 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3226 (apropos-documentation): Doc fixes.
3228 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
3230 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3231 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3233 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3235 * electric.el (electric-indent-post-self-insert-function): Make it
3236 possible for a char to only indent in some circumstances.
3237 (electric-indent-mode): Simplify.
3239 2011-11-11 Martin Rudalics <rudalics@gmx.at>
3241 * window.el (windows-with-parameter): Remove unused function.
3242 (windows-at-side): Rename to window-at-side-list.
3243 (window-check, window-atom-check, window-atom-check-1)
3244 (window-side-check, window-size-ignore, window-size-fixed-1)
3245 (window-in-direction-2): Prefix with "window--".
3246 (window-tree-1): Rename to window--subtree, fix doc-string.
3248 2011-11-11 Glenn Morris <rgm@gnu.org>
3250 * subr.el (eval-after-load): If FILE is already loaded,
3251 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3253 2011-11-10 Glenn Morris <rgm@gnu.org>
3255 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3256 Call svn via vc-svn-command rather than vc-do-command.
3257 (vc-svn-command): Add --non-interactive. (Bug#9993)
3258 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3260 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3261 Add toggle-read-only. (Bug#7292)
3262 * files.el (toggle-read-only): Mention that it should only
3263 be used interactively. (Bug#10006)
3265 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3267 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3268 Adjust regexp for OCaml warnings.
3270 * electric.el (electric-pair-post-self-insert-function): Let user
3271 turn it off buffer-locally (bug#9932).
3273 * progmodes/python.el (python-beginning-of-statement):
3276 * progmodes/compile.el: Better handle TABs (bug#9749).
3277 (compilation-internal-error-properties)
3278 (compilation-next-error-function): Obey the target buffer's
3279 compilation-error-screen-columns.
3281 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
3283 * progmodes/meta-mode.el: Remove obsolete comments.
3284 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3285 Fix typos in docstrings.
3287 2011-11-09 Martin Rudalics <rudalics@gmx.at>
3289 * window.el (window-size-fixed-p): Rewrite doc-string.
3290 (window-resizable-p): Rename to window--resizable-p. Update callers.
3291 (window--resizable): New function. Make all callers of
3292 window-resizable call window--resizable instead.
3293 (window-resizable): Rewrite in terms of window--resizable.
3295 2011-11-08 Glenn Morris <rgm@gnu.org>
3297 * progmodes/delphi.el (delphi-mode-syntax-table):
3298 Let define-derived-mode define a proper syntax table. (Bug#9994)
3300 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3302 * window.el: Stay away from defsubst.
3303 (window-list-no-nils): Remove.
3304 (window-state-get-1, window-state-get): Use backquote instead.
3306 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3308 * emacs-lisp/find-func.el (find-function-read):
3309 Fix incorrect use of default argument in `completing-read'.
3311 2011-11-08 Martin Rudalics <rudalics@gmx.at>
3313 * window.el (display-buffer-function, special-display-function):
3314 Mention display-buffer-record-window but do not mention
3315 help-setup parameter in doc-strings.
3316 (window-min-delta): Fix doc-string typo.
3318 2011-11-08 Chong Yidong <cyd@gnu.org>
3320 * window.el (window-total-height, window-total-width): Doc fix.
3321 (window-body-size): Move from C.
3322 (window-body-height, window-body-width): Move to C.
3324 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3326 * window.el: Make special-display like display-buffer-alist (bug#9532).
3327 (display-buffer--special-action): New function, morphed
3328 from display-buffer--special.
3329 (display-buffer): Use it to handle special-display-buffers at higher
3330 priority (just after display-buffer-alist).
3331 (display-buffer-fallback-action, display-buffer--other-frame-action)
3332 (pop-to-buffer-same-window): Remove display-buffer--special.
3334 2011-11-07 Glenn Morris <rgm@gnu.org>
3336 * calendar/cal-menu.el (cal-menu-set-date-title):
3337 Do nothing if not in a calendar. (Bug#9976)
3339 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3341 * files.el (find-file): Always use selected-window.
3343 2011-11-07 Martin Rudalics <rudalics@gmx.at>
3345 * window.el (window-combinations): Make WINDOW argument
3346 mandatory. Rewrite doc-string.
3347 (walk-window-subtree, window-atom-check, window-min-delta)
3348 (window-max-delta, window--resize-this-window)
3349 (window--resize-root-window-vertically, window-tree)
3350 (balance-windows, window-state-put): Rewrite doc-strings as to
3351 not mention the term "subwindow".
3352 (window--resize-subwindows-skip-p): Rename to
3353 window--resize-child-windows-skip-p.
3354 (window--resize-subwindows-normal): Rename to
3355 window--resize-child-windows-normal.
3356 (window--resize-subwindows): Rename to
3357 window--resize-child-windows.
3358 (window-or-subwindow-p): Rename to window--in-subtree-p.
3360 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3362 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3363 Ensure that mbox format messages end in two newlines (Bug#9974).
3365 2011-11-06 Chong Yidong <cyd@gnu.org>
3367 * window.el (window-combination-p): Function deleted; its
3368 side-effect is not used in any existing code.
3369 (window-combinations, window-combined-p): Call window-*-child
3372 2011-11-05 Chong Yidong <cyd@gnu.org>
3374 * window.el (window-valid-p): Rename from window-any-p.
3375 (window-size-ignore, window-state-get): Callers changed.
3376 (window-normalize-window): Rename from window-normalize-any-window.
3377 New arg LIVE-ONLY, replacing window-normalize-live-window.
3378 (window-normalize-live-window): Delete.
3379 (window-combination-p, window-combined-p, window-combinations)
3380 (walk-window-subtree, window-atom-root, window-min-size)
3381 (window-sizable, window-sizable-p, window-size-fixed-p)
3382 (window-min-delta, window-max-delta, window-resizable)
3383 (window-resizable-p, window-full-height-p, window-full-width-p)
3384 (window-current-scroll-bars, window-point-1, set-window-point-1)
3385 (window-at-side-p, window-in-direction, window-resize)
3386 (adjust-window-trailing-edge, maximize-window, minimize-window)
3387 (window-deletable-p, delete-window, delete-other-windows)
3388 (record-window-buffer, unrecord-window-buffer)
3389 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3390 (quit-window, split-window, window-state-put)
3391 (set-window-text-height, fit-window-to-buffer)
3392 (shrink-window-if-larger-than-buffer): Callers changed.
3394 2011-11-04 Eli Zaretskii <eliz@gnu.org>
3396 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3397 rfc2047-decode-string.
3398 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3401 * window.el (window-body-height, window-body-width): Mention in
3402 the doc string that the return values are in frame's canonical
3405 2011-11-03 Alan Mackenzie <acm@muc.de>
3407 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3408 change in cc-engine.el.
3410 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3412 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3414 2011-11-02 Martin Rudalics <rudalics@gmx.at>
3416 * window.el (quit-window): Call unrecord-window-buffer after
3417 showing another buffer in the window. (Bug#9937)
3418 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
3420 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
3422 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3423 Accept status with more than 9 shelves. (Bug#9935)
3424 Reported by Colin D Bennett <colin@gibibit.com>.
3426 2011-11-01 Martin Rudalics <rudalics@gmx.at>
3428 * help.el (with-help-window): Don't reference
3429 temp-buffer-show-specifiers in doc-string.
3431 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3433 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3436 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3438 * whitespace.el: New version 13.2.2.
3439 (whitespace-newline-mode): Disable properly. Reported by Sarah
3442 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
3444 * net/newst-treeview.el: Remove "Time-stamp".
3445 (newsticker--group-manage-orphan-feeds): Do not call
3446 newsticker--treeview-tree-update.
3447 (newsticker-treeview-update, newsticker-treeview):
3448 Call newsticker--treeview-tree-update if necessary.
3450 2011-10-30 Martin Rudalics <rudalics@gmx.at>
3452 * window.el (window-iso-combination-p, window-iso-combined-p)
3453 (window-iso-combinations): Remove "iso-" infix.
3454 Suggested by Chong Yidong.
3455 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3456 (window-max-delta-1, window-resize, window--resize-siblings)
3457 (window--resize-this-window, adjust-window-trailing-edge)
3458 (split-window, balance-windows-1)
3459 (shrink-window-if-larger-than-buffer):
3460 * calendar/calendar.el (calendar-generate-window):
3461 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3463 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3465 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3466 in place (bug#9907).
3467 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3468 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3469 (eshell-structure-basic-command, eshell-rewrite-while-command)
3470 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3471 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3472 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3473 (eshell-do-pipelines-synchronously, eshell-eval-command):
3474 Use backquotes and prefer setq to set.
3475 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3476 (eshell-macrop): Use functionp.
3477 (eshell-do-eval): Handle multiple expressions in `while' body.
3479 2011-10-30 Chong Yidong <cyd@gnu.org>
3481 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3482 instead of set-mark (Bug#9810).
3484 2011-10-30 Chong Yidong <cyd@gnu.org>
3486 * window.el (split-window-below, split-window-right): Rename from
3487 split-window-above-each-other and split-window-side-by-side
3488 respectively. All callers changed.
3489 (split-window-sensibly, split-window-sensibly): Use them.
3490 (split-window-keep-point): Doc fix.
3492 * isearch.el: Add isearch-scroll property to split-window-below
3493 and split-window-right.
3495 * follow.el (follow-mode):
3496 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3497 * progmodes/ada-xref.el (ada-gdb-application):
3498 * emulation/vip.el (vip-buffer-in-two-windows):
3499 * image-dired.el (image-dired-dired-with-window-configuration):
3500 * dired-x.el (dired-do-find-marked-files):
3501 * dired.el (dired-pop-to-buffer):
3502 * bs.el (bs--show-with-configuration):
3503 * vc/emerge.el (emerge-setup-windows):
3504 * textmodes/two-column.el (2C-two-columns):
3505 * textmodes/reftex-toc.el (reftex-toc):
3506 * progmodes/gdb-mi.el (gdb-setup-windows):
3507 * progmodes/fortran.el (fortran-window-create):
3508 * net/newst-treeview.el (newsticker--treeview-window-init):
3509 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3510 * emulation/tpu-edt.el (tpu-gold-map):
3511 * emulation/crisp.el (crisp-mode-map):
3512 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3514 2011-10-29 Chong Yidong <cyd@gnu.org>
3516 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3518 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3520 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3521 forged Ispell output (Bug#7904).
3523 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3525 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3527 * doc-view.el: Avoid ugly errors about not finding nil.
3528 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3529 (doc-view-dvipdf-program, doc-view-unoconv-program)
3530 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3531 Avoid nil or absolute file name as default value.
3532 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3534 2011-10-28 Alan Mackenzie <acm@muc.de>
3536 * progmodes/cc-defs.el (c-version): -> 5.32.2.
3538 2011-10-28 Alan Mackenzie <acm@muc.de>
3540 Amend the handling of c-beginning/end-of-defun in nested declaration
3543 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3544 cc-langs.el. Change it to a defcustom.
3546 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3549 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3550 Prevent "class foo : bar" being spuriously recognized as a label.
3552 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
3553 Add parameter `inclusive' (to include enclosing braces in the region).
3554 (c-widen-to-enclosing-decl-scope): New function.
3555 (c-while-widening-to-decl-block): New macro.
3556 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3557 outward for defun boundaries, and correspondingly change symbol
3558 `respect-enclosure' to `go-outward'.
3559 (c-declaration-limits): Change algorithm to report only the "innermost"
3562 2011-10-28 Deniz Dogan <deniz@dogan.se>
3564 * net/rcirc.el (rcirc-mode): Use hard newlines.
3566 2011-10-28 Alan Mackenzie <acm@muc.de>
3568 Amend to indent and fontify macros "which include their own semicolon"
3569 correctly, using the "virtual semicolon" mechanism.
3571 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
3573 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3574 Recode to scan one line at a time rather than having \n and \r
3575 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
3576 (c-forward-label): Amend for virtual semicolons.
3577 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
3579 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3580 of the new C macros.
3582 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
3583 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3584 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
3585 (c-opt-cpp-macro-define): Make into a full language variable.
3586 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3587 AWK Mode (including \n, \r) removed, no longer needed.
3589 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3590 Invoke c-make-macro-with-semi-re.
3592 * progmodes/cc-vars.el (c-macro-with-semi-re):
3593 (c-macro-names-with-semicolon): New variables.
3594 (c-make-macro-with-semi-re): New function.
3596 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3598 * vc/log-edit.el: Fill empty field rather than adding new one.
3599 (log-edit-add-field): New function.
3600 (log-edit-insert-changelog): Use it.
3602 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3604 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3606 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3608 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3609 (gdb--check-interpreter): New function.
3612 2011-10-27 Glenn Morris <rgm@gnu.org>
3614 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3615 (least-positive-float, least-negative-float)
3616 (least-positive-normalized-float, least-negative-normalized-float)
3617 (float-epsilon, float-negative-epsilon):
3618 Remove unnecessary declarations.
3620 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3621 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3622 (least-positive-float, least-negative-float)
3623 (least-positive-normalized-float, least-negative-normalized-float)
3624 (float-epsilon, float-negative-epsilon): Add doc-strings,
3625 based on those in cl.texi.
3627 * files.el (set-visited-file-name): If the major-mode changed,
3628 reload the local variables. (Bug#9796)
3630 2011-10-27 Chong Yidong <cyd@gnu.org>
3632 * subr.el (change-major-mode-after-body-hook): New hook.
3633 (run-mode-hooks): Run it.
3635 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3636 Use change-major-mode-before-body-hook.
3638 * simple.el (fundamental-mode):
3639 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3640 change introducing fundamental-mode-hook.
3642 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
3644 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
3646 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
3648 * ido.el (ido-file-name-all-completions-1): Do not require
3649 tramp.el explicitly. (Bug#7583)
3651 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3653 * progmodes/octave-mod.el:
3654 * progmodes/octave-inf.el: Update maintainer.
3656 2011-10-26 Chong Yidong <cyd@gnu.org>
3658 * subr.el (with-wrapper-hook): Rewrite doc.
3660 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
3662 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
3663 filenames "/method:foo:". (Bug#9793)
3665 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3667 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3670 2011-10-24 Glenn Morris <rgm@gnu.org>
3672 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
3674 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
3676 * notifications.el: Add the requirement of a running D-Bus session
3677 bus to the Commentary.
3679 2011-10-24 Juri Linkov <juri@jurta.org>
3681 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3682 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3685 2011-10-24 Juri Linkov <juri@jurta.org>
3687 * info.el (Info-following-node-name-re): Add newline to the list
3688 of allowed characters for leading space. (Bug#9824)
3690 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3692 * progmodes/octave-inf.el (inferior-octave-mode-map):
3693 Fix C-c C-h binding.
3694 * progmodes/octave-mod.el (octave-help): Remove.
3696 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
3698 Sync with Tramp 2.2.3.
3700 * net/tramp-cache.el (top): Pacify byte-compiler using
3701 `init-file-user' and `site-run-file'.
3703 * net/trampver.el: Update release number.
3705 2011-10-23 Chong Yidong <cyd@gnu.org>
3707 * files.el (toggle-read-only): Remove obsolete comment about
3710 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3711 for toggle-read-only. Note that this hasn't called vc-next-action
3712 since 2008-05-02, though it wasn't documented at the time.
3714 * vc/ediff-init.el (ediff-toggle-read-only-function):
3715 Use toggle-read-only.
3717 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
3719 Fix bug #9560, sporadic wrong indentation; improve instrumentation
3722 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3723 correct faulty logical expression.
3724 (c-parse-state-state, c-record-parse-state-state):
3725 (c-replay-parse-state-state): New defvar/defuns.
3726 (c-debug-parse-state): Use new functions.
3728 2011-10-22 Martin Rudalics <rudalics@gmx.at>
3730 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
3731 last fix. Use window-in-direction correctly.
3733 2011-10-21 Chong Yidong <cyd@gnu.org>
3735 * progmodes/idlwave.el (idlwave-mode):
3736 * progmodes/vera-mode.el (vera-mode): No need to set
3737 require-final-newline; that's done in prog-mode.
3738 Suggested by Stefan Monnier.
3740 2011-10-21 Martin Rudalics <rudalics@gmx.at>
3742 * mouse.el (mouse-drag-window-above)
3743 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
3744 (mouse-drag-mode-line-1, mouse-drag-header-line)
3745 (mouse-drag-vertical-line-rightward-window): Remove.
3746 (mouse-drag-line): New function.
3747 (mouse-drag-mode-line, mouse-drag-header-line)
3748 (mouse-drag-vertical-line): Call mouse-drag-line.
3749 * window.el (window-at-side-p, windows-at-side): New functions.
3751 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
3753 * tar-mode.el (tar-grind-file-mode):
3754 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
3756 2011-10-21 Chong Yidong <cyd@gnu.org>
3758 * progmodes/idlwave.el (idlwave-mode):
3759 * progmodes/vera-mode.el (vera-mode):
3760 Use mode-require-final-newline.
3762 2011-10-20 Glenn Morris <rgm@gnu.org>
3764 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
3766 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
3768 * emulation/cua-base.el (cua-set-mark): Fix case of string.
3770 2011-10-20 Chong Yidong <cyd@gnu.org>
3772 * emulation/cua-base.el (cua-mode):
3773 * mail/footnote.el (footnote-mode):
3774 * mail/mailabbrev.el (mail-abbrevs-mode):
3775 * net/xesam.el (xesam-minor-mode):
3776 * progmodes/bug-reference.el (bug-reference-mode):
3777 * progmodes/cap-words.el (capitalized-words-mode):
3778 * progmodes/compile.el (compilation-minor-mode)
3779 (compilation-shell-minor-mode):
3780 * progmodes/gud.el (gud-tooltip-mode):
3781 * progmodes/hideif.el (hide-ifdef-mode):
3782 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
3783 * progmodes/subword.el (subword-mode):
3784 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3785 * progmodes/which-func.el (which-function-mode):
3786 * term/tvi970.el (tvi970-set-keypad-mode):
3787 * term/vt100.el (vt100-wide-mode):
3788 * textmodes/flyspell.el (flyspell-mode):
3789 * textmodes/ispell.el (ispell-minor-mode):
3790 * textmodes/nroff-mode.el (nroff-electric-mode):
3791 * textmodes/paragraphs.el (use-hard-newlines):
3792 * textmodes/refill.el (refill-mode):
3793 * textmodes/reftex.el (reftex-mode):
3794 * textmodes/rst.el (rst-minor-mode):
3795 * textmodes/sgml-mode.el (html-autoview-mode)
3796 (sgml-electric-tag-pair-mode):
3797 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
3798 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
3799 * emulation/crisp.el (crisp-mode):
3800 * emacs-lisp/eldoc.el (eldoc-mode):
3801 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
3802 minor mode behavior.
3804 2011-10-19 Juri Linkov <juri@jurta.org>
3806 * descr-text.el (describe-char): Add #x2010 and #x2011 to
3807 the list of hard-coded chars with escape-glyph face.
3809 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3811 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
3813 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
3815 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
3818 2011-10-19 Glenn Morris <rgm@gnu.org>
3820 * vc/vc-bzr.el (vc-bzr-after-dir-status):
3821 Ignore ignored files. (Bug#9726)
3823 2011-10-19 Chong Yidong <cyd@gnu.org>
3825 Doc fix for minor modes, stating that an omitted argument enables
3826 the mode unconditionally when called from Lisp.
3828 * abbrev.el (abbrev-mode):
3829 * allout.el (allout-mode):
3830 * autoinsert.el (auto-insert-mode):
3831 * autoarg.el (autoarg-mode, autoarg-kp-mode):
3832 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3833 (global-auto-revert-mode):
3834 * battery.el (display-battery-mode):
3835 * composite.el (global-auto-composition-mode)
3836 (auto-composition-mode):
3837 * delsel.el (delete-selection-mode):
3838 * desktop.el (desktop-save-mode):
3839 * dired-x.el (dired-omit-mode):
3840 * dirtrack.el (dirtrack-mode):
3841 * doc-view.el (doc-view-minor-mode):
3842 * double.el (double-mode):
3843 * electric.el (electric-indent-mode, electric-pair-mode):
3844 * emacs-lock.el (emacs-lock-mode):
3845 * epa-hook.el (auto-encryption-mode):
3846 * follow.el (follow-mode):
3847 * font-core.el (font-lock-mode):
3848 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
3849 * help.el (temp-buffer-resize-mode):
3850 * hilit-chg.el (highlight-changes-mode)
3851 (highlight-changes-visible-mode):
3852 * hi-lock.el (hi-lock-mode):
3853 * hl-line.el (hl-line-mode, global-hl-line-mode):
3854 * icomplete.el (icomplete-mode):
3855 * ido.el (ido-everywhere):
3856 * image-file.el (auto-image-file-mode):
3857 * image-mode.el (image-minor-mode):
3858 * iswitchb.el (iswitchb-mode):
3859 * jka-cmpr-hook.el (auto-compression-mode):
3860 * linum.el (linum-mode):
3861 * longlines.el (longlines-mode):
3862 * master.el (master-mode):
3863 * mb-depth.el (minibuffer-depth-indicate-mode):
3864 * menu-bar.el (menu-bar-mode):
3865 * minibuf-eldef.el (minibuffer-electric-default-mode):
3866 * mouse-sel.el (mouse-sel-mode):
3867 * msb.el (msb-mode):
3868 * mwheel.el (mouse-wheel-mode):
3869 * outline.el (outline-minor-mode):
3870 * paren.el (show-paren-mode):
3871 * recentf.el (recentf-mode):
3872 * reveal.el (reveal-mode, global-reveal-mode):
3873 * rfn-eshadow.el (file-name-shadow-mode):
3874 * ruler-mode.el (ruler-mode):
3875 * savehist.el (savehist-mode):
3876 * scroll-all.el (scroll-all-mode):
3877 * scroll-bar.el (scroll-bar-mode):
3878 * server.el (server-mode):
3879 * shell.el (shell-dirtrack-mode):
3880 * simple.el (auto-fill-mode, transient-mark-mode)
3881 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
3882 (line-number-mode, column-number-mode, size-indication-mode)
3883 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
3884 * strokes.el (strokes-mode):
3885 * time.el (display-time-mode):
3886 * t-mouse.el (gpm-mouse-mode):
3887 * tool-bar.el (tool-bar-mode):
3888 * tooltip.el (tooltip-mode):
3889 * type-break.el (type-break-mode-line-message-mode)
3890 (type-break-query-mode):
3891 * view.el (view-mode):
3892 * whitespace.el (whitespace-mode, whitespace-newline-mode)
3893 (global-whitespace-mode, global-whitespace-newline-mode):
3894 * xt-mouse.el (xterm-mouse-mode): Doc fix.
3896 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3897 Fix autogenerated docstring.
3899 2011-10-19 Juri Linkov <juri@jurta.org>
3901 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
3902 by checking environment variables "DESKTOP_SESSION" and
3903 "XDG_CURRENT_DESKTOP". (Bug#9779)
3905 2011-10-19 Juri Linkov <juri@jurta.org>
3907 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
3908 (browse-url-chromium-program, browse-url-chromium-arguments):
3910 (browse-url-default-browser): Check for `browse-url-chromium' and
3911 call `browse-url-chromium-program'.
3912 (browse-url-chromium): New command. (Bug#9779)
3914 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
3916 * facemenu.el (list-colors-duplicates): On Windows, detect more
3917 duplicates by assuming that only colors matching "^System" are
3918 special "system colors". (Bug#9722)
3920 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3922 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
3923 to distinguish the author from the committer.
3925 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
3927 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
3929 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
3931 * international/mule.el (sgml-html-meta-auto-coding-function):
3932 Add support for detecting encoding in HTML5 specified only as
3933 <meta charset="UTF-8">. Implementation just makes http-equiv and
3934 content-type parts from HTML4 encoding string optional. (Bug#9716)
3936 2011-10-18 Glenn Morris <rgm@gnu.org>
3938 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
3940 2011-10-18 Chong Yidong <cyd@gnu.org>
3942 * faces.el (cursor): Doc fix.
3944 2011-10-17 Chong Yidong <cyd@gnu.org>
3946 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
3948 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
3950 * dirtrack.el (dirtrack): Support shell buffers with path
3951 prefixes, e.g. tramp-based remote shells. (Bug#9647)
3953 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
3955 * json.el: Bump version to 1.3 and note change in History.
3956 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
3958 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3960 * comint.el (comint-insert-input, comint-send-input)
3961 (comint-get-old-input-default, comint-backward-matching-input)
3962 (comint-next-prompt): Use nil instead of `input' for field property of
3963 past user input (bug#114).
3965 * minibuffer.el (completion--replace): Inherit surrounding properties
3967 (minibuffer-complete-and-exit): Use it.
3969 * comint.el (comint--table-subvert): Quote the all-completions output
3972 2011-10-17 Martin Rudalics <rudalics@gmx.at>
3974 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
3976 * menu-bar.el (menu-bar-file-menu): Add entry for making new
3977 window on right of selected. (Bug#9350) Reword other window
3978 entries and separate them from frame entries.
3980 2011-10-15 Glenn Morris <rgm@gnu.org>
3982 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
3985 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
3987 * net/network-stream.el (network-stream-open-starttls):
3988 Improve detection of failure due to lack of TLS support.
3990 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
3991 putting the input text in front and in bold.
3993 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3995 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
3997 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4000 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4001 unread-command-events rather than pushing yet-another event.
4003 2011-10-14 Eli Zaretskii <eliz@gnu.org>
4005 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4006 the explanation of the possible choices. Make the options passed
4007 to completing-read shorter.
4009 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4011 * textmodes/flyspell.el (flyspell-large-region): Make sure
4012 extended character mode is used if defined (Bug#1339).
4014 2011-10-13 Eli Zaretskii <eliz@gnu.org>
4016 * simple.el (what-cursor-position): Fix the display of the
4017 character info for LRE, LRO, RLE, and RLO characters by appending
4020 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4022 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4023 even in case of error; add debug spec; simplify data flow.
4024 (with-timeout-handler): Remove.
4026 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
4028 Fix Bug#6019, Bug#9315.
4030 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4031 complete `buffer-file-name', the local file name part could look
4032 remotely (for example on VMS).
4034 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4035 `tramp-run-real-handler'.
4036 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4037 already quoted by '"'.
4039 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4040 Let `file-name-handler-alist' be nil, the local file name part
4041 could look remotely (for example on VMS).
4043 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4045 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4047 (flyspell-post-command-hook): ...to here.
4049 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4051 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4053 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
4054 using completion. Protect against "slow" callers.
4055 Remove the "message hack".
4057 2011-10-11 Juri Linkov <juri@jurta.org>
4059 * isearch.el (isearch-lazy-highlight-word): New variable.
4060 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4063 2011-10-11 Glenn Morris <rgm@gnu.org>
4065 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4066 like f90-previous-statement does.
4068 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4070 * eshell/eshell.el (eshell-command): History should be saved
4071 only in interactive use, to avoid error.
4073 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4075 * minibuffer.el (completion-file-name-table): Fix last change,
4076 i.e. ignore normal errors but not the other ones.
4078 2011-10-10 Martin Rudalics <rudalics@gmx.at>
4080 * window.el (special-display-buffer-names)
4081 (special-display-regexps): Remove some remnants of earlier
4082 changes from doc-strings.
4083 (quit-windows-on): New function.
4085 * vc/vc.el (vc-revert, vc-rollback):
4086 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4087 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
4088 (Bug#6183) (Bug#7074) (Bug#7447)
4090 2011-10-09 Martin Rudalics <rudalics@gmx.at>
4092 * window.el (frame-auto-hide-function): Add version tag.
4095 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
4097 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4100 2011-10-09 Leo Liu <sdl.web@gmail.com>
4102 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4105 2011-10-08 Glenn Morris <rgm@gnu.org>
4107 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4108 before the first code statement zero indent. (Bug#9690)
4110 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
4112 * simple.el (count-words-region): Always count in the region.
4113 Report the number of lines and characters too.
4114 (count-words): New command, which counts in the buffer if the
4115 region is inactive, as count-words-region used to.
4116 (count-words--message): New function. Handle plurals.
4117 (count-lines-region): Make it an alias for count-words-region.
4119 * bindings.el (esc-map): Replace count-lines-region with
4122 2011-10-08 Martin Rudalics <rudalics@gmx.at>
4124 * window.el (window--delete): Delete dedicated frame
4125 unconditionally when argument KILL is non-nil. (Bug#9699)
4126 (switch-to-buffer): Fix doc-string typo.
4128 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4130 * eshell/eshell.el (eshell-command): Avoid using hooks.
4132 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
4134 * bindings.el ([M-left],[M-right]): Bind to left-word and
4135 right-word respectively.
4137 2011-10-07 Glenn Morris <rgm@gnu.org>
4139 * cus-start.el (debug-on-quit): Fix custom type.
4141 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4143 * subr.el (define-key-after): Clarify that the function is not
4144 useful for non-menu keymaps.
4146 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4148 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4150 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
4151 in current minibuffer (Fix bug with recursive minibuffers).
4153 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
4155 * progmodes/gdb-mi.el (gdb): Doc fix.
4157 2011-10-05 Martin Rudalics <rudalics@gmx.at>
4159 * window.el (frame-auto-hide-function): New option replacing
4160 frame-auto-delete. Suggested by Stefan Monnier.
4161 (window--delete): Call frame-auto-hide-function instead of
4162 investigating frame-auto-delete.
4163 (window-point-1, set-window-point-1): New functions.
4164 (window-in-direction, record-window-buffer, window-state-get-1)
4165 (display-buffer-record-window): Use window-point-1 instead of
4167 (set-window-buffer-start-and-point): Use set-window-point-1.
4169 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4171 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4173 2011-10-05 Glenn Morris <rgm@gnu.org>
4175 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4176 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4178 2011-10-05 Leo Liu <sdl.web@gmail.com>
4180 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4181 works with buffer object.
4183 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4185 * mpc.el (mpc-tool-bar-map): Add labels.
4187 2011-10-04 Glenn Morris <rgm@gnu.org>
4189 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4191 2011-10-04 Martin Rudalics <rudalics@gmx.at>
4193 * window.el (window--delete): New function.
4194 (frame-auto-delete): Resuscitate option.
4195 (bury-buffer, replace-buffer-in-windows)
4196 (quit-window): Rewrite using window--delete.
4197 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4198 Pass display-buffer-mark-dedicated to window--display-buffer-2
4201 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4203 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4204 returns a list (bug#9554). Add remote file name completion.
4205 * comint.el (comint--table-subvert): Curry and get quote&unquote
4206 functions as arguments.
4207 (comint--complete-file-name-data): Adjust call accordingly.
4208 * pcomplete.el (pcomplete--table-subvert): Remove.
4209 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4211 * minibuffer.el (completion-table-case-fold): Use currying.
4212 (completion--styles-type, completion--cycling-threshold-type):
4214 (completion-styles, completion-category-overrides)
4215 (completion-cycle-threshold): Use them.
4216 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4217 completion-table-case-fold.
4219 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
4221 * minibuffer.el (completion-category-overrides): Fix type of styles
4222 and add more user friendly tags (bug#9660).
4224 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4226 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4227 (mule-input-method-string): New widget.
4228 (default-input-method, language-info-custom-alist): Use it.
4230 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4232 * pcomplete.el: Require comint.
4233 (pcomplete--common-suffix): Remove.
4234 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4235 (pcomplete--table-subvert): Sync with comint--table-subvert.
4236 (pcomplete--entries): Use comint-completion-file-name-table.
4237 * comint.el (comint-unquote-filename): Simplify.
4238 (comint-completion-file-name-table): New function (bug#9616).
4239 (comint--complete-file-name-data): Use it.
4241 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4242 (pcmpl-gnu-tar-buffer): Remove.
4243 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
4244 around. Make sure pcomplete-suffix-list is only changed temporarily.
4245 Don't look inside the tar's file if it's too large.
4247 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
4249 * cus-edit.el (custom-mode-map):
4250 * epa.el (epa-key-list-mode-map):
4251 * man.el (Man-mode-map):
4252 * startup.el (splash-screen-keymap):
4253 * simple.el (special-mode-map): Use scroll-up-command and
4254 scroll-down-command.
4256 * progmodes/idlw-help.el (idlwave-help-mode-map):
4257 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4258 * net/newst-plainview.el (newsticker-mode-map):
4259 * emulation/ws-mode.el (wordstar-mode-map):
4260 * emulation/vi.el (vi-com-map):
4261 * calc/calc-graph.el (calc-graph-show-dumb):
4262 * term/sun.el (terminal-init-sun):
4263 * term/ns-win.el (global-map):
4264 * progmodes/grep.el (grep-mode-map):
4265 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4266 * mail/rmail.el (rmail-mode-map):
4267 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4269 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4270 custom-safe-themes as special.
4272 2011-10-01 Julien Danjou <julien@danjou.info>
4274 * notifications.el (notifications-notify): Fix docstring.
4276 2011-10-01 Per Starbäck <per@starback.se>
4278 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4280 2011-09-30 Martin Rudalics <rudalics@gmx.at>
4282 * startup.el (command-line-1): Fix last fix by inserting
4283 initial-scratch-message into *scratch* before displaying it.
4284 (Bug#9605) and (Bug#9636)
4286 2011-09-29 Eli Zaretskii <eliz@gnu.org>
4288 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4289 window is hscrolled, move by logical lines. (Bug#9607)
4290 (line-move-visual): Update the doc string to the above effect.
4292 2011-09-29 Martin Rudalics <rudalics@gmx.at>
4294 * window.el (display-buffer-record-window): When WINDOW is the
4295 selected window use `point' instead of `window-point'. (Bug#9626)
4297 * startup.el (command-line-1): Use insert-before-markers when
4298 inserting initial-scratch-message. (Bug#9605)
4300 * help.el (help-window): Remove variable.
4302 2011-09-29 Glenn Morris <rgm@gnu.org>
4304 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4306 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
4308 * descr-text.el (describe-char-categories): Accept category
4309 descriptions more than one line long.
4311 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4313 * simple.el (delete-trailing-whitespace): Fix last change.
4315 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4316 Don't confuse "y => 3" as the beginning of a `y' operation.
4318 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4319 object has more than 4 slots (bug#9613).
4321 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
4323 * subr.el (with-output-to-temp-buffer):
4324 * net/quickurl.el (quickurl, quickurl-browse-url):
4325 Fix typos in docstrings.
4327 2011-09-27 Eli Zaretskii <eliz@gnu.org>
4329 * minibuffer.el (completion-styles)
4330 (completion-category-overrides): Cross reference each other in doc
4333 2011-09-27 Glenn Morris <rgm@gnu.org>
4335 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4336 to split-string. (Bug#9606)
4338 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4340 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4343 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
4345 * emacs-lisp/package.el (list-packages): Fix echo area message.
4347 2011-09-27 Leo Liu <sdl.web@gmail.com>
4349 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4351 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
4353 * net/dbus.el (dbus-unregister-object): Don't release services for
4354 registered signals. (Bug#9581)
4356 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4358 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4359 function that picks between cfengine 2 and 3 support
4360 automatically. Update docs accordingly.
4362 2011-09-22 Kenichi Handa <handa@m17n.org>
4364 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4366 (indian-itrans-v5-table-for-tamil): New variable.
4367 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4369 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4371 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4372 that's true if the current command involved collapsing of text.
4373 It's reset to false at the beginning of the next command.
4374 (allout-post-command-business): Move the cursor to the beginning
4375 of entry if the cursor is hidden and collapsing activity just
4378 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
4380 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4381 tracking (Bug#9541).
4383 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
4385 * net/newst-reader.el (newsticker-html-renderer)
4386 (newsticker-show-news): Automatically load html rendering package
4387 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4388 because w3m-fill-column is let-bound" and the error "Symbol's value
4389 as variable is void: w3m-fill-column".
4391 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
4393 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4394 Release services only if they are defined. (Bug#9581)
4396 2011-09-23 Richard Stallman <rms@gnu.org>
4398 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4399 distinguish start of paragraph from start of its text.
4401 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4403 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4404 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4405 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4407 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4409 * international/mule-diag.el (mule-diag): Insert a newline after
4410 each fontset description.
4412 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4414 * simple.el (delete-trailing-whitespace):
4415 Document last change; simplify.
4417 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4419 * simple.el (delete-trailing-whitespace): Also delete
4420 extra newlines at the end of the buffer.
4422 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4423 (picture-newline): Use forward-line so as to ignore fields.
4425 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4427 * subr.el (with-wrapper-hook): Fix edebug spec.
4429 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4431 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4434 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
4436 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4437 Fix nasty bug using wrong cached values.
4439 2011-09-23 Alan Mackenzie <acm@muc.de>
4441 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4443 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
4445 * window.el (pop-to-buffer): Ensure right window is selected if we
4446 chose another frame.
4448 2011-09-22 Eli Zaretskii <eliz@gnu.org>
4450 * simple.el (what-cursor-position): Use get-char-property-change
4451 and next-single-char-property-change, to be able to show display
4452 properties that come from overlays as well as text properties.
4454 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
4456 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4458 * cmuscheme.el (run-scheme, switch-to-scheme):
4459 * cus-edit.el (customize-group, custom-buffer-create)
4463 * mail/sendmail.el (mail):
4464 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4466 2011-09-22 Richard Stallman <rms@gnu.org>
4468 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4469 move back only to line beg, don't move back over blank lines.
4471 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
4473 * files.el (copy-directory): Set directory attributes only in case
4474 they could be retrieved from the source directory. (Bug#9565)
4476 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4478 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4479 (hs-find-block-beginning, hs-hide-level-recursive):
4480 Ignore strings as well as comments. (Bug#9502)
4482 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4484 * progmodes/sql.el (sql-comint-postgres):
4485 Convert port number to a string. (Bug#9566)
4487 2011-09-22 Martin Rudalics <rudalics@gmx.at>
4489 * window.el (quit-window): Undedicate window when switching to
4490 previous buffer. Reported by Thierry Volpiatto
4491 <thierry.volpiatto@gmail.com>.
4492 (special-display-popup-frame): When popping up a new frame reset
4493 its previous buffers to nil. Simplify code.
4495 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
4497 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4498 and process filter, as done also in `shell-command'.
4500 2011-09-21 Martin Rudalics <rudalics@gmx.at>
4502 * window.el (set-window-buffer-start-and-point):
4503 Call set-window-start with NOFORCE argument t.
4504 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4505 (quit-window): Reword doc-string. Handle new format of
4506 quit-restore parameter. Don't delete window if it has a
4507 previous buffer we can show instead of the present one.
4508 (display-buffer-record-window): Rewrite using a new format for
4509 the quit-restore window parameter
4510 (special-display-popup-frame, display-buffer-same-window)
4511 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4512 (display-buffer-pop-up-window, display-buffer-use-some-window):
4513 Adapt symbol passed to display-buffer-record-window.
4514 * help.el (help-window-setup): Handle new format of quit-restore
4517 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4519 * faces.el (face-list): Fix docstring (bug#9564).
4521 * window.el (display-buffer--action-function-custom-type):
4522 Don't include internal functions in the Custom interface.
4524 2011-09-20 Juri Linkov <juri@jurta.org>
4526 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4527 (Info-forward-node, Info-backward-node, Info-next-preorder)
4528 (Info-last-preorder): Use it. (Bug#9528)
4530 2011-09-20 Juri Linkov <juri@jurta.org>
4532 * info.el (Info-last-preorder): Visit last menu item only when
4533 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4535 2011-09-20 Julien Danjou <julien@danjou.info>
4537 * password-cache.el (password-cache-remove): Remove entries even if the
4538 value is nil, so that password with a nil value (negative caching) is
4539 possible to invalidate.
4541 2011-09-20 Lawrence Mitchell <wence@gmx.li>
4543 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4544 all whitespace around breakpoint. (Bug#9553)
4545 (f90-find-breakpoint): Only break at whitespace inside a comment.
4547 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4549 * minibuffer.el (completion-file-name-table): Keep track of errors.
4550 (completion-table-with-predicate): Handle the case where pred1 is nil.
4551 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4553 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4555 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4556 (debugger-return-value): Signal an error if the debugging context does
4557 not await any return value.
4559 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4560 * image-mode.el (image-toggle-display-text)
4561 (image-toggle-display-image): Stay away from evil `intangible'.
4563 2011-09-19 Leo Liu <sdl.web@gmail.com>
4565 * replace.el (occur-revert-arguments): Make it permanent-local.
4566 (occur-mode): Don't call font-lock-defontify.
4568 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
4570 * net/ldap.el (ldap-search-internal): Don't push empty search
4573 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4575 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4577 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
4579 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4580 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4582 2011-09-18 Juri Linkov <juri@jurta.org>
4584 * buff-menu.el (Buffer-menu-mode-map):
4585 * dired.el (dired-mode-map):
4586 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4587 (lisp-interaction-mode-map):
4588 * emacs-lisp/package.el (package-menu-mode-map):
4589 * epa.el (epa-key-list-mode-map):
4590 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4591 (menu-bar-options-menu):
4592 * outline.el (outline-mode-menu-bar-map):
4593 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4594 * vc/vc-dir.el (vc-dir-menu-map):
4595 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4596 Capitalize non-function content words in menu item strings.
4598 * dired.el (dired-mode-map): Add menu item for
4599 `image-dired-dired-toggle-marked-thumbs'.
4601 2011-09-18 Juri Linkov <juri@jurta.org>
4603 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4604 to `isearch-case-fold-search' and restore its original value
4605 after the `isearch-mode' call.
4607 2011-09-18 Juri Linkov <juri@jurta.org>
4609 * progmodes/grep.el (grep-process-setup): Don't check code for 1
4610 because `zgrep' returns 1 for successful matches (bug#9226).
4612 2011-09-18 Juri Linkov <juri@jurta.org>
4614 * info.el (Info-extract-menu-node-name): Check the second match
4615 for empty string (second test-case of bug#9528).
4616 (Info-last-preorder): Let-bind `Info-history' to nil to not add
4617 intermediate nodes to the history (first test-case of bug#9528).
4619 2011-09-18 Juri Linkov <juri@jurta.org>
4621 * info.el (Info-mode-syntax-table): New variable.
4622 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
4624 2011-09-18 Juri Linkov <juri@jurta.org>
4626 * info.el (Info-file-supports-index-cookies):
4627 Increment line-beginning-position's arg from 3 to 4 because makeinfo
4628 outputs one more line for long file names (bug#4142).
4630 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
4632 * newcomment.el (comment-normalize-vars): If prompting for
4633 comment-start, set comment-start-skip too (Bug#8424).
4635 2011-09-18 Johan Bockgård <bojohan@gnu.org>
4637 * icomplete.el: Fix previous fix of Bug#5849.
4638 (icomplete-mode): Don't set completion-show-inline-help.
4639 (icomplete-minibuffer-setup): Set completion-show-inline-help
4640 locally during icompletion.
4642 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
4644 * woman.el (woman2-process-escapes): Don't delete unrecognized
4647 * files.el (inhibit-first-line-modes-regexps): Add image files.
4648 (hack-local-variables-prop-line): Return nil for malformed
4649 prop-lines (Bug#9044).
4651 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
4653 * net/tramp.el (top): Don't require 'shell.
4654 (tramp-methods): Fix docstring.
4655 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
4656 Return complete remote file name. Handle "smb" case.
4657 Use `tramp-tmpdir', if defined for the respective method.
4658 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4660 * net/tramp-compat.el (top): Require 'shell.
4662 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4663 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4664 `tramp-current-host'.
4665 (tramp-get-remote-tmpdir): Remove.
4667 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4668 `tramp-tmpdir' entries.
4669 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4670 (tramp-smb-handle-file-attributes): Ignore errors.
4671 (tramp-smb-wait-for-output): Check also for process end.
4673 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4675 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4676 when sending QUIT (bug#9312).
4678 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
4680 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4681 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4682 occur-mode-display-occurrence.
4683 (occur-edit-mode): Add usage message.
4684 (occur-cease-edit): New command.
4685 (occur-after-change-function): Use text properties to find the
4686 position of the prefix text.
4687 (occur-engine): Set stickiness of prefix text properties.
4689 2011-09-17 Glenn Morris <rgm@gnu.org>
4691 * progmodes/etags.el (complete-tag):
4692 Fix call to completion-in-region. (Bug#9526)
4694 2011-09-17 Juri Linkov <juri@jurta.org>
4696 * textmodes/ispell.el (ispell-word): Add to the error message
4697 the word, ispell program name and current dictionary (bug#9121).
4698 (ispell-tex-arg-end): Capitalize "error" in the error message.
4700 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
4702 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4705 2011-09-17 Juri Linkov <juri@jurta.org>
4707 * window.el (window-safe-min-height, window-safe-min-width):
4708 Fix typos (followup to bug#9522).
4710 2011-09-17 Sven Joachim <svenjoac@gmx.de>
4712 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4714 2011-09-16 Eli Zaretskii <eliz@gnu.org>
4716 * simple.el (line-move): If goal-column is set, move by logical
4717 lines, not by display lines. (Bug#971)
4718 (next-line, previous-line, goal-column, line-move-visual): Doc fix
4719 to reflect the above change.
4721 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4723 * image.el (imagemagick-register-types): Use regexp-opt.
4725 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
4727 * window.el (display-buffer-base-action): Rename from
4728 display-buffer-default-action. Make default value empty.
4729 (display-buffer-overriding-action): Convert to defvar.
4730 (display-buffer-fallback-action): New var.
4732 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
4734 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
4736 (package--add-to-archive-contents): If there is a duplicate entry
4737 with an older version, remove it.
4738 (package-menu-mark-delete, package-menu-mark-install)
4739 (package-menu-mark-unmark): Make unused args optional.
4740 (package-menu-mark-obsolete-for-deletion):
4741 Use package-menu-get-status instead of a regexp search.
4742 (package-menu-get-status): Use tabulated-list-entry.
4743 (package-menu-mark-upgrades): New command.
4744 (package-menu-mode-map): Bind it to U. Add it to menu bar.
4745 (package-menu-execute): Do installation before deletion.
4746 (package-menu-refresh, package-menu-execute): Use derived-mode-p
4747 instead of checking major-mode.
4748 (package-menu--find-upgrades): New function.
4750 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4752 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4753 passwords in the log buffer.
4754 (smtpmail-process-filter): Update the process marker so that the
4755 "broken by peer" status message is inserted in the right place.
4757 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4759 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4760 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4761 bibtex-completion-at-point-function.
4762 (bibtex-completion-at-point-function): Use them.
4764 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4766 * mpc.el (mpc-constraints-tag-lookup): New function.
4767 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4768 also to browser "album|playlist".
4770 2011-09-14 Juri Linkov <juri@jurta.org>
4772 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
4773 (isearch-edit-string): Use length of `isearch-string' when
4774 `isearch-fail-pos' returns nil.
4775 (isearch-message): Remove duplicate code and call
4776 `isearch-fail-pos' with arg `t'.
4778 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
4780 * replace.el (occur-mode-goto-occurrence): Don't force using other
4783 * dired-aux.el (dired-do-chmod): Don't provide initial input.
4785 2011-09-14 Martin Rudalics <rudalics@gmx.at>
4787 * window.el (display-buffer-window): Remove.
4788 (display-buffer-record-window): Use help-setup window parameter
4789 instead of variable display-buffer-window.
4790 (display-buffer-function, special-display-buffer-names)
4791 (special-display-function): Mention help-setup parameter instead
4792 of display-buffer-window in doc-string.
4793 * help.el (help-window-setup): New argument help-window.
4794 Use help-window-setup parameter instead of display-buffer-window.
4795 Reword some messages.
4796 (with-help-window): Pass window used for displaying the buffer
4797 to help-window-setup. Don't set display-buffer-window.
4799 2011-09-13 Glenn Morris <rgm@gnu.org>
4801 * emacs-lisp/debug.el (debugger-make-xrefs):
4802 Preserve point. (Bug#9462)
4804 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
4806 * window.el (window-deletable-p): Use next-frame.
4808 2011-09-13 Martin Rudalics <rudalics@gmx.at>
4810 * window.el (window-auto-delete): Remove.
4811 (window-deletable-p): Remove argument FORCE. Don't deal with
4812 dedication and previous buffers.
4813 (switch-to-prev-buffer): Don't delete window.
4814 (delete-windows-on): Delete a window's frame if and only if the
4815 window is dedicated.
4816 (replace-buffer-in-windows): Delete buffer's window or frame if
4817 and only if window is dedicated.
4818 (quit-window): Handle quit-restore as before last change.
4819 (bury-buffer): Delete window only if window-deletable-p returns t.
4821 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
4823 * window.el (window-deletable-p): Never delete the last frame on a
4826 2011-09-13 Glenn Morris <rgm@gnu.org>
4828 * help.el (describe-key-briefly): Copy previous standard-output change.
4830 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
4832 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
4834 2011-09-13 Glenn Morris <rgm@gnu.org>
4836 * emacs-lisp/lisp-mode.el (lisp-indent-function):
4837 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
4839 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
4841 * dired-aux.el (dired-mark-read-string): Don't return default
4842 value on empty input (Bug#9361).
4843 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
4844 Omit initial minibuffer contents.
4845 (dired-do-chmod): Signal an error on empty input.
4846 (dired-mark-read-string): Don't return default on empty input.
4848 * files.el (file-modes-symbolic-to-number): Doc fix.
4850 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4852 * international/mule-cmds.el (ucs-completions): Remove.
4853 (read-char-by-name): Use complete-with-action instead; add metadata.
4855 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
4857 * window.el (display-buffer--action-function-custom-type)
4858 (display-buffer--action-custom-type): New vars.
4859 (display-buffer-alist, display-buffer-default-action)
4860 (display-buffer-overriding-action): Add defcustom types.
4862 * frame.el (delete-other-frames): Doc fix (Bug#276).
4864 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4866 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
4868 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
4870 Change modes that used same-window-* vars to use switch-to-buffer.
4872 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
4873 Use switch-to-buffer.
4875 * cus-edit.el (customize-group, custom-buffer-create)
4876 (customize-browse, custom-buffer-create-other-window):
4877 Use switch-to-buffer or switch-to-buffer-other-window.
4879 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
4880 (Info-prev, Info-up, Info-speedbar-goto-node)
4881 (info-display-manual): Use switch-to-buffer.
4882 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
4884 * mail/sendmail.el (mail): Use switch-to-buffer.
4885 (mail-recover): Use switch-to-buffer-other-window.
4887 * cmuscheme.el (run-scheme, switch-to-scheme):
4890 * net/rlogin.el (rlogin):
4891 * net/telnet.el (telnet, rsh):
4892 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
4894 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4896 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
4898 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4900 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
4901 so don't mention it (bug#9301).
4902 (dired-sort-toggle-or-edit): Clarify string further.
4904 * faces.el (face-spec-set-match-display): Make `(type graphic)'
4905 match `x', `w32' and `ns', like the manual says (bug#9029).
4907 * subr.el (eval-after-load): Doc string clarification (bug#9125).
4908 (process-kill-buffer-query-function): Mention the buffer name in
4911 * image-mode.el (image-next-line): The line parameter is mandatory
4914 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
4915 which can be useful (bug#9301).
4917 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
4919 * subr.el (match-string): Mention that the current buffer should
4920 be the same as the search was done in (bug#9282).
4922 * facemenu.el: Disable the remove-* commands if the mark isn't
4925 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
4927 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
4929 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
4931 * replace.el (occur-mode-goto-occurrence)
4932 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
4935 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
4938 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
4939 special-display and same-window variables.
4940 (mail-other-window): Use switch-to-buffer-other-window.
4941 (mail-other-frame): USe switch-to-buffer-other-frame.
4943 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
4944 Use display-buffer-other-frame.
4945 (gdb-display-gdb-buffer): Use pop-to-buffer.
4947 * progmodes/gud.el (gud-goto-info): Use info-other-window.
4949 * progmodes/python.el: Don't set same-window-buffer-names.
4951 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
4953 * window.el (display-buffer-alist): Add *Python*.
4955 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
4957 * window.el (display-buffer-alist): Add entry for buffers
4958 previously handled same-window-*.
4959 (display-buffer-alist, display-buffer-default-action)
4960 (display-buffer-overriding-action): Mark as risky.
4961 (display-buffer-alist): Document action function changes.
4962 (display-buffer--same-window-action)
4963 (display-buffer--other-frame-action): New variables.
4964 (switch-to-buffer, display-buffer-other-frame): Use them.
4965 (display-buffer): Rename reuse-frame entry to reusable-frames.
4966 (display-buffer-reuse-selected-window): Function deleted.
4967 (display-buffer-reuse-window): Handle reusable-frames alist entry.
4968 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
4969 (display-buffer-special): New function.
4970 (display-buffer--maybe-pop-up-frame-or-window): Rename from
4971 display-buffer-reuse-or-pop-window. Split off special-display
4972 part into display-buffer-special.
4973 (display-buffer-use-some-window): Don't perform any special
4974 pop-up-frames handling.
4975 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
4976 (display-buffer--maybe-same-window): Rename from
4977 display-buffer-maybe-same-window.
4979 * info.el: Don't set same-window-regexps.
4980 (info-setup): New function.
4981 (info-other-window, info): Call it.
4983 * cus-edit.el: Don't set same-window-regexps.
4984 (customize-group): New argument.
4985 (customize-group-other-window): Use it.
4986 (customize-face, customize-face-other-window): Likewise.
4987 (custom-buffer-create-other-window): Use pop-to-buffer directly.
4991 * progmodes/gud.el: Don't set same-window-regexps.
4997 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
4999 2011-09-10 Juri Linkov <juri@jurta.org>
5001 * isearch.el (isearch-edit-string): Remove obsolete mention of
5002 `C-w' (`isearch-yank-word-or-char') from docstring.
5003 (isearch-query-replace): Fix typo in docstring (bug#9466).
5005 2011-09-10 Juri Linkov <juri@jurta.org>
5007 * paren.el (show-paren-function): Don't show escaped parens.
5008 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5010 2011-09-10 Eli Zaretskii <eliz@gnu.org>
5012 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5013 (mm-default-file-encoding): Remove autoload forms, they are
5014 replaced with autoload cookies in mml.el and mm-encode.el.
5015 (mail-add-attachment): New command.
5016 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5017 (mail-mode): Mention mail-insert-file and mail-add-attachment in
5019 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5021 2011-09-10 Reuben Thomas <rrt@sc3d.org>
5023 * simple.el (count-words-region): Use buffer if there's no region
5026 2011-09-09 Juri Linkov <juri@jurta.org>
5028 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5029 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5030 (wdired-isearch-filter-read-only): New function. (Bug#6362)
5032 2011-09-09 Alan Mackenzie <acm@muc.de>
5034 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5035 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
5037 2011-09-09 Eli Zaretskii <eliz@gnu.org>
5039 Fix for Savannah bug#9392.
5040 * simple.el (mail-encode-mml): New defvar.
5042 * mail/rmail.el (mail-encode-mml): Add a defvar.
5043 (rmail-enable-mime-composing): Default to t.
5044 (rmail-forward): Use MIME method of forwarding only if both
5045 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5046 Set mail-encode-mml non-nil if the MIME method was used.
5048 * mail/sendmail.el (mml-to-mime): Add autoload form.
5049 (mail-encode-mml): Add a defvar.
5050 (mail-mode): Make mail-encode-mml buffer-local and initialize it
5052 (mail-send): If mail-encode-mml is non-nil, run the outgoing
5053 message through mml-to-mime, and reset mail-encode-mml to nil.
5055 2011-09-09 Glenn Morris <rgm@gnu.org>
5057 * woman.el (woman-if-body): When processing an .el block,
5058 do not delete the next .el block as well. (Bug#9447)
5059 (woman-special-characters): Add oq, cq, and hy characters.
5061 2011-09-08 Martin Rudalics <rudalics@gmx.at>
5063 * window.el (window-deletable-p): Make sure window is live before
5064 invoking window-prev-buffers.
5066 2011-09-08 Leo Liu <sdl.web@gmail.com>
5068 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5070 2011-09-08 Juri Linkov <juri@jurta.org>
5072 * progmodes/compile.el (compilation-environment): Make it
5073 a defcustom (bug#8340).
5075 2011-09-08 Martin Rudalics <rudalics@gmx.at>
5077 * window.el (frame-auto-delete): Rename to window-auto-delete.
5078 Make it control auto-deletion of windows and/or frames.
5079 (window-deletable-p): New argument FORCE. Rewrite conditions
5080 for deleting window/frame. (Bug#9419)
5081 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5082 Rewrite handling of case when window/frame can be deleted.
5083 (delete-windows-on): Call window-deletable-p with new FORCE
5084 argument t. (Bug#9456)
5086 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
5088 * help-mode.el (help-mode): Restore autoload.
5090 2011-09-07 Juri Linkov <juri@jurta.org>
5092 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5093 `compilation-environment'. Set buffer-local
5094 `compilation-environment' to `thisenv' later after (funcall mode).
5097 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
5098 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5099 instead of replacing its value. (Bug#8340)
5101 2011-09-07 Juri Linkov <juri@jurta.org>
5103 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5104 based on text properties put by `grep-filter' instead of matching
5106 (grep-mode): Set buffer-local `compilation-error-screen-columns'
5107 to the value of `grep-error-screen-columns' (bug#9438).
5109 2011-09-07 Juri Linkov <juri@jurta.org>
5111 * simple.el (next-error-highlight, next-error-highlight-no-select):
5114 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5116 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5117 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
5119 2011-09-07 Leo Liu <sdl.web@gmail.com>
5121 * net/rcirc.el (rcirc-mode): Conditionally initialize
5124 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5126 * emacs-lisp/find-func.el (find-function-C-source): Only set
5127 find-function-C-source-directory after checking that we found a source
5128 file there (bug#9440).
5130 2011-09-06 Alan Mackenzie <acm@muc.de>
5132 * isearch.el (isearch-other-meta-char): Wherever a key list is
5133 unread, "unread" the prefix arg, too. This fixes bug #8901.
5135 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5137 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5139 2011-09-05 Juri Linkov <juri@jurta.org>
5141 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5143 2011-09-05 Juri Linkov <juri@jurta.org>
5145 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5146 keeping point where processing of grep matches begins, and
5147 continue to delete remaining escape sequences from the same point.
5148 (grep-filter): Make leading zero optional in "0?1;31m" because
5149 git-grep emits "\033[1;31m" escape sequences unlike expected
5150 "\033[01;31m" as GNU Grep does (bug#9408).
5151 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5153 2011-09-05 Juri Linkov <juri@jurta.org>
5155 * subr.el (y-or-n-p): Capitalize "yes".
5157 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
5159 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
5160 `tramp-cache-unload-hook' where appropriate.
5161 (tramp-methods): Rename `tramp-remote-sh' to
5162 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5163 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5165 * net/tramp-sh.el (top): Don't require 'shell.
5166 (tramp-methods): Add `tramp-remote-shell' and
5167 `tramp-remote-shell-args' entries.
5168 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5169 (tramp-sh-handle-shell-command): Remove.
5170 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5171 Use `tramp-remote-shell'.
5173 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
5175 * mail/sendmail.el (sendmail-query-once-function): Delete.
5176 (sendmail-query-once): Save directly to send-mail-function.
5177 Update message-send-mail-function too.
5179 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5181 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5183 * progmodes/python.el (python-mode-map): Use correct function to
5184 start python interpreter from menu-bar (as reported by Geert
5186 (inferior-python-mode-map): Fix typo.
5187 (python-shell-map): Remove.
5189 2011-09-03 Deniz Dogan <deniz@dogan.se>
5191 * net/rcirc.el (rcirc-print): Simplify code for
5192 rcirc-scroll-show-maximum-output. There is no need to walk
5193 through all windows to find the right one.
5195 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5197 * help.el (help-return-method): Doc fix.
5199 2011-09-03 Martin Rudalics <rudalics@gmx.at>
5201 * window.el (window-deletable-p): Don't return a non-nil value
5202 when there's a buffer that was shown in the window before.
5204 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5205 Set window's previous buffers to nil.
5207 2011-09-03 Eli Zaretskii <eliz@gnu.org>
5209 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5210 newline before and after the tag line, so it doesn't interfere
5211 with determining the paragraph direction of bidirectional text.
5213 2011-09-03 Leo Liu <sdl.web@gmail.com>
5215 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5217 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
5219 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
5220 (pop-to-buffer): Change interactive spec. Pass second argument
5221 directly to display-buffer.
5222 (display-buffer): Fix interactive spec. Use functionp to
5223 distinguish between a function and a list of functions.
5225 * abbrev.el (edit-abbrevs):
5226 * arc-mode.el (archive-extract):
5227 * autoinsert.el (auto-insert):
5228 * bookmark.el (bookmark-bmenu-list):
5229 * files.el (find-file):
5230 * view.el (view-buffer):
5231 * progmodes/compile.el (compilation-goto-locus):
5232 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5234 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
5236 * window.el (display-buffer-alist): Doc fix.
5237 (display-buffer): Add docstring. Don't treat
5238 display-buffer-default specially.
5239 (display-buffer-reuse-selected-window)
5240 (display-buffer-same-window, display-buffer-maybe-same-window)
5241 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5242 (display-buffer-pop-up-window)
5243 (display-buffer-reuse-or-pop-window)
5244 (display-buffer-use-some-window): New functions.
5245 (display-buffer-default-action): Use them.
5246 (display-buffer-default): Delete.
5247 (pop-to-buffer-1): Fix choice of actions.
5249 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5251 * minibuffer.el (completion--insert-strings): Don't get confused by
5252 completion entries that end with an LF char.
5254 2011-09-01 Eli Zaretskii <eliz@gnu.org>
5256 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5258 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
5260 * window.el (display-buffer): Restore interactive spec.
5261 (display-buffer-same-window, display-buffer-other-window):
5263 (pop-to-buffer-1): New function. Use the above.
5264 (pop-to-buffer, pop-to-buffer-same-window): Use it.
5265 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
5267 * view.el (view-buffer-other-window, view-buffer-other-frame):
5268 Just use pop-to-buffer.
5270 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5272 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5274 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5276 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5278 2011-08-31 Richard Stallman <rms@gnu.org>
5280 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5281 of the separation of rmail-view-buffer from rmail-buffer.
5282 If you say no to "replace original", the decrypt is in the
5283 view buffer. If you say yes, the decrypt goes into the
5286 2011-08-31 Martin Rudalics <rudalics@gmx.at>
5288 * window.el (display-buffer-window): Rewrite doc-string.
5289 (display-buffer-record-window): New function.
5290 (display-buffer-macro-specifiers)
5291 (display-buffer-even-window-sizes, display-buffer-set-height)
5292 (display-buffer-set-width, display-buffer-in-window)
5293 (display-buffer-reuse-window, display-buffer-split-specifiers)
5294 (display-buffer-side-specifiers, display-buffer-split-window-1)
5295 (display-buffer-split-window, display-buffer-split-atom-window)
5296 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5297 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5298 (display-buffer-other-window-means-other-frame)
5299 (display-buffer-normalize-special)
5300 (display-buffer-normalize-default)
5301 (display-buffer-normalize-argument)
5302 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5303 (display-buffer-normalize-specifiers, display-buffer-frame)
5304 (display-buffer-same-window, display-buffer-same-frame)
5305 (display-buffer-other-window)
5306 (display-buffer-same-frame-other-window)
5307 (display-buffer-other-frame, pop-to-buffer-same-window)
5308 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5309 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5310 (switch-to-buffer-same-frame)
5311 (switch-to-buffer-other-window-same-frame)
5312 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5313 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5314 (display-buffer-alist-set): Remove.
5315 (display-buffer-function, special-display-buffer-names)
5316 (special-display-regexps, special-display-function):
5317 In doc-string refer to display-buffer-window and quit-restore
5319 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5320 (special-display-frame-alist, special-display-popup-frame)
5321 (same-window-buffer-names, same-window-regexps, same-window-p)
5322 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5323 (split-window-preferred-function, split-height-threshold)
5324 (split-width-threshold, window-splittable-p)
5325 (split-window-sensibly, window--try-to-split-window)
5326 (window--frame-usable-p, even-window-heights)
5327 (window--even-window-heights, window--display-buffer-1)
5328 (window--display-buffer-2, display-buffer-other-frame):
5329 Restore old Emacs 23 code, order and doc-strings where applicable.
5330 (display-buffer-default, display-buffer-assq-regexp): New functions.
5331 (display-buffer-alist): Rewrite doc-string.
5332 (display-buffer-default-action)
5333 (display-buffer-overriding-action): New variables.
5334 (display-buffer, switch-to-buffer): Rewrite.
5335 (pop-to-buffer): Restore Emacs 23 behavior but use
5336 window-normalize-buffer-to-display.
5337 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5338 Restore Emacs 23 behavior but use
5339 window-normalize-buffer-to-switch-to.
5340 (pop-to-buffer-same-window): Rewrite.
5341 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5342 Rewrite using Emacs 23 options.
5344 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
5346 * net/tramp.el (tramp-root-regexp): Remove.
5347 (tramp-completion-file-name-regexp-unified)
5348 (tramp-completion-file-name-regexp-separate)
5349 (tramp-completion-file-name-regexp-url): Don't use leading volume
5350 letter on win32 systems. (Bug#5303, Bug#9311)
5351 (tramp-drop-volume-letter): Simplify definition.
5352 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5354 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5356 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5359 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5361 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5363 2011-08-29 Juri Linkov <juri@jurta.org>
5365 * isearch.el (isearch-done): Don't display message "Mark saved"
5366 when arg `edit' is non-nil to prevent its flicker in the echo area.
5368 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
5370 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5371 obsolete packages for deletion.
5373 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5375 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5376 (help-mode): Derive help-mode from special-mode. Don't invoke
5377 view-mode from help-mode.
5378 (help-xref-override-view-map): Remove.
5379 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5380 view-mode is not used anymore.
5382 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
5384 * server.el (server-port): Doc fix.
5386 * cus-theme.el (custom-theme-choose-mode): Inherit from
5387 special-mode (Bug#9124).
5388 (custom-theme-choose-mode-map): Add special-mode to parent.
5390 2011-08-28 Alan Mackenzie <acm@muc.de>
5392 * progmodes/cc-fonts.el
5393 (c-make-font-lock-BO-decl-search-function): New function.
5394 (c-basic-matchers-after - "Fontify the clauses after various
5395 keywords"): Extract the three keyword lists for the 3 erroneous
5396 constructs from the list of four, and use the new function above
5397 in place of an old one.
5399 2011-08-28 Deniz Dogan <deniz@dogan.se>
5401 * net/rcirc.el (rcirc-insert-prev-input)
5402 (rcirc-insert-next-input): Remove unused argument.
5404 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5406 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5408 2011-08-27 Alan Mackenzie <acm@muc.de>
5410 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5411 handle function pointer parameters properly.
5413 2011-08-27 Martin Rudalics <rudalics@gmx.at>
5415 * window.el (display-buffer-reuse-window): Fix case where
5416 selected window was reused with non-nil OTHER-WINDOW argument.
5419 2011-08-27 Deniz Dogan <deniz@dogan.se>
5421 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5422 oftc's NickServ messages.
5424 2011-08-27 Glenn Morris <rgm@gnu.org>
5426 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5428 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
5430 * emacs-lisp/package.el (package-install): Call package-initialize
5431 if called interactively.
5433 2011-08-26 Leo Liu <sdl.web@gmail.com>
5435 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5437 2011-08-25 Juri Linkov <juri@jurta.org>
5439 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5440 `search-whitespace-regexp' (bug#9364).
5442 2011-08-25 Juri Linkov <juri@jurta.org>
5444 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5445 `regexp-search-ring' to their global values to protect from
5446 updating by `read-from-minibuffer' (bug#9185).
5448 2011-08-25 Juri Linkov <juri@jurta.org>
5450 * textmodes/ispell.el (ispell-command-loop): Add newline
5451 at the end of the "Use option `i'..." line.
5453 2011-08-25 Juri Linkov <juri@jurta.org>
5455 * battery.el (display-battery-mode): If `battery-status-function'
5456 or `battery-mode-line-format' is nil, display the message and set
5457 `display-battery-mode' to nil (bug#9363).
5459 2011-08-25 Eli Zaretskii <eliz@gnu.org>
5461 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5462 bidi-string-mark-left-to-right; they are unnecessary now.
5464 2011-08-25 Deniz Dogan <deniz@dogan.se>
5466 * net/quickurl.el: Documentation typo fixes.
5468 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
5470 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5472 2011-08-25 Glenn Morris <rgm@gnu.org>
5474 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5476 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5477 (smtpmail-via-smtp): Handle nil response from smtp.
5479 2011-08-24 Juri Linkov <juri@jurta.org>
5481 * proced.el (proced-marked): Inherit from `error' instead of
5482 `font-lock-warning-face'.
5484 * ibuffer.el (ibuffer-marked-face): Change default face from
5485 `font-lock-warning-face' to `warning'.
5486 (ibuffer-deletion-face): Change default face from
5487 `font-lock-type-face' to `error'.
5489 * battery.el (battery-update): Use the face `error' instead of
5490 `font-lock-warning-face' (bug#6117).
5492 2011-08-24 Juri Linkov <juri@jurta.org>
5494 * faces.el (success): Change face color from "Green3" to
5495 "ForestGreen" on light background (bug#9353).
5497 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
5499 * window.el (quit-window): Rename from quit-restore-window.
5500 Use same arglist as old quit-window.
5501 (frame-auto-delete): Doc fix.
5503 * view.el (view-mode-exit): Use quit-window.
5505 2011-08-24 Juri Linkov <juri@jurta.org>
5507 * isearch.el (isearch-ring-adjust1): Start visiting previous
5508 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5509 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5510 for empty search string (when the last search string is reused
5511 automatically) to adjust the isearch ring to the last element and
5512 prepare the correct index for further M-p commands (bug#9185).
5514 2011-08-24 Kenichi Handa <handa@m17n.org>
5516 * international/ucs-normalize.el: If decomposition property of
5517 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5519 (nfd, nfkd): Likewise.
5521 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5523 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5524 from process filters aren't reliably transmitted to the surrounding
5525 accept-process-output.
5526 (mpc-proc-check): New function.
5527 (mpc-proc-sync): Use it (bug#8293)
5529 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5531 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5532 Add compatibility functions (bug#9313).
5534 2011-08-23 Eli Zaretskii <eliz@gnu.org>
5536 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5538 * international/uni-bidi.el: Regenerate.
5540 2011-08-23 Kenichi Handa <handa@m17n.org>
5542 * international/charprop.el:
5543 * international/uni-bidi.el:
5544 * international/uni-category.el:
5545 * international/uni-combining.el:
5546 * international/uni-comment.el:
5547 * international/uni-decimal.el:
5548 * international/uni-decomposition.el:
5549 * international/uni-digit.el:
5550 * international/uni-lowercase.el:
5551 * international/uni-mirrored.el:
5552 * international/uni-name.el:
5553 * international/uni-numeric.el:
5554 * international/uni-old-name.el:
5555 * international/uni-titlecase.el:
5556 * international/uni-uppercase.el: Regenerate.
5558 2011-08-23 Martin Rudalics <rudalics@gmx.at>
5560 * help.el (help-window-setup): Fix message displayed when other
5561 window is reused. (Bug#9341)
5563 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5565 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5566 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5568 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5570 * shell.el (shell-parse-pcomplete-arguments): New function.
5571 (shell-completion-vars): Use it instead (bug#9160).
5573 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5575 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5576 strings and comments (bug#9333).
5578 * emacs-lisp/debug.el (debug-arglist): New function.
5579 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
5580 (debug-on-entry-1): Handle interpreted closures (bug#9120).
5582 2011-08-22 Juri Linkov <juri@jurta.org>
5584 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5585 Revert regexp that highlights output switches to its old
5586 pre-2010-10-28 value and remove one `?' from it (bug#9319).
5588 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5589 to check for empty output (bug#9226).
5591 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
5593 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5594 symbol-constituent as the default, as that stops font-lock from
5595 working properly (Bug#8843).
5597 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5599 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5600 `coding-system-for-*' around the process open call to avoid
5601 auth-source side effects.
5602 (smtpmail-try-auth-methods): Expand the secret password.
5603 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5606 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
5608 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5610 * emacs-lisp/find-func.el (find-function-noselect): New arg
5613 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5614 signal an error for built-in functions (Bug#6664).
5616 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5618 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5619 (smtpmail-try-auth-methods): Use it.
5621 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
5623 * font-lock.el (font-lock-fontify-region)
5624 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5625 (font-lock-default-unfontify-buffer)
5626 (font-lock-default-fontify-region)
5627 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5629 * progmodes/compile.el (compilation-error-properties):
5630 Fix confusion between file struct and message struct (Bug#9319).
5631 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5634 * net/browse-url.el (browse-url-firefox): Don't call
5635 browse-url-firefox-sentinel unless using -remote (Bug#9328).
5637 2011-08-20 Glenn Morris <rgm@gnu.org>
5639 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5641 * tutorial.el (tutorial--default-keys): Update some default bindings.
5643 * files.el (hack-local-variables): Fully ignore case for "mode:".
5645 2011-08-20 Alan Mackenzie <acm@muc.de>
5647 Resolve invalid use of a regexp in regexp-opt.
5649 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5650 detection for a java annotation.
5652 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
5653 detection for a java annotation.
5655 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5657 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5659 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
5661 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5664 2011-08-20 Alan Mackenzie <acm@muc.de>
5666 Fontify CPP expressions correctly when starting in the middle of
5667 such a construct. Mainly for when jit-lock etc. starts a chunk
5670 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
5672 (c-make-font-lock-search-form): New function, extracted from
5673 c-make-font-lock-search-function.
5674 (c-make-font-lock-search-function): Use the above function.
5675 (c-make-font-lock-context-search-function): New function.
5676 (c-cpp-matchers): Enhance the preprocessor expression case with
5678 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5679 which takes an expression.
5681 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5683 2011-08-20 Martin Rudalics <rudalics@gmx.at>
5685 * window.el (display-buffer-reuse-window)
5686 (display-buffer-pop-up-window): Don't reuse or split a side
5689 2011-08-19 Glenn Morris <rgm@gnu.org>
5691 * files.el (hack-local-variables-prop-line, hack-local-variables):
5692 Downcase "Mode:". (Bug#9331)
5694 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
5696 * international/characters.el: Add L and R categories.
5698 * subr.el (bidi-string-mark-left-to-right): Rename from
5699 string-mark-left-to-right. Use category search.
5701 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5703 2011-08-18 Juri Linkov <juri@jurta.org>
5705 * faces.el (error, warning, success): New faces with definitions
5706 copied from old default values of `font-lock-warning-face',
5707 `compilation-warning', `compilation-info' (bug#6117).
5709 * font-lock.el (font-lock-warning-face): Inherit from `error'.
5711 * progmodes/compile.el (compilation-error): Inherit from `error'.
5712 (compilation-warning): Inherit from `warning'.
5713 (compilation-info): Inherit from `success'.
5715 * dired.el (dired-marked): Inherit from `warning'.
5716 (dired-flagged): Inherit from `error'.
5718 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5720 * mail/smtpmail.el (auth-source): Require to avoid problems with
5721 binding variables (bug#9298). Also clean up some unused
5724 * net/network-stream.el (network-stream-open-starttls):
5725 Support using starttls.el without using gnutls-cli.
5727 2011-08-17 Juri Linkov <juri@jurta.org>
5729 * progmodes/grep.el (rgrep): Handle the case when
5730 `grep-find-command' is a cons cell (bug#9278).
5732 2011-08-17 Martin Rudalics <rudalics@gmx.at>
5734 * window.el (display-buffer-pop-up-frame): Run frame creation
5735 function with BUFFER current (as special-display-popup-frame
5736 does). Reported by Drew Adams.
5738 2011-08-17 Daiki Ueno <ueno@unixuser.org>
5740 * epa-mail.el: Simplify GnuPG group expansion using
5742 (epa-mail-group-alist, epa-mail-group-modtime)
5743 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
5744 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
5745 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
5748 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
5750 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5752 2011-08-16 Alan Mackenzie <acm@muc.de>
5754 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5755 Correct, to avoid the inside of macros.
5757 2011-08-16 Richard Stallman <rms@gnu.org>
5759 * epa-mail.el: Handle GnuPG group definitions.
5760 (epa-mail-group-alist, epa-mail-group-modtime)
5761 (epa-mail-gnupg-conf-file): New variables.
5762 (epa-mail-parse-groups, epa-mail-sync-groups)
5763 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5764 (epa-mail-expand-recipients): New functions.
5765 (epa-mail-encrypt): Call epa-mail-expand-recipients.
5767 * mail/rmail.el (rmail-epa-decrypt): New command.
5769 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5770 Don't bind buffer-read-only, just inhibit-read-only.
5771 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5772 (epa-decrypt-armor-in-region): Make error message clearer.
5774 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5776 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
5777 and "a2b" to "ab" for `prefix'.
5779 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
5781 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
5783 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
5784 Fourquet (Bug#8804).
5786 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
5788 * startup.el (argi): Declare as global variable (bug#9275).
5790 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
5792 * subr.el (string-mark-left-to-right): Search the entire string
5793 for RTL script, not just the terminating character. Doc fix.
5795 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5797 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
5799 (js--regexp-literal, js-syntax-propertize-function): Remove.
5800 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
5801 (js-mode-map): Don't rebind electric keys.
5802 (js-insert-and-indent): Remove.
5803 (js-mode): Setup electric-layout and electric-indent instead.
5805 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
5807 2011-08-12 Daiki Ueno <ueno@unixuser.org>
5809 * epa.el (epa-progress-callback-function): Fix the logic of
5810 displaying progress.
5811 * epa-file.el (epa-file-insert-file-contents): Make progress
5812 display more user-friendly.
5813 (epa-file-write-region): Ditto.
5815 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
5817 * subr.el (string-mark-left-to-right): New function.
5819 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
5820 Use string-mark-left-to-right.
5821 (list-buffers-noselect): Caller changed.
5823 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5824 Use string-mark-left-to-right.
5825 (tabulated-list-print): Recenter after moving point.
5827 2011-08-10 Juri Linkov <juri@jurta.org>
5829 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
5830 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
5831 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
5833 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
5835 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
5838 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
5840 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
5841 character. (Bug#6594)
5843 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
5845 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
5846 (image-dired--with-db-file): New macro.
5847 (image-dired-write-tags, image-dired-remove-tag)
5848 (image-dired-create-gallery-lists, image-dired-write-comments)
5849 (image-dired-get-comment, image-dired-mark-tagged-files)
5850 (image-dired-list-tags, image-dired-gallery-generate): Use it.
5851 (image-dired-gallery-generate): Use insert-file-contents.
5853 * time.el (display-time-world-list, display-time-world-display):
5854 * time-stamp.el (time-stamp-string):
5855 * vc/add-log.el (add-change-log-entry): Use setenv instead of
5856 set-time-zone-rule (Bug#7337).
5858 2011-08-08 Daiki Ueno <ueno@unixuser.org>
5860 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
5861 (epg-error-to-string, epg-errors-to-string): New function.
5862 (epg-wait-for-completion): Reverse errors list.
5863 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
5864 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
5865 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
5866 (epg-sign-keys, epg-generate-key-from-file)
5867 (epg-generate-key-from-string): Format errors by using
5868 epg-errors-to-string (bug#9255).
5869 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
5871 2011-08-07 Juri Linkov <juri@jurta.org>
5873 * faces.el (list-faces-display): Remove extra angle bracket
5874 from `help-mode-map'.
5876 * info.el (Info-history-toc-nodes): Doc fix.
5878 * longlines.el (longlines-mode): Doc fix.
5880 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5882 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
5883 of statements and in a few more cases (bug#9183).
5885 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
5887 (cl-transform-lambda): Use them (bug#9239).
5889 2011-08-05 Martin Rudalics <rudalics@gmx.at>
5891 * window.el (display-buffer-same-window)
5892 (display-buffer-same-frame, display-buffer-other-window)
5893 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5894 (pop-to-buffer-other-window)
5895 (pop-to-buffer-same-frame-other-window)
5896 (pop-to-buffer-other-frame): Make them defuns.
5897 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
5899 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5901 * subr.el (make-composed-keymap): Move from C. Change calling
5902 convention, and improve docstring to bring attention to a subtle point.
5903 * minibuffer.el (completing-read-default): Adjust accordingly.
5905 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
5907 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5908 (tramp-open-shell): Use `tramp-shell-quote-argument'.
5910 * net/trampver.el: Update release number.
5912 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5914 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
5917 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5919 * mail/sendmail.el (sendmail-query-once): Restore the current
5920 buffer after querying (bug#9074).
5922 * dired.el (dired-flagged): Use different faces for marked and
5923 flagged files (bug#6117).
5925 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
5928 * ido.el (ido-mode): Switch off the message if called
5931 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
5932 before 587, since it appears that that's more likely to work for
5935 * cus-edit.el (custom-file): When running under emacs -q, always
5936 refuse to save the customizations, even if the .emacs file doesn't
5939 * info.el: Remove the `Info-beginning-of-buffer' function
5942 * net/network-stream.el (network-stream-open-starttls):
5943 Use `starttls-available-p' to see whether starttls.el can be used.
5945 2011-08-01 Martin Rudalics <rudalics@gmx.at>
5947 * window.el (display-buffer-in-window): Don't set dedicated status
5948 of window here (Bug#9215).
5949 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5950 (display-buffer-pop-up-side-window)
5951 (display-buffer-in-side-window): Set dedicated status of window here.
5953 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5955 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
5956 before binding generated-autoload-file.
5958 2011-08-01 Deniz Dogan <deniz@dogan.se>
5960 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
5962 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
5964 Sync with Tramp 2.2.2.
5966 * net/trampver.el: Update release number.
5968 2011-07-30 Juri Linkov <juri@jurta.org>
5970 * dired-aux.el (dired-touch-initial): Remove function.
5971 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
5972 current time, and `default' to the last modification time of the
5973 current marked file (bug#6887).
5975 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
5977 * simple.el (goto-line): Use string-to-number to provide a
5978 numeric argument to read-number (bug#9163).
5980 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
5982 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
5983 connection process, it could be nil.
5985 2011-07-27 Leo Liu <sdl.web@gmail.com>
5987 Simplify url handling in rcirc-mode.
5989 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
5990 (rcirc-browse-url-at-mouse): Remove.
5991 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
5993 2011-07-26 Alan Mackenzie <acm@muc.de>
5995 Fontify bitfield declarations properly.
5997 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
5998 (c-symbol-chars): Now exported as a lang variable.
5999 (c-not-primitive-type-keywords): New lang variable.
6001 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6002 QT keyword "more" to prevent "more slots: ...." being spuriously
6003 parsed as a bitfield declaration.
6005 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6006 Refactor and enhance to handle bitfield declarations.
6007 (c-punctuation-in): New function.
6008 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6009 declarations properly.
6011 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
6013 * calendar/icalendar.el (icalendar--all-events): Take care of
6014 multiple vcalendars in a single file.
6015 (icalendar--convert-float-to-ical): Checkdoc fixes.
6017 2011-07-25 Deniz Dogan <deniz@dogan.se>
6019 * image.el (insert-image): Clarifying docstring.
6021 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
6023 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6024 `tramp-send-command-and-check' if there is no error.
6025 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6027 2011-07-22 Alan Mackenzie <acm@muc.de>
6029 Prevent cc-langs.elc being loaded at run time.
6031 * progmodes/cc-mode.el: Remove two autoload forms which loaded
6034 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
6035 "(require 'cc-langs)". Quote a form so it will evaluate at
6036 (cc-mode's) compilation time.
6038 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
6040 * net/tramp.el (tramp-file-name-handler): Avoid recursive
6043 2011-07-21 Martin Rudalics <rudalics@gmx.at>
6045 * window.el (display-buffer-pop-up-window)
6046 (display-buffer-pop-up-side-window)
6047 (display-buffer-in-side-window): Call display-buffer-set-height
6048 and display-buffer-set-width after setting the new window's
6049 buffer so `fit-window-to-buffer' and friends work on the right buffer.
6051 2011-07-20 Sam Steingold <sds@gnu.org>
6053 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6054 (etags-tags-included-tables): Call `convert-standard-filename' on
6055 the file names contained in TAGS so that windows Emacs can handle
6056 TAGS files created by cygwin ctags.
6058 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6060 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6061 which apparently didn't work.
6063 2011-07-19 Roland Winkler <winkler@gnu.org>
6065 * proced.el (proced-send-signal): For *Marked Processes* buffer
6066 put point at beginning of buffer.
6068 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
6070 * proced.el (proced-format): Make header lines align with the text
6073 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6075 * view.el (view-buffer): Allow running in `special' modes if we're
6076 visiting a file (bug#8615).
6078 2011-07-19 Martin Rudalics <rudalics@gmx.at>
6080 * window.el (display-buffer-alist-of-strings-p)
6081 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6083 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6086 2011-07-18 Alan Mackenzie <acm@muc.de>
6088 Fontify declarators properly when, e.g., a jit-lock chunk begins
6089 inside a declaration.
6091 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6093 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6095 (c-complex-decl-matchers): Insert reference to
6096 c-font-lock-enclosing-decls.
6098 * progmodes/cc-engine.el (c-backward-single-comment):
6099 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6100 to nil around calls to (forward-comment -1).
6102 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6104 * image.el (put-image): Doc typo fix.
6106 * progmodes/etags.el (tags-search): Doc typo fix.
6108 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6109 password if we get errors 550 to 554.
6111 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6113 * net/gnutls.el (gnutls-log-level): Remove.
6115 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6116 indentation character (bug#6380).
6118 * files.el (buffer-offer-save): Made permanently local (bug#6241).
6120 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6121 to clarify what the problem is (bug#4291).
6123 * simple.el (current-kill): Clarify what
6124 `interprogram-paste-function' does (bug#7500).
6125 (auto-fill-mode): Document `auto-fill-function' in relation to
6126 `auto-fill-mode' (bug#2470).
6128 2011-07-16 Lawrence Mitchell <wence@gmx.li>
6130 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6131 method if slot is read-only (bug#9035).
6133 2011-07-16 Martin Rudalics <rudalics@gmx.at>
6135 * frame.el (select-frame-set-input-focus): New argument NORECORD.
6136 * window.el (pop-to-buffer): Select window used even if it was
6137 selected before, see discussion of (Bug#8615), (Bug#6954).
6138 Pass argument NORECORD on to select-frame-set-input-focus.
6140 2011-07-15 Glenn Morris <rgm@gnu.org>
6142 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
6145 2011-07-09 Lawrence Mitchell <wence@gmx.li>
6147 * net/gnutls.el (gnutls-min-prime-bits): New variable.
6148 (gnutls-negotiate): Use it.
6150 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6152 * net/gnutls.el (gnutls-negotiate):
6153 Upcase `gnutls-algorithm-priority'.
6155 2011-07-15 Glenn Morris <rgm@gnu.org>
6157 * jka-compr.el (jka-compr-verbose): Move from here...
6158 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
6159 Add missing :version tag.
6160 * info.el: No need to require jka-compr when compiling.
6162 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6164 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6165 (gnutls-negotiate): Use it.
6167 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6169 * info.el (Info-beginning-of-buffer): New command.
6170 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6171 announcing `b' as the key (bug#8325).
6172 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
6174 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6176 * international/mule-cmds.el
6177 (describe-specified-language-support): Make the error message
6180 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6182 * isearch.el (isearch-barrier): Add a doc string, since it's
6183 mentioned in a function doc string (bug#8678).
6185 2011-07-15 Martin Rudalics <rudalics@gmx.at>
6187 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6188 buffer argument (Bug#9083) and self-identifying label argument.
6190 2011-07-15 Glenn Morris <rgm@gnu.org>
6192 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6194 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6196 * man.el (Man-fontify-manpage): Fix message when formatting the
6197 man page (bug#7929).
6199 2011-07-14 Eli Zaretskii <eliz@gnu.org>
6201 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6202 argument LRM; if non-nil, append an invisible LRM character to the
6204 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6205 last argument non-nil, when formatting buffer names.
6206 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6207 paragraph direction.
6209 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6211 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6212 the man page name (bug#7929).
6214 * image.el (put-image): Mention the `put-image' overlay property
6217 * scroll-bar.el (set-scroll-bar-mode): Mention that
6218 `scroll-bar-mode' lists the values (bug#7772).
6220 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6223 * rect.el (apply-on-rectangle): Return the point after the last
6225 (string-rectangle): Go to the point after the last operation
6228 * printing.el (pr-toggle-region): Clarify the documentation
6229 slightly (bug#7493).
6231 * time.el (display-time-update):
6232 Allow `display-time-mail-function' to return nil (bug#7158).
6233 Fix suggested by Detlev Zundel.
6235 * vc/diff.el (diff): Clarify the order the file names are read
6238 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6239 the doc string (bug#7015).
6241 * font-lock.el (font-lock-maximum-decoration): Mention what
6242 numeric levels mean (bug#6935).
6244 * startup.el (initial-buffer-choice): Don't mention the `none'
6245 selection, which is against policy.
6247 2011-07-14 Martin Rudalics <rudalics@gmx.at>
6249 * window.el (display-buffer-normalize-special):
6250 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
6252 2011-07-14 Eli Zaretskii <eliz@gnu.org>
6254 * subr.el (version<, version<=, version=): Mention "-CVS" and
6255 "-12345" alpha version numbers.
6257 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
6259 * bindings.el: Add advertised binding for set-mark-command
6262 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
6264 * bindings.el (mode-line-other-buffer):
6265 * bookmark.el (bookmark-bmenu-2-window):
6266 * bs.el (bs-cycle-next, bs-cycle-previous):
6267 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6270 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6273 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
6275 * follow.el (follow-debug-message, follow-redisplay):
6276 * jka-cmpr-hook.el (with-auto-compression-mode):
6277 Fix typos in docstrings.
6279 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6281 * subr.el (with-silent-modifications): Clarify somewhat what the
6282 macro inhibits (bug#6525).
6284 * simple.el (eval-expression): Note what it does if called
6285 interactively (bug#6495).
6287 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
6289 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6290 Use pop-to-buffer buffer-or-name if it is nil.
6292 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6293 Remove switch-to-buffer.
6295 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6297 * files.el (make-directory): Clarify that an error will be raised
6298 if there's an error (bug#6397).
6300 * startup.el (initial-buffer-choice): Add `none' as a choice
6303 * subr.el (add-hook): Clarify section about buffer-local hooks
6306 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6308 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
6310 * tabify.el (untabify): Preserve the current column so that point
6311 doesn't move (bug#6032).
6313 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6315 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6316 Rewrite to avoid awkward possessive "s" (bug#5986).
6318 2011-07-13 Glenn Morris <rgm@gnu.org>
6320 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6321 (dired-insert-directory): Give a message the first time
6322 if ls is found not to support --dired.
6324 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6326 * simple.el (toggle-truncate-lines): Clarify what is toggled
6327 (bug#5580). Text by Drew Adams.
6329 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
6331 * simple.el (blink-matching-open): Make the error message from the
6332 last change less verbose.
6334 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6336 * font-lock.el (font-lock-comment-face): Use the high contrast
6337 "yellow" color for font-lock-comment-face on low color terminals
6338 using a dark background color (bug#4221).
6340 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6342 * dired.el (dired-insert-set-properties): Make the doc string
6343 reflect what it does now (bug#5325).
6345 * simple.el (blink-matching-open): Say that we were unable to find
6346 the match within the limit, if we're limited (bug#5122).
6348 * international/mule-cmds.el (prefer-coding-system): Add an
6351 * progmodes/etags.el (tags-search): Document `file-list-form'
6354 2011-07-13 Lawrence Mitchell <wence@gmx.li>
6356 * net/browse-url.el (browse-url-default-browser)
6357 (browse-url-browser-function): Make the default browser choice a
6358 bit more logical (bug#4300). Also clean up the doc string.
6360 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
6362 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6363 binary endings (bug#4440).
6365 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6367 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6368 which can be pretty annoying (bug#8971).
6370 * jka-compr.el (jka-compr-verbose): New variable, and use
6371 throughout (bug#8971).
6373 * info.el (Info-find-file): Fall back on the installation
6374 directory if we can't find the info node anywhere else.
6376 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6378 * vc/vc.el (vc-revert-file):
6379 Don't set file time-stamp in the past. (Bug#5181)
6381 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6383 * files.el (after-find-file): Give a better error message when
6384 trying to find a symlink that points to a file that doesn't exist
6387 * progmodes/cc-vars.el: Remove (probably) misleading comment
6390 2011-07-12 Johan Bockgård <bojohan@gnu.org>
6392 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6394 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
6396 * mouse-sel.el: Hack restoring functionality, while keeping
6397 compatibility with 2010-07-03 changes to mouse selection.
6398 (mouse-sel-primary-overlay): New var.
6399 (mouse-sel-selection-alist): Use it.
6400 (mouse-sel-mode): Doc fix; remove points that are default features
6403 2011-07-12 Johan Bockgård <bojohan@gnu.org>
6405 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6406 Fix previous fix (bug#2490).
6408 2011-07-12 Roland Winkler <winkler@gnu.org>
6410 * textmodes/bibtex.el (bibtex-initialize):
6411 Use pop-to-buffer-same-window.
6412 (bibtex-search-entries): Fix interactive call.
6414 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6416 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6417 Fontise bytecomp Error lines more correctly (bug#2490).
6418 Fix suggested by Johan Bockgård.
6420 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6422 * dired-x.el (dired-guess-default): Use `delete-dups'.
6424 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
6426 * dired.el (dired-mark-prompt):
6427 * dired-aux.el (dired-read-shell-command): Doc fix.
6429 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6431 * mail/sendmail.el (sendmail-query-once):
6432 Use `customize-save-variable' unconditionally, now that it works under
6435 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6437 * cus-edit.el (custom-file): Take an optional no-error variable.
6438 (customize-save-variable): Set the variable, and give a warning if
6439 running under "emacs -q".
6441 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
6443 * loadhist.el (unload-feature-special-hooks):
6444 Add `auto-coding-functions', `fill-nobreak-predicate' and
6445 `find-directory-functions' (bug#5327).
6447 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6449 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6451 * cus-edit.el (custom-guess-name-alist): -alist variables should
6452 use the `alist' type (bug#3120). Suggested by Drew Adams.
6454 * printing.el: Add documentation to all the `pr-toggle-' commands.
6456 2011-07-11 Leo Liu <sdl.web@gmail.com>
6458 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6459 backends where it makes sense (bug#2623).
6461 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6463 * dired-x.el (dired-guess-default): Remove duplicate shell command
6465 (dired-guess-default): Fix grammar in doc string (bug#2028).
6466 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
6468 * subr.el (remove-duplicates): New conveniency function.
6470 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6472 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6475 2011-07-10 Martin Rudalics <rudalics@gmx.at>
6477 * window.el (display-buffer-normalize-default): Don't invert
6478 meaning of even-window-heights. Reported by Eli Zaretskii
6481 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6483 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6485 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
6487 * window.el (display-buffer): Fix arguments to
6488 display-buffer-reuse-window in last change.
6490 * faces.el (link): Use a less saturated blue on light backgrounds.
6492 * startup.el (fancy-startup-text, fancy-about-text)
6493 (fancy-startup-tail): Use font-lock faces, for background safety.
6495 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6497 * emulation/viper-cmd.el (viper-change-state-to-vi):
6498 Limit triggering of abbrev expansion (Bug#9038).
6500 2011-07-09 Martin Rudalics <rudalics@gmx.at>
6502 * window.el (display-buffer-default-specifiers): Remove.
6503 (display-buffer-macro-specifiers): Remove default specifiers.
6504 (display-buffer-alist): Default to nil.
6505 (display-buffer-reuse-window): New optional argument other-window.
6506 (display-buffer-pop-up-window): Allow splitting internal
6507 windows. Check whether a live window was created.
6508 (display-buffer-other-window-means-other-frame)
6509 (display-buffer-normalize-arguments): Rename to
6510 display-buffer-normalize-argument and rewrite. Set the
6511 other-window specifier.
6512 (display-buffer-normalize-special): New function.
6513 (display-buffer-normalize-options): Rename to
6514 display-buffer-normalize-default and rewrite.
6515 (display-buffer-normalize-options-inhibit): Remove.
6516 (display-buffer-normalize-specifiers): Rewrite.
6517 (display-buffer): Process other-window specifier and call
6518 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6520 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
6521 (display-buffer-alist-set): Don't handle 'unset default values.
6522 (display-buffer-in-window, display-buffer-alist-set):
6523 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
6524 <tassilo@member.fsf.org>.
6526 2011-07-09 Leo Liu <sdl.web@gmail.com>
6528 * register.el (insert-register): Restore accidental change on
6529 2011-06-26. (Bug#9028)
6531 2011-07-09 Glenn Morris <rgm@gnu.org>
6533 * subr.el (remq): Handle the empty list. (Bug#9024)
6535 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6537 * mail/sendmail.el (send-mail-function): No longer delay custom
6539 * custom.el (custom-initialize-delay): Doc fix.
6541 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6543 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6545 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
6547 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6548 human-friendly prompt.
6550 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6552 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6553 provided by a particular plugin.
6555 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6557 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6558 save customizations (with "emacs -Q"), just set the variable
6559 instead of erroring out.
6561 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6563 2011-07-08 Juri Linkov <juri@jurta.org>
6565 * arc-mode.el (archive-zip-expunge, archive-zip-update)
6566 (archive-zip-update-case): Use 7z if found by `executable-find'.
6567 The order of searching the available programs is the same as in
6568 `archive-zip-extract' (bug#8968).
6570 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
6572 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6573 (menu-bar-options-menu): Tweak descriptions.
6575 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6577 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6578 menu items into verb phrases (bug#1421). Also refill to fit under
6581 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
6583 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6584 (Info-read-node-name): Doc fix (Bug#1084).
6586 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6587 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6588 (end-of-sexp, beginning-of-sexp)
6589 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6590 (forward-symbol, forward-same-syntax, word-at-point)
6591 (sentence-at-point): Doc fix (Bug#1144).
6593 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6595 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6596 should cover it (bug#1281).
6598 * cus-edit.el (custom-show): Mark as obsolete.
6600 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
6601 negotiation fails, then possibly try again with a non-encrypted
6602 connection (bug#9017).
6604 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6607 2011-07-07 Richard Stallman <rms@gnu.org>
6609 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6610 property, and handle its changed format.
6611 Look for the correct line number.
6612 Use file's line contents (but not past first =) to find
6613 correct line in message.
6615 2011-07-07 Kenichi Handa <handa@m17n.org>
6617 * international/characters.el (build-unicode-category-table):
6619 (unicode-category-table): Set it by unicode-property-table-internal.
6621 * international/mule-cmds.el (char-code-property-alist): Move to
6623 (get-char-code-property): Call unicode-property-table-internal to
6624 load a file. Call get-unicode-property-internal where necessary.
6625 (put-char-code-property): Call unicode-property-table-internal to
6626 load a file. Call put-unicode-property-internal where necessary.
6627 put-unicode-property-internal where necessary.
6628 (char-code-property-description):
6629 Call unicode-property-table-internal to load a file.
6631 * international/charprop.el:
6632 * international/uni-bidi.el:
6633 * international/uni-category.el:
6634 * international/uni-combining.el:
6635 * international/uni-comment.el:
6636 * international/uni-decimal.el:
6637 * international/uni-decomposition.el:
6638 * international/uni-digit.el:
6639 * international/uni-lowercase.el:
6640 * international/uni-mirrored.el:
6641 * international/uni-name.el:
6642 * international/uni-numeric.el:
6643 * international/uni-old-name.el:
6644 * international/uni-titlecase.el:
6645 * international/uni-uppercase.el: Regenerate.
6647 * loadup.el: Load international/charprop.el before
6648 international/characters.
6650 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
6652 * window.el (next-buffer, previous-buffer): Signal an error if
6653 called from a minibuffer window.
6655 * bindings.el: Revert 2011-07-04 change.
6657 2011-07-06 Richard Stallman <rms@gnu.org>
6659 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6660 (rmail-mime-insert-bulk, rmail-mime-insert-text):
6661 Treat markers like ints.
6662 (rmail-mime-entity): Doc fix.
6664 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6666 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6667 defcustom again for backwards compatibility.
6669 * simple.el (shell-command-on-region): Fill.
6671 * dired-aux.el (dired-kill-line): Add a doc string.
6673 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6674 to "\\sw\\|\\s_" (bug#358).
6676 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6677 (dired-unmark-backward): Ditto.
6678 (dired-flag-backup-files): Ditto.
6680 * dired-x.el (dired-mark-sexp): Ditto.
6682 2011-07-06 Richard Stallman <rms@gnu.org>
6684 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6685 (rmail-mime-entity): New arg TRUNCATED.
6686 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6688 (rmail-mime-save): Warn if entity is truncated.
6689 (rmail-mime-toggle-hidden): Likewise, for showing.
6690 (rmail-mime-process-multipart): Record when an entity is truncated.
6692 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6693 if ENTITY is a string.
6695 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6697 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
6698 of faces when `M-C-x'-ing their definitions (bug#8378).
6699 Also clean up the code slightly.
6701 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
6702 because that makes the colors go away.
6704 * mail/sendmail.el (send-mail-function): Change the default to
6705 `sendmail-query-once'.
6706 (sendmail-query-once): Add an autoload cookie.
6708 * net/network-stream.el (network-stream-open-starttls): Try using
6709 a plain connection even if the server offered STARTTLS, and we
6710 kinda wanted to use it, if Emacs doesn't have any STARTTLS
6711 capability. This should make smtpmail.el work in slightly more
6714 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
6716 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6718 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6720 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
6722 * progmodes/sql.el: Version 3.0
6723 (sql-product-alist): Add product :completion-object,
6724 :completion-column, and :statement attributes.
6725 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
6726 (sql-mode-syntax-table): Mark all punctuation.
6727 (sql-font-lock-keywords-builder): Temporarily remove fallback on
6729 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
6730 (sql-mode-oracle-font-lock-keywords): Improve.
6731 (sql-oracle-show-reserved-words): New function for development.
6732 (sql-product-font-lock): Simplify for source code buffers.
6733 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
6735 (sql-highlight-product): Set product specific syntax table.
6736 (sql-mode-map): Add statement movement functions.
6737 (sql-ansi-statement-starters, sql-oracle-statement-starters):
6739 (sql-statement-regexp, sql-beginning-of-statement)
6740 (sql-end-of-statement, sql-signum): New functions.
6741 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
6742 (sql-show-sqli-buffer): Bug fix.
6743 (sql-interactive-mode): Store connection data as buffer local.
6744 (sql-connect): Add NEW-NAME parameter. Redesign interaction
6745 with sql-interactive-mode.
6746 (sql-save-connection): Save buffer local settings.
6747 (sql-connection-menu-filter): Change menu entry name.
6748 (sql-product-interactive): Bug fix.
6749 (sql-preoutput-hold): New variable.
6750 (sql-interactive-remove-continuation-prompt): Bug fixes.
6751 (sql-debug-redirect): New variable.
6752 (sql-str-literal): New function.
6753 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
6755 (sql-oracle-save-settings, sql-oracle-restore-settings)
6756 (sql-oracle-list-all, sql-oracle-list-table): New functions.
6757 (sql-completion-object, sql-completion-column)
6758 (sql-completion-sqlbuf): New variables.
6759 (sql-build-completions-1, sql-build-completions)
6760 (sql-try-completion): New functions.
6761 (sql-read-table-name): Use them.
6762 (sql-contains-names): New buffer local variable.
6763 (sql-list-all, sql-list-table): Use it.
6764 (sql-oracle-completion-types): New variable.
6765 (sql-oracle-completion-object, sql-sqlite-completion-object)
6766 (sql-postgres-completion-object): New functions.
6768 2011-07-06 Glenn Morris <rgm@gnu.org>
6770 * window.el (pop-to-buffer): Doc fix.
6772 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
6774 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6776 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
6778 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
6780 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
6782 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
6784 * button.el (button): Inherit from link face. Suggested by Dan
6787 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6789 * progmodes/gdb-mi.el: Fit in 80 columns.
6790 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
6793 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
6794 if imenu is simply not configured (bug#8941).
6796 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
6798 * allout.el (allout-post-undo-hook): New allout outline-change
6799 event hook to signal undo activity.
6800 (allout-post-command-business): Run allout-post-undo-hook if an
6802 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
6803 * allout-widgets.el (allout-widgets-after-undo-function):
6804 Ensure the integrity of the current item's decoration after it has been
6805 in the vicinity of an undo.
6806 (allout-widgets-mode): Include allout-widgets-after-undo-function
6807 on the new allout-post-undo-hook.
6809 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6811 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
6812 Let define-derived-mode define it.
6813 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
6814 cycles of abbrev-table inheritance (bug#8998).
6816 2011-07-05 Roland Winkler <winkler@gnu.org>
6818 * textmodes/bibtex.el: Add support for biblatex.
6819 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
6820 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
6821 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
6822 (bibtex-entry-alist, bibtex-field-alist): New variables.
6823 (bibtex-entry-field-alist): Obsolete alias for
6824 bibtex-BibTeX-entry-alist.
6825 (bibtex-entry-alist, bibtex-field-alist): New widgets.
6826 (bibtex-set-dialect): New command.
6827 (bibtex-entry-type, bibtex-entry-head)
6828 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
6829 Bind via bibtex-set-dialect.
6830 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
6831 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
6832 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
6833 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
6834 Define via bibtex-set-dialect.
6835 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
6836 Obey bibtex-no-opt-remove-re.
6837 (bibtex-vec-push, bibtex-vec-incr): New functions.
6838 (bibtex-format-entry, bibtex-field-list)
6839 (bibtex-print-help-message, bibtex-validate)
6840 (bibtex-search-entries): Use new format of bibtex-entry-alist.
6842 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6844 * progmodes/compile.el (compilation-goto-locus):
6845 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6846 * bs.el (bs-cycle-next, bs-cycle-previous):
6847 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
6848 * bindings.el (mode-line-other-buffer):
6849 * autoinsert.el (auto-insert):
6850 * arc-mode.el (archive-extract):
6851 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
6853 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
6855 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
6856 Fix check of `emacs-lock-unlockable-modes'.
6857 Coerce true values of `emacs-lock--try-unlocking' to t.
6859 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
6861 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
6862 * emacs-lock.el: New file.
6864 2011-07-05 Julien Danjou <julien@danjou.info>
6866 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
6867 than `boundp' to check if face is set.
6869 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
6871 * register.el (registerv-make):
6872 * window.el (window-min-height): Fix typos in docstrings.
6874 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
6876 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
6879 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
6881 * server.el (server-execute): Catch quit and call
6882 `server-return-error' to pass the error back to emacsclient and
6883 close the connection (bug#8942).
6885 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
6887 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
6888 insecure exception for current topic. Also note that auto-saves
6889 are handled differently.
6891 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
6892 State variables for tracking auto-save inhibition situation.
6894 (allout-write-contents-hook-handler): Rename from
6895 'allout-write-file-hook-handler', and describe how it depends on
6896 write-contents-functions sensitivity to non-nil value to prevent
6899 (allout-auto-save-hook-handler): Remove. auto-save does not check
6900 this in individual buffers, only in the starting buffer, so this
6901 is not the right way for us to inhibit auto-save in a buffer
6902 according to its condition.
6904 (allout-mode): Use new allout-write-contents-hook-handler, and
6905 only with write-contents-functions. Remove auto-save provisions -
6906 they're implemented elsewhere.
6908 (allout-before-change-handler): If undo is in progress, note that
6909 for attention of allout-post-command-business.
6911 (allout-post-command-business): If the command we're following was
6912 an undo, check for change in the status of encrypted items and
6913 adjust auto-save inhibitions accordingly.
6915 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
6916 according to whether there are or aren't any plain-text topics
6919 (allout-inhibit-auto-save-info-for-decryption):
6920 Adjust buffer-saved-size and some allout state to inhibit auto-saves
6921 if there are plain-text topics pending encryption.
6923 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
6924 buffer-saved-size and some allout state to not inhibit auto-saves
6925 if there are no longer any plain-text topics pending encryption.
6927 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
6928 No longer provide for exemption of the current topic.
6930 2011-07-04 Juri Linkov <juri@jurta.org>
6932 Add 7z operations to delete and save changed members (bug#8968).
6933 * arc-mode.el (archive-7z-expunge, archive-7z-update):
6935 (archive-7z-write-file-member): New function.
6936 (archive-7z-summarize): Fix the number of dashes in the
6939 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6941 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
6944 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
6946 * bindings.el: Ignore next-buffer and previous-buffer in
6947 minibuffer-local-map.
6949 * font-lock.el (font-lock-builtin-face): Change light background
6950 color to dark slate blue (Bug#6693).
6952 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
6954 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
6956 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6958 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
6959 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6960 Add switch-to-buffer.
6962 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6964 * isearch.el (isearch-search-fun-function): Clarify further the
6965 meaning of the function returned.
6967 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
6969 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
6971 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
6972 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
6974 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
6975 `tramp-default-remote-path' does not exist.
6976 (tramp-send-command-and-read): New optional argument NOERROR.
6977 (tramp-open-connection-setup-interactive-shell)
6978 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
6979 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
6980 (tramp-process-sentinel): Flush also process' connection property.
6981 (tramp-sh-handle-start-file-process): Do not set process
6982 sentinel. It is done now ...
6983 (tramp-maybe-open-connection): ... here. (Bug#8929)
6985 2011-07-04 MON KEY <monkey@sandpframing.com>
6987 * play/animate.el (animate-string): Doc fixes and allow changing
6988 the buffer name (bug#5417).
6990 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6992 * play/animate.el (animation-buffer-name): Rename from *animate*.
6994 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
6996 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
6997 This is simpler and helps future-proof the code.
6998 (timer-until): Use time-subtract and float-time.
6999 (timer--time-less-p): Use time-less-p.
7001 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
7003 * type-break.el (timep): Use the value of `float-time' to avoid a
7004 byte-compiler warning.
7006 * server.el (server-eval-and-print): Return any result, even nil.
7008 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7010 * type-break.el: Accept time formats that the builtins accept.
7011 (timep, type-break-time-difference): Accept any format that
7012 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7013 This is simpler and helps future-proof the code.
7014 (type-break-time-difference): Round rather than ignoring
7015 subseconds components.
7017 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7019 * info.el (Info-apropos-matches): Make non-interactive, since it
7020 doesn't seem to do anything useful as a command (bug#8829).
7022 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
7024 * frame.el (frame-background-mode, frame-set-background-mode):
7026 (frame-default-terminal-background): New function.
7028 * custom.el (custom-push-theme): Don't record faces in `changed'
7029 theme; this doesn't work correctly for per-frame face settings.
7030 (disable-theme): Use face-set-after-frame-default to reset faces.
7031 (custom--frame-color-default): New function.
7033 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7035 * dired.el (dired-flagging-regexp): Remove unused variable
7038 2011-03-29 Kevin Ryde <user42@zip.com.au>
7040 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7041 `perl-Test2' extend to match possible "fail #N" rep count
7044 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7046 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7047 `smtpmail-via-smtp' now returns the error instead of nil.
7049 * isearch.el (isearch-search-fun-function): Clarify the doc string
7052 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
7054 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7055 unnecessary spaces (bug#8987).
7057 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7059 * net/network-stream.el (open-network-stream): Use the
7060 :end-of-capability command thoughout.
7062 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7064 * net/network-stream.el (open-network-stream): Add the
7065 :end-of-capability command parameter, used by pop3.el.
7067 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7069 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7071 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7072 for list)" (bug#6475).
7074 * files.el (file-expand-wildcards): Ignore non-readable
7075 sub-directories while trying to find matches instead of signaling
7076 an error (bug#6297).
7078 * man.el (Man-reference-regexp): Allow matching possible
7079 word-wrapped references (bug#6289).
7081 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7082 for consistency with the other vc buffers (bug#6197).
7083 (vc-checkin): Ditto.
7085 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7087 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7089 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7091 * custom.el (defcustom): Clarify that :set is only used in the
7092 Customize user interface (bug#6089).
7094 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7095 associated with a file, refuse to run instead of erroring out
7098 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7099 the doc string, since it appears that using `fill-column' always
7100 controls the width (bug#7845).
7102 * simple.el (shell-command-on-region): Say where the error output
7103 went if `shell-command-default-error-buffer' is set (bug#6857).
7105 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7107 * allout.el (allout-yank-processing): Adjust cursor position for
7108 backwards-deleted space.
7110 (allout-rebullet-heading): Register changes with
7111 allout-exposure-changed-hook, so the modified topic is properly
7114 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7116 * minibuffer.el (completion-in-region): Document PREDICATE
7119 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7120 of keyword/argument pairs (bug#6904).
7122 * replace.el (multi-occur):
7123 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
7125 2011-07-02 Drew Adams <drew.adams@oracle.com>
7127 * dired.el (dired-mark-if): Make the message about whether it's
7128 marking or unmarking clearer (bug#8523).
7130 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7132 * disp-table.el (display-table-print-array): New function.
7133 (describe-display-table): Use it to print the vectors more pretty
7136 2011-07-02 Martin Rudalics <rudalics@gmx.at>
7138 * window.el (window-state-get-1): Don't assign clone numbers.
7139 Add clone-of item to list of window parameters.
7140 (window-state-put-2): Don't process clone numbers.
7141 (display-buffer-alist): Fix doc-string.
7143 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7145 * subr.el (remq): Don't allocate if it's not needed.
7146 (keymap--menu-item-binding, keymap--menu-item-with-binding)
7147 (keymap--merge-bindings): New functions.
7148 (keymap-canonicalize): Use them to refine the canonicalization.
7149 * minibuffer.el (minibuffer-local-completion-map)
7150 (minibuffer-local-must-match-map): Move initialization from C.
7151 (minibuffer-local-filename-completion-map): Move initialization from C;
7152 don't inherit from anything here.
7153 (minibuffer-local-filename-must-match-map): Make obsolete.
7154 (completing-read-default): Use make-composed-keymap to combine
7155 minibuffer-local-filename-completion-map with either
7156 minibuffer-local-must-match-map or
7157 minibuffer-local-filename-completion-map.
7159 2011-07-01 Glenn Morris <rgm@gnu.org>
7161 * type-break.el (type-break-time-sum): Use dolist.
7163 * textmodes/flyspell.el (flyspell-word-search-backward):
7164 Replace CL function.
7166 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7168 * mouse.el (mouse--strip-first-event): New function.
7169 (function-key-map): Use it to map fringe clicks to normal clicks
7172 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7173 (vc-bzr-revision-completion-table): Add support for annotate and date.
7175 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7176 inherit from parent.
7178 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7180 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
7181 (dired-show-file-type): Doc fixup (bug#8818).
7183 * dired.el (dired-mode): Fix up the doc string as suggested by
7184 Drew Adams (bug#8817).
7186 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7187 cookie, since the manual says that it should be possible to add
7188 this function to `find-file-hook' (bug#8709).
7190 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7192 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7193 here. Noted Ted Zlatanov as the maintainer.
7194 (cfengine-common-settings, cfengine-common-syntax): New functions
7195 to set up common things between `cfengine-mode' and
7197 (cfengine3-mode): New mode.
7198 (cfengine3-defuns cfengine3-defuns-regex
7199 (cfengine3-class-selector-regex cfengine3-category-regex)
7200 (cfengine3-vartypes cfengine3-font-lock-keywords)
7201 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
7202 (cfengine3-indent-line): Add from cfengine3.el.
7204 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
7206 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7208 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7210 2011-07-01 Martin Rudalics <rudalics@gmx.at>
7212 * window.el (same-window-buffer-names, same-window-regexps)
7213 (same-window-p, special-display-frame-alist)
7214 (special-display-popup-frame, special-display-function)
7215 (special-display-buffer-names, special-display-regexps)
7216 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7217 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7218 (split-window-preferred-function, split-height-threshold)
7219 (split-width-threshold, even-window-heights)
7220 (display-buffer-mark-dedicated, window-splittable-p)
7221 (split-window-sensibly, window-safely-shrinkable-p):
7223 (display-buffer): Don't spread args with function specifier
7224 because special-display-popup-frame won't like it.
7226 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7228 Time-stamp simplifications and fixes.
7229 These improve accuracy slightly, and future-proof the code
7230 against some potential changes to current-time format.
7232 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7233 by using time-since and float-time.
7235 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7236 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7237 + NNN microseconds".
7239 * type-break.el (type-break-time-sum): Rewrite using time-add.
7241 * play/hanoi.el (hanoi-current-time-float): Remove.
7242 All uses replaced by float-time.
7244 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7245 This yields a more-accurate answer.
7246 (rng-time-to-float): Remove; no longer needed.
7248 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7250 * calendar/timeclock.el (timeclock-seconds-to-time):
7251 Defalias to seconds-to-time, since they're the same thing.
7253 * emacs-lisp/elp.el (elp-elapsed-time):
7254 * emacs-lisp/benchmark.el (benchmark-elapse):
7255 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7257 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7259 * window.el (bury-buffer): Don't iconify the only frame.
7260 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7261 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7263 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
7265 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7266 Add mouse-yank-primary.
7268 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7270 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7272 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7274 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7275 (find-library-name): Use it to find relative load names when provided
7276 absolute file name (bug#8803).
7278 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7280 * textmodes/flyspell.el (flyspell-word): Consider words that
7281 differ only in case as potential doublons (bug#5687).
7283 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7284 Remove two rather uninteresting debugging-like messages to make
7285 debbugs.el more silent.
7287 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7288 a password-like phrase.
7290 2011-06-30 Masatake YAMATO <yamato@redhat.com>
7292 * progmodes/cc-guess.el: New file.
7294 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
7296 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7297 derived from `c-basic-common-init'.
7299 * progmodes/cc-mode.el (top-level): Require cc-guess.
7300 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7302 2011-06-30 Lawrence Mitchell <wence@gmx.li>
7304 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7306 2011-06-30 Alan Mackenzie <acm@muc.de>
7308 * progmodes/cc-engine.el (c-guess-continued-construct):
7309 Correct the handling of template-args-cont, particularly for when font
7310 lock is disabled. Name this case as "CASE G".
7312 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7314 * allout.el (allout-yank-processing): Fix injection of extra space
7315 between bullet and non-whitespace character in first topic when
7316 pasting, ensuring that the actual spacing in the pasted topic
7317 following the bullet char is preserved. This extra space was
7318 causing pasted encrypted topics to get a decrypted status even
7319 when the content was actually still encrypted. Now the decryption
7320 status from before the paste is preserved.
7322 (allout-flag-region): Set all allout overlays so they evaporate
7323 when reduced to zero length (evanescent), to prevent overlay
7326 2011-06-30 Glenn Morris <rgm@gnu.org>
7328 * w32-fns.el (w32-charset-info-alist): Declare.
7330 * find-dired.el (find-grep-options): Simplify.
7332 * term/ns-win.el (ns-set-resource): Declare.
7334 * ses.el (row, col): Declare dynamic variables honestly.
7336 * textmodes/reftex-parse.el (index-tags): Declare.
7338 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
7340 * cus-edit.el (customize-push-and-save): New function.
7342 * files.el (hack-local-variables-confirm): Use it.
7344 * custom.el (load-theme): New arg NO-CONFIRM.
7345 Use customize-push-and-save (Bug#8720).
7346 (custom-enabled-themes): Doc fix.
7348 * cus-theme.el (customize-create-theme)
7349 (custom-theme-merge-theme): Callers to load-theme changed.
7351 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7353 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7354 short URLs have at least one dot in them (bug #7614).
7356 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7357 nil, because using a pty is apparently too slow (bug #895).
7359 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7361 * mail/sendmail.el (sendmail-query-once): New function.
7362 (sendmail-query-once-function): New variable.
7364 2011-06-29 Glenn Morris <rgm@gnu.org>
7366 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7368 * ses.el (top-level): Require cl when compiling.
7369 (ses-set-localvars): Fix error statement.
7370 Call it at compile time to silence a storm of warnings.
7372 2011-06-29 Martin Rudalics <rudalics@gmx.at>
7374 * window.el (normalize-live-buffer): Rename to
7375 window-normalize-buffer.
7376 (normalize-live-frame): Rename to window-normalize-frame.
7377 (normalize-any-window): Rename to window-normalize-any-window.
7378 (normalize-live-window): Rename to window-normalize-live-window.
7379 (make-window-atom): Rename to window-make-atom.
7380 (window-resize-reset): Rename to window--resize-reset.
7381 (window-resize-reset-1): Rename to window--resize-reset-1.
7382 (resize-mini-window): Rename to window--resize-mini-window.
7383 (resize-subwindows-skip-p): Rename to
7384 window--resize-subwindows-skip-p.
7385 (resize-subwindows-normal): Rename to
7386 window--resize-subwindows-normal.
7387 (resize-subwindows): Rename to window--resize-subwindows.
7388 (resize-other-windows): Rename to window--resize-siblings.
7389 (resize-this-window): Rename to window--resize-this-window.
7390 (resize-root-window): Rename to window--resize-root-window.
7391 (resize-root-window-vertically): Rename to
7392 window--resize-root-window-vertically.
7393 (normalize-buffer-to-display): Rename to
7394 window-normalize-buffer-to-display.
7395 (normalize-buffer-to-switch-to): Rename to
7396 window-normalize-buffer-to-switch-to.
7397 Correspondingly update all callers of the functions listed
7399 (display-buffer-alist, display-buffer-normalize-arguments)
7400 (display-buffer-normalize-options, display-buffer)
7401 (display-buffer-alist-set): Use "function" instead of
7404 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
7406 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7407 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7408 debbugs.gnu.org. Mention acknowledgment email.
7410 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7412 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7413 buffer multibyteness, since it shouldn't matter.
7415 2011-06-28 Martin Rudalics <rudalics@gmx.at>
7417 * window.el (display-buffer-in-side-window): Handle dedicated
7418 windows as in display-buffer-reuse-window.
7419 (display-buffer-normalize-alist): Use value of override
7421 (display-buffer-normalize-specifiers): Use value of
7422 other-window-means-other-frame specifier.
7423 (display-buffer-alist): Rewrite some texts in widgets.
7424 (display-buffer): Spread arguments when calling function
7425 specified by fun-with-args.
7427 2011-06-28 Deniz Dogan <deniz@dogan.se>
7429 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7432 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7433 selectors (Bug#5732).
7434 (css-proprietary-nmstart-re): Use `regexp-opt'.
7436 2011-06-27 Jari Aalto <jari.aalto@cante.net>
7438 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7439 (eshell-ls-date-format): New defcustom.
7440 (eshell-ls-file): Use it.
7442 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7444 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7446 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7448 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7449 (ange-ftp-make-tmp-name): New arg.
7450 (ange-ftp-file-local-copy): Use it.
7452 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
7454 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7455 no-conversion (Bug#8870).
7457 2011-06-27 Martin Rudalics <rudalics@gmx.at>
7459 * window.el (window-right, window-left, window-child)
7460 (window-child-count, window-last-child)
7461 (window-iso-combination-p, walk-window-tree-1)
7462 (window-atom-check-1, window-tree-1, delete-window)
7463 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7464 new naming conventions - window-vchild, window-hchild,
7465 window-next and window-prev are now called window-top-child,
7466 window-left-child, window-next-sibling and window-prev-sibling
7468 (resize-window-reset): Rename to window-resize-reset.
7469 (resize-window-reset-1): Rename to window-resize-reset-1.
7470 (resize-window): Rename to window-resize.
7471 (window-min-height, window-min-width)
7472 (resize-mini-window, resize-this-window, resize-root-window)
7473 (resize-root-window-vertically, adjust-window-trailing-edge)
7474 (enlarge-window, shrink-window, maximize-window)
7475 (minimize-window, delete-window, quit-restore-window)
7476 (split-window, balance-windows, balance-windows-area-adjust)
7477 (balance-windows-area, window-state-put-2)
7478 (display-buffer-even-window-sizes, display-buffer-set-height)
7479 (display-buffer-set-width, set-window-text-height)
7480 (fit-window-to-buffer): Rename all "resize-window" prefixed
7481 calls to use the "window-resize" prefix convention.
7482 (display-buffer-alist): Fix symbol for label specifier.
7483 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7484 corresponding specifier.
7485 Reported by Juanma Barranquero <lekktu@gmail.com>.
7487 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7489 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7491 (ses-call-printer): Does not pass an empty string to formatter when the
7492 cell is empty to keep from barking printer Calc math-format-value.
7494 2011-06-27 Richard Stallman <rms@gnu.org>
7496 * battery.el (battery-mode-line-limit): New variable.
7497 (battery-update): Handle it.
7499 * mail/rmailmm.el (rmail-mime-process-multipart):
7500 Handle truncated messages.
7502 2011-06-27 Glenn Morris <rgm@gnu.org>
7504 * progmodes/flymake.el (flymake-err-line-patterns):
7505 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7507 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7509 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
7510 (ses--clean-!, ses--clean-_): New functions.
7511 (ses-range): Add configurability of readout order, and conversion
7514 * ses.el (ses-repair-cell-reference-all): New function.
7515 (ses-cell-symbol): Set macro as safe, so that it can be used in
7518 * ses.el: Update cycle detection algorithm.
7519 (ses-localvars): Add ses--Dijkstra-attempt-nb and
7520 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
7521 (ses-set-localvars): New function.
7522 (ses-make-cell): Add property-list as a cell element.
7523 (ses-cell-property-get-fun, ses-cell-property-get)
7524 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
7525 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7527 (ses-cell-property-set, ses-cell-property-pop)
7528 (ses-cell-property-get-handle): New macro.
7529 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7530 New aliases, used for code readability.
7531 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7533 (ses-self-reference-early-detection): New defcustom.
7534 (ses-formula-references): Robustify against self-referring cells.
7535 (ses-mode): Use ses-set-localvars.
7536 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7537 before lauching the update processing.
7538 (ses-initialize-Dijkstra-attempt): New function.
7539 (ses-recalculate-cell): Update for cycle detection based on
7542 * ses.el: Fix commenting and indenting convention.
7544 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7546 * bs.el (bs-cycle-next): Complete last change.
7548 2011-06-27 Drew Adams <drew.adams@oracle.com>
7550 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7552 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7554 * net/network-stream.el (network-stream-open-starttls):
7555 Don't re-get capabilities unless we've reestablished connection.
7556 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7558 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7559 to binary to possibly avoid line encoding issues on Windows (among
7562 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7564 * net/network-stream.el (open-network-stream): Return an :error
7565 saying what the problem was, if possible.
7567 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7570 * net/network-stream.el (network-stream-open-starttls): If we
7571 wanted to use STARTTLS, and the server offered it, but we weren't
7572 able to because we had no STARTTLS support, then close the connection.
7573 (open-network-stream): Return an :error element, if present.
7575 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
7577 * hl-line.el (hl-line-sticky-flag): Doc fix.
7578 (global-hl-line-sticky-flag): New option (Bug#8323).
7579 (global-hl-line-highlight): Obey it.
7581 * vc/vc.el (vc-revert-show-diff): Default to t.
7583 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
7585 * allout-widgets.el (allout-widgets-post-command-business):
7586 Stop decorating intermediate isearch matches. They're not being
7587 undecorated when an isearch is continued past, and isearch
7588 automatically collapses them. This leads to "widget leaks", where
7589 decorated items accumulate in collapsed areas. Lines with lots of
7590 hidden widgets can slow down cursor travel, substantially.
7591 Too much complicated machinery would be needed to ensure undecoration,
7592 so we're doing without this nicety.
7594 (allout-widgets-tally-string): Don't try to do a hash-table-count
7595 of allout-widgets-tally when it's nil. This eliminates spurious "Error
7596 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7597 *Messages* when allout-widgets-maintain-tally is t.
7599 2011-06-26 Martin Rudalics <rudalics@gmx.at>
7601 * window.el (display-buffer-normalize-argument): Rename to
7602 display-buffer-normalize-arguments. Handle special meaning of
7603 LABEL argument. Respect special-display-function when popping up
7604 a new frame. Fix code searching for a window showing the buffer
7606 (display-buffer-normalize-specifiers):
7607 Call display-buffer-normalize-arguments.
7608 (display-buffer-in-window): Don't undedicate the window if its
7609 buffer remains the same.
7610 Reported by Drew Adams <drew.adams@oracle.com>.
7611 (display-buffer-alist): Add choice for same-window macro
7613 (display-buffer): Mention special meaning of LABEL argument in
7614 doc-string. Fix quoting. Don't pop up a new frame even as
7617 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
7619 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7620 avoid deleting the current window in some cases (bug#8911).
7622 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
7624 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7627 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7629 * net/network-stream.el (network-stream-open-starttls):
7630 Use built-in TLS support if `gnutls-available-p' is true.
7631 (network-stream-open-tls): Ditto.
7633 2011-06-26 Leo Liu <sdl.web@gmail.com>
7635 * register.el (registerv): New struct.
7636 (registerv-make): New function.
7637 (jump-to-register, describe-register-1, insert-register):
7638 Support the jump-func, print-func and insert-func slot of a registerv
7641 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
7643 * vc/vc.el (vc-revert-show-diff): New defcustom.
7644 (vc-diff-internal): New arg specifying diff buffer.
7645 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
7646 reuse an existing *vc-diff* buffer (Bug#8927).
7648 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7650 2011-06-26 Glenn Morris <rgm@gnu.org>
7652 * progmodes/f90.el (f90-critical-indent): New option.
7653 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7654 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7655 (f90-mode): Doc fix.
7656 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7657 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7658 (f90-beginning-of-block, f90-next-block, f90-indent-region)
7659 (f90-match-end): Handle block, critical.
7661 2011-06-25 Glenn Morris <rgm@gnu.org>
7663 * calendar/diary-lib.el (diary-included-files): Doc fix.
7664 (diary-include-files): New function, extracted from
7665 diary-include-other-diary-files and diary-mark-included-diary-files.
7666 (diary-include-other-diary-files, diary-mark-included-diary-files):
7667 Just call diary-include-files.
7668 (diary-mark-entries): Reset diary-included-files on first call.
7670 * calendar/diary-lib.el (diary-mark-entries)
7671 (diary-mark-included-diary-files):
7672 Visit included diary-files in temp buffers.
7674 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7675 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7676 (f90-start-block-re, f90-imenu-generic-expression)
7677 (f90-looking-at-program-block-start, f90-no-block-limit):
7678 Add support for submodules.
7680 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7681 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
7683 2011-06-25 Eli Zaretskii <eliz@gnu.org>
7685 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7686 buffer-file-type before setting its value, to avoid disastrous
7687 global effects on decoding files for DOS/Windows systems. (Bug#8780)
7689 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
7691 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7693 * ses.el (ses-unload-function):
7694 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7696 * proced.el (proced-unload-function):
7697 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7699 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
7701 * server.el (server-create-window-system-frame): Add parameters arg.
7702 (server-process-filter): Doc fix. Handle frame-parameters.
7704 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
7706 Fix bug#8730, bug#8781.
7708 * loadhist.el (unload--set-major-mode): New function.
7709 (unload-feature): Use it.
7711 * progmodes/python.el (python-after-info-look): Add autoload cookie.
7712 (python-unload-function): New function.
7714 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7716 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7718 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
7720 * net/browse-url.el (browse-url-firefox-program): Add icecat to
7721 the candidates list.
7723 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
7725 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
7727 2011-06-23 Richard Stallman <rms@gnu.org>
7729 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
7730 (rmail-variables): Set next-error-move-function.
7731 (rmail-what-message): Take argument POS.
7732 (rmail-next-error-move): New function.
7734 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7736 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
7737 messages for adjacent non-terminals.
7739 2011-06-23 Richard Stallman <rms@gnu.org>
7741 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
7742 (rmail-show-message-1): Preserve buffer modified flag.
7743 (rmail-start-mail): Don't specify use of rmail-mail-return;
7744 that's done by mail-bury now.
7745 (rmail-mail-return): Handle arg NEWBUF.
7747 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
7749 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7752 2011-06-23 Martin Rudalics <rudalics@gmx.at>
7754 * window.el (get-lru-window, get-mru-window)
7755 (get-largest-window): Never return a minibuffer window.
7756 (display-buffer-pop-up-window): Fix a bug that could lead to
7757 reusing the minibuffer window.
7758 (display-buffer): Pass original specifier argument to
7759 display-buffer-function instead of the normalized one.
7760 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7762 2011-06-22 Leo Liu <sdl.web@gmail.com>
7764 * minibuffer.el (completing-read-function)
7765 (completing-read-default): Move from minibuf.c
7767 2011-06-22 Richard Stallman <rms@gnu.org>
7769 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7770 to Rmail even if not started by a special Rmail command.
7772 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7773 Copy the buffer currently showing just one message.
7775 2011-06-22 Roland Winkler <winkler@gnu.org>
7777 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
7778 (bibtex-clean-entry): First delete the old key so that a
7779 customized algorithm for generating the new key does not get
7780 confused by the old key.
7781 (bibtex-url): Obey regexp of first step.
7782 (bibtex-search-entries): Do not use add-to-list with local
7785 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7787 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
7788 stored a user name, then query for the password first, instead of
7789 waiting for SMTP to give an error message and the trying again.
7791 2011-06-22 Lawrence Mitchell <wence@gmx.li>
7793 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
7794 BUFFER in call-process.
7796 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7798 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
7800 (smtpmail-try-auth-methods): Require user name and password from
7803 2011-06-22 Martin Rudalics <rudalics@gmx.at>
7805 * window.el (display-buffer-default-specifiers)
7806 (display-buffer-alist): Remove entries for pop-up-frame-alist.
7807 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
7808 (split-window): Normalize SIDE argument (Bug#8916).
7810 * frame.el (pop-up-frame-alist, pop-up-frame-function)
7811 (special-display-frame-alist, special-display-popup-frame):
7812 Remove duplicate declarations. These are now in window.el.
7814 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7816 * mail/smtpmail.el (smtpmail-via-smtp):
7817 Set :use-starttls-if-possible so that we always use STARTTLS if the
7818 server supports it. SMTP servers that support STARTTLS commonly
7821 * net/network-stream.el (network-stream-open-starttls): Support
7822 upgrading to STARTTLS always, even if we don't have built-in support.
7823 (open-network-stream): Add the :always-query-capabilities keyword.
7825 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
7826 upgrades with `open-network-stream', and rely solely on
7827 auth-source for all credentials. Big changes throughout the file,
7829 (smtpmail-auth-credentials): Remove.
7830 (smtpmail-starttls-credentials): Remove.
7831 (smtpmail-via-smtp): Check for servers saying they want AUTH after
7834 * net/network-stream.el (network-stream-open-starttls):
7835 Provide support for client certificates both for external and built-in
7837 (auth-source): Require.
7838 (open-network-stream): Document the :client-certificate keyword.
7839 (network-stream-certificate): Change cert-cert to cert and
7842 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
7844 * net/tramp-cache.el (top): Don't load the persistency file when
7845 "emacs -Q" has been called.
7847 2011-06-21 Tim Harper <timcharper@gmail.com>
7849 * term/ns-win.el (ns-initialize-window-system):
7850 Set application-specific `ApplePressAndHoldEnabled' system
7851 resource to NO as it is not yet supported by the NS port.
7853 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
7855 * misc.el (list-dynamic-libraries--refresh): Compute header here...
7856 (list-dynamic-libraries): ...not here.
7858 2011-06-21 Leo Liu <sdl.web@gmail.com>
7860 * subr.el (sha1): Implement sha1 using secure-hash.
7862 2011-06-21 Martin Rudalics <rudalics@gmx.at>
7864 * window.el (display-buffer-alist): In default value do not
7865 enforce searching a window on any but the selected frame.
7866 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
7867 (display-buffer-select-window): Remove function.
7868 (display-buffer-in-window): When a window on another frame gets
7869 reused, do not select it any more but just raise its frame if
7870 necessary (Bug#8851) and (Bug#8856).
7871 (display-buffer-normalize-options): Handle pop-up-frames related
7872 options more faithfully.
7873 (pop-to-buffer): Don't rely on `display-buffer' selecting the
7874 window if it is on another frame.
7875 (display-buffer-alist, display-buffer-default-specifiers):
7876 Don't make new frame unsplittable by default.
7877 (display-buffer-normalize-argument): Fix doc-string typo and use
7878 'same-frame-other-window instead of 'other-window when associating
7879 with display-buffer-macro-specifiers.
7881 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
7883 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
7885 (5x5-mode-map, 5x5-mode-menu): Bind them.
7886 (5x5-draw-grid): Tweak the solver's rendering.
7888 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7890 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
7891 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
7893 2011-06-21 Drew Adams <drew.adams@oracle.com>
7895 * menu-bar.el: Use function variable instead of switch-to-buffer.
7896 (menu-bar-select-buffer-function): New variable.
7897 (menu-bar-update-buffers): Use it (bug#8876).
7899 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7901 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
7904 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
7906 * x-dnd.el (x-dnd-version-from-flags)
7907 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
7908 and long as number (Bug#8899).
7909 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
7911 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7913 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
7914 (completion-try-completion, completion-all-completions): Compute the
7915 metadata argument if it's missing; make it optional (bug#8795).
7917 * wid-edit.el: Use lex-bind and move towards completion-at-point.
7918 (widget-complete): Use new :completion-function property.
7919 (widget-completions-at-point): New function.
7920 (default): Use :completion-function instead of :complete.
7921 (widget-default-completions): Rename from widget-default-complete;
7923 (widget-string-complete, widget-file-complete, widget-color-complete):
7925 (file, symbol, function, variable, coding-system, color):
7926 * international/mule-cmds.el (default-input-method, charset)
7927 (language-info-custom-alist):
7928 * cus-edit.el (face): Use new property :completions.
7930 * progmodes/pascal.el (pascal-completions-at-point): New function.
7931 (pascal-mode): Use it.
7932 (pascal-mode-map): Use completion-at-point.
7933 (pascal-toggle-completions): Make obsolete.
7934 (pascal-complete-word, pascal-show-completions):
7935 * progmodes/octave-mod.el (octave-complete-symbol):
7936 Redefine as obsolete alias.
7937 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
7938 Signal absence of completion info for old Octave,
7939 (inferior-octave-complete): Redefine as obsolete alias.
7940 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
7941 (meta-completions-at-point): Rename from meta-complete-symbol and
7942 adapt it for use on completion-at-point-functions.
7943 (meta-common-mode): Use it.
7944 (meta-looking-at-backward, meta-match-buffer): Remove.
7945 (meta-complete-symbol): Redefine as obsolete alias.
7946 (meta-common-mode-map): Use completion-at-point.
7947 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
7948 (makefile-mode-map): Use completion-at-point.
7949 (makefile-completions-at-point): Rename from makefile-complete and
7950 adapt it for use on completion-at-point-functions.
7951 (makefile-mode): Use it.
7952 (makefile-complete): Redefine as obsolete alias.
7954 2011-06-20 Deniz Dogan <deniz@dogan.se>
7956 * net/rcirc.el: Delete trailing whitespaces once and for all.
7958 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
7960 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
7962 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
7964 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
7966 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
7968 2011-06-19 Martin Rudalics <rudalics@gmx.at>
7970 * window.el (display-buffer-other-window-means-other-frame):
7971 Call display-buffer-normalize-alist.
7972 (display-buffer-normalize-specifiers-1): Rename to
7973 display-buffer-normalize-argument. New argument other-frame.
7975 (display-buffer-normalize-specifiers-2): Rename to
7976 display-buffer-normalize-options.
7977 (display-buffer-normalize-alist-1): New function.
7978 (display-buffer-normalize-specifiers-3): Rename to
7979 display-buffer-normalize-alist.
7980 Call display-buffer-normalize-alist-1.
7981 (display-buffer-normalize-options-inhibit): New variable.
7982 (display-buffer-normalize-specifiers): Rewrite calling
7983 display-buffer-normalize-alist,
7984 display-buffer-normalize-argument, and
7985 display-buffer-normalize-options. Don't call the latter if
7986 display-buffer-normalize-options-inhibit is non-nil.
7987 (frame-auto-delete): New option.
7988 (window-deletable-p): Use frame-auto-delete.
7989 (window-list-no-nils, window-state-ignored-parameters)
7990 (window-state-get-1, window-state-get, window-state-put-list)
7991 (window-state-put-1, window-state-put-2, window-state-put):
7993 (display-buffer-normalize-options): Move special-display-p group
7994 after pop-up-frame group (Bug#8851) and (Bug#8856).
7996 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
7998 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8000 (rx-submatch-n): New function.
8003 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8006 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8008 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8010 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8011 anytime existing face settings are present (Bug#8889).
8013 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8014 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8015 Remove unused argument.
8017 2011-06-18 Martin Rudalics <rudalics@gmx.at>
8019 * window.el (display-buffer-default-specifiers):
8020 Remove pop-up-frame. Add pop-up-window-min-height,
8021 pop-up-window-min-width, and another reuse-window specifier
8022 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
8023 (display-buffer-normalize-specifiers-2):
8024 Handle split-height-threshold and split-width-threshold also when
8025 pop-up-windows is unset. Add a reuse-window specifier for the
8026 case popping up a new window fails.
8027 (special-display-popup-frame): Remove double quoting.
8028 (display-buffer-normalize-specifiers-1): Fix thinko.
8030 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8032 * shell.el (shell-completion-vars): Set pcomplete-termination-string
8033 according to comint-completion-addsuffix.
8035 * pcomplete.el: Convert to lexical binding and fix bug#8819.
8036 (pcomplete-suffix-list): Mark as obsolete.
8037 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8038 pcomplete-seen in the closure.
8039 (pcomplete-comint-setup): Setup completion-at-point as well.
8040 (pcomplete--entries): New function.
8041 (pcomplete--env-regexp): New var.
8042 (pcomplete-entries): Rewrite to work with partial-completion and
8043 without relying on pcomplete-suffix-list.
8044 (pcomplete-pare-list): Remove, unused.
8046 2011-06-17 Martin Rudalics <rudalics@gmx.at>
8048 * window.el (display-buffer-alist): Set pop-up-window-min-height
8049 and pop-up-window-min-width in default value. Reported by
8050 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
8051 other-window-means-other-frame.
8052 (display-buffer-macro-specifiers): Comment out entry for
8053 other-window specifier.
8054 (display-buffer-other-window-means-other-frame): New function.
8055 (display-buffer-normalize-specifiers-1): New arguments
8056 buffer-name and label. Treat other-window case specially.
8057 (display-buffer-normalize-specifiers-2): Treat other-window case
8059 (display-buffer-normalize-specifiers-3): New function.
8060 (display-buffer-normalize-specifiers):
8061 Call display-buffer-normalize-specifiers-3.
8063 2011-06-17 Martin Rudalics <rudalics@gmx.at>
8065 * window.el (same-window-p): Fix two typos introduced when
8066 adding with-no-warnings.
8067 (display-buffer-normalize-specifiers-1): Don't check
8068 pop-up-frames for 'unset initialization.
8069 (display-buffer-normalize-specifiers-2): Major rewrite using
8070 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8071 (pop-up-frames, display-buffer-reuse-frames)
8072 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8073 Suggested by David Engster <deng@randomsample.de>.
8074 (even-window-heights): Initialize to 'unset.
8075 (display-buffer-alist-set): Handle new 'unset initializations.
8076 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8079 2011-06-16 Martin Rudalics <rudalics@gmx.at>
8081 * window.el (display-buffer-normalize-specifiers-1):
8082 Respect current value of pop-up-frames for most reasonable values of
8083 second argument of display-buffer (Bug#8865).
8084 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8085 (switch-to-buffer-other-window-same-frame)
8086 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8088 (display-buffer): Don't check noninteractive when calling
8089 display-buffer-pop-up-frame.
8090 (display-buffer-pop-up-frame): Never pop up a frame in
8091 noninteractive mode (Bug#8857).
8092 (enlarge-window, shrink-window): Don't report an error when the
8093 window can't be resized as requested (Bug#8862).
8095 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8097 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8099 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8101 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8103 2011-06-15 Alan Mackenzie <acm@muc.de>
8105 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8106 for declarators, disable knr checking to speed up for normal files.
8107 2: Refactor, replacing a sequence of nested if forms by a cond form.
8109 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8111 * net/network-stream.el (open-network-stream): Add the keyword
8112 :always-query-capabilities for the case where you want to force a
8113 `plain' network connection, but the protocol still requires the
8114 capabilitiy command (i.e., SMTP and EHLO).
8116 * subr.el (process-live-p): Rename from `process-alive-p' for
8117 consistency with other `-live-p' functions.
8119 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8121 * window.el (same-window-buffer-names, same-window-regexps)
8122 (special-display-frame-alist, special-display-popup-frame)
8123 (special-display-function, special-display-buffer-names)
8124 (special-display-regexps, pop-up-frame-alist)
8125 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8126 (pop-up-windows, split-window-preferred-function)
8127 (split-height-threshold, split-width-threshold, even-window-heights)
8128 (display-buffer-mark-dedicated): Don't encourage the use of
8129 display-buffer-alist from Elisp code.
8131 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
8133 * progmodes/python.el (python-mode): Derive from prog-mode.
8134 * progmodes/ps-mode.el (ps-mode):
8135 * progmodes/mixal-mode.el (mixal-mode):
8136 * progmodes/cfengine.el (cfengine-mode):
8137 * progmodes/ld-script.el (ld-script-mode): Likewise.
8139 2011-06-15 Martin Rudalics <rudalics@gmx.at>
8141 * window.el (display-buffer-alist): Trim default value to avoid
8142 popping up a new frame (Bug#8857) or reusing an arbitrary window
8144 (display-buffer): Do not fall back on popping up a new frame in
8145 batch mode (Bug#8857).
8147 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
8149 * cus-theme.el (describe-theme-1): Use custom-theme-p.
8150 (custom-theme-summary): New function.
8151 (customize-themes): Use it.
8153 2011-06-13 Glenn Morris <rgm@gnu.org>
8155 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8157 2011-06-13 Martin Rudalics <rudalics@gmx.at>
8159 * help.el (help-window): Remove variable.
8160 (help-window-point-marker, temp-buffer-max-height)
8161 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8162 (help-print-return-message): Don't set help-window.
8163 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8164 (help-window-setup-finish): Remove.
8165 (help-window-display-message, help-window-setup)
8166 (with-help-window): Major rewrite based on new
8167 display-buffer-window variable.
8169 * help-mode.el (help-mode-finish): Remove help-window related
8172 * view.el (view-exits-all-viewing-windows): Remove reference to
8173 view-return-to-alist in doc-string.
8174 (view-return-to-alist): Make obsolete.
8175 (view-buffer): Call pop-to-buffer-same-window and remove
8177 (view-buffer-other-window): Call pop-to-buffer-other-window and
8178 simplify code. Ignore second argument.
8179 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8180 simplify code. Ignore second argument.
8181 (view-return-to-alist-update): Make obsolete.
8182 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8183 Rewrite using quit-restore window parameters.
8184 (view-mode-exit): Rename second argument to EXIT-ONLY.
8185 Rewrite using quit-restore-window.
8186 (View-exit, View-exit-and-edit, View-leave, View-quit)
8187 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8188 appropriate arguments.
8189 (view-end-message): Use quit-restore window parameter.
8191 * window.el (display-buffer-function): Rewrite doc-string.
8192 (display-buffer-window, display-buffer-alist): New variables.
8193 (display-buffer-split-specifiers)
8194 (display-buffer-side-specifiers)
8195 (display-buffer-macro-specifiers): New constants.
8196 (display-buffer-even-window-sizes, display-buffer-set-height)
8197 (display-buffer-set-width, display-buffer-select-window)
8198 (display-buffer-in-window, display-buffer-reuse-window)
8199 (display-buffer-split-window-1, display-buffer-split-window)
8200 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8201 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8202 (display-buffer-in-side-window, normalize-buffer-to-display)
8203 (display-buffer-normalize-specifiers-1)
8204 (display-buffer-normalize-specifiers-2)
8205 (display-buffer-normalize-specifiers, display-buffer-frame):
8207 (display-buffer): Major rewrite.
8208 (display-buffer-other-window, display-buffer-other-frame)
8209 (pop-to-buffer, switch-to-buffer-other-window)
8210 (switch-to-buffer-other-frame): Rewrite.
8211 (display-buffer-same-window, display-buffer-same-frame)
8212 (display-buffer-same-frame-other-window)
8213 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8214 (pop-to-buffer-other-window)
8215 (pop-to-buffer-same-frame-other-window)
8216 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8217 (switch-to-buffer-other-window-same-frame): New functions.
8218 (same-window-p, special-display-p): Rewrite disabling warnings.
8220 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8221 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8223 (same-window-buffer-names, same-window-regexps)
8224 (special-display-frame-alist, special-display-popup-frame)
8225 (special-display-function, special-display-buffer-names)
8226 (special-display-regexps, pop-up-frame-alist)
8227 (pop-up-frame-function, split-window-preferred-function)
8228 (split-height-threshold, split-width-threshold)
8229 (even-window-heights): Make obsolete.
8231 2011-06-12 Glenn Morris <rgm@gnu.org>
8233 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
8234 Misc simplifications.
8236 2011-06-12 Martin Rudalics <rudalics@gmx.at>
8238 * window.el (window-safely-shrinkable-p): Restore function which
8239 was inadvertently removed in change from 2011-06-11. Declare as
8242 * calendar/calendar.el (calendar-generate-window):
8243 Use window-iso-combined-p instead of combination of one-window-p and
8244 window-safely-shrinkable-p.
8246 2011-06-12 Glenn Morris <rgm@gnu.org>
8248 * progmodes/fortran.el (fortran-mode-syntax-table):
8249 * progmodes/f90.el (f90-mode-syntax-table):
8250 Set % to punctuation. (Bug#8820)
8251 (f90-find-tag-default): Remove, no longer needed.
8253 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8255 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8257 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
8259 * image.el (image-animated-p): Return animation delay in seconds.
8260 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8261 (image-animate-timeout): Remove DELAY argument. Don't assume
8262 every subimage has the same delay; get it from image-animated-p.
8263 (image-animate): Caller changed.
8265 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
8267 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8268 to ignored backtrace functions.
8270 2011-06-11 Glenn Morris <rgm@gnu.org>
8272 * calendar/appt.el (appt-disp-window-function): Doc fix.
8273 (appt-check): Handle overlapping appointments. (Bug#8337)
8275 2011-06-11 Martin Rudalics <rudalics@gmx.at>
8277 * window.el (window-tree-1, window-tree): New functions, moving
8278 the latter to window.el.
8279 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8280 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8281 (bw-refresh-edges): Remove.
8282 (balance-windows-1, balance-windows-2): New functions.
8283 (balance-windows): Rewrite in terms of window tree functions,
8284 balance-windows-1 and balance-windows-2.
8285 (bw-adjust-window): Remove.
8286 (balance-windows-area-adjust): New function with functionality of
8287 bw-adjust-window but using resize-window.
8288 (set-window-text-height): Rewrite doc-string.
8289 Use normalize-live-window and resize-window.
8290 (enlarge-window-horizontally, shrink-window-horizontally):
8291 Rename argument to DELTA.
8292 (window-buffer-height): New function.
8293 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8294 Rewrite using new window resize routines.
8295 (kill-buffer-and-window, mouse-autoselect-window-select):
8296 Use ignore-errors instead of condition-case.
8297 (quit-window): Call delete-frame instead of delete-windows-on
8298 for the only buffer on frame.
8300 2011-06-10 Martin Rudalics <rudalics@gmx.at>
8302 * loadup.el (top-level): Load window before files for the sake
8303 of replace-buffer-in-windows.
8305 * files.el (read-buffer-to-switch)
8306 (switch-to-buffer-other-window)
8307 (switch-to-buffer-other-frame, display-buffer-other-frame):
8310 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8311 (previous-buffer): Move to window.el.
8313 * bindings.el (unbury-buffer): Move to window.el.
8315 * window.el (delete-other-windows-vertically): Move after
8316 definition of delete-other-windows.
8317 (other-window, delete-windows-on, replace-buffer-in-windows):
8318 Move here from window.c.
8319 (record-window-buffer, unrecord-window-buffer)
8320 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8321 (switch-to-next-buffer): New functions.
8322 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8323 from simple.el. Call switch-to-next-buffer.
8324 (previous-buffer): Move here from simple.el.
8325 Call switch-to-prev-buffer.
8326 (bury-buffer): Move here from buffer.c. Switch to previous
8327 buffer when window cannot be deleted.
8328 (unbury-buffer): Move here from bindings.el.
8329 (ctl-x-map): Move binding for other-window from window.c to
8331 (read-buffer-to-switch, switch-to-buffer-other-window)
8332 (switch-to-buffer-other-frame): Move here from files.el.
8333 (normalize-buffer-to-switch-to): New functions.
8334 (switch-to-buffer): Move here from buffer.c.
8335 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
8337 2011-06-10 Martin Rudalics <rudalics@gmx.at>
8339 * window.el (window-min-height, window-min-width): Move here
8340 from window.c. Add defcustoms and rewrite doc-strings.
8341 (resize-mini-window, resize-window): New functions.
8342 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8343 Move here from window.c.
8344 (maximize-window, minimize-window): New functions.
8345 (delete-window, delete-other-windows, split-window): Move here
8347 (window-split-min-size): New function.
8348 (split-window-keep-point): Mention split-window-above-each-other
8349 instead of split-window-vertically.
8350 (split-window-above-each-other, split-window-vertically):
8351 Rename split-window-vertically to split-window-above-each-other
8352 and provide defalias for old definition.
8353 (split-window-side-by-side, split-window-horizontally):
8354 Rename split-window-horizontally to split-window-side-by-side
8355 and provide defalias for the old definition.
8356 (ctl-x-map): Move bindings for delete-window,
8357 delete-other-windows and enlarge-window here from window.c.
8358 Replace bindings for split-window-vertically and
8359 split-window-horizontally by bindings for
8360 split-window-above-each-other and split-window-side-by-side.
8362 * cus-start.el (all): Remove entries for window-min-height and
8363 window-min-width. Add entries for window-splits and
8366 2011-06-09 Glenn Morris <rgm@gnu.org>
8368 * calendar/appt.el (appt-mode-line): New function.
8369 (appt-check, appt-disp-window): Use it.
8371 * files.el (hack-one-local-variable-eval-safep):
8372 Allow minor-modes with explicit +/-1 arguments.
8374 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8376 * term/xterm.el (xterm): Add defgroup.
8377 (xterm-extra-capabilities): Add defcustom to supply known xterm
8378 capabilities, skip querying them, or query them (default).
8379 (terminal-init-xterm): Use it.
8380 (terminal-init-xterm-modify-other-keys): New function to set up
8381 modifyOtherKeys support to simplify `terminal-init-xterm'.
8383 2011-06-09 Martin Rudalics <rudalics@gmx.at>
8385 * window.el (resize-window-reset, resize-window-reset-1)
8386 (resize-subwindows-skip-p, resize-subwindows-normal)
8387 (resize-subwindows, resize-other-windows, resize-this-window)
8388 (resize-root-window, resize-root-window-vertically)
8389 (window-deletable-p, window-or-subwindow-p)
8390 (frame-root-window-p): New functions.
8392 2011-06-09 Glenn Morris <rgm@gnu.org>
8394 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8395 (ange-ftp-get-files): Use it.
8397 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8399 * mail/sendmail.el (mail-recover-1, mail-recover):
8400 * files.el (recover-file, recover-session):
8401 Handle dired-listing-switches not being just a single short option.
8403 2011-06-09 Glenn Morris <rgm@gnu.org>
8405 * calendar/appt.el (appt-display-message, appt-disp-window):
8406 Handle lists of appointments.
8408 2011-06-08 Martin Rudalics <rudalics@gmx.at>
8410 * window.el (one-window-p): Move down in code.
8412 (window-current-scroll-bars): Rewrite doc-string.
8413 Normalize live window argument.
8414 (walk-windows, get-window-with-predicate, count-windows):
8415 Rewrite doc-string. Use window-list-1.
8416 (window-in-direction-2, window-in-direction, get-mru-window):
8419 2011-06-08 Reuben Thomas <rrt@sc3d.org>
8421 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8424 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
8426 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8428 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
8430 * loadhist.el (unload-feature-special-hooks):
8431 Add `comint-output-filter-functions'.
8433 2011-06-08 Ivan Kanis <gnu@kanis.fr>
8435 * calendar/appt.el (appt-check): Move some initializations into the let.
8437 2011-06-08 Martin Rudalics <rudalics@gmx.at>
8439 * window.el (window-height): Defalias to window-total-height.
8440 (window-width): Defalias to window-body-width.
8442 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
8444 * image-mode.el (image-toggle-animation): New command.
8445 (image-mode-map): Bind it to RET.
8446 (image-mode): Update message.
8447 (image-toggle-display-image): Avoid a spurious cache flush.
8448 (image-transform-rotation): Doc fix.
8449 (image-transform-properties): Return quickly in the normal case.
8450 (image-animate-loop): Rename from image-animate-max-time.
8452 * image.el (image-animate-max-time): Move to image-mode.el.
8453 (create-animated-image): Remove unnecessary function.
8454 (image-animate): Rename from image-animate-start. New arg.
8455 (image-animate-stop): Remove; just use image-animate-timer.
8456 (image-animate-timer): Use car-safe.
8457 (image-animate-timeout): Rename argument.
8459 2011-06-07 Martin Rudalics <rudalics@gmx.at>
8461 * window.el (get-lru-window, get-largest-window): Move here from
8462 window.c. Rename first argument to ALL-FRAMES.
8463 Rephrase doc-strings.
8464 (get-buffer-window-list): Rewrite using window-list-1.
8465 Rephrase doc-string.
8466 (window-safe-min-height, window-safe-min-width): New constants.
8467 (window-size-ignore, window-min-size, window-min-size-1)
8468 (window-sizable, window-sizable-p, window-size-fixed-1)
8469 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8470 (window-max-delta-1, window-max-delta, window-resizable)
8471 (window-resizable-p, window-total-height, window-total-width)
8472 (window-body-width): New functions.
8473 (window-full-height-p, window-full-width-p): Rewrite using
8475 (window-body-height): Rewrite using window-body-size.
8477 2011-06-06 Martin Rudalics <rudalics@gmx.at>
8479 * window.el (window-right, window-left, window-child)
8480 (window-child-count, window-last-child, window-any-p)
8481 (normalize-live-buffer, normalize-live-frame)
8482 (normalize-any-window, normalize-live-window)
8483 (window-iso-combination-p, window-iso-combined-p)
8484 (window-iso-combinations)
8485 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8486 (windows-with-parameter, window-with-parameter)
8487 (window-atom-root, make-window-atom, window-atom-check-1)
8488 (window-atom-check, window-side-check, window-check):
8490 (ignore-window-parameters, window-sides, window-sides-vertical)
8491 (window-sides-slots): New variables.
8492 (window-size-fixed): Move down in code. Minor doc-string fix.
8494 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8496 * comint.el (comint-dynamic-complete-as-filename)
8497 (comint-dynamic-complete-filename): Correctly call
8498 completion-in-region.
8500 2011-06-05 Deniz Dogan <deniz@dogan.se>
8502 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8505 2011-06-05 Deniz Dogan <deniz@dogan.se>
8507 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8508 (rcirc): Use it to prompt for encryption.
8510 2011-06-05 Roland Winkler <winkler@gnu.org>
8512 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8513 (bibtex-search-entries): New command bound to C-c C-a.
8514 (bibtex-display-entries): New function.
8516 2011-06-05 Roland Winkler <winkler@gnu.org>
8518 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8519 (bibtex-insert-kill): After yanking insert newline if necessary.
8520 (bibtex-initialize): Call bibtex-string-files-init only once.
8521 (bibtex-mode): Do not call easy-menu-add.
8522 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8523 (bibtex-yank): Set arg properly if nil.
8525 2011-06-05 Roland Winkler <winkler@gnu.org>
8527 * textmodes/bibtex.el (bibtex-search-entry-globally):
8529 (bibtex-search-entry): Use it.
8531 2011-06-05 Roland Winkler <winkler@gnu.org>
8533 * textmodes/bibtex.el (bibtex-entry-format): New option
8535 (bibtex-format-entry, bibtex-reformat): Honor this option.
8536 (bibtex-parse-entry): Return fields in proper order.
8538 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
8540 * doc-view.el (doc-view-remove-if): Move computation of result out
8541 of `dolist' to silence misleading lexical-binding warning.
8543 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
8545 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8546 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8548 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
8550 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8553 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
8555 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8556 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8557 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8558 (tramp-parse-putty):
8559 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8560 (tramp-completion-function-alist-ssh)
8561 (tramp-completion-function-alist-telnet)
8562 (tramp-completion-function-alist-su)
8563 (tramp-completion-function-alist-putty): Set `tramp-autoload'
8568 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8569 load "tramp.el" `tramp-set-completion-function'.
8571 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8573 * shell.el: Require and use pcomplete.
8574 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8575 (shell-completion-vars): Set pcomplete-default-completion-function.
8577 2011-06-04 Deniz Dogan <deniz@dogan.se>
8579 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8582 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8584 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8586 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
8588 * bs.el (bs--mark-unmark, bs--nth-wrapper):
8589 * mpc.el (mpc-select-extend, mpc-songpointer-context):
8590 * vc/log-view.el (log-view-beginning-of-defun):
8591 * vc/smerge-mode.el (smerge-apply-resolution-patch)
8592 (smerge-refine-forward, smerge-refine-chopup-region):
8593 Silence warning for unused `dotimes' counter variables.
8595 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8597 * net/tramp.el (tramp-with-progress-reporter): Rename from
8598 with-progress-reporter. Use `declare'.
8601 * net/tramp-gvfs.el: Update all uses.
8603 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
8605 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8606 buffer isn't killed before making it current.
8608 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8610 Silence various byte-compiler warnings.
8611 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8612 `access-type' and new obsolescence format.
8613 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8615 (byte-compile-check-variable): New `access-type' argument.
8616 Only warn if the access-type is obsolete.
8617 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8618 (byte-compile-variable-set): Adjust callers.
8619 * help-fns.el (describe-variable): Adjust to new obsolescence format.
8620 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8621 setting it as obsolete.
8622 * simple.el (minibuffer-completing-symbol):
8623 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8625 * minibuffer.el (minibuffer-completing-file-name): Don't make it
8627 * international/quail.el (quail-mouse-choose-completion): Remove unused
8628 code referring to obsolete var.
8629 (quail-choose-completion-string): Remove.
8630 * server.el (server-clients-with, server-kill-buffer-query-function)
8631 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8632 * proced.el (proced-send-signal):
8633 * emacs-lisp/lisp.el (lisp-complete-symbol):
8634 Replace completion-annotate-function with completion-extra-properties.
8636 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8638 * simple.el (goto-line): Use read-number.
8639 (overriding-map-is-bound): Remove.
8640 (saved-overriding-map): Change default.
8641 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8642 Take the map as argument.
8643 (universal-argument, negative-argument, digit-argument): Use it.
8644 (restore-overriding-map): Adjust.
8645 (do-auto-fill): Use fill-forward-paragraph.
8646 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8648 * minibuffer.el (minibuffer-inactive-mode-map): New var.
8649 (minibuffer-inactive-mode): New major mode.
8650 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8651 the *Messages* buffer" hack.
8652 (mouse-popup-menubar): Don't burp if the event is a normal key.
8654 Miscellaneous tweaks.
8655 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8656 lexical scoping as in subr.el's dolist and dotimes.
8657 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8658 Silence compiler warning.
8659 * thingatpt.el (forward-whitespace): Trivial coding style fix.
8660 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8661 * international/ccl.el (ccl-compile): Trivial simplification.
8662 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8663 * emacs-lisp/testcover.el (testcover-end): Remove spurious
8664 `printflag' argument.
8665 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8666 Purecopy the whole obsolescence data.
8668 2011-06-01 Leo Liu <sdl.web@gmail.com>
8670 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8671 improve doc-string as suggested by Marco Pessotto
8672 <melmothx@gmail.com>.
8673 (rcirc-print): Fix last change.
8675 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8677 * minibuffer.el (complete-with-action): Return nil for the metadata and
8678 boundaries of non-functional tables.
8679 (completion-table-dynamic): Return nil for the metadata.
8680 (completion-table-with-terminator): Add default case, using
8681 complete-with-action.
8682 (completion--metadata): New function.
8683 (completion-all-sorted-completions, minibuffer-completion-help): Use it
8684 to try and avoid pathological performance problems.
8685 (completion--embedded-envvar-table): Return `category' metadata.
8687 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
8689 * subr.el (process-alive-p): New tiny convenience function.
8691 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8693 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8694 content but also its previous major mode.
8696 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
8698 * emacs-lisp/debug.el (debug): Restore the previous content of the
8699 *Backtrace* buffer when we exit with C-M-c.
8701 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8703 * minibuffer.el: Add metadata method to completion tables.
8704 (completion-category-overrides): New defcustom.
8705 (completion-metadata, completion--field-metadata)
8706 (completion-metadata-get, completion--styles)
8707 (completion--cycle-threshold): New functions.
8708 (completion-try-completion, completion-all-completions):
8709 Add `metadata' argument to choose completion-styles.
8710 (completion--do-completion): Use metadata to choose cycling.
8711 (completion-all-sorted-completions): Use metadata for sorting.
8712 Remove :completion-cycle-penalty which is not needed any more.
8713 (completion--try-word-completion): Add `metadata' argument.
8714 (minibuffer-completion-help): Check metadata for annotation function
8716 (completion-file-name-table): Return `category' metadata.
8717 (minibuffer-completing-file-name): Make obsolete.
8718 * simple.el (minibuffer-completing-symbol): Make obsolete.
8719 * icomplete.el (icomplete-completions): Pass new `metadata' param to
8720 completion-try-completion.
8722 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8724 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
8726 2011-05-30 Leo Liu <sdl.web@gmail.com>
8728 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
8729 (rcirc-print): Decode all incoming messages (bug#8744).
8730 (rcirc-decode-coding-system): Allow value nil for automatic coding
8733 2011-06-01 Glenn Morris <rgm@gnu.org>
8735 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
8737 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
8739 * image.el (image-animate-max-time): Allow nil and t values.
8741 (create-animated-image): Doc fix.
8742 (image-animate-start): Remove second arg; just use
8743 image-animate-max-time.
8744 (image-animate-timeout): Doc fix. Args changed.
8746 * image-mode.el (image-toggle-display-image): Ensure that the
8747 image spec passed to the animate timer is the same object as in
8748 the buffer's display property (Bug#6981).
8749 (image-transform-properties): Doc fix.
8751 * image.el (image-animate-max-time): Default to nil.
8753 2011-05-29 Martin Rudalics <rudalics@gmx.at>
8755 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8756 entire buffer list (Bug#8184).
8758 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
8760 * image.el (imagemagick-types-inhibit)
8761 (imagemagick-register-types): Doc fix.
8763 2011-05-29 Deniz Dogan <deniz@dogan.se>
8765 * net/rcirc.el (rcirc): Use the user's stored encryption method by
8768 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
8770 * select.el: Don't perform clipboard-manager saving in hooks;
8771 leave the hooks empty.
8773 2011-05-28 Leo Liu <sdl.web@gmail.com>
8775 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8776 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
8777 (occur-edit-mode): New major mode (Bug#8463).
8778 (occur-after-change-function): New function.
8779 (occur-engine): Give Occur tags a read-only property.
8781 2011-05-28 Kevin Ryde <user42@zip.com.au>
8783 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
8785 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
8787 * bindings.el (help-echo): Make the initial non-indicator dash
8788 empty on graphical terminals (Bug#7295).
8790 * files.el (auto-mode-alist): Move config rule after the
8791 in-stripping one (Bug#8547).
8793 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
8795 * startup.el (normal-splash-screen): Remove gratuitous mode-line
8798 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
8800 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
8801 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
8804 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
8806 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
8808 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
8810 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8811 (hs-hide-block-at-point, hs-find-block-beginning)
8812 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
8815 2011-05-28 Glenn Morris <rgm@gnu.org>
8817 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
8819 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
8821 * help-fns.el (describe-function-1): If the function is a derived
8822 major mode, print the parent mode.
8824 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
8825 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
8827 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8829 * minibuffer.el (completion--capf-wrapper): Check applicability before
8830 returning non-nil for non-exclusive completion data.
8831 * progmodes/etags.el (tags-completion-at-point-function):
8832 * info-look.el (info-lookup-completions-at-point): Mark as
8834 (info-complete): Adjust accordingly.
8836 * info-look.el: Convert to lexical-binding and completion-at-point.
8837 (info-lookup-completions-at-point): New function.
8838 (info-complete): Use it and completion-in-region.
8840 2011-05-28 Drew Adams <drew.adams@oracle.com>
8842 * isearch.el: Let M-e start with point at the first mismatched char.
8843 (isearch-fail-pos): New function.
8844 (isearch-edit-string): Use it.
8846 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8848 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8850 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
8852 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
8853 traversal functions for avl-trees.
8854 (avl-tree--stack): New struct.
8855 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
8856 (avl-tree-enter): Add optional `updatefun' arg.
8857 (avl-tree--do-enter): Add optional `updatefun' arg.
8858 Change return value.
8859 (avl-tree-delete): Add optional `test' and `nilflag' args.
8860 (avl-tree--do-delete): Add `test' and `nilflag' args.
8861 Change return value.
8862 (avl-tree-member): Add optional `nilflag'
8863 (avl-tree-member-p): New function.
8864 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
8865 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
8866 (avl-tree-stack-empty-p): New functions.
8868 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
8869 avl-tree--del-balance1 and make it work both ways.
8870 (avl-tree--del-balance2): Remove.
8871 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
8872 make it work both ways.
8873 (avl-tree--enter-balance2): Remove.
8874 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
8876 (avl-tree--mapc, avl-tree-map): Add direction argument.
8878 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
8880 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
8882 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
8884 * select.el: Support clipboard managers with built-in function
8885 x-clipboard-manager-save, via delete-frame-functions and
8887 (xselect-convert-to-targets): Add MULTIPLE target to list.
8888 (xselect-convert-to-save-targets): New function.
8890 2011-05-27 Kenichi Handa <handa@m17n.org>
8892 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
8893 let-binding rfc2047-encode-encoded-words to nil.
8895 2011-05-27 Glenn Morris <rgm@gnu.org>
8897 * mail/emacsbug.el: Don't require url-util.
8899 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
8901 * files.el (set-auto-mode):
8902 Also respect mode: entries at the end of the file. (Bug#8586)
8904 2011-05-26 Glenn Morris <rgm@gnu.org>
8906 * files.el (hack-local-variables-prop-line, hack-local-variables):
8907 Downcase mode names, as seems to be traditional.
8908 (hack-local-variables, hack-local-variables-apply): Doc fixes.
8910 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
8911 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
8913 2011-05-25 Julien Danjou <julien@danjou.info>
8915 * textmodes/rst.el (rst-define-level-faces): Do not define face
8916 symbol if it is already defined.
8918 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
8920 * play/5x5.el (5x5-new-game, 5x5-randomize):
8921 Reset 5x5-solver-output to nil when a new grid is cast.
8922 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
8923 these debugging traces, as defmacro breaks the compiled code.
8925 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8927 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8929 2011-05-24 Leo Liu <sdl.web@gmail.com>
8931 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
8932 (vc-bzr-sha1): Adapt.
8934 * sha1.el: Remove. Function `sha1' is now builtin.
8936 * bindings.el: Provide sha1 feature.
8938 2011-05-24 Kenichi Handa <handa@m17n.org>
8940 * mail/sendmail.el: Require `rfc2047'.
8941 (mail-insert-from-field): Do not perform RFC2047 encoding.
8942 (mail-encode-header): New function.
8943 (sendmail-send-it): Set buffer-file-coding-system of the work
8944 buffer to the return value of select-message-coding-system.
8945 Call mail-encode-header.
8947 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
8949 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
8951 * mail/supercite.el (sc-default-cite-frame):
8952 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
8954 2011-05-24 Glenn Morris <rgm@gnu.org>
8956 * progmodes/python.el (brm-menu): Declare.
8958 * emulation/viper.el (viper-set-hooks): Declare.
8960 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
8961 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
8962 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
8963 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
8964 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
8965 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
8967 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8969 Add an :exit-function for completion-at-point.
8971 * minibuffer.el (completion--done): New fun.
8972 (completion--do-completion): Use it. New arg `expect-exact'.
8973 (minibuffer-complete, minibuffer-complete-word): Don't output message,
8974 since completion--do-completion does it for us now.
8975 (minibuffer-force-complete): Use completion--done and
8976 completion--replace. Handle sole-completion case with more care.
8977 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
8978 (completion-extra-properties): New var.
8979 (completion-annotate-function): Make obsolete.
8980 (minibuffer-completion-help): Adjust accordingly.
8981 Use completion-list-insert-choice-function.
8982 (completion-at-point, completion-help-at-point):
8983 Bind completion-extra-properties.
8984 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
8985 * simple.el (completion-list-insert-choice-function): New var.
8986 (completion-setup-function): Preserve it.
8987 (choose-completion): Pay attention to it, shuffle the code a bit.
8988 (choose-completion-string): New arg `insert-function'.
8990 * textmodes/bibtex.el: Convert to lexical binding.
8991 (bibtex-mode-map): Use completion-at-point.
8992 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
8993 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
8994 (bibtex-complete): Define as obsolete alias.
8995 (bibtex-complete-internal): Remove.
8996 (bibtex-format-entry): Remove unused sub-group in regexp.
8997 * shell.el (shell--command-completion-data)
8998 (shell-environment-variable-completion):
8999 * pcomplete.el (pcomplete-completions-at-point):
9000 * comint.el (comint--complete-file-name-data): Use :exit-function
9001 instead of completion-table-with-terminator so it also works for
9004 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9006 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9008 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9011 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9013 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9015 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9016 customization variable and implement: If non-nil, auto-fill will
9017 be inhibited while on topic's header line.
9019 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
9021 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
9022 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
9023 always have a solution in grid size = 5 cases.
9024 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9025 (5x5-solver-output, 5x5-log-buffer): New vars.
9026 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9027 Make these variables buffer local to achieve 5x5 multi-session-ness.
9028 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9029 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9030 (5x5-solve-suggest): New funs.
9031 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9032 randomize a grid so that we ensure that there is always a solution.
9033 (5x5-make-random-grid): Allow other movement than flipping.
9035 2011-05-23 Kevin Ryde <user42@zip.com.au>
9037 * emacs-lisp/advice.el (ad-read-advised-function):
9038 Use `function-called-at-point' as the default, if it has
9039 advice and passes PREDICATE.
9041 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9043 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9044 byte-compile-lambda if it's actually a lambda.
9046 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9047 Fix function quoting. Use backquote better.
9049 2011-05-22 Yuanle Song <sylecn@gmail.com>
9051 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9052 matching (Bug#8516).
9054 2011-01-22 Jari Aalto <jari.aalto@cante.net>
9056 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9057 different face (Bug#8178).
9059 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
9061 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9064 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9066 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9067 funcall as well (bug#8712). Warn when performing those conversions.
9068 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9070 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9072 2011-05-22 Glenn Morris <rgm@gnu.org>
9074 * files.el (hack-local-variables-prop-line): Small simplifications.
9075 (hack-local-variables, hack-local-variables-prop-line):
9076 If MODE-ONLY, return the mode, rather than just `t'.
9078 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9080 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9082 2011-05-21 Glenn Morris <rgm@gnu.org>
9084 * files.el (hack-local-variables-prop-line, hack-local-variables):
9085 If only interested in the mode, don't bother doing the other stuff.
9087 * image-mode.el (image-after-revert-hook):
9088 Redraw all frames on which the image is visible. (Bug#8567)
9090 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9092 * wid-edit.el (widget-checklist-match-inline):
9093 Fix 2011-04-19 change. (Bug#8649)
9095 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9097 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9098 Also allow singlespace after single-letter capitals followed by a dot.
9100 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9101 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9103 2011-05-20 Nix <nix@esperi.org.uk>
9105 * files.el (basic-save-buffer-2):
9106 Fix handling of break-hardlink-on-save with non-existent files.
9108 2011-05-19 Deniz Dogan <deniz@dogan.se>
9110 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9111 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
9113 2011-05-19 Glenn Morris <rgm@gnu.org>
9115 * progmodes/f90.el (f90-type-def-re):
9116 Handle "type, bind(c)". (Bug#8691)
9118 * emacs-lisp/autoload.el (batch-update-autoloads):
9119 Set autoload-excludes by parsing loadup.el rather than Makefiles.
9121 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
9123 * net/tramp.el (tramp-process-actions): Set "first-password-request"
9124 property for the correct connection in case of multihops.
9126 2011-05-18 Glenn Morris <rgm@gnu.org>
9128 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
9129 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9131 Rationalize calendar handling of day and month abbrev-arrays.
9132 * calendar/calendar.el (calendar-customized-p): New function.
9133 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9134 (calendar-day-name-array, calendar-month-name-array): Doc fix.
9136 (calendar-abbrev-length, calendar-day-abbrev-array)
9137 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9138 (calendar-day-abbrev-array, calendar-month-abbrev-array):
9139 Elements may no longer be nil.
9140 (calendar-day-name, calendar-month-name):
9141 Update for changed nature of abbrev arrays.
9142 * calendar/diary-lib.el (diary-name-pattern):
9143 Update for changed nature of abbrev arrays.
9144 (diary-mark-entries-1): Update calendar-make-alist calls.
9145 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9146 * calendar/cal-html.el (cal-html-day-abbrev-array):
9147 Simply inherit from calendar-day-abbrev-array.
9149 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9151 * progmodes/grep.el (grep-mode): Disable default
9152 compilation-directory-matcher setting (bug#8684).
9154 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
9156 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9157 instead of "head" and "tail". There were problems with SunOS 5.9,
9158 and it performs better.
9160 2011-05-17 Glenn Morris <rgm@gnu.org>
9162 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9164 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9165 Replace obsolete function.
9167 * shell.el (pcomplete-parse-arguments-function): Declare.
9169 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9170 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9171 (appt-check): Doc fixes.
9172 (appt-disp-window-function, appt-delete-window-function):
9173 Remove needless special case in custom :type.
9174 (appt-display-count): Default to 0, not nil.
9175 (appt-check): Reset appt-display-count to 0, not nil.
9177 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
9179 * progmodes/python.el (python-font-lock-keywords):
9180 Add the Python 3.X keyword "nonlocal" (bug#8639).
9182 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9184 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9186 2011-05-16 Kevin Ryde <user42@zip.com.au>
9188 * info-look.el (makefile-automake-mode): New setups, looking in
9189 automake manual, then makefile-mode.
9190 (makefile-mode): Remove automake manual, have it just in
9191 makefile-automake-mode since there's various things different or
9192 not relevant to plain make.
9193 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9194 believe a hypothetical automake-mode would go to makefile-mode,
9195 not the other way around.
9197 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
9199 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9200 hunk-end tags (Bug#8672).
9202 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9203 vc-annotate-show-diff-revision-at-line (Bug#8671).
9205 2011-05-14 Glenn Morris <rgm@gnu.org>
9207 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9208 in the middle of an existing one with multiple authors. (Bug#8645)
9209 (change-log-font-lock-keywords): Also handle multiple author lines
9210 with leading tabs. (Bug#8644)
9212 * calendar/appt.el (appt-check): Rename some local variables.
9213 Some simplification/reordering.
9215 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9216 (feedmail-sendmail-f-doesnt-sell-me-out)
9217 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9218 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9219 (feedmail-queue-runner-message-sender): Set :version.
9220 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9221 (bbdb-dwim-net-address, vm-mail): Declare.
9222 (feedmail-binmail-gnulinuxish-template):
9223 Rename from feedmail-binmail-linuxish-template.
9224 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9225 Use insert-buffer-substring.
9227 2011-05-14 Bill Carpenter <bill@carpenter.org>
9229 * mail/feedmail.el (feedmail-patch-level): Increase.
9230 (feedmail-debug): New custom group.
9231 (feedmail-confirm-outgoing-timeout)
9232 (feedmail-sendmail-f-doesnt-sell-me-out)
9233 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9234 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9235 (feedmail-sender-line, feedmail-from-line)
9236 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
9237 (feedmail-spray-this-address)
9238 (feedmail-spray-address-fiddle-plex-list)
9239 (feedmail-queue-use-send-time-for-date)
9240 (feedmail-queue-use-send-time-for-message-id)
9241 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9242 (feedmail-buffer-eating-function):
9244 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9245 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9246 (feedmail-message-action-scroll-down): New functions.
9247 (feedmail-queue-directory, feedmail-queue-draft-directory):
9248 Use expand-file-name.
9249 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9250 Remove C-v help entry.
9251 (feedmail-queue-buffer-file-name): New variable.
9252 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9253 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9254 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9255 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9256 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9257 (feedmail-message-action-toggle-spray)
9258 (feedmail-run-the-queue-no-prompts)
9259 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9260 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9261 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9262 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9263 (feedmail-envelope-deducer, feedmail-fiddle-from)
9264 (feedmail-fiddle-sender, feedmail-default-date-generator)
9265 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9266 (feedmail-fiddle-spray-address)
9267 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9268 (feedmail-fiddle-list-of-fiddle-plexes)
9269 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9270 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9271 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9272 Change default. Doc fix.
9273 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9274 (feedmail-binmail-linuxish-template): New constant.
9275 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9276 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9277 (feedmail-send-it): Add debug call.
9278 Use feedmail-queue-buffer-file-name, and
9279 feedmail-send-it-immediately-wrapper.
9280 (feedmail-message-action-send): Add debug call.
9281 Use feedmail-send-it-immediately-wrapper.
9282 (feedmail-queue-express-to-queue): Add debug call.
9283 Run feedmail-queue-express-hook.
9284 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9285 (feedmail-message-action-help-blat):
9286 Rename from feedmail-queue-send-edit-prompt-help-first.
9287 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9288 Check line-endings. Handle errors better.
9289 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9290 Doc fix. Add debug call.
9291 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9292 Use feedmail-queue-send-edit-prompt-inner.
9293 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9294 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9295 from feedmail-queue-send-edit-prompt.
9296 (feedmail-queue-send-edit-prompt-help)
9297 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9298 (feedmail-tidy-up-slug): Add debug call.
9299 Respect feedmail-queue-slug-suspect-regexp.
9300 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9301 (feedmail-dump-message-to-queue): Add debug call.
9302 Expand queue-directory.
9303 (feedmail-dump-message-to-queue): Change message slightly.
9304 Use feedmail-say-chatter.
9305 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9306 (feedmail-send-it-immediately-wrapper): New function.
9307 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9308 Insert empty string rather than newline. Handle full-frame case.
9309 Use catch/throw. Use feedmail-say-chatter.
9310 (feedmail-fiddle-from): Try mail-host-address.
9311 (feedmail-default-message-id-generator): Doc fix.
9312 Bind system-time-locale. Handle missing end.
9313 (feedmail-fiddle-x-mailer): Add debug call.
9314 Handle feedmail-x-mailer-line being nil.
9315 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9316 Add debug call. Use buffer-substring-no-properties.
9317 (feedmail-say-debug, feedmail-say-chatter): New functions.
9318 (feedmail-find-eoh): Give an explicit error.
9320 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
9322 * net/newst-treeview.el (newsticker-treeview-face): Change default
9323 family from helvetica to sans.
9324 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
9325 etc/images/newsticker.
9327 * net/newst-reader.el (newsticker-feed-face): Change default
9328 family from helvetica to sans.
9330 * net/newst-plainview.el (newsticker-new-item-face)
9331 (newsticker-old-item-face, newsticker-immortal-item-face)
9332 (newsticker-obsolete-item-face, newsticker-date-face)
9333 (newsticker-statistics-face): Change default family from
9335 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
9336 etc/images/newsticker.
9338 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9339 (newsticker--process-auto-mark-filter-match): : Tell user about
9342 2011-05-13 Didier Verna <didier@xemacs.org>
9344 Common Lisp indentation improvements on defmethod and lambda-lists.
9345 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9347 (lisp-lambda-list-keyword-parameter-indentation)
9348 (lisp-lambda-list-keyword-parameter-alignment)
9349 (lisp-lambda-list-keyword-alignment): New customizable user options.
9350 (lisp-indent-defun-method): Improve docstring.
9351 (extended-loop-p): Fix comment.
9352 (lisp-indent-lambda-list-keywords-regexp): New variable.
9353 (lisp-indent-lambda-list): New function.
9354 (lisp-indent-259): Use it.
9355 (lisp-indent-defmethod): Support for more than one
9356 method qualifier and properly indent methods lambda-lists.
9357 (defgeneric): Provide a missing common-lisp-indent-function property.
9359 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9361 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9362 bounds for the empty string (bug#8667).
9364 2011-05-13 Glenn Morris <rgm@gnu.org>
9366 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9368 * mail/sendmail.el (sendmail-program): Try executable-find first.
9369 (sendmail-send-it): `sendmail-program' cannot be unbound.
9371 * calendar/appt.el (appt-make-list): Simplify.
9372 (appt-time-msg-list): Doc fix.
9373 (appt-check): Change mode-line message at the time of the appointment.
9375 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9377 * progmodes/ld-script.el (ld-script-keywords)
9378 (ld-script-builtins): Update keywords list.
9380 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9382 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9384 * shell.el (shell-completion-vars): New function.
9386 * simple.el (read-shell-command): Use it.
9387 (blink-matching-open): No need for " [...]" in minibuffer-message.
9389 2011-05-12 Glenn Morris <rgm@gnu.org>
9391 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9392 (appt-check): Simplify.
9394 2011-05-12 Eli Zaretskii <eliz@gnu.org>
9396 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
9397 literal "/dev/null".
9399 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9401 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9404 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
9406 * progmodes/which-func.el (which-function):
9407 Use add-log-current-defun instead of add-log-current-defun-function,
9408 which might not be defined (Bug#8260).
9410 2011-05-12 Glenn Morris <rgm@gnu.org>
9412 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9413 Let byte-compile-initial-macro-environment always take precedence.
9415 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9417 * net/rcirc.el: Add support for SSL/TLS connections.
9418 (rcirc-server-alist): New field `encryption'.
9419 (rcirc): Check `encryption' settings.
9420 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9421 Merge make-local-variable into `set'.
9422 (rcirc--connection-open-p): New function.
9423 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9424 the process is not a network process (e.g. running gnutls-cli).
9425 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9426 Make rcirc-(en|de)code-coding-system local here.
9427 (rcirc-mode): Merge make-local-variable into `set'.
9428 (rcirc-parent-buffer): Make permanent buffer-local.
9429 (rcirc-multiline-minor-mode): Don't do it here.
9430 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9431 there's no server buffer.
9433 2011-05-11 Glenn Morris <rgm@gnu.org>
9435 * newcomment.el (comment-kill): Prefix "unused" local.
9437 * term/w32console.el (get-screen-color): Declare.
9439 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9440 Handle symbol elements of byte-compile-initial-macro-environment.
9442 2011-05-10 Leo Liu <sdl.web@gmail.com>
9444 * bookmark.el (bookmark-bmenu-mode-map):
9445 Bind bookmark-bmenu-search to `/'.
9447 * mail/footnote.el: Convert to utf-8 encoding.
9448 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9449 (Footnote-unicode): New function.
9450 (footnote-style-alist): Add unicode style to the list.
9451 (footnote-style): Doc fix.
9453 2011-05-10 Jim Meyering <meyering@redhat.com>
9455 Fix doubled-word typos.
9456 * international/quail.el (quail-insert-kbd-layout): and and -> and
9457 * kermit.el: and and -> and
9458 * net/ldap.el (ldap-search-internal): to to -> to
9459 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9460 * progmodes/js.el (js-mode): and and -> and
9461 * textmodes/artist.el (artist-move-to-xy): at at -> at
9462 (artist-draw-region-trim-line-endings): if if -> if
9463 And Safetyc -> Safety.
9464 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9466 2011-05-10 Glenn Morris <rgm@gnu.org>
9467 Stefan Monnier <monnier@iro.umontreal.ca>
9469 * files.el (hack-one-local-variable-eval-safep):
9470 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9472 2011-05-10 Glenn Morris <rgm@gnu.org>
9474 * calendar/diary-lib.el (diary-list-entries-hook)
9475 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9476 (diary-nongregorian-marking-hook, diary-list-entries)
9477 (diary-include-other-diary-files, diary-mark-entries)
9478 (diary-mark-included-diary-files): Doc fixes.
9480 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
9482 * misc.el: Require tabulated-list.el during compilation.
9484 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
9486 * progmodes/compile.el (compilation-start):
9487 Run compilation-filter-hook for the async case too.
9488 (compilation-filter-hook): Doc fix.
9490 2011-05-09 Deniz Dogan <deniz@dogan.se>
9492 * wdired.el: Remove outdated installation comment. Fix usage
9495 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
9497 * misc.el: Implement new command `list-dynamic-libraries'.
9498 (list-dynamic-libraries--loaded-only-p): New variable.
9499 (list-dynamic-libraries--refresh): New function.
9500 (list-dynamic-libraries): New command.
9502 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
9504 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9505 Fix the ant regexp to handle end-line and end-column info from jikes.
9506 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9507 higher priority to avoid clobbering by gnu.
9509 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
9511 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9512 if the face has existing theme settings (Bug#8454).
9514 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9516 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9517 Only match variables declared via `my' or `our' (Bug#8261).
9519 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9520 special file names `.' and `..' (Bug#8259).
9522 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
9524 * progmodes/grep.el (grep-mode-font-lock-keywords):
9525 Remove buffer-changing entries.
9526 (grep-filter): New function.
9527 (grep-mode): Add it to compilation-filter-hook.
9529 * progmodes/compile.el (compilation-filter-hook)
9530 (compilation-filter-start): New defvars.
9531 (compilation-filter): Call compilation-filter-hook prior to
9532 updating the process mark.
9534 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9536 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9538 2011-05-07 Eli Zaretskii <eliz@gnu.org>
9540 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9541 mailclient-send-it even if window-system is nil. (Bug#8595)
9543 * term/w32console.el (terminal-init-w32console):
9544 Call get-screen-color and use its output to set the frame
9545 background-mode. (Bug#8597)
9547 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9549 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9550 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9552 (defgeneric, eieio--defmethod): Use them.
9553 (eieio-defgeneric): Remove.
9554 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9556 2011-05-07 Glenn Morris <rgm@gnu.org>
9558 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9559 Use let rather than let*.
9560 (timeclock-find-discrep): Remove unused local.
9562 * calendar/diary-lib.el (diary-comment-start): Doc fix.
9564 * calendar/appt.el (appt-time-msg-list): Doc fix.
9566 2011-05-06 Noah Friedman <friedman@splode.com>
9568 * apropos.el (apropos-print-doc): Only use
9569 emacs-lisp-docstring-fill-column when it is bound to an integer,
9570 per that variable's documentation.
9572 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9574 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
9575 and warnings are not silently discarded (e.g. use -d instead of -P).
9577 2011-05-06 Glenn Morris <rgm@gnu.org>
9579 * calendar/appt.el (appt-message-warning-time): Doc fix.
9580 (appt-warning-time-regexp): New option.
9581 (appt-make-list): Respect appt-message-warning-time.
9583 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9585 (diary-add-to-list): Strip comments from the displayed string.
9586 (diary-mode): Set comment-start and comment-end.
9588 * vc/diff-mode.el (smerge-refine-subst): Declare.
9589 (diff-refine-hunk): Don't require smerge-mode when compiling.
9591 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
9593 * simple.el (list-processes): Return nil as the docstring says.
9595 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
9597 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9599 (ange-ftp-write-region, ange-ftp-insert-file-contents)
9600 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9601 determining of binary transfer. (Bug#7383)
9603 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
9605 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9606 Fix port computation bug. (Bug#8618)
9608 2011-05-05 Glenn Morris <rgm@gnu.org>
9610 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9612 * simple.el (shell-dynamic-complete-functions)
9613 (comint-dynamic-complete-functions): Declare.
9615 * net/network-stream.el (gnutls-negotiate):
9616 * simple.el (tabulated-list-print): Fix declarations.
9618 * progmodes/gud.el (syntax-symbol, syntax-point):
9619 Remove unnecessary and incorrect declarations.
9621 * emacs-lisp/check-declare.el (check-declare-scan):
9622 Handle byte-compile-initial-macro-environment in bytecomp.el
9624 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9626 Fix earlier half-done eieio-defmethod change (bug#8338).
9627 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9628 Streamline and change calling convention.
9629 (defmethod): Adjust accordingly and simplify.
9630 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9631 new eieio--defmethod.
9632 (slot-boundp): Minor CSE simplification.
9634 2011-05-05 Milan Zamazal <pdm@zamazal.org>
9636 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9637 (glasses-make-readable): Use glasses-separate-capital-groups.
9639 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
9641 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9642 (warning-series): Doc fix.
9643 (display-warning): Don't try to create the buffer if we just found it.
9645 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
9647 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9648 (autoload-find-generated-file): New function.
9649 (generate-file-autoloads): Bind generated-autoload-file to
9651 (update-file-autoloads, update-directory-autoloads):
9652 Use autoload-find-generated-file. If called interactively, prompt for
9653 output file (Bug#7989).
9654 (batch-update-autoloads): Doc fix.
9656 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
9658 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9660 2011-05-04 Glenn Morris <rgm@gnu.org>
9662 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9663 function, so it follows changes in calendar-date-style.
9664 (diary-fancy-date-matcher): New function.
9665 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9666 (diary-fancy-font-lock-fontify-region-function):
9667 Use diary-fancy-date-pattern as a function.
9669 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9670 non-numbers for `year' etc pseudo-variables. (Bug#8583)
9672 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
9674 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9675 instead of positional arguments. Allow :keylist and :crlfiles
9677 (open-gnutls-stream): Call it.
9679 * net/network-stream.el (network-stream-open-starttls): Adjust to
9680 call `gnutls-negotiate' with :process and :hostname arguments.
9682 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9684 * minibuffer.el (completion--message): New function.
9685 (completion--do-completion, minibuffer-complete)
9686 (minibuffer-force-complete, minibuffer-complete-word): Use it.
9687 (completion--do-completion): Don't ignore completion-auto-help when in
9690 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9691 internal encoding (e.g. tibetan zero is not whitespace).
9692 (global-whitespace-mode): Prefer save-current-buffer.
9693 (whitespace-trailing-regexp): Remove useless save-match-data.
9694 (whitespace-empty-at-bob-regexp): Minor simplification.
9696 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
9698 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9700 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9702 * textmodes/ispell.el (ispell-add-per-file-word-list):
9703 Use `concat' to create string for insertion.
9705 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9707 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9708 Avoid open-line which runs post-self-insert-hook.
9709 (bibtex-fill-entry): Remove unused `end' var.
9711 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
9713 * textmodes/ispell.el (ispell-add-per-file-word-list):
9714 Protect against `nil' value of `comment-start' (Bug#8579).
9716 2011-05-03 Leo Liu <sdl.web@gmail.com>
9718 * isearch.el (isearch-yank-pop): New command.
9719 (isearch-mode-map): Bind it to `M-y'.
9720 (isearch-forward): Mention it.
9722 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9724 * simple.el (minibuffer-complete-shell-command): Remove.
9725 (minibuffer-local-shell-command-map): Use completion-at-point.
9726 (read-shell-command): Setup completion vars here instead.
9727 (read-expression-map): Bind TAB to symbol completion.
9729 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
9730 error directly rather via storing it into `results'.
9732 2011-05-02 Leo Liu <sdl.web@gmail.com>
9734 * vc/diff.el: Fix description.
9736 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9738 * server.el (server-eval-at): New function.
9740 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9742 * net/network-stream.el (open-network-stream): Take a :nowait
9743 parameter and pass it on to `make-network-process'.
9744 (network-stream-open-plain): Ditto.
9746 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
9748 * faces.el (face-spec-set-match-display): Don't match toolkit
9749 options on terminal frames.
9751 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9753 * progmodes/pascal.el: Use lexical binding.
9754 (pascal-mode-map): Remove author preferences.
9756 * pcomplete.el (pcomplete-std-complete): Don't abuse
9757 completion-at-point.
9759 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
9761 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9762 removing code that has been dead since 1991 or so.
9764 * startup.el (command-line): When warning about "_emacs", use a
9765 delayed warning to allow the user to filter it out.
9767 2011-04-28 Deniz Dogan <deniz@dogan.se>
9769 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9770 user has not joined.
9772 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9774 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9775 aren't any completions at point.
9777 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
9779 * subr.el (display-delayed-warnings): New function.
9780 (delayed-warnings-hook): New variable.
9782 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9784 * minibuffer.el (completion-at-point, completion-help-at-point):
9785 Don't presume that a given completion-at-point-function will always
9786 use the same calling convention.
9788 * pcomplete.el (pcomplete-completions-at-point):
9789 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
9790 pcomplete-seen is non-nil.
9791 (pcomplete-comint-setup): Also recognize the new comint/shell
9792 completion functions.
9793 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
9794 pcomplete-seen is non-nil.
9796 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
9798 * calendar/icalendar.el (diary-lib): Add require statement.
9799 (icalendar--create-uid): Read out a uid from a text-property on
9800 the first character in the entry. This allows for code to add its
9801 own uid to the entry.
9802 (icalendar--convert-float-to-ical): Add export of
9803 `diary-float'-entries save for those with the optional DAY
9806 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
9808 * subr.el (shell-quote-argument): Use alternate escaping strategy
9809 when we spot a variable reference in a string.
9811 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
9813 * cus-start.el (all): Define customization for debug-on-event.
9815 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
9817 * subr.el (shell-quote-argument): Escape correctly under Windows.
9819 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9821 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
9823 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
9825 * net/tramp.el (tramp-process-actions): Add POS argument.
9826 Delete region between POS and (pos).
9828 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9829 Use `nil' position in `tramp-process-actions' call.
9830 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
9832 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
9833 position in `tramp-process-actions' call.
9835 * net/trampver.el: Update release number.
9837 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9839 * custom.el (defcustom): Obey lexical-binding.
9841 Fix octave-inf completion problems reported by Alexander Klimov.
9842 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
9843 Inherit from octave-mode-syntax-table.
9844 (inferior-octave-mode): Set info-lookup-mode.
9845 (inferior-octave-completion-at-point): New function.
9846 (inferior-octave-complete): Use it and completion-in-region.
9847 (inferior-octave-dynamic-complete-functions): Use it as well, and use
9848 comint-filename-completion.
9849 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
9850 symbol elements which shouldn't be word elements.
9851 (octave-font-lock-keywords, octave-beginning-of-defun)
9852 (octave-function-header-regexp): Adjust regexps accordingly.
9853 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
9855 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
9857 * net/gnutls.el (gnutls-errorp): Declare before first use.
9859 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
9861 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
9862 verify-error, and verify-hostname-error parameters. Check whether
9863 default trustfile exists before going to use it. Add missing
9864 argument to gnutls-message-maybe call. Return value.
9865 Reported by Claudio Bley <claudio.bley@gmail.com>.
9866 (open-gnutls-stream): Add usage example.
9868 * net/network-stream.el (network-stream-open-starttls): Give host
9869 parameter to `gnutls-negotiate'.
9870 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
9871 * subr.el (shell-quote-argument): Escape correctly under Windows.
9873 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
9875 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9876 Use correct match group (bug#8438).
9878 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
9880 * emacs-lisp/package.el (package-built-in-p): Fix typo.
9881 (package-menu--generate): New arg specifying packages to show.
9882 (package-menu-refresh, package-menu-execute, list-packages):
9884 (package-show-package-list): New function, replacing deleted
9885 package--list-packages (renamed because it is non-internal).
9887 * finder.el (finder-list-matches): Use package-show-package-list
9888 instead of deleted package--list-packages.
9890 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
9891 Based on a previous implementation by Juanma Barranquero (Bug#8366).
9892 (vc-annotate-mode-map): Bind it to RET.
9894 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9896 * progmodes/etags.el (next-file): Don't use set-buffer to change
9899 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
9901 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
9903 * apropos.el (apropos-label-face): Avoid variable-pitch face.
9904 (apropos-accumulator): Doc fix.
9905 (apropos-function, apropos-macro, apropos-command)
9906 (apropos-variable, apropos-face, apropos-group, apropos-widget)
9907 (apropos-plist): Add face property.
9908 (apropos-symbols-internal): Fix indentation.
9909 (apropos-print): Simplify help, and recognize apropos-multi-type.
9910 (apropos-print-doc): Use button-type-get to extract the button's
9911 face property. Fill docstring (Bug#8352).
9913 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
9915 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
9917 * play/mpuz.el (mpuz-silent): Doc fix.
9918 (mpuz-mode-map): Use mapc.
9919 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
9920 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
9921 Fix typos in docstrings.
9923 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
9924 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
9926 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
9928 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
9930 * minibuffer.el (completion--do-completion): Avoid the "Next char
9931 not unique" prompt if icomplete-mode is enabled (Bug#5849).
9933 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
9934 mouse-2 into unread-command-events, it is interpreted correctly.
9936 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
9937 (image-toggle-display): Doc fix.
9939 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
9941 * textmodes/page.el (what-page): Use line-number-at-pos to
9942 calculate line number (Bug#6825).
9944 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
9946 * eshell/esh-mode.el (find-tag-interactive): Declare function.
9947 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
9948 Pass argument NO-DEFAULT to `find-tag-interactive'.
9950 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
9952 Lexical-binding cleanup.
9954 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
9955 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
9956 * progmodes/ada-prj.el (ada-prj-initialize-values)
9957 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
9958 (ada-prj-show-value):
9959 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
9960 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
9961 (antlr-invalidate-context-cache, antlr-options-menu-filter)
9962 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
9963 * progmodes/bug-reference.el (bug-reference-push-button):
9964 * progmodes/fortran.el (fortran-line-length):
9965 * progmodes/glasses.el (glasses-change):
9966 * progmodes/octave-mod.el (octave-fill-paragraph):
9967 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
9968 (python-pdbtrack-grub-for-buffer, python-sentinel):
9969 * progmodes/sql.el (sql-save-connection):
9970 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
9971 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
9972 Mark unused parameters.
9974 * progmodes/compile.el (compilation--flush-directory-cache)
9975 (compilation--flush-parse, compile-internal): Mark unused parameters.
9976 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
9977 (compilation-next-error-function): Remove unused variable `timestamp'.
9979 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
9980 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
9982 * progmodes/dcl-mode.el (dcl-end-of-command):
9983 Remove unused variable `start'.
9984 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
9985 (dcl-option-value-basic, dcl-option-value-offset)
9986 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
9987 Mark unused parameters.
9988 (dcl-save-local-variable): Remove unused variable `val'.
9991 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
9992 Mark unused parameters.
9993 (delphi-ignore-changes): Move before first use.
9994 (delphi-charset-token-at): Remove unused variable `start'.
9995 (delphi-else-start): Remove unused variable `if-count'.
9996 (delphi-comment-block-start, delphi-comment-block-end):
9997 Remove unused variable `kind'.
9998 (delphi-indent-line): Remove unused variable `new-point'.
10000 * progmodes/ebrowse.el (ebrowse-files-list)
10001 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10002 Mark unused parameters. Don't quote `lambda'.
10003 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10004 Don't quote `lambda'.
10005 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10006 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10007 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10008 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10009 Use `ignore-errors'.
10010 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10011 (ebrowse-view/find-file-and-search-pattern)
10012 (ebrowse-view/find-member-declaration/definition):
10013 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10014 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10015 Rename parameter PREFIX-ARG to PREFIX.
10016 (ebrowse-tags-read-name): Remove unused variables `start' and
10018 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10021 * progmodes/etags.el (local-find-tag-hook): Declare.
10022 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10023 Mark unused parameters.
10025 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10026 (executable-interpret): Mark unused parameter.
10028 * progmodes/flymake.el (flymake-process-sentinel)
10029 (flymake-after-change-function)
10030 (flymake-create-temp-with-folder-structure)
10031 (flymake-get-include-dirs-dot): Mark unused parameters.
10032 (flymake-safe-delete-directory): Remove unused variable `err'.
10034 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10035 (speedbar-timer-fn, speedbar-line-text)
10036 (speedbar-change-expand-button-char, speedbar-delete-subblock)
10037 (speedbar-center-buffer-smartly): Declare functions.
10038 (gdb-find-watch-expression): Remove unused variable `array'.
10039 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10040 (gdb-starting): Mark unused parameters.
10041 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10042 (gdb-table-string): Remove unused variable `res'.
10043 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10044 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10045 (gdb-display-buffer): Remove unused variable `cur-size'.
10047 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10048 allow lexical-binding compilation.
10049 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10050 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10051 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10052 Mark unused parameters.
10053 (gud-gdb-marker-filter): Remove unused variable `match'.
10054 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10055 lambda expressions and funcall them, instead of using `fset'.
10057 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10058 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10060 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10061 variable `header-beg'; use `let'.
10063 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10064 `restart', `last-sexp' and `at-do'.
10066 * progmodes/js.el (js--debug): Mark unused parameter.
10067 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10068 (js--splice-into-items): Remove unused variable `item'.
10069 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10071 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10072 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10073 (makefile-complete): Remove unused variable `try'.
10074 (makefile-fill-paragraph, makefile-match-function-end):
10075 Mark unused parameters.
10077 * progmodes/octave-inf.el (inferior-octave-complete):
10078 Remove unused variable `proc'.
10079 (inferior-octave-output-digest): Mark unused parameter.
10081 * progmodes/perl-mode.el (perl-calculate-indent):
10082 Remove unused variable `err'.
10084 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10085 (prolog-indent-line): Mark unused parameters.
10086 (prolog-indent-line): Remove unused variable `beg'.
10088 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10089 (reporter-dont-compact-list): Declare.
10091 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10092 Remove unused variable `char'.
10093 (sh-debug): Mark unused parameter.
10094 (sh-get-indent-info): Remove unused variable `start'.
10095 (sh-calculate-indent): Remove unused variable `var'.
10097 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10098 (simula-electric-keyword): Remove unused variable `null'.
10099 (simula-search-backward, simula-search-forward): Remove unused
10100 variables `begin' and `end'.
10102 * progmodes/vera-mode.el (vera-guess-basic-syntax):
10103 Remove unused variable `pos'.
10104 (vera-electric-tab, vera-comment-uncomment-region):
10105 Mark unused parameters.
10106 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10108 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
10110 * emacs-lisp/package.el (package--builtins, package-alist)
10111 (package-load-descriptor, package-built-in-p, package-activate)
10112 (define-package, package-installed-p)
10113 (package-compute-transaction, package-buffer-info)
10114 (package--push): Doc fix. Distinguish more clearly between
10115 version strings and version lists.
10117 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
10119 Lexical-binding cleanup.
10121 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10122 (5x5-make-mutate-best):
10123 * play/fortune.el (fortune-in-buffer):
10124 * play/gomoku.el (gomoku-init-display):
10125 * play/solitaire.el (solitaire, solitaire-do-check):
10126 * play/tetris.el (tetris-default-update-speed-function):
10127 Mark unused parameters.
10129 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10130 (bubbles--shift): Remove unused variable `char-org'.
10131 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
10132 (bubbles--show-images): Remove unused variable `char'.
10134 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10135 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10136 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10137 (decipher-analyze-buffer): Use ?\s.
10138 (decipher-make-checkpoint): Remove unused variable `mapping'.
10140 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10142 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10143 Remove unused variable `result'; use `let'.
10145 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10146 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10147 (gametree-children-shown-p, gametree-compute-reduced-score):
10148 Use `ignore-errors'.
10150 * play/handwrite.el (ps-lpr-switches): Declare.
10151 (handwrite): Remove unused variables `pmin' and `lastp'.
10153 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10155 * play/landmark.el (landmark-init-display)
10156 (landmark-update-naught-weights): Mark unused parameters.
10157 (landmark-y): Remove unused variable `noise'. Simplify.
10158 (landmark-human-plays): Remove unused variable `score'.
10160 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10161 (mpuz-try-proposal): Remove unused variable `game'.
10163 * play/zone.el (life-patterns): Declare.
10165 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
10167 * vc/vc.el (ediff-vc-internal): Declare function.
10169 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10171 * shell.el: Use lexical-binding and std completion UI.
10172 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10173 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10174 comint-preoutput-filter-functions rather than on
10175 comint-output-filter-functions.
10176 (shell-command-completion, shell--command-completion-data)
10177 (shell-filename-completion, shell-environment-variable-completion)
10178 (shell-c-a-p-replace-by-expanded-directory): New functions.
10179 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10180 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10181 (shell-dynamic-complete-environment-variable): Use them.
10182 (shell-dynamic-complete-as-environment-variable)
10183 (shell-dynamic-complete-as-command): Remove.
10184 (shell-match-partial-variable): Match past point.
10185 * comint.el: Clean up use of completion-at-point-functions.
10186 (comint-completion-at-point): New function.
10187 (comint-mode): Use it completion-at-point-functions.
10188 (comint-dynamic-complete): Make it obsolete.
10189 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10190 (comint-c-a-p-replace-by-expanded-history): New function.
10191 (comint-dynamic-complete-functions)
10192 (comint-replace-by-expanded-history): Use it.
10193 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10194 termination strings. Try harder to avoid second try-completion.
10195 (completion-in-region-mode-map): Disable bindings that don't work yet.
10197 * comint.el: Use lexical-binding. Require CL.
10198 (comint-dynamic-complete-functions): Use comint-filename-completion.
10199 (comint-completion-addsuffix): Tweak custom type.
10200 (comint-filename-completion, comint--common-suffix)
10201 (comint--common-quoted-suffix, comint--table-subvert)
10202 (comint--complete-file-name-data): New functions.
10203 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10204 (comint-dynamic-list-filename-completions): Use them.
10205 (comint-dynamic-simple-complete): Make obsolete.
10207 * minibuffer.el (completion-in-region-mode):
10208 Keep completion-in-region-mode--predicate global.
10209 (completion-in-region--postch):
10210 Assume completion-in-region-mode--predicate is not null.
10212 * progmodes/flymake.el (flymake-start-syntax-check-process):
10213 Obey `dir'. Simplify.
10215 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10216 we're in VC after all.
10218 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10220 * vc/vc.el (vc-diff-build-argument-list-internal)
10221 (vc-version-ediff, vc-ediff): New commands.
10222 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10224 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10226 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10229 * obsolete/erc-hecomplete.el: Make obsolete.
10230 * obsolete/: Standardize obsolescence info in the header.
10232 2011-04-20 Glenn Morris <rgm@gnu.org>
10234 * calendar/solar.el (solar-horizontal-coordinates):
10235 Use the longitude argument rather than `calendar-longitude'.
10236 (solar-date-next-longitude): Remove unused locals.
10238 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10240 * whitespace.el: New version 13.2.1.
10242 2011-04-20 felix <EmacsWiki> (tiny change)
10244 * whitespace.el (global-whitespace-mode): Keep highlight when
10245 switching between major modes on a file.
10247 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10249 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10250 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10251 multi-line comments as well.
10253 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
10255 Lexical-binding cleanup.
10257 * arc-mode.el (archive-mode-revert):
10258 * cmuscheme.el (scheme-interactively-start-process):
10259 * custom.el (custom-initialize-delay):
10260 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10261 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10262 * emacs-lock.el (emacs-lock-clear-sentinel):
10263 * ezimage.el (defezimage):
10264 * follow.el (follow-avoid-tail-recenter):
10265 * fringe.el (set-fringe-mode-1):
10266 * generic-x.el (bat-generic-mode-compile):
10267 * help-mode.el (help-info-variable, help-do-xref)
10268 (help-mode-revert-buffer):
10269 * help.el (view-emacs-todo):
10270 * iswitchb.el (iswitchb-completion-help):
10271 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10272 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10273 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10274 * locate.el (locate-update):
10275 * longlines.el (longlines-encode-region)
10276 (longlines-after-change-function):
10277 * outline.el (outline-isearch-open-invisible):
10278 * ps-def.el (declare-function, charset-dimension, char-width)
10280 * ps-mule.el (ps-mule-plot-string):
10281 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10282 (recentf-edit-list-select, recentf-edit-list-validate)
10283 (recentf-open-files-action):
10284 * rect.el (delete-whitespace-rectangle-line)
10285 (rectangle-number-line-callback):
10286 * register.el (window-configuration-to-register)
10287 (frame-configuration-to-register):
10288 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10289 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10290 (xselect-convert-to-targets, xselect-convert-to-delete)
10291 (xselect-convert-to-filename, xselect-convert-to-charpos)
10292 (xselect-convert-to-lineno, xselect-convert-to-colno)
10293 (xselect-convert-to-os, xselect-convert-to-host)
10294 (xselect-convert-to-user, xselect-convert-to-class)
10295 (xselect-convert-to-name, xselect-convert-to-integer)
10296 (xselect-convert-to-atom, xselect-convert-to-identity):
10297 * subr.el (declare, ignore, process-kill-without-query)
10298 (text-clone-maintain):
10299 * terminal.el (te-get-char, te-tic-sentinel):
10300 * tool-bar.el (tool-bar-make-keymap):
10301 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10302 * type-break.el (type-break-mode, type-break-noninteractive-query):
10303 * view.el (View-back-to-mark):
10304 * wid-browse.el (widget-browse-action, widget-browse-widget)
10305 (widget-browse-widgets, widget-browse-sexp):
10306 * widget.el (define-widget-keywords):
10307 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10308 Mark unused parameters.
10310 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10311 (align-areas): Remove unused variable `look'.
10312 (align-region): Remove unused variables `real-end' and `pos-list'.
10314 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10316 * bindings.el (mode-line-modified, mode-line-remote):
10317 Mark unused parameters.
10318 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10320 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10321 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10323 * comint.el (comint-history-isearch-pop-state)
10324 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10325 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10326 (comint-substitute-in-file-name): Doc fix.
10328 * completion.el (cmpl-statistics-block): Mark unused parameter.
10329 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10330 (save-completions-to-file, load-completions-from-file):
10331 Remove unused local variable `e'.
10333 * composite.el (compose-chars): Remove unused variable `len'.
10334 (lgstring-insert-glyph): Remove unused variable `g'.
10335 (compose-glyph-string): Remove unused variables `ascent',
10336 `descent', `lbearing' and `rbearing'.
10337 (compose-glyph-string-relative): Remove unused variables
10338 `lbearing', `rbearing' and `wadjust'.
10339 (compose-gstring-for-graphic): Remove unused variables `header',
10340 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10341 (compose-gstring-for-terminal): Remove unused variables `header'
10342 and `nchars'. Use `let', not `let*'.
10344 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10345 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10346 (Custom-buffer-done, custom-buffer-create-internal)
10347 (custom-browse-visibility-action, custom-browse-group-tag-action)
10348 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10349 (widget-magic-mouse-down-action, custom-toggle-parent)
10350 (custom-add-parent-links, custom-toggle-hide-variable)
10351 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10352 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10353 (custom-face-menu-create, custom-variable-menu-create, get)
10354 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10355 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10356 (customize-apropos): Remove unused variable `tests'.
10357 (custom-group-value-create): Remove unused variable `hidden-p'.
10358 (sort-fold-case): Declare.
10360 * cus-theme.el (custom-reset-standard-faces-list)
10361 (custom-reset-standard-variables-list): Declare.
10362 (customize-create-theme, custom-theme-revert, custom-theme-write)
10363 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10364 Mark unused parameters.
10366 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10368 * delim-col.el (delimit-columns-max): Move defvar before first use.
10370 * descr-text.el (describe-char-categories): Don't quote `lambda'.
10371 (describe-char): Don't quote `lambda'. Mark unused parameter.
10373 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10374 (auto-insert): Declare.
10375 (desktop-restore-file-buffer): Rename desktop-* parameters;
10377 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10378 (desktop-buffer): Rename desktop-* parameters.
10380 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10381 (dframe-reposition-frame-xemacs, dframe-help-echo)
10382 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10383 Mark unused parameters.
10385 * dired-aux.el (backup-extract-version-start, overwrite-query)
10386 (overwrite-backup-query, rename-regexp-query)
10387 (rename-non-directory-query): Declare.
10388 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10389 (dired-add-entry): Remove unused variable `orig-file-name'.
10390 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10391 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10392 `dired-copy-preserve-time' directly.
10393 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10394 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10396 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10397 (dired-virtual-revert, dired-make-relative-symlink):
10398 Mark unused parameters.
10399 (manual-program): Declare.
10400 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10401 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10402 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10404 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10406 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10408 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10411 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10413 * electric.el (Electric-command-loop): Rename parameter
10414 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10416 * expand.el (expand-in-literal): Remove unused variable `here'.
10418 * facemenu.el (facemenu-add-new-color):
10419 Remove unused variable `docstring'.
10421 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10422 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10423 (face-attr-construct): Mark unused parameter. Doc fix.
10424 (read-color): Remove unused variable `hex-string'.
10426 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10427 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10428 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10429 (display-buffer-other-frame): Remove unused variable `old-window'.
10430 (kill-buffer-hook): Declare.
10431 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10432 Mark unused parameters.
10433 (after-find-file): Pass 1 to `auto-save-mode', not t.
10435 * files-x.el (auto-insert): Declare.
10436 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10438 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
10439 variable `buf'. Mark unused parameter.
10440 (find-lisp-insert-directory): Mark unused parameter.
10442 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10443 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10444 (format-common-tail): Remove, unused.
10445 (format-deannotate-region): Remove unused variable `loc'.
10446 (format-annotate-region): Remove unused variable `p'.
10447 (format-annotate-single-property-change): Remove unused variables
10448 `default' and `tail'.
10450 * forms.el (read-file-filter): Declare.
10451 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10453 * frame.el (frame-creation-function-alist): Mark unused parameter.
10454 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10456 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10457 Remove unused parameters.
10458 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10459 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10461 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10462 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10463 (hfy-prepare-tag-map): Mark unused parameters.
10464 (htmlfontify-buffer): Use `called-interactively-p'.
10466 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10467 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10468 (ibuffer-do-occur): Mark unused parameters.
10469 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10470 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10472 * ibuffer.el: Don't quote `lambda'.
10473 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10474 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10475 Mark unused parameters.
10477 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10478 (ido-completing-read): Mark unused parameters.
10479 (ido-copy-current-word): Mark unused parameters;
10480 remove unused variable `name'.
10481 (ido-sort-merged-list): Remove unused parameter `dirs'.
10483 * ielm.el (ielm-input-sender): Mark unused parameter.
10484 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10485 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10486 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10487 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10488 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10490 * image-dired.el (image-dired-display-thumbs): Remove unused
10491 variables `curr-file' and `count'.
10492 (image-dired-remove-tag): Remove unused variable `start'.
10493 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10494 variable `curr-file'
10495 (image-dired-rotate-original): Remove unused variable `temp-file'.
10496 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10497 Remove unused variable `file'.
10498 (image-dired-gallery-generate): Remove unused variable `curr'.
10499 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10501 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10503 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10505 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10507 * isearch.el (minibuffer-history-symbol): Declare.
10508 (isearch-edit-string): Remove unused variable `err'.
10509 (isearch-message-prefix, isearch-message-suffix):
10510 Mark unused parameters.
10512 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10514 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10516 * makesum.el (double-column): Remove unused variable `cnt'.
10518 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10519 (ido-ignore-item-temp-list): Declare.
10521 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10522 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10523 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10524 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10527 * mouse-sel.el (mouse-extend-internal):
10528 Remove unused variable `orig-window-frame'.
10530 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10531 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10532 Move declarations before first use.
10533 (pcomplete-opt): Mark unused parameters; doc fix.
10535 * proced.el (proced-revert): Mark unused parameter.
10536 (proced-send-signal): Remove unused variable `err'.
10538 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10539 Rename parameter PREFIX-ARG to ARG.
10540 (ps-basic-plot-string, ps-basic-plot-whitespace):
10541 Mark unused parameters.
10543 * replace.el (replace-count): Define.
10544 (occur-revert-function): Mark unused parameters.
10545 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10546 (isearch-case-fold-search, isearch-string): Declare.
10547 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10548 bind `case-fold-search'. Remove unused variables `beg' and `end',
10550 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10551 COUNT and bind `replace-count'.
10552 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10555 * savehist.el (print-readably, print-string-length): Declare.
10557 * shadowfile.el (shadow-expand-cluster-in-file-name):
10558 Remove unused variable `cluster'.
10559 (shadow-copy-file): Remove unused variable `i'.
10560 (shadow-noquery, shadow-clusters, shadow-site-cluster)
10561 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10562 (shadow-define-literal-group, shadow-define-regexp-group)
10563 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10565 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10566 (shell): Use `called-interactively-p'.
10567 (shell-directory-tracker): Remove unused variable `chdir-failure'.
10569 * simple.el (compilation-context-lines, comint-file-name-quote-list)
10570 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10571 (delete-backward-char): Remove unused variable `ocol'.
10572 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10573 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10574 (event-apply-hyper-modifier, event-apply-shift-modifier)
10575 (event-apply-control-modifier, event-apply-meta-modifier):
10576 Mark unused parameters.
10577 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10578 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10580 * speedbar.el (speedbar-ignored-directory-expressions)
10581 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10582 (speedbar-find-file, speedbar-dir-follow)
10583 (speedbar-directory-buttons-follow, speedbar-tag-find)
10584 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10585 (speedbar-buffers-line-directory, speedbar-buffer-click):
10586 Mark unused parameters.
10587 (speedbar-tag-file): Remove unused variable `mode'.
10588 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10590 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10592 * talk.el (talk): Remove unused variable `display'.
10594 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10595 (tar-write-region-annotate): Mark unused parameter.
10597 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10598 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10599 Declare them, wrapped in `with-no-warnings' to avoid replacing one
10600 warning by another.
10602 * time-stamp.el (time-stamp-string-preprocess):
10603 Remove unused variable `require-padding'.
10605 * tree-widget.el (widget-glyph-enable): Declare.
10606 (tree-widget-action): Mark unused parameter.
10608 * w32-fns.el (x-get-selection): Mark unused parameter.
10609 (autoload-make-program, generated-autoload-file): Declare.
10611 * wdired.el (wdired-revert): Mark unused parameters.
10612 (wdired-xcase-word): Remove unused variable `err'.
10614 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10615 (whitespace-help-scroll): Remove unused variable `data-help'.
10617 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10618 (widget-image-insert, widget-after-change, default)
10619 (widget-default-format-handler, widget-default-notify)
10620 (widget-default-prompt-value, widget-info-link-action)
10621 (widget-url-link-action, widget-function-link-action)
10622 (widget-variable-link-action, widget-file-link-action)
10623 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10624 (widget-field-prompt-internal, widget-field-action, widget-field-match)
10625 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10626 (widget-insert-button-action, widget-delete-button-action, visibility)
10627 (widget-documentation-link-action, widget-documentation-string-action)
10628 (widget-const-prompt-value, widget-regexp-match, symbol)
10629 (widget-coding-system-prompt-value)
10630 (widget-key-sequence-value-to-external, sexp)
10631 (widget-sexp-value-to-internal, character, vector, cons)
10632 (widget-choice-prompt-value, widget-boolean-prompt-value)
10633 (widget-color--choose-action): Mark unused parameters.
10634 (widget-item-match-inline, widget-choice-match-inline)
10635 (widget-checklist-match, widget-checklist-match-inline)
10636 (widget-group-match): Rename parameter VALUES to VALS.
10637 (widget-field-value-set): Remove unused variable `size'.
10638 (widget-color-action): Remove unused variables `value' and `start'.
10640 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
10641 variable `dir'. Doc fix.
10642 (windmove-find-other-window): Don't pass it.
10644 * window.el (count-windows): Mark unused parameter.
10645 (bw-adjust-window): Remove unused variable `err'.
10647 * woman.el (woman-file-name): Remove unused variable `default'.
10648 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10649 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10650 (global-font-lock-mode): Declare.
10651 (woman-decode-region): Mark unused parameter.
10652 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10654 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10655 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10656 (x-dnd-handle-moz-url): Remove unused variable `title'.
10657 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10659 * xml.el (xml-parse-tag, xml-parse-attlist):
10660 Remove unused variable `pos'.
10662 2011-04-19 Glenn Morris <rgm@gnu.org>
10664 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10665 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10666 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10667 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10668 * calendar/cal-html.el (cal-html-insert-minical):
10669 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10670 (calendar-mark-date-pattern):
10671 Prefix "unused" locals.
10673 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10674 optional argument `style'.
10676 * calendar/appt.el (appt-make-list):
10677 * calendar/cal-china.el (calendar-chinese-date-string):
10678 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10679 (diary-hebrew-yahrzeit):
10680 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10681 * calendar/calendar.el (calendar-generate-window):
10682 * calendar/time-date.el (time-to-days):
10683 Remove unused local variables.
10685 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
10687 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10688 glyphless-char-display table.
10689 (tabulated-list-glyphless-char-display): New var.
10691 2011-04-18 Sam Steingold <sds@gnu.org>
10693 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10694 to acknowledgments.
10696 2011-04-17 Glenn Morris <rgm@gnu.org>
10698 * calendar/diary-lib.el (diary-sexp-entry):
10699 * calendar/holidays.el (holiday-sexp):
10700 Set debug-on-error rather than the removed stack-trace-on-error.
10702 2011-04-16 Glenn Morris <rgm@gnu.org>
10704 * progmodes/f90.el: Use lexical-binding.
10705 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10707 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10709 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10710 (mail-mode): Setup mailalias completion here instead.
10711 * mail/mailalias.el: Use lexical-binding.
10712 (pattern, mailalias-done): Declare dynamic.
10713 (mail-completion-at-point-function): New function, from mail-complete.
10714 (mail-complete): Use it.
10715 (mail-completion-expand): New function.
10716 (mail-get-names): Use it.
10717 (mail-directory, mail-directory-process, mail-directory-stream):
10718 Don't use `pattern' for lexically bound arg.
10720 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
10722 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
10723 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
10724 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
10726 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
10727 (byte-save-window-excursion, byte-temp-output-buffer-setup)
10728 (byte-interactive-p): Define them again, for use when inlining
10731 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
10733 * loadup.el: Use `string-to-number', not `string-to-int'.
10735 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10737 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
10738 gud-gdb-complete-command.
10739 (gud-gdb-completions): New function, from gud-gdb-complete-command.
10740 (gud-gdb-completion-at-point): New function.
10741 (gud-gdb-completions): Remove.
10743 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
10745 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
10746 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
10747 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10748 whether `executable-find' is bound.
10750 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10752 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10754 * minibuffer.el (completion-in-region-mode-predicate)
10755 (completion-in-region-mode--predicate): New vars.
10756 (completion-in-region, completion-in-region--postch)
10757 (completion-in-region-mode): Use them.
10758 (completion--capf-wrapper): Also return the hook function.
10759 (completion-at-point, completion-help-at-point):
10760 Adjust and provide a predicate.
10762 Preserve arg names for advice of subr and lexical functions (bug#8457).
10763 * help-fns.el (help-function-arglist): Consolidate the subr and
10764 new-byte-code cases. Add argument `preserve-names' to extract names
10765 from the docstring when needed.
10766 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10767 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10768 (ad-arglist): Use help-function-arglist's new arg.
10769 (ad-definition-type): Use cond.
10771 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
10773 * autorevert.el (auto-revert-handler):
10774 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10775 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10776 Don't quote lambda.
10778 * image-mode.el (image-transform-set-scale):
10779 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
10781 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10783 * net/network-stream.el (network-stream-open-starttls): Only do
10784 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
10785 Upgrades via gnutls-cli are too slow to be done opportunistically.
10787 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
10789 * dframe.el (dframe-current-frame): Remove spurious quote.
10791 2011-04-12 Glenn Morris <rgm@gnu.org>
10793 * calendar/cal-tex.el (cal-tex-end-document):
10794 Try to automatically use latin1 input if needed.
10796 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
10797 Don't try to cons a mark onto an empty element.
10799 2011-04-11 Leo Liu <sdl.web@gmail.com>
10801 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
10803 (ido-kill-buffer-at-head): Support killing virtual buffers.
10805 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
10807 * minibuffer.el (completion-show-inline-help): New var.
10808 (completion--do-completion, minibuffer-complete)
10809 (minibuffer-force-complete, minibuffer-complete-word):
10810 Inhibit minibuffer messages if completion-show-inline-help is nil.
10812 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
10813 to avoid interference from inline help (Bug#5849).
10815 2011-04-10 Leo Liu <sdl.web@gmail.com>
10817 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10820 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
10822 * image-mode.el (image-toggle-display-image): Signal an error if
10824 (image-transform-mode, image-transform-resize)
10825 (image-transform-set-rotation): Doc fix.
10826 (image-transform-set-resize): Delete.
10827 (image-transform-set-scale, image-transform-fit-to-height)
10828 (image-transform-fit-to-width): Handle image-toggle-display-image
10829 and image-transform-resize directly.
10831 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
10833 * doc-view.el (doc-view-fit-width-to-window)
10834 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
10835 New functions for fitting the shown image to the Emacs window size.
10836 (doc-view-mode-map): Add bindings for the new functions.
10838 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
10840 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
10841 Fix typo in docstring.
10843 2011-04-08 Eli Zaretskii <eliz@gnu.org>
10845 * files.el (file-size-human-readable): Produce one digit after
10846 decimal, like "ls -lh" does.
10848 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
10849 the file size representation.
10851 * simple.el (list-processes): If async subprocesses are not
10852 available, error out with a clear error message.
10854 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
10856 * help.el (help-form-show): New function, to be called from C.
10857 Put help-form output in a buffer named differently than *Help*.
10859 2011-04-08 Eli Zaretskii <eliz@gnu.org>
10861 * files.el (file-size-human-readable): New function.
10863 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
10864 computing the representation inline. Don't require `cl'.
10866 2011-04-08 Glenn Morris <rgm@gnu.org>
10868 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
10870 * net/browse-url.el (browse-url-firefox):
10871 Test system-type, not system-configuration.
10873 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
10874 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
10875 Use log-edit-empty-buffer-p. (Bug#7598)
10877 * net/rlogin.el (rlogin-process-connection-type): Simplify.
10878 (rlogin-mode-map): Initialize in the defvar.
10879 (rlogin): Use ignore-errors.
10881 * replace.el (occur-mode-map): Some fixes for menu items.
10883 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10885 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
10887 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
10889 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
10890 issuing unused warnings.
10892 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
10895 * simple.el: Lisp reimplement of list-processes. Based on an
10896 earlier reimplementation by Leo Liu, but using tabulated-list.el.
10897 (process-menu-mode): New major mode.
10898 (list-processes--refresh, list-processes):
10899 (process-menu-visit-buffer): New functions.
10901 * files.el (save-buffers-kill-emacs): Don't assume any return
10902 value of list-processes, which is undocumented anyway.
10904 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
10906 * emacs-lisp/tabulated-list.el: New file.
10908 * emacs-lisp/package.el: Use Tabulated List mode.
10909 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
10910 (package-menu-mode): Derive from tabulated-list-mode. Set up the
10911 table format using Tabulated List mode variables.
10912 (package--push): New macro, replacing package-list-maybe-add.
10913 (package-menu--generate): Use package--push. Renamed from
10914 package--generate-package-list.
10915 (package-menu-refresh, list-packages): Use it.
10916 (package-menu--print-info): Rename from package-print-package.
10917 Return insertion data instead of inserting it directly.
10918 (package-menu-describe-package, package-menu-execute):
10919 Use tabulated-list-get-id.
10920 (package-menu-mark-delete, package-menu-mark-install)
10921 (package-menu-mark-unmark, package-menu-backup-unmark)
10922 (package-menu-mark-obsolete-for-deletion):
10923 Use tabulated-list-put-tag.
10924 (package--list-packages, package-menu-revert)
10925 (package-menu-get-package, package-menu-get-version)
10926 (package-menu-sort-by-column): Functions deleted.
10927 (package-menu-package-list, package-menu-sort-key): Vars deleted.
10928 (package-menu--status-predicate, package-menu--version-predicate)
10929 (package-menu--name-predicate)
10930 (package-menu--description-predicate): Handle arguments in the
10931 Tabulated List format.
10932 (package-list-packages-no-fetch): Call list-packages.
10934 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
10936 * files.el (after-find-file-from-revert-buffer): Remove variable.
10937 (after-find-file): Don't bind it.
10938 (revert-buffer-in-progress-p): New variable.
10939 (revert-buffer): Bind it.
10940 Pass nil for `after-find-file-from-revert-buffer'.
10942 * saveplace.el (save-place-find-file-hook): Use new variable
10943 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
10945 2011-04-06 Glenn Morris <rgm@gnu.org>
10947 * Makefile.in (AUTOGEN_VCS): New variable.
10948 (autoloads): Use $AUTOGEN_VCS.
10950 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
10951 * calendar/calendar.el (calendar-mode-map):
10952 Check for toolkit scroll bars. (Bug#8305)
10954 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
10956 * minibuffer.el (completion-in-region--postch)
10957 (completion-in-region-mode): Remove unnecessary messages.
10959 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
10961 * font-lock.el (font-lock-refresh-defaults):
10962 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
10963 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
10965 * info.el (Info-directory-list, Info-read-node-name-2)
10966 (Info-split-parameter-string): Doc fixes.
10967 (Info-virtual-nodes): Reflow docstring.
10968 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
10969 (Info-apropos-toc-nodes, info-finder, Info-get-token)
10970 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
10971 Fix typos in docstrings.
10972 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
10973 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
10974 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
10975 (Info-restore-desktop-buffer): Mark unused parameters.
10976 (Info-directory-find-file, Info-directory-find-node)
10977 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
10978 (Info-virtual-index-find-node, Info-apropos-find-file)
10979 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
10980 Mark unused parameters; fix typos in docstrings.
10981 (Info-virtual-index): Remove unused local variable `nodename'.
10983 2011-04-05 Deniz Dogan <deniz@dogan.se>
10985 * net/rcirc.el: Update my e-mail address.
10986 (rcirc-mode-map): Remove M-o binding.
10988 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
10990 * startup.el (command-line): Save the cursor's theme-face
10991 directly, instead of using face-override-spec.
10993 * custom.el (load-theme): Minor optimization in assigning faces.
10995 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
10997 * help-fns.el (describe-variable): Complete all variables having
10998 documentation, including keywords.
10999 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11001 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
11003 Convert to lexical-binding.
11005 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11006 (bs--get-marked-string, bs--get-modified-string)
11007 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11008 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11009 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11011 * ehelp.el (electric-help-execute-extended)
11012 (electric-help-ctrl-x-prefix):
11013 * hexl.el (hexl-revert-buffer-function):
11014 * linum.el (linum-after-change, linum-after-scroll):
11015 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11017 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11019 2011-04-04 Daiki Ueno <ueno@unixuser.org>
11026 * epg.el: Use lexical binding.
11028 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
11030 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11032 * textmodes/flyspell.el (flyspell-word): Recognize default
11033 dictionary case for flyspell-mark-duplications-exceptions.
11034 Use regexp matching for languages.
11035 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11036 default dictionary (Bug#7926).
11038 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
11040 * emacs-lisp/package.el (package--with-work-buffer):
11041 Recognize https URLs.
11043 * net/network-stream.el: Move from gnus/proto-stream.el.
11044 Change prefix to network-stream throughout.
11045 (open-protocol-stream): Merge into open-network-stream, leaving
11046 open-protocol-stream as an alias. Handle nil BUFFER args.
11048 * subr.el (open-network-stream): Move to net/network-stream.el.
11050 2011-04-02 Glenn Morris <rgm@gnu.org>
11052 * find-dired.el (find-exec-terminator): New option.
11053 (find-ls-option): Test for -ls support.
11054 (find-ls-subdir-switches): Test for -b in find-ls-option.
11055 (find-dired, find-grep-dired): Doc fixes.
11056 (find-dired): Use find-exec-terminator.
11058 * find-dired.el (find-ls-option, find-ls-subdir-switches)
11059 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11060 (find-name-arg): Remove purecopy.
11062 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11063 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11064 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11065 accordingly. Don't add the null-device if not needed.
11067 * files.el (save-some-buffers): Doc fix.
11069 2011-04-02 Eli Zaretskii <eliz@gnu.org>
11071 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11073 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
11075 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11076 Use `dolist' rather than `mapcar'.
11078 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11080 Add lexical binding.
11082 * subr.el (apply-partially): Use new closures rather than CL.
11083 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11084 (dolist, dotimes): Use slightly different expansion for lexical code.
11085 (functionp): Move to C.
11086 (letrec): New macro.
11087 (with-wrapper-hook): Use it and apply-partially instead of CL.
11088 (eval-after-load): Preserve lexical-binding.
11089 (save-window-excursion, with-output-to-temp-buffer): Turn them
11092 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11094 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11096 (help-add-fundoc-usage): Don't add `Not documented'.
11097 (help-function-arglist): Handle closures, subroutines, and new
11098 byte-code-functions.
11099 (help-make-usage): Remove leading underscores.
11100 (describe-function-1): Handle closures.
11101 (describe-variable): Use special-variable-p for completion.
11103 * files.el (lexical-binding): Declare safe.
11105 * emacs-lisp/pcase.el: Don't use destructuring-bind.
11106 (pcase--memoize): Rename from pcase-memoize. Change weakness.
11107 (pcase): Add `let' pattern.
11108 Change memoization so it actually works.
11109 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11110 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11113 * emacs-lisp/macroexp.el: Use lexical binding.
11114 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
11115 Don't convert ' to #' without checking that it's indeed quoting
11118 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
11119 Use eval-sexp-add-defvars.
11120 (eval-sexp-add-defvars): New fun.
11122 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11124 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11126 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11127 than the internal `byte-compile-lambda'.
11128 (defmethod): Don't hide code under quotes.
11129 (eieio-defmethod): New `code' argument.
11131 * emacs-lisp/eieio-comp.el: Remove.
11133 * emacs-lisp/edebug.el (edebug-eval-defun)
11134 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11135 (edebug-toggle): Avoid `eval'.
11137 * emacs-lisp/disass.el (disassemble-internal): Handle new
11139 (disassemble-1): Handle new byte codes.
11141 * emacs-lisp/cl.el (pushnew): Silence warning.
11143 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11144 (cl-byte-compile-throw): Remove.
11145 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11147 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11150 * emacs-lisp/cconv.el: New file.
11152 * emacs-lisp/bytecomp.el: Use lexical binding instead of
11153 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
11154 (byte-compile-initial-macro-environment):
11155 Handle declare-function here.
11156 (byte-compile--lexical-environment): New var.
11157 (byte-stack-ref, byte-stack-set, byte-discardN)
11158 (byte-discardN-preserve-tos): New lap codes.
11159 (byte-interactive-p): Don't use any more.
11160 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11162 (byte-compile-lapcode): Use them and handle new lap codes.
11163 (byte-compile-obsolete): Remove.
11164 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11165 (byte-compile-arglist-warn): Check late def of inlinable funs.
11166 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11167 since they should have been expanded by now.
11168 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11169 (byte-compile-from-buffer): Remove unused second arg.
11170 (byte-compile-preprocess): New function.
11171 (byte-compile-toplevel-file-form): New function to distinguish
11172 file-form calls from outside from file-form calls from hunk-handlers.
11173 (byte-compile-file-form): Simplify.
11174 (byte-compile-file-form-defsubst): Remove.
11175 (byte-compile-file-form-defmumble): Simplify now that
11176 byte-compile-lambda always returns a byte-code-function.
11177 (byte-compile): Preprocess.
11178 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11179 Remove, not used any more.
11180 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11181 (byte-compile-make-args-desc): New funs.
11182 (byte-compile-lambda): Handle lexical functions. Always return
11183 a byte-code-function.
11184 (byte-compile-reserved-constants): New var, to make up room for
11185 closed-over variables.
11186 (byte-compile-constants-vector): Obey it.
11187 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11188 (byte-compile-macroexpand-declare-function): New function.
11189 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11190 byte-code-functions.
11191 (byte-compile-form): Check obsolescence here.
11192 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11193 (byte-compile-variable-ref): Remove.
11194 (byte-compile-dynamic-variable-op): New fun.
11195 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11196 (byte-compile-variable-set): New funs.
11197 (byte-compile-discard): Add 2 args.
11198 (byte-compile-stack-ref, byte-compile-stack-set)
11199 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11200 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11201 macroexpand-all instead.
11202 (byte-compile-quote-form): Remove.
11203 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11204 (byte-compile-bind, byte-compile-unbind): New funs.
11205 (byte-compile-let): Handle let* and lexical binding.
11206 (byte-compile-let*): Remove.
11207 (byte-compile-catch, byte-compile-unwind-protect)
11208 (byte-compile-track-mouse, byte-compile-condition-case):
11209 Handle a new :fun-body form, used for lexical scoping.
11210 (byte-compile-save-window-excursion)
11211 (byte-compile-with-output-to-temp-buffer): Remove.
11212 (byte-compile-defun): Simplify.
11213 (byte-compile-stack-adjustment): New fun.
11214 (byte-compile-out): Use it.
11215 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11217 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11220 * emacs-lisp/byte-opt.el: Use lexical binding.
11221 (byte-inline-lapcode): Remove (to bytecomp).
11222 (byte-compile-inline-expand): Pay attention to inlining to/from
11223 lexically bound code.
11224 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11226 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11227 any more and don't call compiler-macros.
11228 (byte-compile-splice-in-already-compiled-code): Remove.
11229 (byte-code): Don't inline any more.
11230 (disassemble-offset): Receive `bytes' as argument rather than via
11232 (byte-compile-tag-number): Declare before first use.
11233 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11234 `return' even if make-spliceable.
11235 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11236 obsolete interactive-p.
11237 (byte-optimize-lapcode): Optimize new lap-codes.
11238 Don't trip up on new form of `byte-constant' lap code.
11240 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11242 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11244 * custom.el (custom-initialize-default, custom-declare-variable):
11247 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11249 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11250 (COMPILE_FIRST): Add macroexp and cconv.
11251 * makefile.w32-in: Mirror changes in Makefile.in.
11253 * vc/cvs-status.el:
11257 * vc/smerge-mode.el:
11258 * textmodes/bibtex-style.el:
11259 * textmodes/css.el:
11267 * emacs-lisp/smie.el:
11270 * abbrev.el: Use lexical binding.
11272 2011-04-01 Eli Zaretskii <eliz@gnu.org>
11274 * info.el (info-display-manual): New function.
11276 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11278 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11280 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11282 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
11283 an entry for that server in rcirc-authinfo. (Bug#8385)
11285 2011-03-31 Glenn Morris <rgm@gnu.org>
11287 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11289 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11291 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11293 * progmodes/python.el (python-default-interpreter)
11294 (python-python-command-args, python-jython-command-args)
11295 (python-which-shell, python-which-args, python-which-bufname)
11296 (python-file-queue, python-comint-output-filter-function)
11297 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11298 variables and functions.
11300 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11302 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11303 (completion-in-region-mode): New minor mode.
11304 (completion-in-region): Use it.
11305 (completion-in-region--data, completion-in-region-mode-map): New vars.
11306 (completion-in-region--postch): New function.
11307 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11309 (completion--capf-wrapper): New function.
11310 (completion-at-point): Use it to track well-behavedness of
11312 (completion-help-at-point): New command.
11314 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11316 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11317 syntax class to search for whitespace on a single line
11318 (Message-ID: <4D938140.4030905@redhat.com>).
11320 2011-03-30 Leo Liu <sdl.web@gmail.com>
11322 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11324 (edit-abbrevs-map): Bind them here.
11325 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11327 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11329 * allout.el (allout-hide-by-annotation, allout-flag-region):
11330 Reduce possibility of overlay leakage by making them volatile.
11332 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11333 hash is not shared between buffers. Mode initialization is
11334 responsible for giving it a useful starting value.
11335 (allout-item-span): Reduce possibility of overlay leakage by
11336 making them volatile.
11337 (allout-widgets-count-buttons-in-region): Add diagnostic function
11338 for tracking down button overlay leaks.
11340 2011-03-29 Leo Liu <sdl.web@gmail.com>
11342 * ido.el (ido-read-internal): Use the default history var
11343 minibuffer-history if no HISTORY is specified.
11345 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11347 * net/imap.el (imap-shell-open, imap-process-connection-type):
11348 Use imap-process-connection-type for 'shell' streams as well as
11349 Kerberos, SSL, other subprocesses.
11351 2011-03-28 Leo Liu <sdl.web@gmail.com>
11353 * abbrev.el (abbrev-table-empty-p): New function.
11354 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11355 nonempty ones. (Bug#5937)
11357 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11359 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11361 2011-03-27 Leo Liu <sdl.web@gmail.com>
11363 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11364 for foreground and background colors.
11365 (ansi-color-make-color-map): Adapt.
11367 2011-03-25 Leo Liu <sdl.web@gmail.com>
11369 * midnight.el (midnight-time-float): Remove. Note it calculates
11370 the microsecond component incorrectly and seconds-to-time does the
11372 Remove redundant (require 'timer).
11374 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11375 (ido-completions): Remove unused arguments. (Bug#8329)
11377 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11379 * minibuffer.el (completion--flush-all-sorted-completions):
11380 Remove itself from hook.
11381 (completion-at-point): Let the functions perform the completion
11382 immediately and return nil or t.
11383 * comint.el (comint-dynamic-complete-functions): Now identical to
11384 completion-at-point-functions.
11385 (comint-dynamic-list-input-ring): Remove unused var `index'.
11386 (comint--match-partial-filename, comint--unquote&expand-filename):
11387 New funs, split from comint-match-partial-filename.
11388 (comint-dynamic-complete): Use completion-at-point.
11389 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11391 2011-03-24 Drew Adams <drew.adams@oracle.com>
11393 * thingatpt.el: Support `defun'.
11395 2011-03-23 Leo Liu <sdl.web@gmail.com>
11397 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11399 * help-mode.el (help-mode-finish): Tweak regexp.
11401 2011-03-23 Glenn Morris <rgm@gnu.org>
11403 * eshell/esh-opt.el (eshell-eval-using-options):
11404 Do not bind unused local variable `eshell-option-stub'.
11406 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11408 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
11410 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11411 keymap variable in `with-no-warnings' to avoid a warning when the
11412 keymap has been already `defconst'ed.
11414 2011-03-22 Leo Liu <sdl.web@gmail.com>
11416 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11417 encode all chars in abbrevs; otherwise use emacs-mule or
11418 utf-8-emacs. (Bug#8308)
11420 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
11422 * simple.el (backward-delete-char-untabify):
11423 Avoid warning about using `delete-backward-char'.
11425 * image.el (image-type-file-name-regexps): Make it variable.
11426 `imagemagick-register-types' modifies it, and the user may want
11427 to add new extensions for known image types.
11428 (imagemagick-register-types): Throw error if not using ImageMagick.
11430 2011-03-22 Leo Liu <sdl.web@gmail.com>
11432 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11433 located before rcirc-prompt-end-marker.
11434 (rcirc-complete): Error if point is not after rcirc prompt.
11435 Handle the case when table is nil.
11436 (rcirc-user-authenticated): Define to fix compiler warning.
11438 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
11440 * custom.el (custom--inhibit-theme-enable): Make it affect only
11441 custom-theme-set-variables and custom-theme-set-faces.
11442 (provide-theme): Ignore custom--inhibit-theme-enable.
11443 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11444 (custom-enabling-themes): Delete variable.
11445 (enable-theme): Accept only loaded themes as arguments.
11446 Ignore the special custom-enabled-themes variable.
11447 (custom-enabled-themes): Forbid themes from setting this.
11448 Eliminate use of custom-enabling-themes.
11449 (custom-push-theme): Quote "changed" custom var entry.
11451 2011-03-21 Leo Liu <sdl.web@gmail.com>
11453 * ido.el (ido-read-internal): Add ido-selected to history instead
11456 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11458 * subr.el (deferred-action-list, deferred-action-function):
11461 2011-03-21 Leo Liu <sdl.web@gmail.com>
11463 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11464 change on 2011-02-13 (bug#8309).
11466 * minibuffer.el (read-file-name-function): Change default value.
11467 (read-file-name--defaults): Rename from read-file-name-defaults.
11468 (read-file-name-default): Rename from read-file-name.
11469 (read-file-name): Call read-file-name-function.
11471 2011-03-21 Glenn Morris <rgm@gnu.org>
11473 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11476 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
11478 * cus-theme.el: Add missing provide statement.
11479 (customize-create-theme): Extract theme value correctly.
11480 (custom-theme-visit-theme): Autoload.
11481 (customize-create-theme): Prompt before inserting default faces.
11483 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11485 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11486 units and musical notes.
11488 2011-03-20 Leo Liu <sdl.web@gmail.com>
11490 * ido.el (ido-read-internal): Use completing-read-default.
11491 (ido-completing-read): Fix compatibility with completing-read.
11493 2011-03-20 Christian Ohler <ohler@gnu.org>
11495 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11496 (ert-delete-all-tests): Use `called-interactively-p' rather than
11498 (ert--make-xrefs-region): Respect END.
11500 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
11502 * dired-aux.el (dired-create-directory): Signal an error if the
11503 directory already exists (Bug#8246).
11505 * facemenu.el (list-colors-display): Call list-faces-display
11506 inside with-help-window.
11507 (list-colors-print): Use display property to align the final
11508 column, instead of checking window-width.
11510 2011-03-19 Eli Zaretskii <eliz@gnu.org>
11512 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
11513 windows-nt systems.
11514 (emerge-protect-metachars): Quote correctly for ms-dos and
11515 windows-nt systems.
11517 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
11519 * info.el (info-initialize): Replace all uses of `:' with
11520 path-separator for compatibility with non-Unix systems.
11521 Cache quoting of path-separator. (Bug#8258)
11523 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
11525 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11526 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11527 (mouse-avoidance-mode): Fix typos in docstrings.
11529 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
11531 * startup.el (package-subdirectory-regexp): Move from package.el.
11532 Omit \\` and \\', and let callers add them.
11534 * emacs-lisp/package.el (package-strip-version)
11535 (package-load-all-descriptors): Add \\` and \\' to
11536 package-subdirectory-regexp before using it.
11537 (package-untar-buffer): New arg DIR; ensure that file untars only
11538 into this expected directory. Remove superfluous delete-region.
11539 (package-unpack): Caller changed.
11540 (package-tar-file-info): Use package-subdirectory-regexp.
11542 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11544 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11545 diff-mode-shared-map (bug#8284).
11546 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
11548 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11550 * calendar/time-date.el (format-seconds): Use assoc instead of
11551 assoc-string, since assoc-string doesn't exist in XEmacs.
11553 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
11555 * custom.el (custom-known-themes): Reflow docstring.
11556 (custom-theme-load-path): Fix typo in docstring.
11557 (load-theme): Fix typo in error message.
11558 (custom-available-themes, custom-variable-theme-value):
11559 Use `let', not `let*'.
11561 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11563 * calc/README: Mention inclusion of musical notes.
11565 * calc/calc-units.el (calc-lu-quant): Rename from
11566 `calc-logunits-quantity'.
11567 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11568 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11569 (calc-db): Rename from `calc-dblevel'.
11570 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11571 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11572 (calc-np): Rename from `calc-nplevel'.
11573 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11574 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11575 (calc-lu-plus): Rename from `calc-logunits-add'.
11576 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11577 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11578 (calc-lu-minus): Rename from `calc-logunits-sub'.
11579 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11580 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11581 (calc-lu-times): Rename from `calc-logunits-mul'.
11582 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11583 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11584 (calc-lu-divide): Rename from `calc-logunits-div'.
11585 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11586 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11588 * calc/calc-ext.el (calc-init-extensions): Update the names of the
11589 functions being autoloaded.
11591 * calc/calc.el (calc-lu-power-reference): Rename from
11592 `calc-logunits-power-reference'.
11593 (calc-lu-field-reference): Rename from
11594 `calc-logunits-field-reference'.
11596 * calc/calc-help.el (calc-l-prefix-help):
11597 Mention musical note functions.
11599 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11601 * minibuffer.el (completion-all-sorted-completions):
11602 Use :completion-cycle-penalty text property if present.
11604 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
11606 * allout.el (allout-yank-processing): Adjust for new rebulleting
11607 regime so bullet being yanked is used without prompting the user
11610 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
11612 * startup.el (command-line): Warn the user that _emacs is deprecated.
11614 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
11616 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11617 (delphi-verbose, delphi-comment-face, delphi-string-face)
11618 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11619 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11620 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11621 (delphi-new-comment-line, delphi-font-lock-defaults)
11622 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11623 Fix typos in docstrings.
11625 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
11627 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
11628 Invert the roles of character and string values for INSTEAD, so a
11629 string is used for the more common case of a defaulting prompt.
11631 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11633 * progmodes/ruby-mode.el (ruby-backward-sexp):
11634 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11635 * play/gamegrid.el (gamegrid-make-face):
11636 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11637 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11638 * notifications.el (notifications-notify):
11639 * net/xesam.el (xesam-search-engines):
11640 * net/quickurl.el (quickurl-list-insert):
11641 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11643 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
11645 * startup.el (command-line): Update package subdirectory regexp.
11647 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11649 * allout.el (allout-abbreviate-flattened-numbering)
11650 (allout-mode-deactivate-hook): Fix up obsolescence "date".
11652 * subr.el (read-char-choice): Only show the cursor after the prompt,
11653 not after the answer.
11655 2011-03-15 Kevin Ryde <user42@zip.com.au>
11657 * help-fns.el (variable-at-point): Skip leading quotes, if any
11660 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11662 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11665 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
11667 * shell.el (shell): When called interactively, offer to change the
11668 shell file name on remote hosts.
11670 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
11672 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11673 integration for LDAP parameters. The host, base, user or binddn,
11674 and secret tokens can be specified in a netrc file, for instance.
11675 This is optional because an `auth-source' parameter must be
11676 specified in the search attributes.
11678 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
11680 * help.el (describe-mode): Link to the mode's definition (bug#8185).
11682 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11684 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11685 into declaration. Remove redundant and harmful binding.
11687 2011-03-12 Eli Zaretskii <eliz@gnu.org>
11689 * files.el (file-ownership-preserved-p): Pass `integer' as an
11690 explicit 2nd argument to `file-attributes'. If the file's owner
11691 is the Administrators group on Windows, and the current user is
11692 Administrator, consider that a match.
11694 * server.el (server-ensure-safe-dir): Consider server directory
11695 safe on MS-Windows if its owner is the Administrators group while
11696 the current Emacs user is Administrator. Use `=' to compare
11697 numerical UIDs, since they could be integers or floats.
11699 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
11701 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11703 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
11705 Sync with Tramp 2.2.1.
11707 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11709 * net/trampver.el: Update release number.
11711 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11713 * progmodes/compile.el (compilation--previous-directory): Fix up
11714 various nil/dead-marker mismatches (bug#8014).
11715 (compilation-directory-properties, compilation-error-properties):
11716 Don't call it at a position past the one we're about to change.
11718 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11719 Disable obsolescence warnings in the file that declares it.
11721 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
11723 * allout-widgets.el (allout-widgets-tally):
11724 Initialize allout-widgets-tally as a hash table rather than nil to
11725 prevent mode-line redisplay warnings. Also, clarify the module
11726 description and fix a comment typo.
11728 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
11730 * help-fns.el (describe-variable): Don't complete keywords.
11731 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
11733 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
11735 * emacs-lisp/package.el (package-version-join): Impose a standard
11736 string representation for pre/alpha/beta version lists.
11737 (package-unpack-single): Standardize the directory name by passing
11738 it through package-version-join.
11739 (package-strip-rcs-id): Accept any version string that does not
11740 signal an error in version-to-list.
11742 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
11744 * simple.el (delete-trailing-whitespace): Return nil for the
11745 benefit of `write-file-functions'.
11747 2011-03-10 Glenn Morris <rgm@gnu.org>
11749 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11751 * vc/vc-git.el (vc-git-program): New option.
11752 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11753 (vc-git--call): Use it.
11755 * eshell/esh-util.el (eshell-condition-case): Doc fix.
11757 * cus-edit.el (Custom-newline): If no button at point, look
11758 for a subgroup button at start-of-line. (Bug#2298)
11760 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11762 2011-03-10 Julien Danjou <julien@danjou.info>
11764 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11765 `cursor-type' is nil.
11767 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
11769 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11771 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
11773 * allout.el: Change so yank of distinctive-bullet items
11774 preserves the existing header prefix, rebulleting it if necessary,
11775 rather than replacing it. This is necessary for proper operation
11776 of cooperative addons like allout-widgets.
11777 (allout-make-topic-prefix, allout-rebullet-heading):
11778 Change SOLICIT arg to INSTEAD, and interpret additionally a string
11779 value as alternate bullet to be used, instead of prompting the user
11780 for a bullet character.
11782 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
11784 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11785 Do not use `tramp-file-name-port', because this returns also
11786 `tramp-default-port'.
11788 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11790 * net/rcirc.el (rcirc-handler-001): Remove useless
11791 with-rcirc-process-buffer.
11792 (rcirc-check-auth-status): Swap arguments to string-match.
11794 2011-03-09 Glenn Morris <rgm@gnu.org>
11796 * shell.el (shell-mode):
11797 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
11799 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
11800 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
11802 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
11804 * emacs-lisp/package.el (package-refresh-contents)
11805 (package-menu-execute): Use condition-case-no-debug.
11807 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
11809 * simple.el (shell-command-to-string): Use `process-file'.
11811 * emacs-lisp/package.el (package-tar-file-info): Handle also
11814 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11815 Use `equal' for upload base check.
11817 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
11819 * textmodes/texinfo.el (texinfo-environments):
11820 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
11822 2011-03-08 Glenn Morris <rgm@gnu.org>
11824 * cus-start.el (cursor-in-non-selected-windows):
11825 Fix :set quoting oddness. (Bug#8192)
11827 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
11828 in some setf expressions. (Bug#2159)
11830 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
11832 * custom.el (custom-available-themes): Return themes in
11833 alphabetical order.
11835 See ChangeLog.15 for earlier changes.
11837 ;; Local Variables:
11841 Copyright (C) 2011-2012 Free Software Foundation, Inc.
11843 This file is part of GNU Emacs.
11845 GNU Emacs is free software: you can redistribute it and/or modify
11846 it under the terms of the GNU General Public License as published by
11847 the Free Software Foundation, either version 3 of the License, or
11848 (at your option) any later version.
11850 GNU Emacs is distributed in the hope that it will be useful,
11851 but WITHOUT ANY WARRANTY; without even the implied warranty of
11852 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11853 GNU General Public License for more details.
11855 You should have received a copy of the GNU General Public License
11856 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.