1 2012-04-02 Glenn Morris <rgm@gnu.org>
3 * emacs-lisp/authors.el (authors-aliases): Another addition.
5 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
7 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
11 2012-04-01 Chong Yidong <cyd@gnu.org>
13 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
14 Handle root directory properly.
15 (copy-directory): Caller changed.
17 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
18 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
20 2012-03-31 Glenn Morris <rgm@gnu.org>
22 * term/xterm.el (xterm-extra-capabilities): Doc fix.
24 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
26 * calendar/calendar.el (calendar-window-list)
27 (calendar-hide-window): Restore. (Bug#11140)
28 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
30 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
32 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
34 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
35 Check if file is a symlink (Bug#10489).
37 * files.el (copy-directory): Likewise.
39 2012-03-30 Chong Yidong <cyd@gnu.org>
41 * image.el (imagemagick-types-inhibit)
42 (imagemagick-register-types): Doc fix.
44 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
46 * ispell.el (ispell-get-extended-character-mode): Disable
47 extended-char-mode for hunspell. hunspell does not support it and
48 treats ~word as ordinary words in pipe mode.
50 2012-03-30 Glenn Morris <rgm@gnu.org>
52 * tutorial.el (help-with-tutorial): Ensure local variables don't
53 happen to make the buffer read-only. (Bug#11127)
55 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
57 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
58 (perl-calculate-indent): Return `noindent' in strings.
60 2012-03-28 Sam Steingold <sds@gnu.org>
62 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
63 instead of the broken adhockery which does not prevent calendar
64 buffers from being displayed at random after exit.
65 (calendar-window-list, calendar-hide-window): Remove the broken
68 2012-03-28 Glenn Morris <rgm@gnu.org>
70 * replace.el (query-replace-map): Doc fix.
72 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
74 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
77 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
79 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
81 (avl-tree--check, avl-tree--check-node): New funs.
83 2012-03-27 Martin Rudalics <rudalics@gmx.at>
85 * window.el (switch-to-visible-buffer): New option.
86 (switch-to-prev-buffer, switch-to-next-buffer):
87 Observe switch-to-visible-buffer. Make sure that checking for a window
88 showing a buffer already is done on the same frame.
90 2012-03-27 Glenn Morris <rgm@gnu.org>
92 * startup.el (mail-host-address): Doc fix.
94 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
96 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
99 2012-03-26 Ami Fischman <ami@fischman.org>
101 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
103 2012-03-26 Glenn Morris <rgm@gnu.org>
105 * files.el (save-buffers-kill-emacs): Doc fix.
107 * startup.el (normal-top-level, command-line, command-line-1):
108 Give them doc strings.
110 2012-03-25 Eli Zaretskii <eliz@gnu.org>
112 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
113 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
115 2012-03-25 Chong Yidong <cyd@gnu.org>
117 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
118 theme if it was previously enabled before (Bug#11031).
120 * cus-theme.el (custom-theme-write-faces): Retrieve current face
121 spec with custom-face-get-current-spec if its :shown-value is not
122 determined yet (Bug#9337).
123 (customize-create-theme, custom-theme-revert): Doc fixes.
125 * button.el (button-at): Minor addition to docstring.
127 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
129 * vc/vc.el (vc-merge): Fix a prompt.
131 2012-03-24 Chong Yidong <cyd@gnu.org>
133 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
136 * button.el (button-at): Minor addition to docstring.
138 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
140 * newcomment.el (comment-choose-indent): No space after BOL.
142 2012-03-22 Sam Steingold <sds@gnu.org>
144 * window.el (switch-to-prev-buffer): Revert last patch because the
145 bug turned out to be an advertised feature (Elisp manual 28.14).
147 2012-03-22 Glenn Morris <rgm@gnu.org>
149 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
150 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
152 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
154 * net/network-stream.el (network-stream-open-starttls): Make error
155 message under Windows be less misleading.
157 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
159 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
160 understands (bug#9942).
162 2012-03-22 Chong Yidong <cyd@gnu.org>
164 * simple.el (end-of-visible-line): Handle return value of
165 next-single-property-change properly (Bug#9371).
167 2012-03-22 Kenichi Handa <handa@m17n.org>
169 * international/quail.el (quail-insert-kbd-layout): Fix previous
170 change. To avoid unwanted bidi reordering, use
171 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
173 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
175 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
176 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
177 (ruby-beginning-of-indent): Be more careful with the difference
178 between word-boundary and symbol boundary.
179 (ruby-mode-syntax-table): Make : a symbol constituent.
181 2012-03-21 Andreas Politz <politza@fh-trier.de>
183 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
185 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
187 * progmodes/etags.el (tags-completion-at-point-function):
190 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
192 2012-03-21 Sam Steingold <sds@gnu.org>
194 * progmodes/etags.el (tags-completion-at-point-function):
195 Avoid the error when point is inside the pattern.
197 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
199 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
202 2012-03-21 Drew Adams <drew.adams@oracle.com>
204 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
206 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
208 * ido.el (ido-set-current-directory, ido-read-internal)
209 (ido-choose-completion-string, ido-completion-help): Handle nil
210 value of ido-completion-buffer (Bug#11008).
212 2012-03-21 Sam Steingold <sds@gnu.org>
214 * window.el (switch-to-prev-buffer): Do not switch to a visible
215 window previous buffer, just like with the frame previous buffers.
217 2012-03-21 Chong Yidong <cyd@gnu.org>
219 * faces.el (make-face, make-empty-face, copy-face):
220 * face-remap.el (face-remap-add-relative, face-remap-set-base):
223 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
225 * wid-edit.el (widget-complete-field): Remove (bug#11051).
226 (widget-complete): Remove broken use of it.
228 2012-03-20 Chong Yidong <cyd@gnu.org>
230 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
231 Use string-width and truncate-string-width to handle arbitrary
234 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
236 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
237 to draw rectangles, not squares. (Regression introduced by revno
238 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
240 2012-03-18 Chong Yidong <cyd@gnu.org>
242 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
243 it is not yet defined (for temacs).
245 2012-03-18 Leo Liu <sdl.web@gmail.com>
247 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
249 2012-03-17 Eli Zaretskii <eliz@gnu.org>
251 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
252 (ispell-choices-win-default-height, ispell-silently-savep)
253 (ispell-dictionary-alist, ispell-encoding8-command)
254 (ispell-check-version, ispell-aspell-find-dictionary)
255 (ispell-valid-dictionary-list, ispell-words-keyword)
256 (ispell-get-word, ispell-internal-change-dictionary)
257 (ispell-region, ispell-skip-region-list)
258 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
259 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
260 (ispell-message-text-end, ispell-message)
261 (ispell-buffer-local-parsing): Doc fix.
263 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
265 * htmlfontify.el: Add support for code block fontification for ODT
267 (hfy-optimisations): Define new option
269 (hfy-fontify-buffer): Honor above setting.
270 (hfy-begin-span, hfy-end-span): New routines factored out form
271 `hfy-fontify-buffer'.
272 (hfy-begin-span-handler, hfy-end-span-handler): New variables
273 that permit insertion of custom tags.
274 (hfy-fontify-buffer): Use above handlers.
275 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
276 (hfy-face-to-css): Re-defined to be a variable.
277 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
278 over multiple runs. This is made possible by having the caller let
279 bind a special variable `hfy-user-sheet-assoc'.
280 (htmlfontify-string): New defun.
281 (hfy-compile-face-map): Make sure that the last char in the
282 buffer is correctly fontified.
283 (hfy-face-resolve-face): Whitespace only change.
285 2012-03-17 Eli Zaretskii <eliz@gnu.org>
287 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
290 2012-03-16 Leo Liu <sdl.web@gmail.com>
292 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
294 2012-03-16 Alan Mackenzie <acm@muc.de>
296 Further optimise the handling of large macros.
298 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
299 limit to a call of `c-literal-limits'.
300 (c-determine-+ve-limit): New function.
301 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
302 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
303 In CASE 5B, restrict a search limit to 500.
304 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
306 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
307 Restrict macro bounds to +-500 from after-change's BEG END.
309 2012-03-16 Leo Liu <sdl.web@gmail.com>
311 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
313 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
315 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
316 `special-mode' setting of `buffer-read-only'. (Bug#11010)
318 2012-03-16 Glenn Morris <rgm@gnu.org>
320 * view.el (view-buffer, view-buffer-other-window)
321 (view-buffer-other-frame): Doc fixes re special mode-class.
323 * subr.el (eval-after-load): If named feature is provided not from
324 a file, run after-load forms. (Bug#10946)
326 * calendar/calendar.el (calendar-insert-at-column):
327 Handle non-unit-width characters a bit better. (Bug#10978)
329 2012-03-15 Chong Yidong <cyd@gnu.org>
331 * emacs-lisp/ring.el (ring-extend): New function.
332 (ring-insert+extend): Extend the ring correctly (Bug#11019).
334 * comint.el (comint-read-input-ring)
335 (comint-add-to-input-history): Grow comint-input-ring lazily.
337 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
339 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
340 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
342 * imenu.el: Fix multiple inheritance breakage (bug#9199).
343 (imenu-add-to-menubar): Don't add a redundant index.
344 (imenu-update-menubar): Handle a dynamically composed keymap.
346 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
348 * mail/sendmail.el (mail-encode-header):
349 Bind rfc2047-encode-encoded-words to nil.
351 2012-03-13 Glenn Morris <rgm@gnu.org>
353 * calendar/calendar.el (calendar-string-spread):
354 Handle non-unit-width characters a bit better. (Bug#10978)
356 2012-03-13 Leo Liu <sdl.web@gmail.com>
358 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
359 directory and file as argument (Bug#10822).
361 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
363 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
364 For dynamically generated code, follow $PC.
365 (gdb-disassembly-handler-custom): Handle no function name case.
367 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
369 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
370 * emulation/ws-mode.el (ws-query-replace):
371 * sort.el (sort-regexp-fields):
372 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
374 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
376 * dabbrev.el: Fix cycle completion order (bug#10963).
377 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
378 (dabbrev-completion): Don't use an obarray; provide
379 a cycle-sort-function.
381 2012-03-12 Leo Liu <sdl.web@gmail.com>
383 * simple.el (kill-new): Use equal-including-properties for comparison.
384 (kill-do-not-save-duplicates): Doc fix.
386 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
388 * dabbrev.el: Fix cycle completion (bug#10963).
389 Use lexical binding and wrap to 80 columns.
390 (dabbrev-completion): Delay computing the list of completions.
392 2012-03-12 Kenichi Handa <handa@m17n.org>
394 * international/quail.el (quail-insert-kbd-layout): Surround each
395 row by LRO and PDF instead of inserting many LRMs. Pad the left
396 and right of each non-spacing marks. Insert invisible space
397 between lower and upper characters to prevent composition.
399 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
401 * minibuffer.el (minibuffer-complete): Don't get confused when the
402 function is run twice via different commands (bug#10958).
403 (complete-with-action): Fix docstring.
405 2012-03-12 Chong Yidong <cyd@gnu.org>
407 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
408 (nxml-completion-at-point-function): New function.
410 (nxml-bind-meta-tab-to-complete-flag): Default to t.
412 * emacs-lisp/package.el (package-unpack, package-unpack-single):
413 Load generated autoloads file before byte compiling (Bug#10970).
414 (package--make-autoloads-and-compile): New helper fun.
416 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
418 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
420 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
422 * autorevert.el (auto-revert-handler): Ensure, that
423 file-readable-p is applied only for local files or in
424 auto-revert-tail-mode.
426 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
428 * server.el (server-eval-at): Handle non-tcp connections.
429 Decode result string.
431 * server.el (server-msg-size): New constant.
432 (server-reply-print): New function.
433 (server-eval-and-print): Use it.
434 (server-eval-at): Use server-quote-arg and server-unquote-arg.
437 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
439 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
442 2012-03-11 Chong Yidong <cyd@gnu.org>
444 * simple.el (goto-line): Doc fix (Bug#9938).
446 * subr.el (save-window-excursion): Doc fix (Bug#9979).
448 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
449 when finished (Bug#10963).
451 2012-03-11 Martin Rudalics <rudalics@gmx.at>
453 * window.el (split-window-below): Fix bug in case where
454 split-window-keep-point is nil (Bug#10971).
456 2012-03-11 Juri Linkov <juri@jurta.org>
458 * replace.el (replace-highlight): Set isearch-word to nil
459 unconditionally. (Bug#10887)
461 2012-03-10 Eli Zaretskii <eliz@gnu.org>
463 * net/mairix.el (mairix-replace-invalid-chars): Rename from
464 mairix-replace-illegal-chars; all callers changed. Don't remove
465 ^, ~, and = characters: they are meaningful in mairix search specs.
466 (mairix-widget-create-query): Add usage information about mairix
467 search forms: negating words, searching for substrings, etc.
469 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
471 * international/fontset.el (font-encoding-alist): Add an entry for
474 2012-03-10 Richard Stallman <rms@gnu.org>
476 * mail/sendmail.el (mail-encode-header):
477 Set rfc2047-encode-encoded-words.
479 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
481 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
482 view buffer means not swapped.
483 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
484 (rmail-write-region-annotate): Error if real text has disappeared.
486 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
488 2012-03-10 Chong Yidong <cyd@gnu.org>
490 * emulation/cua-rect.el (cua--init-rectangles):
491 * emulation/cua-base.el (cua--init-keymaps):
492 Add delete-forward-char to remappings (Bug#9666).
494 2012-03-10 Martin Rudalics <rudalics@gmx.at>
496 * speedbar.el (speedbar-unhighlight-one-tag-line):
497 Avoid unhighlighting due to frame switching (Bug#10275).
499 2012-03-10 Chong Yidong <cyd@gnu.org>
501 * minibuffer.el (completion-in-region, completion-help-at-point):
502 Give the completion field overlay a high priority (Bug#6830).
504 * dired.el (dired-goto-file): Recognize absolute file name
506 (dired-goto-file-1): New helper function.
507 (dired-toggle-read-only): Inhibit warnings.
509 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
511 * net/dbus.el: (dbus-property-handler): Return empty array if
512 there are no properties.
514 2012-03-09 Leo Liu <sdl.web@gmail.com>
516 * savehist.el (savehist-printable): Stricter check for string
519 2012-03-09 Eli Zaretskii <eliz@gnu.org>
521 * mail/smtpmail.el (smtpmail-send-it):
522 Bind coding-system-for-write to *-unix, so that FCC files are kept in
525 2012-03-09 Glenn Morris <rgm@gnu.org>
527 * files.el (dir-locals-find-file):
528 Don't check result is regular, readable.
529 (dir-locals-read-from-file): Demote errors.
531 2012-03-08 Eli Zaretskii <eliz@gnu.org>
533 * international/quail.el (quail-insert-kbd-layout):
534 Insert invisible LRM characters before each character in a keyboard
535 layout cell, to prevent their reordering by bidi display engine.
536 For details, see the discussion in
537 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
539 2012-03-08 Alan Mackenzie <acm@muc.de>
541 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
542 the starting position; make it extend the marked region when
543 invoked repeatedly - all under appropriate circumstances.
544 Fixes bugs #5525, #10906.
546 2012-03-08 Glenn Morris <rgm@gnu.org>
548 * files.el (locate-dominating-file, dir-locals-find-file):
549 Undo 2012-03-06 change.
551 2012-03-07 Eli Zaretskii <eliz@gnu.org>
553 * international/quail.el (quail-help):
554 Force bidi-paragraph-direction be left-to-right. See discussion in
555 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
558 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
560 Avoid superfluous registering of signals. (Bug#10807)
562 * notifications.el (notifications-on-action-object)
563 (notifications-on-close-object): New defvars.
564 (notifications-on-action-signal, notifications-on-closed-signal):
565 Unregister the signal if not needed any longer.
566 (notifications-notify): Register `notifications-action-signal' or
567 `notifications-closed-signal', if :on-action or :on-close has been
570 2012-03-07 Chong Yidong <cyd@gnu.org>
572 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
575 2012-03-06 Glenn Morris <rgm@gnu.org>
577 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
578 (x-disown-selection-internal, x-get-selection-internal):
579 Doc fix (add arglist signatures). (Bug#10783)
581 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
583 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
584 Handle breakpoints with no "type".
586 2012-03-06 Glenn Morris <rgm@gnu.org>
588 * files.el (locate-dominating-file): Add optional predicate argument.
589 (dir-locals-find-file): Make use of above change.
591 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
593 * info.el (Info-insert-dir): Also try "dir.gz".
595 2012-03-06 Glenn Morris <rgm@gnu.org>
597 * files.el (dir-locals-find-file):
598 Ignore non-readable or non-regular files. (Bug#10928)
600 * files.el (locate-dominating-file): Doc fix.
602 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
604 * calendar/calendar.el (calendar-set-mode-line):
605 `getenv' returns a string. (Bug#10951)
607 2012-03-05 Leo Liu <sdl.web@gmail.com>
609 * simple.el (backward-delete-char-untabify): Constrain point to
612 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
614 2012-03-05 Chong Yidong <cyd@gnu.org>
616 * simple.el (count-words): If called from Lisp, return the word
617 count, for symmetry with `count-lines'. Arglist changed.
618 (count-words--message): Args changed. Consolidate counting code
619 from count-words and count-words-region.
620 (count-words-region): Caller changed.
621 (count-lines-region): Make it an obsolete alias.
623 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
625 * saveplace.el (save-place-to-alist)
626 (save-place-ignore-files-regexp): Allow value nil to disable this
629 2012-03-04 Chong Yidong <cyd@gnu.org>
631 * faces.el (face-spec-reset-face): For the default face, reset the
632 attributes to default values (Bug#10748).
634 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
636 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
637 previous patch: Check `message-send-mail-function', and not the
638 default function (bug#10897).
640 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
642 * notifications.el (notifications-on-action-signal)
643 (notifications-on-closed-signal): Check for unique service name of
644 incoming event. Fix error in removing entry.
645 (top): Register for signals with wildcard service name.
646 (notifications-notify): Use daemon unique service name for map entries.
648 2012-03-04 Chong Yidong <cyd@gnu.org>
650 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
652 2012-03-04 Glenn Morris <rgm@gnu.org>
654 * abbrev.el (copy-abbrev-table, abbrev-table-p)
655 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
656 (expand-abbrev, define-abbrev-table): Doc fixes.
658 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
660 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
661 `message-default-send-mail-function' and not `send-mail-function'
662 when doing the prompting for `sendmail-query-once' before sending
663 in Message buffers (bug#10897).
665 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
666 This is inconsistent with all the other stream functions, which leave
667 the setting up to the higher levels (if so wanted) (bug#10931).
669 2012-03-02 Alan Mackenzie <acm@muc.de>
671 Depessimize the handling of very large macros.
673 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
674 (c-macro-cache-syntactic): New variables to implement a one
676 (c-invalidate-macro-cache): New function.
677 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
678 Adapt to use the new cache.
679 (c-state-safe-place): Use better the cache of safe positions.
680 (c-state-semi-nonlit-pos-cache)
681 (c-state-semi-nonlit-pos-cache-limit):
683 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
684 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
685 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
686 Use c-state-semi-safe-place.
688 * progmodes/cc-langs.el (c-get-state-before-change-functions):
689 Add c-invalidate-macro-cache to the C, C++, Obj entries.
691 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
693 * jka-compr.el (jka-compr-call-process):
694 Apply `file-accessible-directory-p' only when the default directory is
697 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
699 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
700 access of FILE2, if FILE1 does not exist.
702 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
703 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
705 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
706 Add "PAGER=" to `process-environment'.
708 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
710 * progmodes/sql.el: Bug fix
711 (sql-get-login-ext): Save login values in globals.
712 (sql-get-login): Use new version of `sql-get-login-ext'.
713 (sql-interactive-mode): Set global `sql-connection' to nil.
714 (sql-connect): Set global values for connection.
715 (sql-product-interactive): Save global values as buffer local.
717 2012-02-29 Leo Liu <sdl.web@gmail.com>
719 * abbrev.el (define-abbrevs): Reset sys to nil.
721 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
723 * files.el (file-equal-p): Rename from `files-equal-p'.
724 Return nil when one or both files don't exist.
725 (file-subdir-of-p): Now only top directory must exists,
726 return nil if it doesn't.
727 (copy-directory): No need to test with `file-subdir-of-p' after
729 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
732 2012-02-28 Glenn Morris <rgm@gnu.org>
734 * shell.el (shell-mode):
735 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
736 * play/landmark.el (landmark-font-lock-face-O):
737 * play/handwrite.el (handwrite):
738 * play/gomoku.el (gomoku-O):
739 * net/browse-url.el (browse-url-browser-display):
740 * international/mule.el (define-charset):
741 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
742 * filesets.el (filesets-find-file-delay):
743 * eshell/em-xtra.el (eshell-xtra):
744 * eshell/em-unix.el (eshell-grep):
745 * emulation/viper.el (viper-mode):
746 * emacs-lisp/regexp-opt.el (regexp-opt-group):
747 * emacs-lisp/easymenu.el (easy-menu-define):
748 * calendar/timeclock.el (timeclock-use-display-time):
750 * bookmark.el (bookmark-save-flag):
751 Doc fix (standardize possessive apostrophe usage).
753 2012-02-27 Chong Yidong <cyd@gnu.org>
755 * emulation/viper-cmd.el (viper-intercept-ESC-key):
756 Fix key-binding lookup for ESC key (Bug#9146).
758 * font-lock.el (font-lock-specified-p): Rename from
759 font-lock-spec-present. Callers changed.
761 2012-02-27 Daniel Hackney <dan@haxney.org>
763 * emacs-lisp/package.el (package-compute-transaction):
764 Handle holding a package version to t in package-load-list.
766 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
768 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
769 (tramp-get-inode, tramp-get-device): Use cached values.
771 2012-02-26 Alan Mackenzie <acm@muc.de>
773 Check there is a font-lock specification before doing initial
776 * font-core.el (font-lock-mode): Move the conditional from
777 :after-hook to font-lock-initial-fontify.
778 (font-lock-default-function): Move the check for a specification
779 to font-lock-spec-present.
781 * font-lock.el (font-lock-initial-fontify): Call ...
782 (font-lock-spec-present): New function.
784 2012-02-26 Jim Blandy <jimb@red-bean.com>
786 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
787 (gdb-send): Apply it to the operand of the '-interpreter-exec
788 console' command, so that we can pass arguments with (say) quotes
789 in them. Store exact string sent in gdb-debug-log (Bug#10765).
791 2012-02-26 Chong Yidong <cyd@gnu.org>
793 * help-fns.el (describe-function-1): Clarify description of
794 remapping (Bug#10844).
796 * files.el (files-equal-p): Doc fix.
797 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
798 and quit the loop once a mismatch is found.
800 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
802 * bs.el (bs--show-with-configuration): Don't throw an error
803 if the window cannot be split; otherwise, subsequent calls to
804 bs-show fail, restoring a stale window config. (Bug#10882)
806 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
808 * term/ns-win.el (global-map): Bind ns-drag-file to
809 ns-find-file (Bug#5855, Bug#10050).
811 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
813 * calendar/parse-time.el (parse-time-string): Allow extractor to
816 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
818 * net/tramp.el (tramp-file-name-for-operation):
819 Add `files-equal-p' and `file-subdir-of-p'.
821 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
822 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
823 Add COPY-CONTENTS argument.
825 2012-02-25 Chong Yidong <cyd@gnu.org>
827 Add custom groups for VC backends, for consistency with vc-bzr.
829 * vc/vc-arch.el (vc-arch):
830 * vc/vc-cvs.el (vc-cvs):
831 * vc/vc-git.el (vc-git):
832 * vc/vc-hg.el (vc-hg):
833 * vc/vc-mtn.el (vc-mtn):
834 * vc/vc-rcs.el (vc-rcs):
835 * vc/vc-sccs.el (vc-sccs):
836 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
837 All relevant defcustoms reassigned.
839 2012-02-25 Chong Yidong <cyd@gnu.org>
841 * newcomment.el (comment-styles): Add autoload (Bug#10868).
843 * term/x-win.el (x-initialize-window-system): Reduce default for
844 x-selection-timeout to 5 seconds (Bug#8869).
846 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
848 * files.el (file-subdir-of-p): Fix typo.
850 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
852 * files.el (files-equal-p, file-subdir-of-p): New functions.
853 (copy-directory): Error when trying to copy a directory on itself.
854 Add missing copy-contents arg to tramp handler.
855 * dired-aux.el (dired-copy-file-recursive): Same.
856 (dired-create-files): Modify destination when source is equal to
857 dest when copying files.
858 Return also when dest is a subdir of source. (Bug#10489)
860 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
862 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
865 2012-02-23 Alan Mackenzie <acm@muc.de>
867 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
868 parameter "after-hook:" to allow the expansion to run code after
869 the execution of the mode hooks.
871 * font-lock.el (font-lock-initial-fontify): New function extracted
872 from font-lock-mode-internal.
874 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
877 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
879 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
880 (completion--cache-all-sorted-completions): New function.
881 (completion-all-sorted-completions): Use it.
882 (completion--do-completion, minibuffer-force-complete):
883 Use it to re-instate the flush hook.
885 * icomplete.el (icomplete-completions): Replace last fix with a better
888 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
890 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
891 when it might call us back infinitely (bug#10797).
893 2012-02-23 Glenn Morris <rgm@gnu.org>
895 * minibuffer.el (completion-category-overrides): Doc fix.
897 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
899 * minibuffer.el (completion-table-with-context): Fix inf-loop.
900 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
902 2012-02-23 Glenn Morris <rgm@gnu.org>
904 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
905 (authors-obsolete-files-regexps, authors-ignored-files)
906 (authors-ambiguous-files, authors-renamed-files-alist):
909 2012-02-23 Juri Linkov <juri@jurta.org>
911 * isearch.el (isearch-occur): Sync interactive spec with occur's
912 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
914 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
916 2012-02-22 Juri Linkov <juri@jurta.org>
918 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
919 (ucs-insert): Doc fix. Check for hex digits in the string.
920 Don't display `nil' in the error message. (Bug#10857)
922 2012-02-22 Alan Mackenzie <acm@muc.de>
924 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
926 2012-02-22 Glenn Morris <rgm@gnu.org>
928 * ffap.el (ffap-c-path):
929 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
931 2012-02-22 Chong Yidong <cyd@gnu.org>
933 * custom.el (load-theme): Doc fix.
935 2012-02-22 Glenn Morris <rgm@gnu.org>
937 * dired-x.el (dired-guess-shell-alist-default):
938 Remove escape sequences from nroff output. (Bug#172)
940 2012-02-21 Glenn Morris <rgm@gnu.org>
942 * vc/emerge.el (emerge-defvar-local):
943 Set `permanent-local' property rather than unused `preserved'.
945 * textmodes/picture.el (picture-delete-char): New alias.
946 (picture-mode-map): Use it. (Bug#10860)
947 (picture-mode): Doc fix.
949 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
951 * newcomment.el (uncomment-region-default): Remove unused binding.
953 2012-02-21 Glenn Morris <rgm@gnu.org>
955 * textmodes/picture.el (picture-motion, picture-motion-reverse)
956 (picture-self-insert, picture-tab-chars): Doc fix.
957 (picture-mode-map): Fix C-a, C-e.
959 2012-02-20 Glenn Morris <rgm@gnu.org>
961 * emacs-lisp/authors.el (authors-aliases): Add another entry.
963 2012-02-20 Leo Liu <sdl.web@gmail.com>
965 * icomplete.el (icomplete-completions): Check FROM arg before
966 passing to substring (Bug#10850).
968 2012-02-19 Chong Yidong <cyd@gnu.org>
970 * comint.el: Require ansi-color.
971 (comint-output-filter-functions): Add ansi-color-process-output.
973 * ansi-color.el: Don't set comint-output-filter-functions; it is
974 now in the initial value defined in comint.el.
975 (ansi-color-apply-face-function): New variable.
976 (ansi-color-apply-on-region): Use it.
977 (ansi-color-apply-overlay-face): New function.
979 * shell.el (shell): No need to require ansi-color.
980 (shell-mode): Use ansi-color-apply-face-function to highlight
981 color escapes using font-lock-face property (Bug#10835).
983 2012-02-19 Chong Yidong <cyd@gnu.org>
985 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
986 mode-line formats (Bug#10839).
988 2012-02-18 Glenn Morris <rgm@gnu.org>
990 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
992 * mail/undigest.el (unforward-rmail-message): Doc fix.
994 * saveplace.el (save-place-ignore-files-regexp): Add :version.
996 2012-02-18 Eli Zaretskii <eliz@gnu.org>
998 * international/characters.el (script-list): Sync with the latest
999 Unicode Character Database.
1001 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
1003 * international/titdic-cnv.el: Remove duplicate coding tag.
1004 * language/cham.el: Likewise.
1005 * language/tai-viet.el: Likewise.
1007 2012-02-18 Glenn Morris <rgm@gnu.org>
1009 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1010 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1011 (calendar-bahai-all-holidays-flag, calendar-other-dates):
1012 * calendar/diary-lib.el (diary-abbreviated-year-flag):
1013 * calendar/holidays.el (holiday-bahai-holidays)
1014 (calendar-holidays, list-holidays):
1015 Use utf-8 Bahá'í in doc-strings, menus, etc.
1017 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
1019 * saveplace.el (save-place-ignore-files-regexp): New variable
1020 allowing for excluding files from saving their location of point.
1021 The default value matches the temporary commit message editing
1022 files from Git, SVN, Bazaar, and Mercurial.
1023 (save-place-to-alist): Use it.
1025 2012-02-17 Lawrence Mitchell <wence@gmx.li>
1026 Stefan Monnier <monnier@iro.umontreal.ca>
1028 * newcomment.el (uncomment-region-default): Don't leave extra space
1029 when an arg is provided (bug#8150).
1031 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
1033 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
1035 2012-02-17 Glenn Morris <rgm@gnu.org>
1037 * net/socks.el: Require network-stream. (Bug#10599)
1039 2012-02-17 Kenichi Handa <handa@m17n.org>
1041 * international/charprop.el:
1042 * international/uni-name.el:
1043 * international/uni-old-name.el:
1044 * international/uni-comment.el: Regenerate.
1046 2012-02-16 Glenn Morris <rgm@gnu.org>
1048 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1049 Interactively in calendar buffer, give an error if not on a date.
1051 2012-02-15 Glenn Morris <rgm@gnu.org>
1053 * shell.el (shell-delimiter-argument-list):
1054 Revert 2011-02-17 change. (Bug#8027)
1056 2012-02-15 Chong Yidong <cyd@gnu.org>
1058 * minibuffer.el (completion-at-point-functions): Doc fix.
1060 * custom.el (defcustom): Doc fix; note use of defvar.
1062 2012-02-15 Glenn Morris <rgm@gnu.org>
1064 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1067 2012-02-14 Glenn Morris <rgm@gnu.org>
1069 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1071 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
1073 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1074 way the ports list is computed.
1075 (smtpmail-query-smtp-server): Prompt the user for a port number if
1076 we can't connect to any of the standard ports (bug#10810).
1078 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
1080 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1082 2012-02-13 Glenn Morris <rgm@gnu.org>
1084 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
1086 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1088 * net/gnutls.el (gnutls-trustfiles): New variable.
1089 (gnutls-negotiate): Use it.
1091 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1093 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1094 does its stuff if Gnus is running.
1096 2012-02-13 Alan Mackenzie <acm@muc.de>
1098 Fix a loop in c-set-fl-decl-start.
1100 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
1101 c-backward-syntactic-ws actually moves backwards.
1103 2012-02-13 Leo Liu <sdl.web@gmail.com>
1105 * net/rcirc.el (rcirc-markup-attributes): Move point to the
1106 beginning so that all \C-o chars are removed.
1108 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1110 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
1112 2012-02-12 Alan Mackenzie <acm@muc.de>
1114 Fix infinite loop with long macros.
1115 * cc-engine.el (c-state-safe-place): Handle macros properly.
1117 2012-02-12 Chong Yidong <cyd@gnu.org>
1119 * window.el (display-buffer): Doc fix (Bug#10785).
1121 2012-02-12 Glenn Morris <rgm@gnu.org>
1123 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1124 (x-disown-selection-internal, x-get-selection-internal):
1125 Sync docs with the xselect.c versions.
1127 * allout-widgets.el: Add missing license notice.
1129 2012-02-11 Glenn Morris <rgm@gnu.org>
1131 * select.el (x-get-selection-internal, x-own-selection-internal)
1132 (x-disown-selection-internal):
1133 * x-dnd.el (x-get-selection-internal): Update declarations.
1135 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1137 * window.el (window-sides-slots):
1138 * tool-bar.el (tool-bar-position):
1139 * term/xterm.el (xterm-extra-capabilities):
1140 * ses.el (ses-self-reference-early-detection):
1141 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1142 (verilog-auto-wire-type)
1143 (verilog-auto-delete-trailing-whitespace)
1144 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1145 (verilog-auto-tieoff-declaration):
1146 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1147 (sql-oracle-statement-starters, sql-oracle-scan-on):
1148 * progmodes/prolog.el (prolog-align-comments-flag)
1149 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1150 (prolog-left-indent-regexp, prolog-paren-indent-p)
1151 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1152 (prolog-types, prolog-mode-specificators)
1153 (prolog-determinism-specificators, prolog-directives)
1154 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1155 (prolog-electric-dot-flag)
1156 (prolog-electric-dot-full-predicate-template)
1157 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1158 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1159 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1160 (prolog-program-switches, prolog-prompt-regexp)
1161 (prolog-debug-on-string, prolog-debug-off-string)
1162 (prolog-trace-on-string, prolog-trace-off-string)
1163 (prolog-zip-on-string, prolog-zip-off-string)
1164 (prolog-use-standard-consult-compile-method-flag)
1165 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1166 (prolog-imenu-max-lines, prolog-info-predicate-index)
1167 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1168 (prolog-char-quote-workaround):
1169 * progmodes/cc-vars.el (c-defun-tactic):
1170 * net/tramp.el (tramp-encoding-command-interactive)
1171 (tramp-local-end-of-line):
1172 * net/soap-client.el (soap-client):
1173 * net/netrc.el (netrc-file):
1174 * net/gnutls.el (gnutls):
1175 * minibuffer.el (completion-category-overrides)
1176 (completion-cycle-threshold)
1177 (completion-pcm-complete-word-inserts-delimiters):
1178 * man.el (Man-name-local-regexp):
1179 * mail/feedmail.el (feedmail-display-full-frame):
1180 * international/characters.el (glyphless-char-display-control):
1181 * eshell/em-ls.el (eshell-ls-date-format):
1182 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1183 (lisp-lambda-list-keyword-parameter-indentation)
1184 (lisp-lambda-list-keyword-parameter-alignment):
1185 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1186 * dired-x.el (dired-omit-verbose):
1187 * cus-theme.el (custom-theme-allow-multiple-selections):
1188 * calc/calc.el (calc-highlight-selections-with-faces)
1189 (calc-lu-field-reference, calc-lu-power-reference)
1190 (calc-note-threshold):
1191 * battery.el (battery-mode-line-limit):
1192 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1193 (archive-7z-update):
1194 * allout.el (allout-prefixed-keybindings)
1195 (allout-unprefixed-keybindings)
1196 (allout-inhibit-auto-fill-on-headline)
1197 (allout-flattened-numbering-abbreviation):
1198 * allout-widgets.el (allout-widgets-auto-activation)
1199 (allout-widgets-icons-dark-subdir)
1200 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1201 (allout-widgets-theme-dark-background)
1202 (allout-widgets-theme-light-background)
1203 (allout-widgets-item-image-properties-emacs)
1204 (allout-widgets-item-image-properties-xemacs)
1205 (allout-widgets-run-unit-tests-on-load)
1206 (allout-widgets-time-decoration-activity)
1207 (allout-widgets-hook-error-post-time)
1208 (allout-widgets-track-decoration):
1209 Add missing :version tags to new defcustoms and defgroups.
1211 * progmodes/sql.el (sql-ansi-statement-starters)
1212 (sql-oracle-statement-starters): Add custom type.
1214 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1215 (prolog-system-version): Give it a type.
1217 2012-02-11 Eli Zaretskii <eliz@gnu.org>
1219 * term/pc-win.el (x-select-text, x-selection-owner-p)
1220 (x-own-selection-internal, x-disown-selection-internal)
1221 (x-get-selection-internal): Sync doc strings and argument lists
1222 with xselect.c, common-win.el and x-win.el. (Bug#10783)
1224 2012-02-11 Leo Liu <sdl.web@gmail.com>
1226 * progmodes/python.el (python-end-of-statement): Fix infinite
1229 2012-02-10 Glenn Morris <rgm@gnu.org>
1231 * international/mule-cmds.el (unify-8859-on-encoding-mode)
1232 (unify-8859-on-decoding-mode): Properly mark as obsolete.
1234 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1236 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1237 about SMTP before checking the From header.
1239 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
1240 into own function for reuse by emacsbug.el.
1242 2012-02-10 Leo Liu <sdl.web@gmail.com>
1244 * subr.el (condition-case-unless-debug): Rename from
1245 condition-case-no-debug. All callers changed.
1246 (with-demoted-errors): Fix caller.
1248 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1249 * nxml/rng-valid.el (rng-do-some-validation):
1250 * emacs-lisp/package.el (package-refresh-contents)
1251 (package-menu-execute):
1252 * desktop.el (desktop-create-buffer):
1253 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1255 2012-02-10 Glenn Morris <rgm@gnu.org>
1257 * textmodes/bibtex.el:
1258 Add missing :version tags for new/changed defcustoms.
1260 * files.el (remote-file-name-inhibit-cache): Doc fixes.
1262 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
1264 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1265 (smtpmail-via-smtp): Use it, or fall back on the From address.
1266 (smtpmail-send-it): Ditto.
1268 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1270 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1271 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
1272 (byte-compile-tmp-var): New const.
1273 (byte-compile-defvar): Use it to minimize .elc size.
1274 Just use `defvar' rather than simulate it (bug#10761).
1276 2012-02-09 Glenn Morris <rgm@gnu.org>
1278 * files.el (rename-uniquely): Doc fix. (Bug#3806)
1280 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1283 * progmodes/compile.el (compilation-error-screen-columns)
1284 (compilation-first-column, compilation-filter-start): Doc fixes.
1286 * vc/log-view.el (log-view-toggle-entry-display):
1287 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1289 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1290 (report-emacs-bug-can-use-xdg-email):
1291 (report-emacs-bug-insert-to-mailer): Doc fixes.
1292 (report-emacs-bug): Message fix.
1294 * net/browse-url.el (browse-url-can-use-xdg-open)
1295 (browse-url-xdg-open): Doc fixes.
1297 * electric.el (electric-indent-mode, electric-pair-mode)
1298 (electric-layout-rules, electric-layout-mode): Doc fixes.
1299 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1301 2012-02-08 Martin Rudalics <rudalics@gmx.at>
1303 * server.el (server-unselect-display): Don't inadvertently kill
1304 the current buffer. (Bug#10729)
1306 2012-02-08 Glenn Morris <rgm@gnu.org>
1308 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1309 (sql-list-table): Doc fixes.
1311 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1312 Comment out (does nothing).
1314 * completion.el (dynamic-completion-mode):
1315 * dirtrack.el (dirtrack-debug-mode):
1316 * electric.el (electric-layout-mode):
1317 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1318 * face-remap.el (text-scale-mode, buffer-face-mode):
1319 * iimage.el (iimage-mode):
1320 * image-mode.el (image-transform-mode):
1321 * minibuffer.el (completion-in-region-mode):
1322 * scroll-lock.el (scroll-lock-mode):
1323 * simple.el (next-error-follow-minor-mode):
1324 * tar-mode.el (tar-subfile-mode):
1325 * tooltip.el (tooltip-mode):
1326 * vcursor.el (vcursor-use-vcursor-map):
1327 * wid-browse.el (widget-minor-mode):
1328 * emulation/tpu-edt.el (tpu-edt-mode):
1329 * emulation/tpu-extras.el (tpu-cursor-free-mode):
1330 * international/iso-ascii.el (iso-ascii-mode):
1331 * language/thai-util.el (thai-word-mode):
1332 * mail/supercite.el (sc-minor-mode):
1333 * net/goto-addr.el (goto-address-mode):
1334 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1335 * progmodes/cwarn.el (cwarn-mode):
1336 * progmodes/flymake.el (flymake-mode):
1337 * progmodes/glasses.el (glasses-mode):
1338 * progmodes/hideshow.el (hs-minor-mode):
1339 * progmodes/pascal.el (pascal-outline-mode):
1340 * textmodes/enriched.el (enriched-mode):
1341 * vc/smerge-mode.el (smerge-mode):
1342 Doc fixes (minor mode argument).
1344 2012-02-07 Eli Zaretskii <eliz@gnu.org>
1346 * ls-lisp.el (ls-lisp-sanitize): New function.
1347 (ls-lisp-insert-directory): Use it to fix or remove any elements
1348 in file-alist with missing attributes. (Bug#4673)
1350 2012-02-07 Alan Mackenzie <acm@muc.de>
1352 Fix spurious recognition of c-in-knr-argdecl.
1354 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1355 putative K&R region.
1357 2012-02-07 Alan Mackenzie <acm@muc.de>
1359 * progmodes/cc-engine.el (c-forward-objc-directive):
1360 Prevent looping in "#pragma mark @implementation".
1362 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
1364 * notifications.el (notifications-on-closed-signal): Make `reason'
1365 optional. (Bug#10744)
1367 2012-02-07 Glenn Morris <rgm@gnu.org>
1369 * emacs-lisp/easy-mmode.el (define-minor-mode):
1370 Doc fixes for the macro and the mode it defines.
1372 * image.el (imagemagick-types-inhibit): Doc fix.
1374 * cus-start.el (imagemagick-render-type): Add it.
1376 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1378 * progmodes/cc-mode.el
1379 (c-standard-font-lock-fontify-region-function): Set the default at
1380 load time, too, so that `font-lock-fontify-buffer' can be called
1381 without setting up the entire mode first. This fixes a bug in
1382 `mm-inline-text' with C MIME parts.
1384 2012-02-06 Chong Yidong <cyd@gnu.org>
1386 * simple.el (list-processes--refresh): Delete exited processes
1389 * comint.el (comint-next-prompt): next-single-char-property-change
1390 and prev-single-char-property-change never return nil (Bug#8657).
1392 * custom.el (defcustom): Doc fix (Bug#9711).
1394 2012-02-05 Chong Yidong <cyd@gnu.org>
1396 * cus-edit.el (custom-variable-reset-backup): Quote the value
1397 before storing it in the customized-value property (Bug#6712).
1398 (custom-display): Add a customization type tag.
1399 (custom-buffer-create-internal): Improve tooltip message.
1401 * wid-edit.el (widget-field-value-get): New optional arg to
1402 suppress trailing whitespace truncation.
1403 (character): Use it (Bug#2689).
1405 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
1407 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1408 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1410 2012-02-05 Chong Yidong <cyd@gnu.org>
1412 * cus-edit.el (custom-variable-value-create): For mismatched
1413 types, show the current value (Bug#7600).
1415 * custom.el (defcustom): Doc fix.
1417 2012-02-05 Glenn Morris <rgm@gnu.org>
1419 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1421 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
1423 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1424 (pp-buffer): Use `ignore-errors', `looking-at-p'.
1425 (pp-last-sexp): Use `looking-at-p'.
1427 2012-02-04 Glenn Morris <rgm@gnu.org>
1429 * files.el (revert-buffer):
1430 Doc fix (mention revert-buffer-in-progress-p).
1432 * emacs-lisp/ert-x.el (ert-simulate-command):
1433 Check deferred-action-list (which is obsolete) is bound.
1435 * subr.el (with-wrapper-hook): Doc fixes.
1437 * simple.el (filter-buffer-substring-functions)
1438 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1440 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
1442 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1443 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
1445 2012-02-04 Leo Liu <sdl.web@gmail.com>
1447 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1449 2012-02-04 Glenn Morris <rgm@gnu.org>
1451 * image.el (image-extension-data): Add obsolete alias.
1453 * isearch.el (isearch-update): Doc fix.
1455 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1457 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1459 2012-02-03 Glenn Morris <rgm@gnu.org>
1461 * image.el (image-animated-p): Doc fix. Use image-animated-types.
1462 (image-animate-timeout): Doc fix.
1464 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1466 2012-02-02 Glenn Morris <rgm@gnu.org>
1468 * server.el (server-auth-dir): Doc fix.
1469 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
1471 * subr.el (run-mode-hooks): Doc fix.
1473 2012-02-02 Juri Linkov <juri@jurta.org>
1475 * image-mode.el (image-toggle-display-image): Remove tautological
1476 `major-mode' from the `derived-mode-p' test.
1478 2012-02-02 Kenichi Handa <handa@m17n.org>
1480 * composite.el (compose-region): Cancel previous change.
1482 2012-02-02 Kenichi Handa <handa@m17n.org>
1484 * composite.el (compose-region, compose-string): Signal error for
1485 a null string component (Bug#6988).
1487 2012-02-01 Chong Yidong <cyd@gnu.org>
1489 * view.el (view-buffer-other-window, view-buffer-other-frame):
1490 Handle special modes like view-buffer (Bug#10650).
1491 (view-buffer): Simplify.
1493 * frame.el (set-frame-font): Tweak meaning of third argument.
1495 * dynamic-setting.el (font-setting-change-default-font):
1496 Use set-frame-font (Bug#9982).
1498 2012-02-01 Glenn Morris <rgm@gnu.org>
1500 * progmodes/compile.el (compilation-internal-error-properties):
1501 Respect compilation-first-column in the "*compilation*" buffer.
1503 * emacs-lisp/easy-mmode.el (define-minor-mode):
1504 Relax :variable's test for a named function.
1506 2012-01-31 Alan Mackenzie <acm@muc.de>
1508 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1511 2012-01-31 Chong Yidong <cyd@gnu.org>
1513 * frame.el (set-frame-font): New arg ALL-FRAMES.
1515 * menu-bar.el (menu-set-font): Use set-frame-font.
1517 * faces.el (face-spec-reset-face): Don't apply unspecified
1518 attribute values to the default face.
1520 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
1522 * progmodes/cwarn.el (cwarn): Remove dead link.
1523 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1524 Remove * from defcustom docstrings.
1525 (turn-on-cwarn-mode): Make obsolete.
1526 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1527 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1529 2012-01-31 Glenn Morris <rgm@gnu.org>
1531 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1532 Fix :variable handling of mode a symbol not equal to modefun.
1533 Allow named functions to be used as the cdr of :variable.
1535 2012-01-30 Glenn Morris <rgm@gnu.org>
1537 * emacs-lisp/authors.el (authors-fixed-entries):
1538 Remove reference to deleted file rnewspost.el.
1540 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
1542 * window.el (window-with-parameter): Remove unused variable `windows'.
1543 (window--side-check): Remove unused variable `code'.
1544 (window--resize-siblings): Remove unused variable `first'.
1545 (adjust-window-trailing-edge): Remove unused variable `failed'.
1546 (window-deletable-p, window--delete): Remove unused variable `buffer'.
1547 Use `let', not `let*'.
1548 (balance-windows-2): Remove unused variable `found'.
1549 (window--state-put-2): Remove unused variable `splits'.
1550 (window-state-put): Remove unused variable `selected'.
1551 (same-window-p): Use `string-match-p'.
1552 (display-buffer-assq-regexp): Remove unused variable `value'.
1553 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1554 Mark argument ALIST as ignored.
1555 (pop-to-buffer): Remove unused variable `old-window'.
1557 2012-01-29 Eli Zaretskii <eliz@gnu.org>
1559 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1560 and .lzma compressed files.
1562 2012-01-29 Chong Yidong <cyd@gnu.org>
1564 * frame.el (window-system-default-frame-alist): Doc fix.
1566 * dynamic-setting.el (font-setting-change-default-font): Don't
1567 change the default face if SET-FONT argument is non-nil (Bug#9982).
1569 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
1571 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1573 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
1575 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1576 breakpoints in files outside current directory (Bug#6098).
1578 2012-01-29 Chong Yidong <cyd@gnu.org>
1580 * progmodes/python.el: Require ansi-color at top-level.
1582 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1583 Define and use in Emacs Lisp mode (Bug#9360).
1584 (lisp-mode-abbrev-table): Add doc.
1585 (lisp-mode-variables): Don't set local-abbrev-table.
1586 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1588 2012-01-28 Roland Winkler <winkler@gnu.org>
1590 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1592 2012-01-28 Roland Winkler <winkler@gnu.org>
1594 * textmodes/bibtex.el (bibtex-entry-alist): New function.
1595 (bibtex-set-dialect): Use it. Either set global values of
1596 dialect-dependent variables or bind these variables buffer-locally
1598 (bibtex-mode): Call bibtex-set-dialect via
1599 hack-local-variables-hook.
1600 (bibtex-dialect): Update docstring.
1601 Add safe-local-variable predicate.
1602 (bibtex-entry-alist, bibtex-field-alist): Initialize via
1604 (bibtex-mode-map): Define menu for each dialect.
1605 (bibtex-entry): Fix docstring.
1607 2012-01-28 Chong Yidong <cyd@gnu.org>
1609 * eshell/esh-arg.el (eshell-quote-argument): New function.
1611 * eshell/esh-ext.el (eshell-invoke-batch-file):
1612 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1613 first arg to eshell-parse-command (Bug#10523).
1615 2012-01-28 Drew Adams <drew.adams@oracle.com>
1617 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1618 `default-directory' is non-nil.
1620 2012-01-28 Eli Zaretskii <eliz@gnu.org>
1622 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1623 line that displays system-configuration-options. (Bug#9924)
1625 2012-01-28 Drew Adams <drew.adams@oracle.com>
1627 * descr-text.el (describe-char): Show information about POS, in
1628 addition to information about the character at POS. Improve and
1629 update the doc string. Change "code point" to "code point in
1630 charset", to avoid confusion with the character's Unicode code
1631 point shown above that. (Bug#10129)
1633 2012-01-28 Eli Zaretskii <eliz@gnu.org>
1635 * descr-text.el (describe-char): Show the raw character, not only
1636 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
1637 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1640 2012-01-28 Phil Hagelberg <phil@hagelb.org>
1642 * emacs-lisp/package.el (package-install):
1643 Run package-refresh-contents if there is no archive yet (Bug#9798).
1645 2012-01-28 Chong Yidong <cyd@gnu.org>
1647 * emacs-lisp/package.el (package-maybe-load-descriptor):
1648 New function, split from package-maybe-load-descriptor.
1649 (package-maybe-load-descriptor): Use it.
1650 (package-download-transaction): Fully load required packages
1651 inside the loop, so that `require' calls work (Bug#10593).
1652 (package-install): No need to call package-initialize now.
1654 2012-01-28 Chong Yidong <cyd@gnu.org>
1656 * simple.el (deactivate-mark): Doc fix (Bug#8614).
1658 * tooltip.el (tooltip-mode): Doc fix.
1659 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1661 * frame.el (set-cursor-color): Doc fix (Bug#352).
1663 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1664 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1666 * cus-edit.el (custom-buffer-create-internal): Fix search button
1668 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
1670 2012-01-27 Eduard Wiebe <usenet@pusto.de>
1672 * dired.el (dired-mark-files-regexp):
1673 Include any subdirectory components. (Bug#10445)
1675 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
1677 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1678 Handle [host]:port syntax. (Bug#10533)
1680 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
1682 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1684 2012-01-26 Glenn Morris <rgm@gnu.org>
1686 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1687 * term.el (term-raw-escape-map): Use Control-X-prefix.
1688 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
1690 2012-01-25 Martin Rudalics <rudalics@gmx.at>
1692 * window.el (window-state-get, window--state-get-1): Don't deal
1693 with fixed-sizeness of windows. Simplify code.
1695 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
1697 * window.el (window--state-get-1, window--state-put-2):
1698 Don't save and restore the mark.
1700 2012-01-25 Chong Yidong <cyd@gnu.org>
1702 * custom.el (custom-variable-p): Doc fix.
1704 2012-01-25 Glenn Morris <rgm@gnu.org>
1706 * dired.el (dired-goto-file): Handle some of the more common
1707 characters that `ls -b' escapes. (Bug#10596)
1709 * progmodes/compile.el (compilation-next-error-function):
1710 Respect compilation-first-column in the "*compilation*" buffer.
1711 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
1713 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
1715 2012-01-24 Glenn Morris <rgm@gnu.org>
1717 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
1719 2012-01-24 Julien Danjou <julien@danjou.info>
1721 * color.el (color-rgb-to-hsl): Fix value computing.
1722 (color-hue-to-rgb): New function.
1723 (color-hsl-to-rgb): New function.
1724 (color-clamp, color-saturate-hsl, color-saturate-name)
1725 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1726 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1728 2012-01-24 Glenn Morris <rgm@gnu.org>
1730 * vc/vc-rcs.el (vc-rcs-create-tag):
1731 * vc/vc-sccs.el (vc-sccs-create-tag):
1732 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
1734 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
1736 * eshell/esh-util.el (eshell-read-hosts-file):
1737 Skip comment lines. (Bug#10549)
1739 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
1741 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
1743 * subr.el (display-delayed-warnings): Doc fix.
1744 (collapse-delayed-warnings): New function to collapse identical
1746 (delayed-warnings-hook): Add it.
1748 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
1750 * net/tramp.el (tramp-action-login): Set connection property "login-as".
1752 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
1753 properties, when "login-as" is set.
1755 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
1756 (tramp-default-user-alist): Don't add "pscp".
1757 (tramp-do-copy-or-rename-file-out-of-band): Use connection
1758 property "login-as", if set. (Bug#10530)
1760 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
1762 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
1763 "plink1" and "psftp". (Bug#10530)
1765 2012-01-21 Kenichi Handa <handa@m17n.org>
1767 * international/mule-cmds.el (prefer-coding-system): Show a
1768 warning message if the default value of file-name-coding-system
1771 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1773 * windmove.el (windmove-reference-loc):
1774 Fix windmove-reference-loc miscalculation.
1776 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1778 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1781 2012-01-21 Glenn Morris <rgm@gnu.org>
1783 * international/mule.el (auto-coding-alist): Add .tbz.
1785 * files.el (local-enable-local-variables): Doc fix.
1786 (inhibit-local-variables-regexps): Rename from
1787 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
1788 Doc fix. Add some extensions from auto-coding-alist.
1789 (inhibit-local-variables-suffixes):
1790 Rename from inhibit-first-line-modes-suffixes. Doc fix.
1791 (inhibit-local-variables-p):
1792 New function, extracted from set-auto-mode-1.
1793 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
1794 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
1795 (hack-local-variables): Doc fix. Make the mode-only case
1796 respect enable-local-variables and friends.
1797 Respect inhibit-local-variables-regexps for file-locals, but
1798 not for directory-locals.
1799 (set-visited-file-name):
1800 Take account of inhibit-local-variables-regexps.
1801 Whether it applies may change as the file name is changed.
1802 * jka-cmpr-hook.el (jka-compr-install):
1803 * jka-compr.el (jka-compr-uninstall):
1804 Update for inhibit-first-line-modes-suffixes name change.
1806 2012-01-20 Martin Rudalics <rudalics@gmx.at>
1808 * help-macro.el (make-help-screen): Temporarily restore original
1809 binding for minor-mode-map-alist (Bug#10454).
1811 2012-01-19 Julien Danjou <julien@danjou.info>
1813 * color.el (color-name-to-rgb): Use the white color to find the max
1814 color component value and return correctly computed values.
1815 (color-name-to-rgb): Add missing float conversion for max value.
1817 2012-01-19 Martin Rudalics <rudalics@gmx.at>
1819 * window.el (window--state-get-1, window-state-get): Do not use
1820 special state value for window-persistent-parameters.
1821 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
1822 (window--state-put-2): Reset all window parameters to nil before
1823 assigning values of persistent parameters.
1825 2012-01-18 Alan Mackenzie <acm@muc.de>
1827 Eliminate sluggishness and hangs in fontification of "semicolon
1830 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
1831 Change value 10000 -> 3000.
1832 (c-state-safe-place): Reformulate so it doesn't stack up an
1833 infinite number of wrong entries in c-state-nonlit-pos-cache.
1834 (c-determine-limit-get-base, c-determine-limit): New functions to
1835 determine backward search limits disregarding literals.
1836 (c-find-decl-spots): Amend commenting.
1837 (c-cheap-inside-bracelist-p): New function which detects "={".
1839 * progmodes/cc-fonts.el
1840 (c-make-font-lock-BO-decl-search-function): Give a limit to a
1842 (c-font-lock-declarations): Fix an occurrence of point being
1843 undefined. Check additionally for point being in a bracelist or
1844 near a macro invocation without a semicolon so as to avoid a
1845 fruitless time consuming search for a declarator. Give a more
1846 precise search limit for declarators using the new
1849 2012-01-18 Glenn Morris <rgm@gnu.org>
1851 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
1852 (set-auto-mode): Doc fixes.
1854 2012-01-17 Glenn Morris <rgm@gnu.org>
1856 * isearch.el (search-nonincremental-instead): Fix doc typo.
1858 * dired.el (dired-insert-directory): Handle newlines in directory name.
1859 (dired-build-subdir-alist): Unescape newlines in directory name.
1861 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
1863 * net/tramp.el (tramp-local-end-of-line): New defcustom.
1864 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
1865 (tramp-action-terminal): Use it. (Bug#10530)
1867 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1869 * minibuffer.el (completion--replace): Strip properties (bug#10062).
1871 2012-01-16 Martin Rudalics <rudalics@gmx.at>
1873 * window.el (window-state-ignored-parameters): Remove variable.
1874 (window--state-get-1): Rename argument MARKERS to IGNORE.
1875 Handle persistent window parameters. Make copy of clone-of
1876 parameter only if requested. (Bug#10348)
1877 (window--state-put-2): Install a window parameter only if it has
1878 a non-nil value or an existing parameter shall be overwritten.
1880 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
1882 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
1884 2012-01-14 Eli Zaretskii <eliz@gnu.org>
1886 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
1887 don't pass the (nil) value of `upnode' to string-match.
1889 2012-01-14 Chong Yidong <cyd@gnu.org>
1891 * startup.el (command-line): Fix X resource class for cursorColor.
1892 Fix values recognized by the cursorBlink resource.
1894 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
1896 * epg.el (epg--make-temp-file): Avoid permission race condition
1897 when running on old Emacs versions (bug#10403).
1899 2012-01-14 Glenn Morris <rgm@gnu.org>
1901 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
1903 2012-01-13 Alan Mackenzie <acm@muc.de>
1905 Fix filling for when filladapt mode is enabled.
1907 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
1908 c-mask-paragraph, pass in `fill-paragraph' rather than
1909 `fill-region-as-paragraph'. (This is a reversion of a previous
1911 * progmodes/cc-mode.el (c-basic-common-init):
1912 Make fill-paragraph-handle-comment buffer local and set it to nil.
1914 2012-01-13 Glenn Morris <rgm@gnu.org>
1916 * dired.el (dired-switches-escape-p): New function.
1917 (dired-insert-directory): Use dired-switches-escape-p.
1918 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
1920 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
1922 2012-01-12 Glenn Morris <rgm@gnu.org>
1924 * mail/sendmail.el (mail-mode): Update paragraph-separate for
1925 changes in adaptive-fill-regexp. (Bug#10276)
1927 2012-01-11 Alan Mackenzie <acm@muc.de>
1929 Fix Emacs bug #10463 - put `widen's around the critical spots.
1931 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
1932 widen around each invocation of c-state-pp-to-literal. Remove an
1933 unused let variable.
1935 2012-01-11 Glenn Morris <rgm@gnu.org>
1937 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
1940 2012-01-10 Chong Yidong <cyd@gnu.org>
1942 * net/network-stream.el (network-stream-open-starttls):
1943 Avoid emitting a confusing error message when the server gives a bad
1944 response to the capability command.
1946 2012-01-10 Glenn Morris <rgm@gnu.org>
1948 * mail/unrmail.el (unrmail): Tweak previous change.
1950 2012-01-09 Chong Yidong <cyd@gnu.org>
1952 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
1954 2012-01-08 Alan Mackenzie <acm@muc.de>
1956 Optimise font locking in long enum definitions.
1958 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
1959 arm to a cond form to handle enums.
1960 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
1961 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
1963 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
1965 * files.el (move-file-to-trash): Preserve default file modes on error.
1968 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1970 * faces.el (set-face-attribute): Clarify the meaning of the nil
1973 * subr.el (with-selected-frame): Mention that the selected frame
1974 is restored (bug#9980).
1976 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
1979 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
1980 (password-read): Don't autoload unused function.
1982 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
1984 * progmodes/which-func.el (which-func-mode): Turn into a
1985 non-interactive function and mark as obsolete (bug#10428).
1987 2012-01-06 Chong Yidong <cyd@gnu.org>
1989 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
1990 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
1991 functions, along with 1 and -1.
1993 2012-01-06 Eli Zaretskii <eliz@gnu.org>
1995 * time.el (display-time-load-average)
1996 (display-time-default-load-average): Doc fixes. See the thread
1998 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2001 2012-01-06 Glenn Morris <rgm@gnu.org>
2003 * mail/unrmail.el (unrmail): Give an explicit error if the input file
2004 has no messages. (Bug#10377)
2006 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2007 than Info-edit. (Bug#10385)
2009 * time.el (display-time-load-average, display-time-next-load-average):
2012 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2013 local setting of buffer-read-only to the input buffer. (Bug#10419)
2015 * calendar/calendar.el (calendar-mode):
2016 Locally set scroll-margin to 0. (Bug#10379)
2018 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
2020 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
2022 2012-01-05 Glenn Morris <rgm@gnu.org>
2024 * eshell/em-unix.el (diff-no-select): Autoload it.
2025 (eshell/diff): Use diff-no-select. (Bug#10420)
2027 2012-01-05 Chong Yidong <cyd@gnu.org>
2029 * shell.el (shell-dynamic-complete-functions): Revert last change.
2030 (shell-command-completion-function): New function.
2031 (shell-completion-vars): Use it to implement
2032 shell-completion-execonly (Bug#10417).
2034 * custom.el (enable-theme): Don't set custom-safe-themes.
2036 * cus-theme.el (custom-theme-merge-theme):
2037 Ignore custom-enabled-themes and custom-safe-themes.
2039 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
2041 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2042 first prompt in `sql-interacive-mode'.
2043 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
2045 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
2046 (sql-product-interactive): Bug fix: Set `sql-buffer' in
2047 context of original buffer. Invoke `sql-login-hook'.
2049 2012-01-04 Eli Zaretskii <eliz@gnu.org>
2051 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2052 letters in cite-prefix.
2054 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2056 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2058 2012-01-03 Chong Yidong <cyd@gnu.org>
2060 * shell.el (shell-dynamic-complete-functions):
2061 Put pcomplete-completions-at-point, so as to try
2062 comint-filename-completion first (Bug#10417).
2064 2012-01-02 Richard Stallman <rms@gnu.org>
2066 * battery.el (battery-status-function):
2067 Detect when to use battery-yeeloong-sysfs.
2068 (battery-echo-area-format): Add string for Yeeloong.
2069 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2070 (battery-yeeloong-sysfs): New function.
2072 2012-01-02 Chong Yidong <cyd@gnu.org>
2074 * dirtrack.el (dirtrack-list): Eliminate unused third element.
2075 (dirtrack): Merge code for handling relative filenames in prompt
2076 from shell-dir-cookie-watcher.
2077 (dirtrack-debug-message): New arg to avoid excess format calls.
2079 * shell.el (shell-dir-cookie-re): Variable deleted.
2080 (shell-dir-cookie-watcher): Function deleted.
2081 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2084 2012-01-01 Eli Zaretskii <eliz@gnu.org>
2086 * term/w32-win.el (dynamic-library-alist) <gnutls>:
2087 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
2090 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
2092 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2094 2011-12-31 Eli Zaretskii <eliz@gnu.org>
2096 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2097 headers of non-MIME messages, when rmail-enable-mime is non-nil.
2099 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
2101 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2102 also for alternative shells.
2103 (tramp-open-connection-setup-interactive-shell): Check, whether
2104 the shell is a busybox.
2105 (tramp-send-command): Don't suppress multiple prompts for
2106 busyboxes, it hurts.
2108 2011-12-28 Chong Yidong <cyd@gnu.org>
2110 * progmodes/gdb-mi.el (gdb-get-source-file-list)
2111 (gdb-get-source-file): Move mode line update to
2112 gdb-get-source-file (Bug#10087).
2114 2011-12-25 Chong Yidong <cyd@gnu.org>
2116 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2117 gud-gdb-marker-filter without taking it as an argument.
2118 (gud-gdb-run-command-fetch-lines): Caller changed.
2119 (gud-gdb-completion-function): New variable.
2120 (gud-gdb-completion-at-point): Use it.
2121 (gud-gdb-completions-1): Split from gud-gdb-completions.
2123 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2124 function as separate arguments.
2125 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2126 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2127 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2128 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2129 (gdb-stopped, def-gdb-auto-update-trigger)
2130 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
2131 (gdb-get-changed-registers, gdb-get-main-selected-frame):
2133 (gud-gdbmi-completions): New function.
2134 (gdb): Use it for generating the completion table.
2136 2011-12-24 Alan Mackenzie <acm@muc.de>
2138 Introduce a mechanism to widen the region used in context font
2139 locking. Use this to protect declarations from losing their contexts.
2141 * progmodes/cc-langs.el (c-before-font-lock-functions):
2142 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
2143 (c-before-context-fontification-functions): New defvar, a list of
2144 functions to be run just before context (etc.) font locking.
2146 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
2147 New, functionality extracted from
2148 c-neutralize-syntax-in-and-mark-CPP.
2149 (c-in-after-change-fontification): New variable.
2150 (c-after-change): Set c-in-after-change-fontification.
2151 (c-set-fl-decl-start): Rejig its interface, so it can be called
2152 from both after-change and context fontifying.
2153 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2155 (c-standard-font-lock-fontify-region-function): New variable.
2156 (c-font-lock-fontify-region): New function.
2158 2011-12-24 Juri Linkov <juri@jurta.org>
2160 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2163 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
2165 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2166 existence of source file. (Bug#10325)
2168 2011-12-23 Alan Mackenzie <acm@muc.de>
2170 Fix unstable fontification inside templates.
2172 * progmodes/cc-langs.el (c-before-font-lock-functions):
2173 Newly created from the singular version. The (c c++ objc) entry now
2174 additionally has c-set-fl-decl-start. The other languages (apart
2175 from AWK) have that as a single entry.
2177 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2178 The functionality for "local" declarations has been extracted to
2179 c-set-fl-decl-start.
2181 * progmodes/cc-mode.el (c-common-init, c-after-change):
2182 Changes due to pluralisation of c-before-font-lock-functions.
2183 (c-set-fl-decl-start): New function, extracted from
2184 c-font-lock-enclosing-decls and enhanced.
2186 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
2188 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2190 2011-12-22 Juri Linkov <juri@jurta.org>
2192 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
2194 2011-12-22 Chong Yidong <cyd@gnu.org>
2196 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2198 2011-12-21 Drew Adams <drew.adams@oracle.com>
2200 * files.el (file-remote-p): Fix docstring. (Bug#10319)
2202 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2204 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2206 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
2208 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
2209 highlighting and support. Fix up comments for capitalization.
2210 (cfengine-mode-debug): New var.
2211 (cfengine3-mode): Change the modeline indicator to "CFE3".
2212 (cfengine3-font-lock-keywords): Improve defun highlighting.
2213 (cfengine2-actions): Rename from `cfengine-actions'.
2214 (cfengine2-font-lock-keywords): Rename from
2215 `cfengine-font-lock-keywords'.
2216 (cfengine2-imenu-expression): Rename from
2217 `cfengine-imenu-expression'.
2218 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2219 (cfengine2-beginning-of-defun): Rename from
2220 `cfengine-beginning-of-defun'.
2221 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2222 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2223 (cfengine2-mode): Rename from `cfengine-mode'. Change the
2224 modeline indicator to "CFE2".
2225 (cfengine-mode): Defalias to `cfengine-auto-mode'.
2226 (cfengine-mode-abbrevs): Mark obsolete.
2228 2011-12-21 Chong Yidong <cyd@gnu.org>
2230 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2233 2011-12-20 Martin Rudalics <rudalics@gmx.at>
2235 * window.el (window-normalize-buffer-to-display): Remove.
2236 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2238 2011-12-19 Chong Yidong <cyd@gnu.org>
2240 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2241 Don't signal an error in a predicate function; return non-nil.
2242 (vc-dir-mark-file): Move the error here.
2243 (vc-dir-mark-unmark): If acting on the region, keep going if one
2244 of the entries cannot be marked/unmarked.
2245 (vc-dir-mark-all-files): If current entry is a directory, mark
2246 only child files, as documented.
2248 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
2250 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2251 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2254 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
2256 * term/ns-win.el (ns-get-selection-internal)
2257 (ns-store-selection-internal): Declare.
2258 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2259 Declare as obsolete.
2260 (ns-get-pasteboard, ns-paste-secondary):
2261 Use ns-get-selection-internal.
2262 (ns-set-pasteboard, ns-copy-including-secondary):
2263 Use ns-store-selection-internal.
2265 2011-12-17 Chong Yidong <cyd@gnu.org>
2267 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
2268 (vc-deduce-fileset): Doc fix.
2270 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
2272 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2274 2011-12-13 Sam Steingold <sds@gnu.org>
2276 * man.el (Man-getpage-in-background): When running under a
2277 window-system, ignore $MANWIDTH and $COLUMNS.
2279 2011-12-15 Kenichi Handa <handa@m17n.org>
2281 * language/ethio-util.el: Change coding tag to utf-8-emacs.
2282 (setup-ethiopic-environment-internal): Comment out key-binding for
2283 ethio-toggle-punctuation.
2285 2011-12-13 Alan Mackenzie <acm@muc.de>
2287 Add the switch statement to AWK Mode.
2289 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
2290 "default" to the keywords regexp.
2292 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
2293 expression as the rest.
2294 (c-nonlabel-token-key): Allow string literals for AWK.
2295 Refactor for the other modes.
2297 Large brace-block initialisation makes CC Mode slow: Fix.
2298 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
2299 routines. Limit backward searching in c-font-lock-enclosing.decl.
2301 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2302 pp-state and literal type in addition to the limits.
2303 (c-state-safe-place): New defun, extracted from c-state-literal-at.
2304 (c-state-literal-at): Use the above new defun.
2305 (c-slow-in-literal, c-fast-in-literal): Remove.
2306 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
2308 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2309 being in a literal. Add a limit for backward searching.
2311 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2314 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2316 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2318 2011-12-13 Martin Rudalics <rudalics@gmx.at>
2320 * window.el (delete-other-windows): Use correct frame in call to
2321 window-with-parameter.
2323 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
2325 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2326 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2327 (makefile-gmake-statements, makefile-makepp-statements):
2328 Use it and add new makepp keywords.
2329 (makefile-makepp-font-lock-keywords): Add new patterns.
2330 (makefile-match-function-end): Match new [...] and [[...]].
2332 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
2334 * ses.el (ses-call-printer-return, ses-cell-property-get)
2335 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2336 (ses-create-cell-variable, ses-reset-header-string)
2337 (ses-cell-set-formula, ses-repair-cell-reference-all)
2338 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2339 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2340 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2341 (ses-aset-with-undo, ses-load, ses-truncate-cell)
2342 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2343 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2344 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2345 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2346 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2347 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2348 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2349 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2351 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
2353 * ses.el: The overall change is to add cell renaming, that is
2354 setting fancy names for cell symbols other than name matching
2355 "\\`[A-Z]+[0-9]+\\'" regexp .
2356 (ses-create-cell-variable): New defun.
2357 (ses-relocate-formula): Relocate formulas only for cells the
2358 symbols of which are not renamed, i.e. symbols whose names do not
2359 match regexp "\\`[A-Z]+[0-9]+\\'".
2360 (ses-relocate-all): Relocate values only for cells the symbols of
2361 which are not renamed.
2362 (ses-load): Create cells variables as the (ses-cell ...) are read,
2363 in order to check row col consistency with cell symbol name only
2364 for cells that are not renamed.
2365 (ses-replace-name-in-formula): New defun.
2366 (ses-rename-cell): New defun.
2368 2011-12-11 Chong Yidong <cyd@gnu.org>
2370 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2371 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2373 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
2375 * window.el (other-window): Fix docstring.
2377 2011-12-10 Eli Zaretskii <eliz@gnu.org>
2379 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
2380 `from' or `to' address before taking its substring.
2381 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
2382 encoded name is chopped in the middle of the encoded string, and
2383 thus displayed encoded.
2385 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
2387 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2389 2011-12-10 Eli Zaretskii <eliz@gnu.org>
2391 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
2392 to use texinfo-update-node and commands that call it if the
2393 Texinfo file uses @node lines without next/prev/up pointers.
2394 Correct outdated description about texinfo-master-menu.
2395 (texinfo-all-menus-update, texinfo-master-menu)
2396 (texinfo-update-node, texinfo-every-node-update)
2397 (texinfo-multiple-files-update): Doc fix. Warn against updating
2398 all the @node lines.
2399 (texinfo-master-menu): Only call texinfo-update-node if the prefix
2400 argument is numeric. Explain better in the doc string what the
2401 function really does.
2402 (texinfo-insert-master-menu-list): Improve the error message
2403 displayed if there's no menu in the Top node.
2404 (Bug#2975) See also this thread:
2405 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2407 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
2409 * speedbar.el (speedbar-supported-extension-expressions):
2410 Add .adb and .ads, commonly used for Ada source code (bug#10256).
2412 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
2414 * printing.el (pr-mode-alist):
2415 * simple.el (filter-buffer-substring-functions)
2416 (completion-list-insert-choice-function):
2417 * window.el (window-with-parameter, window-atom-root)
2418 (window-sides-slots, window-size-fixed, window-min-delta)
2419 (window-max-delta, window--resize-mini-window)
2420 (window--resize-child-windows-normal, window-tree)
2421 (delete-other-windows, quit-window, split-window)
2422 (display-buffer-record-window, special-display-buffer-names)
2423 (special-display-regexps, special-display-popup-frame)
2424 (same-window-p, split-window-sensibly)
2425 (display-buffer-overriding-action, display-buffer-alist)
2426 (display-buffer-base-action, display-buffer, switch-to-buffer)
2427 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2428 (fit-window-to-buffer, recenter-positions)
2429 (mouse-autoselect-window-state, mouse-autoselect-window-select):
2430 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2431 and remove unneeded backslashes in docstrings.
2433 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2435 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2437 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2438 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2440 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2441 when reading the makefile (bug#10116).
2443 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2445 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2448 2011-12-06 Glenn Morris <rgm@gnu.org>
2450 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2452 2011-12-06 Chong Yidong <cyd@gnu.org>
2454 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2456 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
2458 * textmodes/table.el (table-shorten-cell): Fix typo.
2460 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
2462 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2464 2011-12-05 Eli Zaretskii <eliz@gnu.org>
2466 * descr-text.el (describe-char): Fix display of strong
2467 right-to-left characters and directional embeddings and overrides.
2469 * simple.el (what-cursor-position): Fix display of codepoints of
2470 strong right-to-left characters.
2472 2011-12-05 Chong Yidong <cyd@gnu.org>
2474 * faces.el (read-color): Doc fix.
2476 2011-12-05 Glenn Morris <rgm@gnu.org>
2478 * align.el (align--set-marker): Add doc-string.
2479 Don't try to move something that is not a marker. (Bug#10216)
2481 2011-12-04 Glenn Morris <rgm@gnu.org>
2483 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2484 overly zealous deletion of trailing whitespace.
2486 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
2488 * server.el (server-delete-client): On Windows, do not try to delete
2490 (server-process-filter): On Windows, treat requests for a tty frame as
2491 if they were for a GUI frame if the running server is in GUI mode.
2493 2011-12-03 Glenn Morris <rgm@gnu.org>
2495 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
2497 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2499 * electric.el: Streamline electric-indent's hook.
2500 (electric-indent-chars): Revert to simple list.
2501 (electric-indent-functions): New var.
2502 (electric-indent-post-self-insert-function): Use it.
2504 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2505 there's no inferior buffer (bug#10196).
2506 (prolog-consult-compile): Don't use toggle-read-only.
2508 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
2510 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2511 interrupt. (Bug#10187)
2513 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2515 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2518 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2521 2011-12-02 Juri Linkov <juri@jurta.org>
2523 * info.el (Info-search): Display "end of manual" when Isearch
2524 reaches the end of single-file Info manual. (Bug#9918)
2526 2011-12-02 Eli Zaretskii <eliz@gnu.org>
2528 * isearch.el (isearch-message-prefix): Run the input method part
2529 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
2531 2011-12-02 Juri Linkov <juri@jurta.org>
2533 * isearch.el (isearch-occur): Use `word-search-regexp' for
2535 (isearch-search-and-update): Add condition for `isearch-word' and
2536 call `word-search-regexp'. (Bug#10145)
2538 2011-12-01 Glenn Morris <rgm@gnu.org>
2540 * eshell/em-hist.el (eshell-hist-initialize):
2541 Handle eshell-history-size nil and HISTSIZE set or unset.
2542 (eshell-history-file-name, eshell-history-size): Fix custom type.
2544 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2546 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2548 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
2550 * progmodes/verilog-mode.el (verilog-pretty-expr):
2551 Rework verilog-pretty-expr to handle new assignment operators in system
2552 verilog, such as += *= and the like.
2553 (verilog-assignment-operator-re): Regular expression to find the
2554 assigment operator in a verilog assignment.
2555 (verilog-assignment-operation-re): Regular expression to find an
2556 assignment statement for pretty-expr.
2557 (verilog-in-attribute-p): Query returns true if point is in an
2558 attribute context; used to skip these for expression line up from
2560 (verilog-in-parameter-p): Query returns true if point is in an
2561 parameter definition context; used to skip these for expression
2562 line up from pretty-expr.
2563 (verilog-in-parenthesis-p): Query returns true if point is in a
2564 parenthetical expression, specifically ( ) but not [ ] or { };
2565 used by pretty-expr.
2566 (verilog-just-one-space): If there is no space, don't add one.
2567 (verilog-get-lineup-indent-2): Specifically skip just attribute
2568 contexts for expression lineup, rather than skipping all
2569 parenthetical expressions.
2570 (verilog-calculate-indent): Fix comment, and fix indent.
2571 (verilog-do-indent): Indent declarations in lists (suggested by
2573 (verilog-mode-abbrev-table): Populate abbrev mode with the various
2575 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2578 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
2580 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2581 parameters with embedded comments. Reported by Ray Stevens.
2582 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2583 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2584 Reported by Tim Holt.
2585 (verilog-auto): Fix AUTOing a upper module then AUTOing module
2586 instantiated by upper module causing wrong expansion until AUTOed a
2587 second time. Reported by K C Buckenmaier.
2588 (verilog-diff-auto): Fix showing .* as a difference when
2589 `verilog-auto-star-save' off. Reported by Dan Dever.
2590 (verilog-auto-reset, verilog-read-always-signals)
2591 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2592 temporary signals in reset list if
2593 verilog-auto-reset-blocking-in-non is nil, and match assignment
2594 style to each signal's assignment type, bug381.
2595 Reported by Thomas Esposito.
2596 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2597 (verilog-uvm-statement-re): Support UVM indentation and
2598 highlighting, with old OVM keywords only.
2599 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
2600 Support AUTOTIEOFF creating non-wire data types.
2601 Suggested by Jonathan Greenlaw.
2602 (verilog-auto-insert-lisp, verilog-delete-to-paren)
2603 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2604 (verilog-inject-sense, verilog-read-inst-pins)
2605 (verilog-read-sub-decls, verilog-read-sub-decls-line):
2606 Fix mismatching parenthesis inside commented out code when deleting
2607 AUTOINST, bug383. Reported by Jonathan Greenlaw.
2608 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2609 non-numeric vector width. Reported by Alex Reed.
2610 (verilog-auto-ascii-enum): Add "onehot" option to work around not
2611 detecting signals with parameter widths. Reported by Alex Reed.
2612 (verilog-auto-delete-trailing-whitespace):
2613 With `verilog-auto-delete-trailing-whitespace' remove trailing
2614 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
2615 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2616 Fix verilog-scan-cache corruption when running user AUTO expansion
2617 hooks that call indentation routines.
2618 (verilog-simplify-range-expression): Fix typo ignoring lower case
2620 (verilog-delete-auto): Fix delete-autos to also remove user created
2621 automatics, as long as they start with AUTO.
2622 (verilog-batch-diff-auto, verilog-diff-auto)
2623 (verilog-diff-function): Add `verilog-diff-auto' and bind to
2624 "C-c?" to report differences in AUTO expansion, ignoring spaces.
2625 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2626 (verilog-in-paren-quick, verilog-re-search-backward-quick)
2627 (verilog-re-search-forward-quick, verilog-syntax-ppss):
2628 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
2629 is disabled and its cache will get corrupt, causing AUTOS not to
2630 expand. Instead use only -quick functions.
2631 (verilog-scan-region): Fix scanning over escaped quotes.
2632 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2633 (verilog-re-search-backward-quick)
2634 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2635 related functions now ignore strings, to fix misparsing of strings
2636 with magic comments embedded in them.
2637 (verilog-read-auto-template):
2638 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2639 Reported by Brad Dobbie.
2640 (verilog-read-auto-template):
2641 Fix 'verilog-auto-inst-template-numbers' with comments.
2642 Reported by Brad Dobbie.
2643 (verilog-auto-inst, verilog-auto-inst-param)
2644 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2645 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
2646 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
2647 debugging templates without merge conflicts, bug357.
2648 Reported by Brad Dobbie.
2649 (verilog-read-auto-template):
2650 Fix verilog-auto-inst-template-numbers with multiple templates.
2651 Reported by Brad Dobbie.
2652 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2653 abbrevs so user won't be asked to save.
2654 (verilog-read-auto-lisp-present): Fix to start at beginning of
2655 buffer in case called outside of verilog-auto.
2656 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2657 to "X-2". Reported by Matthew Myers.
2658 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2659 all inputs from module templates. Reported by Leith Johnson.
2660 (verilog-module-inside-filename-p): Fix locating programs as with
2662 (verilog-auto-inst-port): Fix vl-width expressions when using
2663 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
2664 (verilog-decls-get-regs, verilog-decls-get-signals,
2665 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2666 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2667 verilog-read-decls): Combine reg and wire structures into one var
2668 structure to represent SystemVerilog concepts.
2669 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2670 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
2671 (verilog-auto-wire-type, verilog-insert-definition):
2672 Add verilog-auto-wire-type and AUTOLOGIC to support using
2673 SystemVerilog "logic" keyword instead of "wire"/"reg".
2674 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2675 to declares outputs that also have assignments (presumably in an
2676 ifdef or generate if so there's not a driver conflict).
2677 Reported by Matthew Myers.
2678 (verilog-auto-declare-nettype, verilog-insert-definition):
2679 Add verilog-auto-declare-nettype to fix declarations using
2680 `default_nettype none. Reported by Julian Gorfajn.
2681 (verilog-read-always-signals-recurse, verilog-read-decls)
2682 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2683 malformed end statement, bug325. Reported by Joshua Wise and
2685 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2686 (verilog-inst-comment-re): Fix not deleting Interfaced comment
2687 when expanding .* in interfaces, bug320.
2688 Reported by Pierre-David Pfister.
2689 (verilog-read-module-name): Fix import statements between module
2690 name and open parenthesis, bug317.
2691 Reported by Pierre-David Pfister.
2692 (verilog-simplify-range-expression): Fix simplification of
2693 multiplications inside AUTOWIRE connections, bug303.
2694 (verilog-auto-inst-port): Support parameter expansion in
2695 multidimensional arrays.
2696 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2697 after "assert property". Reported by Julian Gorfajn.
2698 (verilog-simplify-range-expression): Fix "couldn't merge" errors
2699 with multiplication, bug303.
2700 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2701 Reported by Jan Frode Lonnum.
2703 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
2705 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2706 (hfy-shell-file-name, hfy-shell):
2707 * international/fontset.el (x-decompose-font-name): Fix typos.
2709 2011-11-29 Ken Brown <kbrown@cornell.edu>
2711 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2712 (gdb-version): Remove defvar.
2713 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2714 (gdb-gud-context-command, gdb-non-stop-handler)
2715 (gdb-current-context-command, gdb-stopped): Use it.
2716 (gdb-init-1): Enable pretty printing here.
2717 (gdb-non-stop-handler): Don't enable pretty-printing here.
2718 Check to see if the target supports non-stop mode; if not, turn off
2719 non-stop mode. Use the following.
2720 (gdb-check-target-async): New defun.
2721 (gud-watch, gdb-stopped): Fix whitespace.
2722 (gdb-get-source-file): Don't try to display the source file if
2723 `gdb-main-file' is nil.
2725 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2727 * align.el: Try to generate fewer markers (bug#10047).
2728 (align--set-marker): New macro.
2729 (align-region): Use it.
2731 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2733 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2735 2011-11-29 Chong Yidong <cyd@gnu.org>
2737 * indent.el (indent-for-tab-command, indent-according-to-mode):
2739 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
2741 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
2743 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
2744 aware of remote file names. (Bug#10124)
2746 2011-11-29 Chong Yidong <cyd@gnu.org>
2748 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
2750 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2752 * files.el (find-file): Don't use force-same-window (bug#10144).
2753 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
2754 use pop-to-buffer if the selected window can't be used.
2755 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
2757 2011-11-28 Eli Zaretskii <eliz@gnu.org>
2759 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
2762 2011-11-28 Chong Yidong <cyd@gnu.org>
2764 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2766 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
2768 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2769 gdb-get-source-file-list on gdb-create-source-file-list.
2771 2011-11-26 Eli Zaretskii <eliz@gnu.org>
2773 * whitespace.el (whitespace-newline): Use a different foreground
2774 color for 16-color light-background displays.
2776 2011-11-24 Chong Yidong <cyd@gnu.org>
2778 * window.el (display-buffer--special-action): Doc fix.
2780 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
2782 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2783 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2784 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2785 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2786 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2787 (avl-tree-stack-first):
2788 * emacs-lisp/cconv.el (cconv--analyse-use):
2789 * net/gnutls.el (gnutls-negotiate): Fix typos.
2791 2011-11-24 Glenn Morris <rgm@gnu.org>
2793 * lpr.el (lpr-windows-system, lpr-lp-system):
2794 * mail/binhex.el (binhex-begin-line):
2795 * progmodes/grep.el (grep-history, grep-find-history):
2796 * textmodes/flyspell.el:
2797 * vc/pcvs-defs.el (cvs-global-menu):
2798 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
2799 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
2800 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2802 * net/tls.el: Fix case of "GnuTLS".
2804 * paths.el (rmail-file-name): Format doc-string for make-docfile.
2806 * version.el (emacs-build-system): Give it a doc-string.
2808 2011-11-24 Juri Linkov <juri@jurta.org>
2810 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
2812 2011-11-24 Glenn Morris <rgm@gnu.org>
2814 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
2815 if called on a non-mime message just toggle the headers. (Bug#8006)
2817 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
2819 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
2820 (allout-lead-with-comment-string, allout-structure-deleted-hook)
2821 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
2822 (allout-rebullet-heading, allout-open-sibtopic)
2823 (allout-toggle-current-subtree-encryption)
2824 (allout-toggle-subtree-encryption, allout-encrypt-string)
2825 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
2826 (allout-distinctive-bullets-string, allout-auto-activation):
2827 * window.el (window-normalize-buffer-to-display):
2828 * progmodes/verilog-mode.el (verilog-batch-indent):
2829 * textmodes/bibtex.el (bibtex-field-braces-opt)
2830 (bibtex-field-strings-opt):
2831 * vc/cvs-status.el (cvs-tree-merge):
2834 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
2836 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
2837 `non-essential' to t, in order to avoid remote connections.
2839 2011-11-23 Eli Zaretskii <eliz@gnu.org>
2841 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2842 On MS-DOS and MS-Windows, compare with loaddefs.el
2845 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2847 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
2849 2011-11-23 Glenn Morris <rgm@gnu.org>
2851 * paths.el (rmail-file-name): Reformat the doc-string so that it
2854 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
2855 (rmail-auto-file): Ignore case in the "special" field names,
2856 as mail-fetch-field does for all others.
2858 * mail/rmail.el (rmail-forward):
2859 * mail/rmailkwd.el (rmail-set-label):
2860 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
2861 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
2863 * mail/rmail.el (rmail-current-message): Doc fix.
2865 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
2867 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2869 * server.el (server-eval-and-print): Allow C-g (bug#6585).
2871 2011-11-22 Glenn Morris <rgm@gnu.org>
2873 * mail/rmailmm.el (test-rmail-mime-handler)
2874 (test-rmail-mime-bulk-handler)
2875 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
2877 2011-11-21 Juri Linkov <juri@jurta.org>
2879 * calc/calc.el (calc-read-key-sequence):
2880 Let-bind `input-method-function' to nil. (Bug#10018)
2882 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2884 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
2885 Tell the caller that the next line needs recomputation, even
2886 though it doesn't start a sexp (bug#10094).
2888 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2890 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
2892 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2894 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2895 Use force-same-window.
2897 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
2899 * descr-text.el (describe-char-unicode-data):
2900 * json.el (json-string-escape):
2901 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
2902 (Footnote-unicode, Footnote-style-p):
2903 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
2905 2011-11-20 Chong Yidong <cyd@gnu.org>
2907 * window.el (replace-buffer-in-windows): Restore interactive spec.
2909 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2911 * electric.el (electric-indent-mode): Fix last change (too optimistic).
2913 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
2914 (byte-compile-global-not-obsolete-vars): New var.
2915 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
2917 (byte-compile-warn-obsolete): Align text with the one in *Help*.
2919 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
2921 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
2922 * progmodes/pascal.el (electric-pascal-equal):
2923 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
2924 * xml.el (xml-substitute-special): Fix typos.
2926 2011-11-20 Glenn Morris <rgm@gnu.org>
2928 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
2929 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
2931 (rmail-decode-mime-charset): Mark as obsolete.
2933 * mail/rmailsum.el (rmail-message-regexp-p-1):
2934 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
2935 Before using mime functions, check they are set. (Bug#10077)
2937 2011-11-19 Juri Linkov <juri@jurta.org>
2939 * info.el (Info-finder-find-node): Use `package--builtins' instead
2940 of `package-alist'. Use node names formed by the pattern "Keyword "
2941 and the keyword name.
2943 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2945 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
2947 2011-11-19 Juri Linkov <juri@jurta.org>
2949 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
2950 that calls `revert-buffer' on all Info buffers. (Bug#9915)
2951 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
2952 `old-history', `old-history-forward'. Add let-binding
2953 `window-selected'. Remove calls to `kill-buffer',
2954 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
2955 before calling `Info-find-node', so `Info-find-node-2' will reread
2956 the Info file. Restore window positions only when `window-selected'
2959 2011-11-19 Juri Linkov <juri@jurta.org>
2961 * isearch.el (isearch-lazy-highlight-new-loop):
2962 Remove condition `(not isearch-error)'. (Bug#9918)
2964 * misearch.el (multi-isearch-search-fun): Add condition
2965 `(not bound)' to ignore lazy-highlighting search.
2966 Add the search-failed message "end of multi" when the end of
2967 multi-sequence is reached. Uncapitalize the search-failed
2968 message "Repeat for next buffer".
2970 * info.el (Info-search): Add the search-failed message
2971 "end of the manual" when the end of the manual is reached
2974 2011-11-19 Juri Linkov <juri@jurta.org>
2976 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
2977 Use non-destructive `remove' instead of `delete' because
2978 `Info-history-list' stored to `Info-isearch-initial-history-list' in
2979 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
2981 2011-11-19 Juri Linkov <juri@jurta.org>
2983 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
2984 to nil instead of binding `search-ring' and `regexp-search-ring'.
2987 2011-11-19 Eli Zaretskii <eliz@gnu.org>
2989 * simple.el (line-move): Force movement by logical lines for any
2990 hscrolled window, not only when auto-hscroll-mode is on.
2991 (line-move-visual): Update doc string to that effect. (Bug#10076)
2993 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2995 * language/european.el (macintosh): Define as alias for mac-roman.
2997 2011-11-19 Eli Zaretskii <eliz@gnu.org>
2999 * mail/rmailmm.el (rmail-mime-display-header)
3000 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3001 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3002 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3003 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3004 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3006 (rmail-mime-entity-segment): To get past the tagline, move forward
3007 2 more lines, to account for the 2 empty lines that precede and
3008 follow the line with the buttons.
3009 (rmail-mime-update-tagline): Move one more line, to get past the
3010 empty line that follows the buttons in the tagline. (Bug#9520)
3012 2011-11-19 Martin Rudalics <rudalics@gmx.at>
3014 * window.el (window-max-delta-1, window-min-delta-1)
3015 (window-min-size-1, window-state-get-1, window-state-put-1)
3016 (window-state-put-2): Use "window--" prefix.
3018 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3020 * emacs-lisp/smie.el: Improve warnings and conflict detection.
3021 (smie-warning-count): New var.
3022 (smie-set-prec2tab): Use it.
3023 (smie-bnf->prec2): Improve warnings. Add docstring.
3024 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3025 (smie-bnf--set-class): New function.
3026 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
3029 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3030 (compilation-error-properties, compilation-move-to-column):
3031 Handle compilation-first-column while in the target buffer.
3033 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3034 Don't hardcode point-min==1.
3036 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3037 (eshell-rewrite-for-command): Remove workaround.
3038 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3039 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3040 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3042 * files-x.el (modify-file-local-variable): Obey commenting conventions.
3044 2011-11-17 Glenn Morris <rgm@gnu.org>
3046 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3047 Ignore buffer-local generated-autoload-file if it is the same
3048 as the global value. (Bug#10049)
3050 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
3052 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3053 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3054 (reftex-toc-previous-heading, reftex-toc-max-level)
3055 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3056 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3057 (reftex-toc-do-promote, reftex-toc-promote-prepare)
3058 (reftex-toc-promote-action, reftex-toc-extract-section-number)
3059 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3060 (reftex-toc-rename-label, reftex-toc-visit-location)
3061 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3062 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3063 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3064 leaving "*toc*" only for references to the buffer.
3066 2011-11-17 Martin Rudalics <rudalics@gmx.at>
3068 * window.el (window-resize, delete-window, split-window):
3069 Replace window-splits by window-combination-resize.
3070 * cus-start.el (window-splits): Replace by window-combination-resize.
3072 2011-11-17 Glenn Morris <rgm@gnu.org>
3074 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3075 Make bash entry derive from sh entry, not shell entry.
3077 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
3079 * net/tramp-cache.el (tramp-flush-file-property): Flush also
3080 properties of linked files. (Bug#9879)
3082 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3085 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
3087 * menu-bar.el (menu-bar-file-menu):
3088 * printing.el (pr-ps-utility):
3089 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3090 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3091 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3092 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3093 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3094 (icalendar--convert-cyclic-to-ical)
3095 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3096 (icalendar--convert-ical-to-diary)
3097 (icalendar--convert-recurring-to-diary)
3098 (icalendar--convert-non-recurring-all-day-to-diary)
3099 (icalendar-import-format-sample):
3100 * progmodes/idlw-shell.el (idlwave-shell-mode):
3101 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3102 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3103 (vhdl-ps-print-init): Fix typos.
3105 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
3107 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3108 FSF and collapse date sequence, obscure author/maintainer email address
3109 better, remove extra version line, track relocation of author's webpage.
3111 * progmodes/python.el (python-pdbtrack-input-prompt)
3112 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3113 regular python pdb prompts. Adjustments shamelessly taken exactly as
3114 suggested in EmacsWiki page (tiny change):
3115 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
3117 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
3119 * expand.el (expand-pos, expand-index, expand-point):
3120 Remove redundant info from docstring.
3121 (expand-add-abbrevs): Doc fix.
3122 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3123 (expand-sample-perl-mode-expand-list): Fix typos.
3125 * net/dbus.el (dbus-event-member-name):
3126 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3127 * term/pc-win.el (msdos-create-frame-with-faces):
3128 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3130 2011-11-16 Martin Rudalics <rudalics@gmx.at>
3132 * window.el (split-window, window-state-get-1)
3133 (window-state-put-1, window-state-put-2): Rename occurrences of
3134 window-nest to window-combination-limit.
3135 * cus-start.el (window-nest): Rename to window-combination-limit.
3137 2011-11-16 Chong Yidong <cyd@gnu.org>
3139 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3142 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3144 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3145 `completing-read' will remove *Completions* and will preserve
3146 current-buffer for us.
3147 (tmm-add-prompt): Users of *Completions* will always (re)set its
3149 (tmm-old-comp-map): Remove.
3151 2011-11-16 Glenn Morris <rgm@gnu.org>
3153 * mail/rmailedit.el: Require rmailmm when compiling.
3154 (rmail-old-mime-state): New declaration.
3155 (rmail-edit-current-message): If editing a mime message,
3156 edit the "raw" message from the mbox buffer.
3157 (rmail-cease-edit): Handle mime messages. (Bug#9840)
3159 2011-11-15 Glenn Morris <rgm@gnu.org>
3161 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3162 which wasn't being used. Add optional arg to force given state.
3163 (rmail-mime): Add optional arg to force given state.
3165 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
3167 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3168 * frame.el (display-mm-dimensions-alist):
3169 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3170 (outline-move-subtree-down):
3171 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3172 (newsticker--treeview-do-get-node):
3173 * net/quickurl.el (quickurl-list-buffer-name):
3174 * progmodes/dcl-mode.el (dcl-mode):
3175 * progmodes/gdb-mi.el (gdb-mapcar*):
3176 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3178 2011-11-15 Glenn Morris <rgm@gnu.org>
3180 * mail/rmail.el (rmail-file-coding-system): It's only ever used
3181 in a boolean sense, so just make it a boolean, and fix the doc.
3182 (rmail-show-mime-function, rmail-mime-feature)
3183 (rmail-require-mime-maybe): Doc fixes.
3184 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3186 * mail/rmailmm.el (rmail-show-mime): Doc fix.
3188 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
3190 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3191 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3192 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3193 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3195 2011-11-15 Glenn Morris <rgm@gnu.org>
3197 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3198 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3199 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3200 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3201 (rmail-mime, rmail-show-mime): Doc fixes.
3203 * term/ns-win.el (mode-line-frame-identification):
3204 Leave it alone. (Bug#10051)
3206 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
3208 * mail/rmailout.el (rmail-output-to-rmail-buffer):
3209 Handle empty buffers. (Bug#9978)
3211 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
3213 * international/mule.el (define-charset):
3214 * mail/rmailmm.el (rmail-mime-find-header-encoding):
3215 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3216 * progmodes/verilog-mode.el (verilog-backward-token):
3217 * textmodes/ispell.el (lookup-words):
3218 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3220 2011-11-14 Glenn Morris <rgm@gnu.org>
3222 * progmodes/executable.el
3223 (executable-make-buffer-file-executable-if-script-p):
3224 Handle file-modes returning nil.
3226 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3227 message - not necessary, and causes problems. (Bug#9831)
3229 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3231 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3233 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3234 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
3235 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3237 2011-11-12 Martin Rudalics <rudalics@gmx.at>
3239 * window.el (window-resize, delete-window): Use window-splits
3240 variable instead of function.
3241 (window-state-get-1, window-state-put-2, window-state-put):
3242 Don't deal with windows' splits status.
3244 2011-11-12 Glenn Morris <rgm@gnu.org>
3246 * apropos.el (apropos-do-all, apropos-library, apropos-value)
3247 (apropos-documentation): Doc fixes.
3249 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
3251 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3252 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3254 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3256 * electric.el (electric-indent-post-self-insert-function): Make it
3257 possible for a char to only indent in some circumstances.
3258 (electric-indent-mode): Simplify.
3260 2011-11-11 Martin Rudalics <rudalics@gmx.at>
3262 * window.el (windows-with-parameter): Remove unused function.
3263 (windows-at-side): Rename to window-at-side-list.
3264 (window-check, window-atom-check, window-atom-check-1)
3265 (window-side-check, window-size-ignore, window-size-fixed-1)
3266 (window-in-direction-2): Prefix with "window--".
3267 (window-tree-1): Rename to window--subtree, fix doc-string.
3269 2011-11-11 Glenn Morris <rgm@gnu.org>
3271 * subr.el (eval-after-load): If FILE is already loaded,
3272 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
3274 2011-11-10 Glenn Morris <rgm@gnu.org>
3276 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3277 Call svn via vc-svn-command rather than vc-do-command.
3278 (vc-svn-command): Add --non-interactive. (Bug#9993)
3279 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3281 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3282 Add toggle-read-only. (Bug#7292)
3283 * files.el (toggle-read-only): Mention that it should only
3284 be used interactively. (Bug#10006)
3286 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3288 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3289 Adjust regexp for OCaml warnings.
3291 * electric.el (electric-pair-post-self-insert-function): Let user
3292 turn it off buffer-locally (bug#9932).
3294 * progmodes/python.el (python-beginning-of-statement):
3297 * progmodes/compile.el: Better handle TABs (bug#9749).
3298 (compilation-internal-error-properties)
3299 (compilation-next-error-function): Obey the target buffer's
3300 compilation-error-screen-columns.
3302 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
3304 * progmodes/meta-mode.el: Remove obsolete comments.
3305 (meta-right-comment-regexp, meta-ignore-comment-regexp):
3306 Fix typos in docstrings.
3308 2011-11-09 Martin Rudalics <rudalics@gmx.at>
3310 * window.el (window-size-fixed-p): Rewrite doc-string.
3311 (window-resizable-p): Rename to window--resizable-p. Update callers.
3312 (window--resizable): New function. Make all callers of
3313 window-resizable call window--resizable instead.
3314 (window-resizable): Rewrite in terms of window--resizable.
3316 2011-11-08 Glenn Morris <rgm@gnu.org>
3318 * progmodes/delphi.el (delphi-mode-syntax-table):
3319 Let define-derived-mode define a proper syntax table. (Bug#9994)
3321 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3323 * window.el: Stay away from defsubst.
3324 (window-list-no-nils): Remove.
3325 (window-state-get-1, window-state-get): Use backquote instead.
3327 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3329 * emacs-lisp/find-func.el (find-function-read):
3330 Fix incorrect use of default argument in `completing-read'.
3332 2011-11-08 Martin Rudalics <rudalics@gmx.at>
3334 * window.el (display-buffer-function, special-display-function):
3335 Mention display-buffer-record-window but do not mention
3336 help-setup parameter in doc-strings.
3337 (window-min-delta): Fix doc-string typo.
3339 2011-11-08 Chong Yidong <cyd@gnu.org>
3341 * window.el (window-total-height, window-total-width): Doc fix.
3342 (window-body-size): Move from C.
3343 (window-body-height, window-body-width): Move to C.
3345 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3347 * window.el: Make special-display like display-buffer-alist (bug#9532).
3348 (display-buffer--special-action): New function, morphed
3349 from display-buffer--special.
3350 (display-buffer): Use it to handle special-display-buffers at higher
3351 priority (just after display-buffer-alist).
3352 (display-buffer-fallback-action, display-buffer--other-frame-action)
3353 (pop-to-buffer-same-window): Remove display-buffer--special.
3355 2011-11-07 Glenn Morris <rgm@gnu.org>
3357 * calendar/cal-menu.el (cal-menu-set-date-title):
3358 Do nothing if not in a calendar. (Bug#9976)
3360 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3362 * files.el (find-file): Always use selected-window.
3364 2011-11-07 Martin Rudalics <rudalics@gmx.at>
3366 * window.el (window-combinations): Make WINDOW argument
3367 mandatory. Rewrite doc-string.
3368 (walk-window-subtree, window-atom-check, window-min-delta)
3369 (window-max-delta, window--resize-this-window)
3370 (window--resize-root-window-vertically, window-tree)
3371 (balance-windows, window-state-put): Rewrite doc-strings as to
3372 not mention the term "subwindow".
3373 (window--resize-subwindows-skip-p): Rename to
3374 window--resize-child-windows-skip-p.
3375 (window--resize-subwindows-normal): Rename to
3376 window--resize-child-windows-normal.
3377 (window--resize-subwindows): Rename to
3378 window--resize-child-windows.
3379 (window-or-subwindow-p): Rename to window--in-subtree-p.
3381 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3383 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3384 Ensure that mbox format messages end in two newlines (Bug#9974).
3386 2011-11-06 Chong Yidong <cyd@gnu.org>
3388 * window.el (window-combination-p): Function deleted; its
3389 side-effect is not used in any existing code.
3390 (window-combinations, window-combined-p): Call window-*-child
3393 2011-11-05 Chong Yidong <cyd@gnu.org>
3395 * window.el (window-valid-p): Rename from window-any-p.
3396 (window-size-ignore, window-state-get): Callers changed.
3397 (window-normalize-window): Rename from window-normalize-any-window.
3398 New arg LIVE-ONLY, replacing window-normalize-live-window.
3399 (window-normalize-live-window): Delete.
3400 (window-combination-p, window-combined-p, window-combinations)
3401 (walk-window-subtree, window-atom-root, window-min-size)
3402 (window-sizable, window-sizable-p, window-size-fixed-p)
3403 (window-min-delta, window-max-delta, window-resizable)
3404 (window-resizable-p, window-full-height-p, window-full-width-p)
3405 (window-current-scroll-bars, window-point-1, set-window-point-1)
3406 (window-at-side-p, window-in-direction, window-resize)
3407 (adjust-window-trailing-edge, maximize-window, minimize-window)
3408 (window-deletable-p, delete-window, delete-other-windows)
3409 (record-window-buffer, unrecord-window-buffer)
3410 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3411 (quit-window, split-window, window-state-put)
3412 (set-window-text-height, fit-window-to-buffer)
3413 (shrink-window-if-larger-than-buffer): Callers changed.
3415 2011-11-04 Eli Zaretskii <eliz@gnu.org>
3417 * mail/rmail.el (rmail-simplified-subject): Decode subject with
3418 rfc2047-decode-string.
3419 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3422 * window.el (window-body-height, window-body-width): Mention in
3423 the doc string that the return values are in frame's canonical
3426 2011-11-03 Alan Mackenzie <acm@muc.de>
3428 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3429 change in cc-engine.el.
3431 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3433 * window.el (switch-to-buffer): Use `force-same-window' interactively.
3435 2011-11-02 Martin Rudalics <rudalics@gmx.at>
3437 * window.el (quit-window): Call unrecord-window-buffer after
3438 showing another buffer in the window. (Bug#9937)
3439 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
3441 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
3443 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3444 Accept status with more than 9 shelves. (Bug#9935)
3445 Reported by Colin D Bennett <colin@gibibit.com>.
3447 2011-11-01 Martin Rudalics <rudalics@gmx.at>
3449 * help.el (with-help-window): Don't reference
3450 temp-buffer-show-specifiers in doc-string.
3452 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
3454 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3457 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3459 * whitespace.el: New version 13.2.2.
3460 (whitespace-newline-mode): Disable properly. Reported by Sarah
3463 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
3465 * net/newst-treeview.el: Remove "Time-stamp".
3466 (newsticker--group-manage-orphan-feeds): Do not call
3467 newsticker--treeview-tree-update.
3468 (newsticker-treeview-update, newsticker-treeview):
3469 Call newsticker--treeview-tree-update if necessary.
3471 2011-10-30 Martin Rudalics <rudalics@gmx.at>
3473 * window.el (window-iso-combination-p, window-iso-combined-p)
3474 (window-iso-combinations): Remove "iso-" infix.
3475 Suggested by Chong Yidong.
3476 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3477 (window-max-delta-1, window-resize, window--resize-siblings)
3478 (window--resize-this-window, adjust-window-trailing-edge)
3479 (split-window, balance-windows-1)
3480 (shrink-window-if-larger-than-buffer):
3481 * calendar/calendar.el (calendar-generate-window):
3482 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3484 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3486 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3487 in place (bug#9907).
3488 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3489 (eshell-rewrite-if-command, eshell-rewrite-for-command)
3490 (eshell-structure-basic-command, eshell-rewrite-while-command)
3491 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3492 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3493 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3494 (eshell-do-pipelines-synchronously, eshell-eval-command):
3495 Use backquotes and prefer setq to set.
3496 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3497 (eshell-macrop): Use functionp.
3498 (eshell-do-eval): Handle multiple expressions in `while' body.
3500 2011-10-30 Chong Yidong <cyd@gnu.org>
3502 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3503 instead of set-mark (Bug#9810).
3505 2011-10-30 Chong Yidong <cyd@gnu.org>
3507 * window.el (split-window-below, split-window-right): Rename from
3508 split-window-above-each-other and split-window-side-by-side
3509 respectively. All callers changed.
3510 (split-window-sensibly, split-window-sensibly): Use them.
3511 (split-window-keep-point): Doc fix.
3513 * isearch.el: Add isearch-scroll property to split-window-below
3514 and split-window-right.
3516 * follow.el (follow-mode):
3517 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3518 * progmodes/ada-xref.el (ada-gdb-application):
3519 * emulation/vip.el (vip-buffer-in-two-windows):
3520 * image-dired.el (image-dired-dired-with-window-configuration):
3521 * dired-x.el (dired-do-find-marked-files):
3522 * dired.el (dired-pop-to-buffer):
3523 * bs.el (bs--show-with-configuration):
3524 * vc/emerge.el (emerge-setup-windows):
3525 * textmodes/two-column.el (2C-two-columns):
3526 * textmodes/reftex-toc.el (reftex-toc):
3527 * progmodes/gdb-mi.el (gdb-setup-windows):
3528 * progmodes/fortran.el (fortran-window-create):
3529 * net/newst-treeview.el (newsticker--treeview-window-init):
3530 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3531 * emulation/tpu-edt.el (tpu-gold-map):
3532 * emulation/crisp.el (crisp-mode-map):
3533 * calendar/calendar.el (calendar-basic-setup): Callers changed.
3535 2011-10-29 Chong Yidong <cyd@gnu.org>
3537 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3539 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3541 * textmodes/flyspell.el (flyspell-word): Fix char offset for
3542 forged Ispell output (Bug#7904).
3544 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3546 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3548 * doc-view.el: Avoid ugly errors about not finding nil.
3549 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3550 (doc-view-dvipdf-program, doc-view-unoconv-program)
3551 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3552 Avoid nil or absolute file name as default value.
3553 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3555 2011-10-28 Alan Mackenzie <acm@muc.de>
3557 * progmodes/cc-defs.el (c-version): -> 5.32.2.
3559 2011-10-28 Alan Mackenzie <acm@muc.de>
3561 Amend the handling of c-beginning/end-of-defun in nested declaration
3564 * progmodes/cc-vars.el (c-defun-tactic): Move here from
3565 cc-langs.el. Change it to a defcustom.
3567 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3570 * progmodes/cc-engine.el (c-beginning-of-statement-1):
3571 Prevent "class foo : bar" being spuriously recognized as a label.
3573 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
3574 Add parameter `inclusive' (to include enclosing braces in the region).
3575 (c-widen-to-enclosing-decl-scope): New function.
3576 (c-while-widening-to-decl-block): New macro.
3577 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3578 outward for defun boundaries, and correspondingly change symbol
3579 `respect-enclosure' to `go-outward'.
3580 (c-declaration-limits): Change algorithm to report only the "innermost"
3583 2011-10-28 Deniz Dogan <deniz@dogan.se>
3585 * net/rcirc.el (rcirc-mode): Use hard newlines.
3587 2011-10-28 Alan Mackenzie <acm@muc.de>
3589 Amend to indent and fontify macros "which include their own semicolon"
3590 correctly, using the "virtual semicolon" mechanism.
3592 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
3594 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3595 Recode to scan one line at a time rather than having \n and \r
3596 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
3597 (c-forward-label): Amend for virtual semicolons.
3598 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
3600 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3601 of the new C macros.
3603 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
3604 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3605 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
3606 (c-opt-cpp-macro-define): Make into a full language variable.
3607 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3608 AWK Mode (including \n, \r) removed, no longer needed.
3610 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3611 Invoke c-make-macro-with-semi-re.
3613 * progmodes/cc-vars.el (c-macro-with-semi-re):
3614 (c-macro-names-with-semicolon): New variables.
3615 (c-make-macro-with-semi-re): New function.
3617 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3619 * vc/log-edit.el: Fill empty field rather than adding new one.
3620 (log-edit-add-field): New function.
3621 (log-edit-insert-changelog): Use it.
3623 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3625 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3627 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3629 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3630 (gdb--check-interpreter): New function.
3633 2011-10-27 Glenn Morris <rgm@gnu.org>
3635 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3636 (least-positive-float, least-negative-float)
3637 (least-positive-normalized-float, least-negative-normalized-float)
3638 (float-epsilon, float-negative-epsilon):
3639 Remove unnecessary declarations.
3641 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3642 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3643 (least-positive-float, least-negative-float)
3644 (least-positive-normalized-float, least-negative-normalized-float)
3645 (float-epsilon, float-negative-epsilon): Add doc-strings,
3646 based on those in cl.texi.
3648 * files.el (set-visited-file-name): If the major-mode changed,
3649 reload the local variables. (Bug#9796)
3651 2011-10-27 Chong Yidong <cyd@gnu.org>
3653 * subr.el (change-major-mode-after-body-hook): New hook.
3654 (run-mode-hooks): Run it.
3656 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3657 Use change-major-mode-before-body-hook.
3659 * simple.el (fundamental-mode):
3660 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3661 change introducing fundamental-mode-hook.
3663 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
3665 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
3667 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
3669 * ido.el (ido-file-name-all-completions-1): Do not require
3670 tramp.el explicitly. (Bug#7583)
3672 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3674 * progmodes/octave-mod.el:
3675 * progmodes/octave-inf.el: Update maintainer.
3677 2011-10-26 Chong Yidong <cyd@gnu.org>
3679 * subr.el (with-wrapper-hook): Rewrite doc.
3681 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
3683 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
3684 filenames "/method:foo:". (Bug#9793)
3686 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3688 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3691 2011-10-24 Glenn Morris <rgm@gnu.org>
3693 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
3695 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
3697 * notifications.el: Add the requirement of a running D-Bus session
3698 bus to the Commentary.
3700 2011-10-24 Juri Linkov <juri@jurta.org>
3702 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3703 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3706 2011-10-24 Juri Linkov <juri@jurta.org>
3708 * info.el (Info-following-node-name-re): Add newline to the list
3709 of allowed characters for leading space. (Bug#9824)
3711 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3713 * progmodes/octave-inf.el (inferior-octave-mode-map):
3714 Fix C-c C-h binding.
3715 * progmodes/octave-mod.el (octave-help): Remove.
3717 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
3719 Sync with Tramp 2.2.3.
3721 * net/tramp-cache.el (top): Pacify byte-compiler using
3722 `init-file-user' and `site-run-file'.
3724 * net/trampver.el: Update release number.
3726 2011-10-23 Chong Yidong <cyd@gnu.org>
3728 * files.el (toggle-read-only): Remove obsolete comment about
3731 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3732 for toggle-read-only. Note that this hasn't called vc-next-action
3733 since 2008-05-02, though it wasn't documented at the time.
3735 * vc/ediff-init.el (ediff-toggle-read-only-function):
3736 Use toggle-read-only.
3738 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
3740 Fix bug #9560, sporadic wrong indentation; improve instrumentation
3743 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3744 correct faulty logical expression.
3745 (c-parse-state-state, c-record-parse-state-state):
3746 (c-replay-parse-state-state): New defvar/defuns.
3747 (c-debug-parse-state): Use new functions.
3749 2011-10-22 Martin Rudalics <rudalics@gmx.at>
3751 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
3752 last fix. Use window-in-direction correctly.
3754 2011-10-21 Chong Yidong <cyd@gnu.org>
3756 * progmodes/idlwave.el (idlwave-mode):
3757 * progmodes/vera-mode.el (vera-mode): No need to set
3758 require-final-newline; that's done in prog-mode.
3759 Suggested by Stefan Monnier.
3761 2011-10-21 Martin Rudalics <rudalics@gmx.at>
3763 * mouse.el (mouse-drag-window-above)
3764 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
3765 (mouse-drag-mode-line-1, mouse-drag-header-line)
3766 (mouse-drag-vertical-line-rightward-window): Remove.
3767 (mouse-drag-line): New function.
3768 (mouse-drag-mode-line, mouse-drag-header-line)
3769 (mouse-drag-vertical-line): Call mouse-drag-line.
3770 * window.el (window-at-side-p, windows-at-side): New functions.
3772 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
3774 * tar-mode.el (tar-grind-file-mode):
3775 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
3777 2011-10-21 Chong Yidong <cyd@gnu.org>
3779 * progmodes/idlwave.el (idlwave-mode):
3780 * progmodes/vera-mode.el (vera-mode):
3781 Use mode-require-final-newline.
3783 2011-10-20 Glenn Morris <rgm@gnu.org>
3785 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
3787 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
3789 * emulation/cua-base.el (cua-set-mark): Fix case of string.
3791 2011-10-20 Chong Yidong <cyd@gnu.org>
3793 * emulation/cua-base.el (cua-mode):
3794 * mail/footnote.el (footnote-mode):
3795 * mail/mailabbrev.el (mail-abbrevs-mode):
3796 * net/xesam.el (xesam-minor-mode):
3797 * progmodes/bug-reference.el (bug-reference-mode):
3798 * progmodes/cap-words.el (capitalized-words-mode):
3799 * progmodes/compile.el (compilation-minor-mode)
3800 (compilation-shell-minor-mode):
3801 * progmodes/gud.el (gud-tooltip-mode):
3802 * progmodes/hideif.el (hide-ifdef-mode):
3803 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
3804 * progmodes/subword.el (subword-mode):
3805 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3806 * progmodes/which-func.el (which-function-mode):
3807 * term/tvi970.el (tvi970-set-keypad-mode):
3808 * term/vt100.el (vt100-wide-mode):
3809 * textmodes/flyspell.el (flyspell-mode):
3810 * textmodes/ispell.el (ispell-minor-mode):
3811 * textmodes/nroff-mode.el (nroff-electric-mode):
3812 * textmodes/paragraphs.el (use-hard-newlines):
3813 * textmodes/refill.el (refill-mode):
3814 * textmodes/reftex.el (reftex-mode):
3815 * textmodes/rst.el (rst-minor-mode):
3816 * textmodes/sgml-mode.el (html-autoview-mode)
3817 (sgml-electric-tag-pair-mode):
3818 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
3819 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
3820 * emulation/crisp.el (crisp-mode):
3821 * emacs-lisp/eldoc.el (eldoc-mode):
3822 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
3823 minor mode behavior.
3825 2011-10-19 Juri Linkov <juri@jurta.org>
3827 * descr-text.el (describe-char): Add #x2010 and #x2011 to
3828 the list of hard-coded chars with escape-glyph face.
3830 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3832 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
3834 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
3836 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
3839 2011-10-19 Glenn Morris <rgm@gnu.org>
3841 * vc/vc-bzr.el (vc-bzr-after-dir-status):
3842 Ignore ignored files. (Bug#9726)
3844 2011-10-19 Chong Yidong <cyd@gnu.org>
3846 Doc fix for minor modes, stating that an omitted argument enables
3847 the mode unconditionally when called from Lisp.
3849 * abbrev.el (abbrev-mode):
3850 * allout.el (allout-mode):
3851 * autoinsert.el (auto-insert-mode):
3852 * autoarg.el (autoarg-mode, autoarg-kp-mode):
3853 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3854 (global-auto-revert-mode):
3855 * battery.el (display-battery-mode):
3856 * composite.el (global-auto-composition-mode)
3857 (auto-composition-mode):
3858 * delsel.el (delete-selection-mode):
3859 * desktop.el (desktop-save-mode):
3860 * dired-x.el (dired-omit-mode):
3861 * dirtrack.el (dirtrack-mode):
3862 * doc-view.el (doc-view-minor-mode):
3863 * double.el (double-mode):
3864 * electric.el (electric-indent-mode, electric-pair-mode):
3865 * emacs-lock.el (emacs-lock-mode):
3866 * epa-hook.el (auto-encryption-mode):
3867 * follow.el (follow-mode):
3868 * font-core.el (font-lock-mode):
3869 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
3870 * help.el (temp-buffer-resize-mode):
3871 * hilit-chg.el (highlight-changes-mode)
3872 (highlight-changes-visible-mode):
3873 * hi-lock.el (hi-lock-mode):
3874 * hl-line.el (hl-line-mode, global-hl-line-mode):
3875 * icomplete.el (icomplete-mode):
3876 * ido.el (ido-everywhere):
3877 * image-file.el (auto-image-file-mode):
3878 * image-mode.el (image-minor-mode):
3879 * iswitchb.el (iswitchb-mode):
3880 * jka-cmpr-hook.el (auto-compression-mode):
3881 * linum.el (linum-mode):
3882 * longlines.el (longlines-mode):
3883 * master.el (master-mode):
3884 * mb-depth.el (minibuffer-depth-indicate-mode):
3885 * menu-bar.el (menu-bar-mode):
3886 * minibuf-eldef.el (minibuffer-electric-default-mode):
3887 * mouse-sel.el (mouse-sel-mode):
3888 * msb.el (msb-mode):
3889 * mwheel.el (mouse-wheel-mode):
3890 * outline.el (outline-minor-mode):
3891 * paren.el (show-paren-mode):
3892 * recentf.el (recentf-mode):
3893 * reveal.el (reveal-mode, global-reveal-mode):
3894 * rfn-eshadow.el (file-name-shadow-mode):
3895 * ruler-mode.el (ruler-mode):
3896 * savehist.el (savehist-mode):
3897 * scroll-all.el (scroll-all-mode):
3898 * scroll-bar.el (scroll-bar-mode):
3899 * server.el (server-mode):
3900 * shell.el (shell-dirtrack-mode):
3901 * simple.el (auto-fill-mode, transient-mark-mode)
3902 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
3903 (line-number-mode, column-number-mode, size-indication-mode)
3904 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
3905 * strokes.el (strokes-mode):
3906 * time.el (display-time-mode):
3907 * t-mouse.el (gpm-mouse-mode):
3908 * tool-bar.el (tool-bar-mode):
3909 * tooltip.el (tooltip-mode):
3910 * type-break.el (type-break-mode-line-message-mode)
3911 (type-break-query-mode):
3912 * view.el (view-mode):
3913 * whitespace.el (whitespace-mode, whitespace-newline-mode)
3914 (global-whitespace-mode, global-whitespace-newline-mode):
3915 * xt-mouse.el (xterm-mouse-mode): Doc fix.
3917 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3918 Fix autogenerated docstring.
3920 2011-10-19 Juri Linkov <juri@jurta.org>
3922 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
3923 by checking environment variables "DESKTOP_SESSION" and
3924 "XDG_CURRENT_DESKTOP". (Bug#9779)
3926 2011-10-19 Juri Linkov <juri@jurta.org>
3928 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
3929 (browse-url-chromium-program, browse-url-chromium-arguments):
3931 (browse-url-default-browser): Check for `browse-url-chromium' and
3932 call `browse-url-chromium-program'.
3933 (browse-url-chromium): New command. (Bug#9779)
3935 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
3937 * facemenu.el (list-colors-duplicates): On Windows, detect more
3938 duplicates by assuming that only colors matching "^System" are
3939 special "system colors". (Bug#9722)
3941 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3943 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
3944 to distinguish the author from the committer.
3946 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
3948 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
3950 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
3952 * international/mule.el (sgml-html-meta-auto-coding-function):
3953 Add support for detecting encoding in HTML5 specified only as
3954 <meta charset="UTF-8">. Implementation just makes http-equiv and
3955 content-type parts from HTML4 encoding string optional. (Bug#9716)
3957 2011-10-18 Glenn Morris <rgm@gnu.org>
3959 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
3961 2011-10-18 Chong Yidong <cyd@gnu.org>
3963 * faces.el (cursor): Doc fix.
3965 2011-10-17 Chong Yidong <cyd@gnu.org>
3967 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
3969 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
3971 * dirtrack.el (dirtrack): Support shell buffers with path
3972 prefixes, e.g. tramp-based remote shells. (Bug#9647)
3974 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
3976 * json.el: Bump version to 1.3 and note change in History.
3977 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
3979 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3981 * comint.el (comint-insert-input, comint-send-input)
3982 (comint-get-old-input-default, comint-backward-matching-input)
3983 (comint-next-prompt): Use nil instead of `input' for field property of
3984 past user input (bug#114).
3986 * minibuffer.el (completion--replace): Inherit surrounding properties
3988 (minibuffer-complete-and-exit): Use it.
3990 * comint.el (comint--table-subvert): Quote the all-completions output
3993 2011-10-17 Martin Rudalics <rudalics@gmx.at>
3995 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
3997 * menu-bar.el (menu-bar-file-menu): Add entry for making new
3998 window on right of selected. (Bug#9350) Reword other window
3999 entries and separate them from frame entries.
4001 2011-10-15 Glenn Morris <rgm@gnu.org>
4003 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4006 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
4008 * net/network-stream.el (network-stream-open-starttls):
4009 Improve detection of failure due to lack of TLS support.
4011 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4012 putting the input text in front and in bold.
4014 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4016 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4018 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4021 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4022 unread-command-events rather than pushing yet-another event.
4024 2011-10-14 Eli Zaretskii <eliz@gnu.org>
4026 * mail/sendmail.el (sendmail-query-once): Improve the wording of
4027 the explanation of the possible choices. Make the options passed
4028 to completing-read shorter.
4030 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4032 * textmodes/flyspell.el (flyspell-large-region): Make sure
4033 extended character mode is used if defined (Bug#1339).
4035 2011-10-13 Eli Zaretskii <eliz@gnu.org>
4037 * simple.el (what-cursor-position): Fix the display of the
4038 character info for LRE, LRO, RLE, and RLO characters by appending
4041 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
4043 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4044 even in case of error; add debug spec; simplify data flow.
4045 (with-timeout-handler): Remove.
4047 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
4049 Fix Bug#6019, Bug#9315.
4051 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4052 complete `buffer-file-name', the local file name part could look
4053 remotely (for example on VMS).
4055 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4056 `tramp-run-real-handler'.
4057 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4058 already quoted by '"'.
4060 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4061 Let `file-name-handler-alist' be nil, the local file name part
4062 could look remotely (for example on VMS).
4064 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4066 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4068 (flyspell-post-command-hook): ...to here.
4070 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4072 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4074 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
4075 using completion. Protect against "slow" callers.
4076 Remove the "message hack".
4078 2011-10-11 Juri Linkov <juri@jurta.org>
4080 * isearch.el (isearch-lazy-highlight-word): New variable.
4081 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4084 2011-10-11 Glenn Morris <rgm@gnu.org>
4086 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4087 like f90-previous-statement does.
4089 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4091 * eshell/eshell.el (eshell-command): History should be saved
4092 only in interactive use, to avoid error.
4094 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4096 * minibuffer.el (completion-file-name-table): Fix last change,
4097 i.e. ignore normal errors but not the other ones.
4099 2011-10-10 Martin Rudalics <rudalics@gmx.at>
4101 * window.el (special-display-buffer-names)
4102 (special-display-regexps): Remove some remnants of earlier
4103 changes from doc-strings.
4104 (quit-windows-on): New function.
4106 * vc/vc.el (vc-revert, vc-rollback):
4107 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4108 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
4109 (Bug#6183) (Bug#7074) (Bug#7447)
4111 2011-10-09 Martin Rudalics <rudalics@gmx.at>
4113 * window.el (frame-auto-hide-function): Add version tag.
4116 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
4118 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4121 2011-10-09 Leo Liu <sdl.web@gmail.com>
4123 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4126 2011-10-08 Glenn Morris <rgm@gnu.org>
4128 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4129 before the first code statement zero indent. (Bug#9690)
4131 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
4133 * simple.el (count-words-region): Always count in the region.
4134 Report the number of lines and characters too.
4135 (count-words): New command, which counts in the buffer if the
4136 region is inactive, as count-words-region used to.
4137 (count-words--message): New function. Handle plurals.
4138 (count-lines-region): Make it an alias for count-words-region.
4140 * bindings.el (esc-map): Replace count-lines-region with
4143 2011-10-08 Martin Rudalics <rudalics@gmx.at>
4145 * window.el (window--delete): Delete dedicated frame
4146 unconditionally when argument KILL is non-nil. (Bug#9699)
4147 (switch-to-buffer): Fix doc-string typo.
4149 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4151 * eshell/eshell.el (eshell-command): Avoid using hooks.
4153 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
4155 * bindings.el ([M-left],[M-right]): Bind to left-word and
4156 right-word respectively.
4158 2011-10-07 Glenn Morris <rgm@gnu.org>
4160 * cus-start.el (debug-on-quit): Fix custom type.
4162 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4164 * subr.el (define-key-after): Clarify that the function is not
4165 useful for non-menu keymaps.
4167 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4169 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4171 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
4172 in current minibuffer (Fix bug with recursive minibuffers).
4174 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
4176 * progmodes/gdb-mi.el (gdb): Doc fix.
4178 2011-10-05 Martin Rudalics <rudalics@gmx.at>
4180 * window.el (frame-auto-hide-function): New option replacing
4181 frame-auto-delete. Suggested by Stefan Monnier.
4182 (window--delete): Call frame-auto-hide-function instead of
4183 investigating frame-auto-delete.
4184 (window-point-1, set-window-point-1): New functions.
4185 (window-in-direction, record-window-buffer, window-state-get-1)
4186 (display-buffer-record-window): Use window-point-1 instead of
4188 (set-window-buffer-start-and-point): Use set-window-point-1.
4190 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4192 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4194 2011-10-05 Glenn Morris <rgm@gnu.org>
4196 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4197 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
4199 2011-10-05 Leo Liu <sdl.web@gmail.com>
4201 * subr.el (read-char-choice): Fix argument to buffer-live-p which
4202 works with buffer object.
4204 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4206 * mpc.el (mpc-tool-bar-map): Add labels.
4208 2011-10-04 Glenn Morris <rgm@gnu.org>
4210 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4212 2011-10-04 Martin Rudalics <rudalics@gmx.at>
4214 * window.el (window--delete): New function.
4215 (frame-auto-delete): Resuscitate option.
4216 (bury-buffer, replace-buffer-in-windows)
4217 (quit-window): Rewrite using window--delete.
4218 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4219 Pass display-buffer-mark-dedicated to window--display-buffer-2
4222 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4224 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4225 returns a list (bug#9554). Add remote file name completion.
4226 * comint.el (comint--table-subvert): Curry and get quote&unquote
4227 functions as arguments.
4228 (comint--complete-file-name-data): Adjust call accordingly.
4229 * pcomplete.el (pcomplete--table-subvert): Remove.
4230 (pcomplete-completions-at-point): Use comint--table-subvert instead.
4232 * minibuffer.el (completion-table-case-fold): Use currying.
4233 (completion--styles-type, completion--cycling-threshold-type):
4235 (completion-styles, completion-category-overrides)
4236 (completion-cycle-threshold): Use them.
4237 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4238 completion-table-case-fold.
4240 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
4242 * minibuffer.el (completion-category-overrides): Fix type of styles
4243 and add more user friendly tags (bug#9660).
4245 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4247 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4248 (mule-input-method-string): New widget.
4249 (default-input-method, language-info-custom-alist): Use it.
4251 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4253 * pcomplete.el: Require comint.
4254 (pcomplete--common-suffix): Remove.
4255 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4256 (pcomplete--table-subvert): Sync with comint--table-subvert.
4257 (pcomplete--entries): Use comint-completion-file-name-table.
4258 * comint.el (comint-unquote-filename): Simplify.
4259 (comint-completion-file-name-table): New function (bug#9616).
4260 (comint--complete-file-name-data): Use it.
4262 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4263 (pcmpl-gnu-tar-buffer): Remove.
4264 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
4265 around. Make sure pcomplete-suffix-list is only changed temporarily.
4266 Don't look inside the tar's file if it's too large.
4268 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
4270 * cus-edit.el (custom-mode-map):
4271 * epa.el (epa-key-list-mode-map):
4272 * man.el (Man-mode-map):
4273 * startup.el (splash-screen-keymap):
4274 * simple.el (special-mode-map): Use scroll-up-command and
4275 scroll-down-command.
4277 * progmodes/idlw-help.el (idlwave-help-mode-map):
4278 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4279 * net/newst-plainview.el (newsticker-mode-map):
4280 * emulation/ws-mode.el (wordstar-mode-map):
4281 * emulation/vi.el (vi-com-map):
4282 * calc/calc-graph.el (calc-graph-show-dumb):
4283 * term/sun.el (terminal-init-sun):
4284 * term/ns-win.el (global-map):
4285 * progmodes/grep.el (grep-mode-map):
4286 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4287 * mail/rmail.el (rmail-mode-map):
4288 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4290 * custom.el (custom-safe-themes, load-theme): Treat value of t for
4291 custom-safe-themes as special.
4293 2011-10-01 Julien Danjou <julien@danjou.info>
4295 * notifications.el (notifications-notify): Fix docstring.
4297 2011-10-01 Per Starbäck <per@starback.se>
4299 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
4301 2011-09-30 Martin Rudalics <rudalics@gmx.at>
4303 * startup.el (command-line-1): Fix last fix by inserting
4304 initial-scratch-message into *scratch* before displaying it.
4305 (Bug#9605) and (Bug#9636)
4307 2011-09-29 Eli Zaretskii <eliz@gnu.org>
4309 * simple.el (line-move): If auto-hscroll-mode is disabled and the
4310 window is hscrolled, move by logical lines. (Bug#9607)
4311 (line-move-visual): Update the doc string to the above effect.
4313 2011-09-29 Martin Rudalics <rudalics@gmx.at>
4315 * window.el (display-buffer-record-window): When WINDOW is the
4316 selected window use `point' instead of `window-point'. (Bug#9626)
4318 * startup.el (command-line-1): Use insert-before-markers when
4319 inserting initial-scratch-message. (Bug#9605)
4321 * help.el (help-window): Remove variable.
4323 2011-09-29 Glenn Morris <rgm@gnu.org>
4325 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4327 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
4329 * descr-text.el (describe-char-categories): Accept category
4330 descriptions more than one line long.
4332 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4334 * simple.el (delete-trailing-whitespace): Fix last change.
4336 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4337 Don't confuse "y => 3" as the beginning of a `y' operation.
4339 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4340 object has more than 4 slots (bug#9613).
4342 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
4344 * subr.el (with-output-to-temp-buffer):
4345 * net/quickurl.el (quickurl, quickurl-browse-url):
4346 Fix typos in docstrings.
4348 2011-09-27 Eli Zaretskii <eliz@gnu.org>
4350 * minibuffer.el (completion-styles)
4351 (completion-category-overrides): Cross reference each other in doc
4354 2011-09-27 Glenn Morris <rgm@gnu.org>
4356 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4357 to split-string. (Bug#9606)
4359 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4361 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4364 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
4366 * emacs-lisp/package.el (list-packages): Fix echo area message.
4368 2011-09-27 Leo Liu <sdl.web@gmail.com>
4370 * ido.el (ido-read-internal): Accept cons cell HIST arg.
4372 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
4374 * net/dbus.el (dbus-unregister-object): Don't release services for
4375 registered signals. (Bug#9581)
4377 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
4379 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4380 function that picks between cfengine 2 and 3 support
4381 automatically. Update docs accordingly.
4383 2011-09-22 Kenichi Handa <handa@m17n.org>
4385 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4387 (indian-itrans-v5-table-for-tamil): New variable.
4388 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4390 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
4392 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4393 that's true if the current command involved collapsing of text.
4394 It's reset to false at the beginning of the next command.
4395 (allout-post-command-business): Move the cursor to the beginning
4396 of entry if the cursor is hidden and collapsing activity just
4399 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
4401 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4402 tracking (Bug#9541).
4404 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
4406 * net/newst-reader.el (newsticker-html-renderer)
4407 (newsticker-show-news): Automatically load html rendering package
4408 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
4409 because w3m-fill-column is let-bound" and the error "Symbol's value
4410 as variable is void: w3m-fill-column".
4412 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
4414 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4415 Release services only if they are defined. (Bug#9581)
4417 2011-09-23 Richard Stallman <rms@gnu.org>
4419 * textmodes/paragraphs.el (forward-sentence): For backwards case,
4420 distinguish start of paragraph from start of its text.
4422 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4424 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4425 (rmail-generate-viewer-buffer): Put that hook on view buffer.
4426 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4428 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
4430 * international/mule-diag.el (mule-diag): Insert a newline after
4431 each fontset description.
4433 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4435 * simple.el (delete-trailing-whitespace):
4436 Document last change; simplify.
4438 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
4440 * simple.el (delete-trailing-whitespace): Also delete
4441 extra newlines at the end of the buffer.
4443 * textmodes/picture.el: Make motion commands obey shift-select-mode.
4444 (picture-newline): Use forward-line so as to ignore fields.
4446 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4448 * subr.el (with-wrapper-hook): Fix edebug spec.
4450 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4452 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4455 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
4457 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4458 Fix nasty bug using wrong cached values.
4460 2011-09-23 Alan Mackenzie <acm@muc.de>
4462 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4464 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
4466 * window.el (pop-to-buffer): Ensure right window is selected if we
4467 chose another frame.
4469 2011-09-22 Eli Zaretskii <eliz@gnu.org>
4471 * simple.el (what-cursor-position): Use get-char-property-change
4472 and next-single-char-property-change, to be able to show display
4473 properties that come from overlays as well as text properties.
4475 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
4477 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4479 * cmuscheme.el (run-scheme, switch-to-scheme):
4480 * cus-edit.el (customize-group, custom-buffer-create)
4484 * mail/sendmail.el (mail):
4485 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4487 2011-09-22 Richard Stallman <rms@gnu.org>
4489 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4490 move back only to line beg, don't move back over blank lines.
4492 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
4494 * files.el (copy-directory): Set directory attributes only in case
4495 they could be retrieved from the source directory. (Bug#9565)
4497 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
4499 * progmodes/hideshow.el (hs-looking-at-block-start-p)
4500 (hs-find-block-beginning, hs-hide-level-recursive):
4501 Ignore strings as well as comments. (Bug#9502)
4503 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
4505 * progmodes/sql.el (sql-comint-postgres):
4506 Convert port number to a string. (Bug#9566)
4508 2011-09-22 Martin Rudalics <rudalics@gmx.at>
4510 * window.el (quit-window): Undedicate window when switching to
4511 previous buffer. Reported by Thierry Volpiatto
4512 <thierry.volpiatto@gmail.com>.
4513 (special-display-popup-frame): When popping up a new frame reset
4514 its previous buffers to nil. Simplify code.
4516 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
4518 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4519 and process filter, as done also in `shell-command'.
4521 2011-09-21 Martin Rudalics <rudalics@gmx.at>
4523 * window.el (set-window-buffer-start-and-point):
4524 Call set-window-start with NOFORCE argument t.
4525 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4526 (quit-window): Reword doc-string. Handle new format of
4527 quit-restore parameter. Don't delete window if it has a
4528 previous buffer we can show instead of the present one.
4529 (display-buffer-record-window): Rewrite using a new format for
4530 the quit-restore window parameter
4531 (special-display-popup-frame, display-buffer-same-window)
4532 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4533 (display-buffer-pop-up-window, display-buffer-use-some-window):
4534 Adapt symbol passed to display-buffer-record-window.
4535 * help.el (help-window-setup): Handle new format of quit-restore
4538 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4540 * faces.el (face-list): Fix docstring (bug#9564).
4542 * window.el (display-buffer--action-function-custom-type):
4543 Don't include internal functions in the Custom interface.
4545 2011-09-20 Juri Linkov <juri@jurta.org>
4547 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4548 (Info-forward-node, Info-backward-node, Info-next-preorder)
4549 (Info-last-preorder): Use it. (Bug#9528)
4551 2011-09-20 Juri Linkov <juri@jurta.org>
4553 * info.el (Info-last-preorder): Visit last menu item only when
4554 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4556 2011-09-20 Julien Danjou <julien@danjou.info>
4558 * password-cache.el (password-cache-remove): Remove entries even if the
4559 value is nil, so that password with a nil value (negative caching) is
4560 possible to invalidate.
4562 2011-09-20 Lawrence Mitchell <wence@gmx.li>
4564 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4565 all whitespace around breakpoint. (Bug#9553)
4566 (f90-find-breakpoint): Only break at whitespace inside a comment.
4568 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4570 * minibuffer.el (completion-file-name-table): Keep track of errors.
4571 (completion-table-with-predicate): Handle the case where pred1 is nil.
4572 * pcomplete.el (pcomplete-completions-at-point): Simplify.
4574 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4576 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4577 (debugger-return-value): Signal an error if the debugging context does
4578 not await any return value.
4580 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4581 * image-mode.el (image-toggle-display-text)
4582 (image-toggle-display-image): Stay away from evil `intangible'.
4584 2011-09-19 Leo Liu <sdl.web@gmail.com>
4586 * replace.el (occur-revert-arguments): Make it permanent-local.
4587 (occur-mode): Don't call font-lock-defontify.
4589 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
4591 * net/ldap.el (ldap-search-internal): Don't push empty search
4594 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4596 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4598 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
4600 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4601 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4603 2011-09-18 Juri Linkov <juri@jurta.org>
4605 * buff-menu.el (Buffer-menu-mode-map):
4606 * dired.el (dired-mode-map):
4607 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4608 (lisp-interaction-mode-map):
4609 * emacs-lisp/package.el (package-menu-mode-map):
4610 * epa.el (epa-key-list-mode-map):
4611 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4612 (menu-bar-options-menu):
4613 * outline.el (outline-mode-menu-bar-map):
4614 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4615 * vc/vc-dir.el (vc-dir-menu-map):
4616 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4617 Capitalize non-function content words in menu item strings.
4619 * dired.el (dired-mode-map): Add menu item for
4620 `image-dired-dired-toggle-marked-thumbs'.
4622 2011-09-18 Juri Linkov <juri@jurta.org>
4624 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4625 to `isearch-case-fold-search' and restore its original value
4626 after the `isearch-mode' call.
4628 2011-09-18 Juri Linkov <juri@jurta.org>
4630 * progmodes/grep.el (grep-process-setup): Don't check code for 1
4631 because `zgrep' returns 1 for successful matches (bug#9226).
4633 2011-09-18 Juri Linkov <juri@jurta.org>
4635 * info.el (Info-extract-menu-node-name): Check the second match
4636 for empty string (second test-case of bug#9528).
4637 (Info-last-preorder): Let-bind `Info-history' to nil to not add
4638 intermediate nodes to the history (first test-case of bug#9528).
4640 2011-09-18 Juri Linkov <juri@jurta.org>
4642 * info.el (Info-mode-syntax-table): New variable.
4643 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
4645 2011-09-18 Juri Linkov <juri@jurta.org>
4647 * info.el (Info-file-supports-index-cookies):
4648 Increment line-beginning-position's arg from 3 to 4 because makeinfo
4649 outputs one more line for long file names (bug#4142).
4651 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
4653 * newcomment.el (comment-normalize-vars): If prompting for
4654 comment-start, set comment-start-skip too (Bug#8424).
4656 2011-09-18 Johan Bockgård <bojohan@gnu.org>
4658 * icomplete.el: Fix previous fix of Bug#5849.
4659 (icomplete-mode): Don't set completion-show-inline-help.
4660 (icomplete-minibuffer-setup): Set completion-show-inline-help
4661 locally during icompletion.
4663 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
4665 * woman.el (woman2-process-escapes): Don't delete unrecognized
4668 * files.el (inhibit-first-line-modes-regexps): Add image files.
4669 (hack-local-variables-prop-line): Return nil for malformed
4670 prop-lines (Bug#9044).
4672 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
4674 * net/tramp.el (top): Don't require 'shell.
4675 (tramp-methods): Fix docstring.
4676 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
4677 Return complete remote file name. Handle "smb" case.
4678 Use `tramp-tmpdir', if defined for the respective method.
4679 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4681 * net/tramp-compat.el (top): Require 'shell.
4683 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4684 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4685 `tramp-current-host'.
4686 (tramp-get-remote-tmpdir): Remove.
4688 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4689 `tramp-tmpdir' entries.
4690 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4691 (tramp-smb-handle-file-attributes): Ignore errors.
4692 (tramp-smb-wait-for-output): Check also for process end.
4694 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4696 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4697 when sending QUIT (bug#9312).
4699 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
4701 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4702 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4703 occur-mode-display-occurrence.
4704 (occur-edit-mode): Add usage message.
4705 (occur-cease-edit): New command.
4706 (occur-after-change-function): Use text properties to find the
4707 position of the prefix text.
4708 (occur-engine): Set stickiness of prefix text properties.
4710 2011-09-17 Glenn Morris <rgm@gnu.org>
4712 * progmodes/etags.el (complete-tag):
4713 Fix call to completion-in-region. (Bug#9526)
4715 2011-09-17 Juri Linkov <juri@jurta.org>
4717 * textmodes/ispell.el (ispell-word): Add to the error message
4718 the word, ispell program name and current dictionary (bug#9121).
4719 (ispell-tex-arg-end): Capitalize "error" in the error message.
4721 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
4723 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4726 2011-09-17 Juri Linkov <juri@jurta.org>
4728 * window.el (window-safe-min-height, window-safe-min-width):
4729 Fix typos (followup to bug#9522).
4731 2011-09-17 Sven Joachim <svenjoac@gmx.de>
4733 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4735 2011-09-16 Eli Zaretskii <eliz@gnu.org>
4737 * simple.el (line-move): If goal-column is set, move by logical
4738 lines, not by display lines. (Bug#971)
4739 (next-line, previous-line, goal-column, line-move-visual): Doc fix
4740 to reflect the above change.
4742 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4744 * image.el (imagemagick-register-types): Use regexp-opt.
4746 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
4748 * window.el (display-buffer-base-action): Rename from
4749 display-buffer-default-action. Make default value empty.
4750 (display-buffer-overriding-action): Convert to defvar.
4751 (display-buffer-fallback-action): New var.
4753 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
4755 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
4757 (package--add-to-archive-contents): If there is a duplicate entry
4758 with an older version, remove it.
4759 (package-menu-mark-delete, package-menu-mark-install)
4760 (package-menu-mark-unmark): Make unused args optional.
4761 (package-menu-mark-obsolete-for-deletion):
4762 Use package-menu-get-status instead of a regexp search.
4763 (package-menu-get-status): Use tabulated-list-entry.
4764 (package-menu-mark-upgrades): New command.
4765 (package-menu-mode-map): Bind it to U. Add it to menu bar.
4766 (package-menu-execute): Do installation before deletion.
4767 (package-menu-refresh, package-menu-execute): Use derived-mode-p
4768 instead of checking major-mode.
4769 (package-menu--find-upgrades): New function.
4771 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4773 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4774 passwords in the log buffer.
4775 (smtpmail-process-filter): Update the process marker so that the
4776 "broken by peer" status message is inserted in the right place.
4778 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4780 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4781 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4782 bibtex-completion-at-point-function.
4783 (bibtex-completion-at-point-function): Use them.
4785 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4787 * mpc.el (mpc-constraints-tag-lookup): New function.
4788 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4789 also to browser "album|playlist".
4791 2011-09-14 Juri Linkov <juri@jurta.org>
4793 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
4794 (isearch-edit-string): Use length of `isearch-string' when
4795 `isearch-fail-pos' returns nil.
4796 (isearch-message): Remove duplicate code and call
4797 `isearch-fail-pos' with arg `t'.
4799 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
4801 * replace.el (occur-mode-goto-occurrence): Don't force using other
4804 * dired-aux.el (dired-do-chmod): Don't provide initial input.
4806 2011-09-14 Martin Rudalics <rudalics@gmx.at>
4808 * window.el (display-buffer-window): Remove.
4809 (display-buffer-record-window): Use help-setup window parameter
4810 instead of variable display-buffer-window.
4811 (display-buffer-function, special-display-buffer-names)
4812 (special-display-function): Mention help-setup parameter instead
4813 of display-buffer-window in doc-string.
4814 * help.el (help-window-setup): New argument help-window.
4815 Use help-window-setup parameter instead of display-buffer-window.
4816 Reword some messages.
4817 (with-help-window): Pass window used for displaying the buffer
4818 to help-window-setup. Don't set display-buffer-window.
4820 2011-09-13 Glenn Morris <rgm@gnu.org>
4822 * emacs-lisp/debug.el (debugger-make-xrefs):
4823 Preserve point. (Bug#9462)
4825 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
4827 * window.el (window-deletable-p): Use next-frame.
4829 2011-09-13 Martin Rudalics <rudalics@gmx.at>
4831 * window.el (window-auto-delete): Remove.
4832 (window-deletable-p): Remove argument FORCE. Don't deal with
4833 dedication and previous buffers.
4834 (switch-to-prev-buffer): Don't delete window.
4835 (delete-windows-on): Delete a window's frame if and only if the
4836 window is dedicated.
4837 (replace-buffer-in-windows): Delete buffer's window or frame if
4838 and only if window is dedicated.
4839 (quit-window): Handle quit-restore as before last change.
4840 (bury-buffer): Delete window only if window-deletable-p returns t.
4842 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
4844 * window.el (window-deletable-p): Never delete the last frame on a
4847 2011-09-13 Glenn Morris <rgm@gnu.org>
4849 * help.el (describe-key-briefly): Copy previous standard-output change.
4851 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
4853 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
4855 2011-09-13 Glenn Morris <rgm@gnu.org>
4857 * emacs-lisp/lisp-mode.el (lisp-indent-function):
4858 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
4860 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
4862 * dired-aux.el (dired-mark-read-string): Don't return default
4863 value on empty input (Bug#9361).
4864 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
4865 Omit initial minibuffer contents.
4866 (dired-do-chmod): Signal an error on empty input.
4867 (dired-mark-read-string): Don't return default on empty input.
4869 * files.el (file-modes-symbolic-to-number): Doc fix.
4871 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4873 * international/mule-cmds.el (ucs-completions): Remove.
4874 (read-char-by-name): Use complete-with-action instead; add metadata.
4876 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
4878 * window.el (display-buffer--action-function-custom-type)
4879 (display-buffer--action-custom-type): New vars.
4880 (display-buffer-alist, display-buffer-default-action)
4881 (display-buffer-overriding-action): Add defcustom types.
4883 * frame.el (delete-other-frames): Doc fix (Bug#276).
4885 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4887 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
4889 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
4891 Change modes that used same-window-* vars to use switch-to-buffer.
4893 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
4894 Use switch-to-buffer.
4896 * cus-edit.el (customize-group, custom-buffer-create)
4897 (customize-browse, custom-buffer-create-other-window):
4898 Use switch-to-buffer or switch-to-buffer-other-window.
4900 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
4901 (Info-prev, Info-up, Info-speedbar-goto-node)
4902 (info-display-manual): Use switch-to-buffer.
4903 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
4905 * mail/sendmail.el (mail): Use switch-to-buffer.
4906 (mail-recover): Use switch-to-buffer-other-window.
4908 * cmuscheme.el (run-scheme, switch-to-scheme):
4911 * net/rlogin.el (rlogin):
4912 * net/telnet.el (telnet, rsh):
4913 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
4915 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4917 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
4919 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4921 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
4922 so don't mention it (bug#9301).
4923 (dired-sort-toggle-or-edit): Clarify string further.
4925 * faces.el (face-spec-set-match-display): Make `(type graphic)'
4926 match `x', `w32' and `ns', like the manual says (bug#9029).
4928 * subr.el (eval-after-load): Doc string clarification (bug#9125).
4929 (process-kill-buffer-query-function): Mention the buffer name in
4932 * image-mode.el (image-next-line): The line parameter is mandatory
4935 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
4936 which can be useful (bug#9301).
4938 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
4940 * subr.el (match-string): Mention that the current buffer should
4941 be the same as the search was done in (bug#9282).
4943 * facemenu.el: Disable the remove-* commands if the mark isn't
4946 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
4948 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
4950 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
4952 * replace.el (occur-mode-goto-occurrence)
4953 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
4956 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
4959 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
4960 special-display and same-window variables.
4961 (mail-other-window): Use switch-to-buffer-other-window.
4962 (mail-other-frame): USe switch-to-buffer-other-frame.
4964 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
4965 Use display-buffer-other-frame.
4966 (gdb-display-gdb-buffer): Use pop-to-buffer.
4968 * progmodes/gud.el (gud-goto-info): Use info-other-window.
4970 * progmodes/python.el: Don't set same-window-buffer-names.
4972 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
4974 * window.el (display-buffer-alist): Add *Python*.
4976 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
4978 * window.el (display-buffer-alist): Add entry for buffers
4979 previously handled same-window-*.
4980 (display-buffer-alist, display-buffer-default-action)
4981 (display-buffer-overriding-action): Mark as risky.
4982 (display-buffer-alist): Document action function changes.
4983 (display-buffer--same-window-action)
4984 (display-buffer--other-frame-action): New variables.
4985 (switch-to-buffer, display-buffer-other-frame): Use them.
4986 (display-buffer): Rename reuse-frame entry to reusable-frames.
4987 (display-buffer-reuse-selected-window): Function deleted.
4988 (display-buffer-reuse-window): Handle reusable-frames alist entry.
4989 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
4990 (display-buffer-special): New function.
4991 (display-buffer--maybe-pop-up-frame-or-window): Rename from
4992 display-buffer-reuse-or-pop-window. Split off special-display
4993 part into display-buffer-special.
4994 (display-buffer-use-some-window): Don't perform any special
4995 pop-up-frames handling.
4996 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
4997 (display-buffer--maybe-same-window): Rename from
4998 display-buffer-maybe-same-window.
5000 * info.el: Don't set same-window-regexps.
5001 (info-setup): New function.
5002 (info-other-window, info): Call it.
5004 * cus-edit.el: Don't set same-window-regexps.
5005 (customize-group): New argument.
5006 (customize-group-other-window): Use it.
5007 (customize-face, customize-face-other-window): Likewise.
5008 (custom-buffer-create-other-window): Use pop-to-buffer directly.
5012 * progmodes/gud.el: Don't set same-window-regexps.
5018 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5020 2011-09-10 Juri Linkov <juri@jurta.org>
5022 * isearch.el (isearch-edit-string): Remove obsolete mention of
5023 `C-w' (`isearch-yank-word-or-char') from docstring.
5024 (isearch-query-replace): Fix typo in docstring (bug#9466).
5026 2011-09-10 Juri Linkov <juri@jurta.org>
5028 * paren.el (show-paren-function): Don't show escaped parens.
5029 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
5031 2011-09-10 Eli Zaretskii <eliz@gnu.org>
5033 * mail/sendmail.el (mml-to-mime, mml-attach-file)
5034 (mm-default-file-encoding): Remove autoload forms, they are
5035 replaced with autoload cookies in mml.el and mm-encode.el.
5036 (mail-add-attachment): New command.
5037 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5038 (mail-mode): Mention mail-insert-file and mail-add-attachment in
5040 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5042 2011-09-10 Reuben Thomas <rrt@sc3d.org>
5044 * simple.el (count-words-region): Use buffer if there's no region
5047 2011-09-09 Juri Linkov <juri@jurta.org>
5049 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5050 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5051 (wdired-isearch-filter-read-only): New function. (Bug#6362)
5053 2011-09-09 Alan Mackenzie <acm@muc.de>
5055 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5056 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
5058 2011-09-09 Eli Zaretskii <eliz@gnu.org>
5060 Fix for Savannah bug#9392.
5061 * simple.el (mail-encode-mml): New defvar.
5063 * mail/rmail.el (mail-encode-mml): Add a defvar.
5064 (rmail-enable-mime-composing): Default to t.
5065 (rmail-forward): Use MIME method of forwarding only if both
5066 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5067 Set mail-encode-mml non-nil if the MIME method was used.
5069 * mail/sendmail.el (mml-to-mime): Add autoload form.
5070 (mail-encode-mml): Add a defvar.
5071 (mail-mode): Make mail-encode-mml buffer-local and initialize it
5073 (mail-send): If mail-encode-mml is non-nil, run the outgoing
5074 message through mml-to-mime, and reset mail-encode-mml to nil.
5076 2011-09-09 Glenn Morris <rgm@gnu.org>
5078 * woman.el (woman-if-body): When processing an .el block,
5079 do not delete the next .el block as well. (Bug#9447)
5080 (woman-special-characters): Add oq, cq, and hy characters.
5082 2011-09-08 Martin Rudalics <rudalics@gmx.at>
5084 * window.el (window-deletable-p): Make sure window is live before
5085 invoking window-prev-buffers.
5087 2011-09-08 Leo Liu <sdl.web@gmail.com>
5089 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
5091 2011-09-08 Juri Linkov <juri@jurta.org>
5093 * progmodes/compile.el (compilation-environment): Make it
5094 a defcustom (bug#8340).
5096 2011-09-08 Martin Rudalics <rudalics@gmx.at>
5098 * window.el (frame-auto-delete): Rename to window-auto-delete.
5099 Make it control auto-deletion of windows and/or frames.
5100 (window-deletable-p): New argument FORCE. Rewrite conditions
5101 for deleting window/frame. (Bug#9419)
5102 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5103 Rewrite handling of case when window/frame can be deleted.
5104 (delete-windows-on): Call window-deletable-p with new FORCE
5105 argument t. (Bug#9456)
5107 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
5109 * help-mode.el (help-mode): Restore autoload.
5111 2011-09-07 Juri Linkov <juri@jurta.org>
5113 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5114 `compilation-environment'. Set buffer-local
5115 `compilation-environment' to `thisenv' later after (funcall mode).
5118 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
5119 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5120 instead of replacing its value. (Bug#8340)
5122 2011-09-07 Juri Linkov <juri@jurta.org>
5124 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5125 based on text properties put by `grep-filter' instead of matching
5127 (grep-mode): Set buffer-local `compilation-error-screen-columns'
5128 to the value of `grep-error-screen-columns' (bug#9438).
5130 2011-09-07 Juri Linkov <juri@jurta.org>
5132 * simple.el (next-error-highlight, next-error-highlight-no-select):
5135 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5137 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5138 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
5140 2011-09-07 Leo Liu <sdl.web@gmail.com>
5142 * net/rcirc.el (rcirc-mode): Conditionally initialize
5145 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
5147 * emacs-lisp/find-func.el (find-function-C-source): Only set
5148 find-function-C-source-directory after checking that we found a source
5149 file there (bug#9440).
5151 2011-09-06 Alan Mackenzie <acm@muc.de>
5153 * isearch.el (isearch-other-meta-char): Wherever a key list is
5154 unread, "unread" the prefix arg, too. This fixes bug #8901.
5156 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5158 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5160 2011-09-05 Juri Linkov <juri@jurta.org>
5162 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5164 2011-09-05 Juri Linkov <juri@jurta.org>
5166 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5167 keeping point where processing of grep matches begins, and
5168 continue to delete remaining escape sequences from the same point.
5169 (grep-filter): Make leading zero optional in "0?1;31m" because
5170 git-grep emits "\033[1;31m" escape sequences unlike expected
5171 "\033[01;31m" as GNU Grep does (bug#9408).
5172 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5174 2011-09-05 Juri Linkov <juri@jurta.org>
5176 * subr.el (y-or-n-p): Capitalize "yes".
5178 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
5180 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
5181 `tramp-cache-unload-hook' where appropriate.
5182 (tramp-methods): Rename `tramp-remote-sh' to
5183 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
5184 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5186 * net/tramp-sh.el (top): Don't require 'shell.
5187 (tramp-methods): Add `tramp-remote-shell' and
5188 `tramp-remote-shell-args' entries.
5189 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5190 (tramp-sh-handle-shell-command): Remove.
5191 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5192 Use `tramp-remote-shell'.
5194 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
5196 * mail/sendmail.el (sendmail-query-once-function): Delete.
5197 (sendmail-query-once): Save directly to send-mail-function.
5198 Update message-send-mail-function too.
5200 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5202 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5204 * progmodes/python.el (python-mode-map): Use correct function to
5205 start python interpreter from menu-bar (as reported by Geert
5207 (inferior-python-mode-map): Fix typo.
5208 (python-shell-map): Remove.
5210 2011-09-03 Deniz Dogan <deniz@dogan.se>
5212 * net/rcirc.el (rcirc-print): Simplify code for
5213 rcirc-scroll-show-maximum-output. There is no need to walk
5214 through all windows to find the right one.
5216 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
5218 * help.el (help-return-method): Doc fix.
5220 2011-09-03 Martin Rudalics <rudalics@gmx.at>
5222 * window.el (window-deletable-p): Don't return a non-nil value
5223 when there's a buffer that was shown in the window before.
5225 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5226 Set window's previous buffers to nil.
5228 2011-09-03 Eli Zaretskii <eliz@gnu.org>
5230 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5231 newline before and after the tag line, so it doesn't interfere
5232 with determining the paragraph direction of bidirectional text.
5234 2011-09-03 Leo Liu <sdl.web@gmail.com>
5236 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
5238 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
5240 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
5241 (pop-to-buffer): Change interactive spec. Pass second argument
5242 directly to display-buffer.
5243 (display-buffer): Fix interactive spec. Use functionp to
5244 distinguish between a function and a list of functions.
5246 * abbrev.el (edit-abbrevs):
5247 * arc-mode.el (archive-extract):
5248 * autoinsert.el (auto-insert):
5249 * bookmark.el (bookmark-bmenu-list):
5250 * files.el (find-file):
5251 * view.el (view-buffer):
5252 * progmodes/compile.el (compilation-goto-locus):
5253 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5255 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
5257 * window.el (display-buffer-alist): Doc fix.
5258 (display-buffer): Add docstring. Don't treat
5259 display-buffer-default specially.
5260 (display-buffer-reuse-selected-window)
5261 (display-buffer-same-window, display-buffer-maybe-same-window)
5262 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5263 (display-buffer-pop-up-window)
5264 (display-buffer-reuse-or-pop-window)
5265 (display-buffer-use-some-window): New functions.
5266 (display-buffer-default-action): Use them.
5267 (display-buffer-default): Delete.
5268 (pop-to-buffer-1): Fix choice of actions.
5270 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5272 * minibuffer.el (completion--insert-strings): Don't get confused by
5273 completion entries that end with an LF char.
5275 2011-09-01 Eli Zaretskii <eliz@gnu.org>
5277 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5279 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
5281 * window.el (display-buffer): Restore interactive spec.
5282 (display-buffer-same-window, display-buffer-other-window):
5284 (pop-to-buffer-1): New function. Use the above.
5285 (pop-to-buffer, pop-to-buffer-same-window): Use it.
5286 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
5288 * view.el (view-buffer-other-window, view-buffer-other-frame):
5289 Just use pop-to-buffer.
5291 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5293 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
5295 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
5297 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
5299 2011-08-31 Richard Stallman <rms@gnu.org>
5301 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5302 of the separation of rmail-view-buffer from rmail-buffer.
5303 If you say no to "replace original", the decrypt is in the
5304 view buffer. If you say yes, the decrypt goes into the
5307 2011-08-31 Martin Rudalics <rudalics@gmx.at>
5309 * window.el (display-buffer-window): Rewrite doc-string.
5310 (display-buffer-record-window): New function.
5311 (display-buffer-macro-specifiers)
5312 (display-buffer-even-window-sizes, display-buffer-set-height)
5313 (display-buffer-set-width, display-buffer-in-window)
5314 (display-buffer-reuse-window, display-buffer-split-specifiers)
5315 (display-buffer-side-specifiers, display-buffer-split-window-1)
5316 (display-buffer-split-window, display-buffer-split-atom-window)
5317 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5318 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5319 (display-buffer-other-window-means-other-frame)
5320 (display-buffer-normalize-special)
5321 (display-buffer-normalize-default)
5322 (display-buffer-normalize-argument)
5323 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5324 (display-buffer-normalize-specifiers, display-buffer-frame)
5325 (display-buffer-same-window, display-buffer-same-frame)
5326 (display-buffer-other-window)
5327 (display-buffer-same-frame-other-window)
5328 (display-buffer-other-frame, pop-to-buffer-same-window)
5329 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5330 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5331 (switch-to-buffer-same-frame)
5332 (switch-to-buffer-other-window-same-frame)
5333 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5334 (display-buffer-alist-set-1, display-buffer-alist-set-2)
5335 (display-buffer-alist-set): Remove.
5336 (display-buffer-function, special-display-buffer-names)
5337 (special-display-regexps, special-display-function):
5338 In doc-string refer to display-buffer-window and quit-restore
5340 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5341 (special-display-frame-alist, special-display-popup-frame)
5342 (same-window-buffer-names, same-window-regexps, same-window-p)
5343 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5344 (split-window-preferred-function, split-height-threshold)
5345 (split-width-threshold, window-splittable-p)
5346 (split-window-sensibly, window--try-to-split-window)
5347 (window--frame-usable-p, even-window-heights)
5348 (window--even-window-heights, window--display-buffer-1)
5349 (window--display-buffer-2, display-buffer-other-frame):
5350 Restore old Emacs 23 code, order and doc-strings where applicable.
5351 (display-buffer-default, display-buffer-assq-regexp): New functions.
5352 (display-buffer-alist): Rewrite doc-string.
5353 (display-buffer-default-action)
5354 (display-buffer-overriding-action): New variables.
5355 (display-buffer, switch-to-buffer): Rewrite.
5356 (pop-to-buffer): Restore Emacs 23 behavior but use
5357 window-normalize-buffer-to-display.
5358 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5359 Restore Emacs 23 behavior but use
5360 window-normalize-buffer-to-switch-to.
5361 (pop-to-buffer-same-window): Rewrite.
5362 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5363 Rewrite using Emacs 23 options.
5365 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
5367 * net/tramp.el (tramp-root-regexp): Remove.
5368 (tramp-completion-file-name-regexp-unified)
5369 (tramp-completion-file-name-regexp-separate)
5370 (tramp-completion-file-name-regexp-url): Don't use leading volume
5371 letter on win32 systems. (Bug#5303, Bug#9311)
5372 (tramp-drop-volume-letter): Simplify definition.
5373 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5375 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5377 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5380 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
5382 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5384 2011-08-29 Juri Linkov <juri@jurta.org>
5386 * isearch.el (isearch-done): Don't display message "Mark saved"
5387 when arg `edit' is non-nil to prevent its flicker in the echo area.
5389 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
5391 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5392 obsolete packages for deletion.
5394 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
5396 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5397 (help-mode): Derive help-mode from special-mode. Don't invoke
5398 view-mode from help-mode.
5399 (help-xref-override-view-map): Remove.
5400 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5401 view-mode is not used anymore.
5403 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
5405 * server.el (server-port): Doc fix.
5407 * cus-theme.el (custom-theme-choose-mode): Inherit from
5408 special-mode (Bug#9124).
5409 (custom-theme-choose-mode-map): Add special-mode to parent.
5411 2011-08-28 Alan Mackenzie <acm@muc.de>
5413 * progmodes/cc-fonts.el
5414 (c-make-font-lock-BO-decl-search-function): New function.
5415 (c-basic-matchers-after - "Fontify the clauses after various
5416 keywords"): Extract the three keyword lists for the 3 erroneous
5417 constructs from the list of four, and use the new function above
5418 in place of an old one.
5420 2011-08-28 Deniz Dogan <deniz@dogan.se>
5422 * net/rcirc.el (rcirc-insert-prev-input)
5423 (rcirc-insert-next-input): Remove unused argument.
5425 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5427 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5429 2011-08-27 Alan Mackenzie <acm@muc.de>
5431 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5432 handle function pointer parameters properly.
5434 2011-08-27 Martin Rudalics <rudalics@gmx.at>
5436 * window.el (display-buffer-reuse-window): Fix case where
5437 selected window was reused with non-nil OTHER-WINDOW argument.
5440 2011-08-27 Deniz Dogan <deniz@dogan.se>
5442 * net/rcirc.el (rcirc-check-auth-status): Adding support for
5443 oftc's NickServ messages.
5445 2011-08-27 Glenn Morris <rgm@gnu.org>
5447 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
5449 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
5451 * emacs-lisp/package.el (package-install): Call package-initialize
5452 if called interactively.
5454 2011-08-26 Leo Liu <sdl.web@gmail.com>
5456 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
5458 2011-08-25 Juri Linkov <juri@jurta.org>
5460 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5461 `search-whitespace-regexp' (bug#9364).
5463 2011-08-25 Juri Linkov <juri@jurta.org>
5465 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5466 `regexp-search-ring' to their global values to protect from
5467 updating by `read-from-minibuffer' (bug#9185).
5469 2011-08-25 Juri Linkov <juri@jurta.org>
5471 * textmodes/ispell.el (ispell-command-loop): Add newline
5472 at the end of the "Use option `i'..." line.
5474 2011-08-25 Juri Linkov <juri@jurta.org>
5476 * battery.el (display-battery-mode): If `battery-status-function'
5477 or `battery-mode-line-format' is nil, display the message and set
5478 `display-battery-mode' to nil (bug#9363).
5480 2011-08-25 Eli Zaretskii <eliz@gnu.org>
5482 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5483 bidi-string-mark-left-to-right; they are unnecessary now.
5485 2011-08-25 Deniz Dogan <deniz@dogan.se>
5487 * net/quickurl.el: Documentation typo fixes.
5489 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
5491 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5493 2011-08-25 Glenn Morris <rgm@gnu.org>
5495 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5497 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5498 (smtpmail-via-smtp): Handle nil response from smtp.
5500 2011-08-24 Juri Linkov <juri@jurta.org>
5502 * proced.el (proced-marked): Inherit from `error' instead of
5503 `font-lock-warning-face'.
5505 * ibuffer.el (ibuffer-marked-face): Change default face from
5506 `font-lock-warning-face' to `warning'.
5507 (ibuffer-deletion-face): Change default face from
5508 `font-lock-type-face' to `error'.
5510 * battery.el (battery-update): Use the face `error' instead of
5511 `font-lock-warning-face' (bug#6117).
5513 2011-08-24 Juri Linkov <juri@jurta.org>
5515 * faces.el (success): Change face color from "Green3" to
5516 "ForestGreen" on light background (bug#9353).
5518 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
5520 * window.el (quit-window): Rename from quit-restore-window.
5521 Use same arglist as old quit-window.
5522 (frame-auto-delete): Doc fix.
5524 * view.el (view-mode-exit): Use quit-window.
5526 2011-08-24 Juri Linkov <juri@jurta.org>
5528 * isearch.el (isearch-ring-adjust1): Start visiting previous
5529 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5530 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5531 for empty search string (when the last search string is reused
5532 automatically) to adjust the isearch ring to the last element and
5533 prepare the correct index for further M-p commands (bug#9185).
5535 2011-08-24 Kenichi Handa <handa@m17n.org>
5537 * international/ucs-normalize.el: If decomposition property of
5538 CHAR is the default one (i.e. a list of CHAR itself), treat it as
5540 (nfd, nfkd): Likewise.
5542 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
5544 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5545 from process filters aren't reliably transmitted to the surrounding
5546 accept-process-output.
5547 (mpc-proc-check): New function.
5548 (mpc-proc-sync): Use it (bug#8293)
5550 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5552 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5553 Add compatibility functions (bug#9313).
5555 2011-08-23 Eli Zaretskii <eliz@gnu.org>
5557 * cus-start.el (all): Add entry for bidi-paragraph-direction.
5559 * international/uni-bidi.el: Regenerate.
5561 2011-08-23 Kenichi Handa <handa@m17n.org>
5563 * international/charprop.el:
5564 * international/uni-bidi.el:
5565 * international/uni-category.el:
5566 * international/uni-combining.el:
5567 * international/uni-comment.el:
5568 * international/uni-decimal.el:
5569 * international/uni-decomposition.el:
5570 * international/uni-digit.el:
5571 * international/uni-lowercase.el:
5572 * international/uni-mirrored.el:
5573 * international/uni-name.el:
5574 * international/uni-numeric.el:
5575 * international/uni-old-name.el:
5576 * international/uni-titlecase.el:
5577 * international/uni-uppercase.el: Regenerate.
5579 2011-08-23 Martin Rudalics <rudalics@gmx.at>
5581 * help.el (help-window-setup): Fix message displayed when other
5582 window is reused. (Bug#9341)
5584 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5586 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5587 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5589 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5591 * shell.el (shell-parse-pcomplete-arguments): New function.
5592 (shell-completion-vars): Use it instead (bug#9160).
5594 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5596 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5597 strings and comments (bug#9333).
5599 * emacs-lisp/debug.el (debug-arglist): New function.
5600 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
5601 (debug-on-entry-1): Handle interpreted closures (bug#9120).
5603 2011-08-22 Juri Linkov <juri@jurta.org>
5605 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5606 Revert regexp that highlights output switches to its old
5607 pre-2010-10-28 value and remove one `?' from it (bug#9319).
5609 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5610 to check for empty output (bug#9226).
5612 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
5614 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5615 symbol-constituent as the default, as that stops font-lock from
5616 working properly (Bug#8843).
5618 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5620 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5621 `coding-system-for-*' around the process open call to avoid
5622 auth-source side effects.
5623 (smtpmail-try-auth-methods): Expand the secret password.
5624 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5627 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
5629 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5631 * emacs-lisp/find-func.el (find-function-noselect): New arg
5634 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5635 signal an error for built-in functions (Bug#6664).
5637 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5639 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5640 (smtpmail-try-auth-methods): Use it.
5642 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
5644 * font-lock.el (font-lock-fontify-region)
5645 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5646 (font-lock-default-unfontify-buffer)
5647 (font-lock-default-fontify-region)
5648 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5650 * progmodes/compile.el (compilation-error-properties):
5651 Fix confusion between file struct and message struct (Bug#9319).
5652 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5655 * net/browse-url.el (browse-url-firefox): Don't call
5656 browse-url-firefox-sentinel unless using -remote (Bug#9328).
5658 2011-08-20 Glenn Morris <rgm@gnu.org>
5660 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5662 * tutorial.el (tutorial--default-keys): Update some default bindings.
5664 * files.el (hack-local-variables): Fully ignore case for "mode:".
5666 2011-08-20 Alan Mackenzie <acm@muc.de>
5668 Resolve invalid use of a regexp in regexp-opt.
5670 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5671 detection for a java annotation.
5673 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
5674 detection for a java annotation.
5676 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5678 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5680 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
5682 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5685 2011-08-20 Alan Mackenzie <acm@muc.de>
5687 Fontify CPP expressions correctly when starting in the middle of
5688 such a construct. Mainly for when jit-lock etc. starts a chunk
5691 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
5693 (c-make-font-lock-search-form): New function, extracted from
5694 c-make-font-lock-search-function.
5695 (c-make-font-lock-search-function): Use the above function.
5696 (c-make-font-lock-context-search-function): New function.
5697 (c-cpp-matchers): Enhance the preprocessor expression case with
5699 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5700 which takes an expression.
5702 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5704 2011-08-20 Martin Rudalics <rudalics@gmx.at>
5706 * window.el (display-buffer-reuse-window)
5707 (display-buffer-pop-up-window): Don't reuse or split a side
5710 2011-08-19 Glenn Morris <rgm@gnu.org>
5712 * files.el (hack-local-variables-prop-line, hack-local-variables):
5713 Downcase "Mode:". (Bug#9331)
5715 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
5717 * international/characters.el: Add L and R categories.
5719 * subr.el (bidi-string-mark-left-to-right): Rename from
5720 string-mark-left-to-right. Use category search.
5722 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5724 2011-08-18 Juri Linkov <juri@jurta.org>
5726 * faces.el (error, warning, success): New faces with definitions
5727 copied from old default values of `font-lock-warning-face',
5728 `compilation-warning', `compilation-info' (bug#6117).
5730 * font-lock.el (font-lock-warning-face): Inherit from `error'.
5732 * progmodes/compile.el (compilation-error): Inherit from `error'.
5733 (compilation-warning): Inherit from `warning'.
5734 (compilation-info): Inherit from `success'.
5736 * dired.el (dired-marked): Inherit from `warning'.
5737 (dired-flagged): Inherit from `error'.
5739 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5741 * mail/smtpmail.el (auth-source): Require to avoid problems with
5742 binding variables (bug#9298). Also clean up some unused
5745 * net/network-stream.el (network-stream-open-starttls):
5746 Support using starttls.el without using gnutls-cli.
5748 2011-08-17 Juri Linkov <juri@jurta.org>
5750 * progmodes/grep.el (rgrep): Handle the case when
5751 `grep-find-command' is a cons cell (bug#9278).
5753 2011-08-17 Martin Rudalics <rudalics@gmx.at>
5755 * window.el (display-buffer-pop-up-frame): Run frame creation
5756 function with BUFFER current (as special-display-popup-frame
5757 does). Reported by Drew Adams.
5759 2011-08-17 Daiki Ueno <ueno@unixuser.org>
5761 * epa-mail.el: Simplify GnuPG group expansion using
5763 (epa-mail-group-alist, epa-mail-group-modtime)
5764 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
5765 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
5766 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
5769 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
5771 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5773 2011-08-16 Alan Mackenzie <acm@muc.de>
5775 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5776 Correct, to avoid the inside of macros.
5778 2011-08-16 Richard Stallman <rms@gnu.org>
5780 * epa-mail.el: Handle GnuPG group definitions.
5781 (epa-mail-group-alist, epa-mail-group-modtime)
5782 (epa-mail-gnupg-conf-file): New variables.
5783 (epa-mail-parse-groups, epa-mail-sync-groups)
5784 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5785 (epa-mail-expand-recipients): New functions.
5786 (epa-mail-encrypt): Call epa-mail-expand-recipients.
5788 * mail/rmail.el (rmail-epa-decrypt): New command.
5790 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5791 Don't bind buffer-read-only, just inhibit-read-only.
5792 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5793 (epa-decrypt-armor-in-region): Make error message clearer.
5795 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5797 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
5798 and "a2b" to "ab" for `prefix'.
5800 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
5802 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
5804 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
5805 Fourquet (Bug#8804).
5807 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
5809 * startup.el (argi): Declare as global variable (bug#9275).
5811 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
5813 * subr.el (string-mark-left-to-right): Search the entire string
5814 for RTL script, not just the terminating character. Doc fix.
5816 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5818 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
5820 (js--regexp-literal, js-syntax-propertize-function): Remove.
5821 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
5822 (js-mode-map): Don't rebind electric keys.
5823 (js-insert-and-indent): Remove.
5824 (js-mode): Setup electric-layout and electric-indent instead.
5826 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
5828 2011-08-12 Daiki Ueno <ueno@unixuser.org>
5830 * epa.el (epa-progress-callback-function): Fix the logic of
5831 displaying progress.
5832 * epa-file.el (epa-file-insert-file-contents): Make progress
5833 display more user-friendly.
5834 (epa-file-write-region): Ditto.
5836 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
5838 * subr.el (string-mark-left-to-right): New function.
5840 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
5841 Use string-mark-left-to-right.
5842 (list-buffers-noselect): Caller changed.
5844 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5845 Use string-mark-left-to-right.
5846 (tabulated-list-print): Recenter after moving point.
5848 2011-08-10 Juri Linkov <juri@jurta.org>
5850 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
5851 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
5852 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
5854 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
5856 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
5859 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
5861 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
5862 character. (Bug#6594)
5864 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
5866 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
5867 (image-dired--with-db-file): New macro.
5868 (image-dired-write-tags, image-dired-remove-tag)
5869 (image-dired-create-gallery-lists, image-dired-write-comments)
5870 (image-dired-get-comment, image-dired-mark-tagged-files)
5871 (image-dired-list-tags, image-dired-gallery-generate): Use it.
5872 (image-dired-gallery-generate): Use insert-file-contents.
5874 * time.el (display-time-world-list, display-time-world-display):
5875 * time-stamp.el (time-stamp-string):
5876 * vc/add-log.el (add-change-log-entry): Use setenv instead of
5877 set-time-zone-rule (Bug#7337).
5879 2011-08-08 Daiki Ueno <ueno@unixuser.org>
5881 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
5882 (epg-error-to-string, epg-errors-to-string): New function.
5883 (epg-wait-for-completion): Reverse errors list.
5884 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
5885 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
5886 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
5887 (epg-sign-keys, epg-generate-key-from-file)
5888 (epg-generate-key-from-string): Format errors by using
5889 epg-errors-to-string (bug#9255).
5890 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
5892 2011-08-07 Juri Linkov <juri@jurta.org>
5894 * faces.el (list-faces-display): Remove extra angle bracket
5895 from `help-mode-map'.
5897 * info.el (Info-history-toc-nodes): Doc fix.
5899 * longlines.el (longlines-mode): Doc fix.
5901 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5903 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
5904 of statements and in a few more cases (bug#9183).
5906 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
5908 (cl-transform-lambda): Use them (bug#9239).
5910 2011-08-05 Martin Rudalics <rudalics@gmx.at>
5912 * window.el (display-buffer-same-window)
5913 (display-buffer-same-frame, display-buffer-other-window)
5914 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5915 (pop-to-buffer-other-window)
5916 (pop-to-buffer-same-frame-other-window)
5917 (pop-to-buffer-other-frame): Make them defuns.
5918 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
5920 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5922 * subr.el (make-composed-keymap): Move from C. Change calling
5923 convention, and improve docstring to bring attention to a subtle point.
5924 * minibuffer.el (completing-read-default): Adjust accordingly.
5926 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
5928 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5929 (tramp-open-shell): Use `tramp-shell-quote-argument'.
5931 * net/trampver.el: Update release number.
5933 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5935 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
5938 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5940 * mail/sendmail.el (sendmail-query-once): Restore the current
5941 buffer after querying (bug#9074).
5943 * dired.el (dired-flagged): Use different faces for marked and
5944 flagged files (bug#6117).
5946 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
5949 * ido.el (ido-mode): Switch off the message if called
5952 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
5953 before 587, since it appears that that's more likely to work for
5956 * cus-edit.el (custom-file): When running under emacs -q, always
5957 refuse to save the customizations, even if the .emacs file doesn't
5960 * info.el: Remove the `Info-beginning-of-buffer' function
5963 * net/network-stream.el (network-stream-open-starttls):
5964 Use `starttls-available-p' to see whether starttls.el can be used.
5966 2011-08-01 Martin Rudalics <rudalics@gmx.at>
5968 * window.el (display-buffer-in-window): Don't set dedicated status
5969 of window here (Bug#9215).
5970 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5971 (display-buffer-pop-up-side-window)
5972 (display-buffer-in-side-window): Set dedicated status of window here.
5974 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5976 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
5977 before binding generated-autoload-file.
5979 2011-08-01 Deniz Dogan <deniz@dogan.se>
5981 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
5983 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
5985 Sync with Tramp 2.2.2.
5987 * net/trampver.el: Update release number.
5989 2011-07-30 Juri Linkov <juri@jurta.org>
5991 * dired-aux.el (dired-touch-initial): Remove function.
5992 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
5993 current time, and `default' to the last modification time of the
5994 current marked file (bug#6887).
5996 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
5998 * simple.el (goto-line): Use string-to-number to provide a
5999 numeric argument to read-number (bug#9163).
6001 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
6003 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6004 connection process, it could be nil.
6006 2011-07-27 Leo Liu <sdl.web@gmail.com>
6008 Simplify url handling in rcirc-mode.
6010 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6011 (rcirc-browse-url-at-mouse): Remove.
6012 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6014 2011-07-26 Alan Mackenzie <acm@muc.de>
6016 Fontify bitfield declarations properly.
6018 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6019 (c-symbol-chars): Now exported as a lang variable.
6020 (c-not-primitive-type-keywords): New lang variable.
6022 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6023 QT keyword "more" to prevent "more slots: ...." being spuriously
6024 parsed as a bitfield declaration.
6026 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6027 Refactor and enhance to handle bitfield declarations.
6028 (c-punctuation-in): New function.
6029 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6030 declarations properly.
6032 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
6034 * calendar/icalendar.el (icalendar--all-events): Take care of
6035 multiple vcalendars in a single file.
6036 (icalendar--convert-float-to-ical): Checkdoc fixes.
6038 2011-07-25 Deniz Dogan <deniz@dogan.se>
6040 * image.el (insert-image): Clarifying docstring.
6042 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
6044 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6045 `tramp-send-command-and-check' if there is no error.
6046 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6048 2011-07-22 Alan Mackenzie <acm@muc.de>
6050 Prevent cc-langs.elc being loaded at run time.
6052 * progmodes/cc-mode.el: Remove two autoload forms which loaded
6055 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
6056 "(require 'cc-langs)". Quote a form so it will evaluate at
6057 (cc-mode's) compilation time.
6059 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
6061 * net/tramp.el (tramp-file-name-handler): Avoid recursive
6064 2011-07-21 Martin Rudalics <rudalics@gmx.at>
6066 * window.el (display-buffer-pop-up-window)
6067 (display-buffer-pop-up-side-window)
6068 (display-buffer-in-side-window): Call display-buffer-set-height
6069 and display-buffer-set-width after setting the new window's
6070 buffer so `fit-window-to-buffer' and friends work on the right buffer.
6072 2011-07-20 Sam Steingold <sds@gnu.org>
6074 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6075 (etags-tags-included-tables): Call `convert-standard-filename' on
6076 the file names contained in TAGS so that windows Emacs can handle
6077 TAGS files created by cygwin ctags.
6079 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6081 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6082 which apparently didn't work.
6084 2011-07-19 Roland Winkler <winkler@gnu.org>
6086 * proced.el (proced-send-signal): For *Marked Processes* buffer
6087 put point at beginning of buffer.
6089 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
6091 * proced.el (proced-format): Make header lines align with the text
6094 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6096 * view.el (view-buffer): Allow running in `special' modes if we're
6097 visiting a file (bug#8615).
6099 2011-07-19 Martin Rudalics <rudalics@gmx.at>
6101 * window.el (display-buffer-alist-of-strings-p)
6102 (display-buffer-alist-set-1, display-buffer-alist-set-2):
6104 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6107 2011-07-18 Alan Mackenzie <acm@muc.de>
6109 Fontify declarators properly when, e.g., a jit-lock chunk begins
6110 inside a declaration.
6112 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6114 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6116 (c-complex-decl-matchers): Insert reference to
6117 c-font-lock-enclosing-decls.
6119 * progmodes/cc-engine.el (c-backward-single-comment):
6120 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6121 to nil around calls to (forward-comment -1).
6123 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6125 * image.el (put-image): Doc typo fix.
6127 * progmodes/etags.el (tags-search): Doc typo fix.
6129 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6130 password if we get errors 550 to 554.
6132 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6134 * net/gnutls.el (gnutls-log-level): Remove.
6136 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6137 indentation character (bug#6380).
6139 * files.el (buffer-offer-save): Made permanently local (bug#6241).
6141 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6142 to clarify what the problem is (bug#4291).
6144 * simple.el (current-kill): Clarify what
6145 `interprogram-paste-function' does (bug#7500).
6146 (auto-fill-mode): Document `auto-fill-function' in relation to
6147 `auto-fill-mode' (bug#2470).
6149 2011-07-16 Lawrence Mitchell <wence@gmx.li>
6151 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6152 method if slot is read-only (bug#9035).
6154 2011-07-16 Martin Rudalics <rudalics@gmx.at>
6156 * frame.el (select-frame-set-input-focus): New argument NORECORD.
6157 * window.el (pop-to-buffer): Select window used even if it was
6158 selected before, see discussion of (Bug#8615), (Bug#6954).
6159 Pass argument NORECORD on to select-frame-set-input-focus.
6161 2011-07-15 Glenn Morris <rgm@gnu.org>
6163 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
6166 2011-07-09 Lawrence Mitchell <wence@gmx.li>
6168 * net/gnutls.el (gnutls-min-prime-bits): New variable.
6169 (gnutls-negotiate): Use it.
6171 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6173 * net/gnutls.el (gnutls-negotiate):
6174 Upcase `gnutls-algorithm-priority'.
6176 2011-07-15 Glenn Morris <rgm@gnu.org>
6178 * jka-compr.el (jka-compr-verbose): Move from here...
6179 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
6180 Add missing :version tag.
6181 * info.el: No need to require jka-compr when compiling.
6183 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6185 * net/gnutls.el (gnutls-algorithm-priority): New variable.
6186 (gnutls-negotiate): Use it.
6188 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6190 * info.el (Info-beginning-of-buffer): New command.
6191 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6192 announcing `b' as the key (bug#8325).
6193 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
6195 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6197 * international/mule-cmds.el
6198 (describe-specified-language-support): Make the error message
6201 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6203 * isearch.el (isearch-barrier): Add a doc string, since it's
6204 mentioned in a function doc string (bug#8678).
6206 2011-07-15 Martin Rudalics <rudalics@gmx.at>
6208 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6209 buffer argument (Bug#9083) and self-identifying label argument.
6211 2011-07-15 Glenn Morris <rgm@gnu.org>
6213 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
6215 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6217 * man.el (Man-fontify-manpage): Fix message when formatting the
6218 man page (bug#7929).
6220 2011-07-14 Eli Zaretskii <eliz@gnu.org>
6222 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6223 argument LRM; if non-nil, append an invisible LRM character to the
6225 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6226 last argument non-nil, when formatting buffer names.
6227 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6228 paragraph direction.
6230 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6232 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6233 the man page name (bug#7929).
6235 * image.el (put-image): Mention the `put-image' overlay property
6238 * scroll-bar.el (set-scroll-bar-mode): Mention that
6239 `scroll-bar-mode' lists the values (bug#7772).
6241 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6244 * rect.el (apply-on-rectangle): Return the point after the last
6246 (string-rectangle): Go to the point after the last operation
6249 * printing.el (pr-toggle-region): Clarify the documentation
6250 slightly (bug#7493).
6252 * time.el (display-time-update):
6253 Allow `display-time-mail-function' to return nil (bug#7158).
6254 Fix suggested by Detlev Zundel.
6256 * vc/diff.el (diff): Clarify the order the file names are read
6259 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6260 the doc string (bug#7015).
6262 * font-lock.el (font-lock-maximum-decoration): Mention what
6263 numeric levels mean (bug#6935).
6265 * startup.el (initial-buffer-choice): Don't mention the `none'
6266 selection, which is against policy.
6268 2011-07-14 Martin Rudalics <rudalics@gmx.at>
6270 * window.el (display-buffer-normalize-special):
6271 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
6273 2011-07-14 Eli Zaretskii <eliz@gnu.org>
6275 * subr.el (version<, version<=, version=): Mention "-CVS" and
6276 "-12345" alpha version numbers.
6278 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
6280 * bindings.el: Add advertised binding for set-mark-command
6283 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
6285 * bindings.el (mode-line-other-buffer):
6286 * bookmark.el (bookmark-bmenu-2-window):
6287 * bs.el (bs-cycle-next, bs-cycle-previous):
6288 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6291 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6294 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
6296 * follow.el (follow-debug-message, follow-redisplay):
6297 * jka-cmpr-hook.el (with-auto-compression-mode):
6298 Fix typos in docstrings.
6300 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6302 * subr.el (with-silent-modifications): Clarify somewhat what the
6303 macro inhibits (bug#6525).
6305 * simple.el (eval-expression): Note what it does if called
6306 interactively (bug#6495).
6308 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
6310 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6311 Use pop-to-buffer buffer-or-name if it is nil.
6313 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6314 Remove switch-to-buffer.
6316 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6318 * files.el (make-directory): Clarify that an error will be raised
6319 if there's an error (bug#6397).
6321 * startup.el (initial-buffer-choice): Add `none' as a choice
6324 * subr.el (add-hook): Clarify section about buffer-local hooks
6327 * dired.el (dired-flagged): Clarify doc string (bug#6117).
6329 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
6331 * tabify.el (untabify): Preserve the current column so that point
6332 doesn't move (bug#6032).
6334 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6336 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6337 Rewrite to avoid awkward possessive "s" (bug#5986).
6339 2011-07-13 Glenn Morris <rgm@gnu.org>
6341 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
6342 (dired-insert-directory): Give a message the first time
6343 if ls is found not to support --dired.
6345 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6347 * simple.el (toggle-truncate-lines): Clarify what is toggled
6348 (bug#5580). Text by Drew Adams.
6350 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
6352 * simple.el (blink-matching-open): Make the error message from the
6353 last change less verbose.
6355 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
6357 * font-lock.el (font-lock-comment-face): Use the high contrast
6358 "yellow" color for font-lock-comment-face on low color terminals
6359 using a dark background color (bug#4221).
6361 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6363 * dired.el (dired-insert-set-properties): Make the doc string
6364 reflect what it does now (bug#5325).
6366 * simple.el (blink-matching-open): Say that we were unable to find
6367 the match within the limit, if we're limited (bug#5122).
6369 * international/mule-cmds.el (prefer-coding-system): Add an
6372 * progmodes/etags.el (tags-search): Document `file-list-form'
6375 2011-07-13 Lawrence Mitchell <wence@gmx.li>
6377 * net/browse-url.el (browse-url-default-browser)
6378 (browse-url-browser-function): Make the default browser choice a
6379 bit more logical (bug#4300). Also clean up the doc string.
6381 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
6383 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6384 binary endings (bug#4440).
6386 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6388 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6389 which can be pretty annoying (bug#8971).
6391 * jka-compr.el (jka-compr-verbose): New variable, and use
6392 throughout (bug#8971).
6394 * info.el (Info-find-file): Fall back on the installation
6395 directory if we can't find the info node anywhere else.
6397 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
6399 * vc/vc.el (vc-revert-file):
6400 Don't set file time-stamp in the past. (Bug#5181)
6402 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6404 * files.el (after-find-file): Give a better error message when
6405 trying to find a symlink that points to a file that doesn't exist
6408 * progmodes/cc-vars.el: Remove (probably) misleading comment
6411 2011-07-12 Johan Bockgård <bojohan@gnu.org>
6413 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6415 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
6417 * mouse-sel.el: Hack restoring functionality, while keeping
6418 compatibility with 2010-07-03 changes to mouse selection.
6419 (mouse-sel-primary-overlay): New var.
6420 (mouse-sel-selection-alist): Use it.
6421 (mouse-sel-mode): Doc fix; remove points that are default features
6424 2011-07-12 Johan Bockgård <bojohan@gnu.org>
6426 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6427 Fix previous fix (bug#2490).
6429 2011-07-12 Roland Winkler <winkler@gnu.org>
6431 * textmodes/bibtex.el (bibtex-initialize):
6432 Use pop-to-buffer-same-window.
6433 (bibtex-search-entries): Fix interactive call.
6435 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6437 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6438 Fontise bytecomp Error lines more correctly (bug#2490).
6439 Fix suggested by Johan Bockgård.
6441 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6443 * dired-x.el (dired-guess-default): Use `delete-dups'.
6445 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
6447 * dired.el (dired-mark-prompt):
6448 * dired-aux.el (dired-read-shell-command): Doc fix.
6450 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6452 * mail/sendmail.el (sendmail-query-once):
6453 Use `customize-save-variable' unconditionally, now that it works under
6456 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6458 * cus-edit.el (custom-file): Take an optional no-error variable.
6459 (customize-save-variable): Set the variable, and give a warning if
6460 running under "emacs -q".
6462 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
6464 * loadhist.el (unload-feature-special-hooks):
6465 Add `auto-coding-functions', `fill-nobreak-predicate' and
6466 `find-directory-functions' (bug#5327).
6468 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6470 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6472 * cus-edit.el (custom-guess-name-alist): -alist variables should
6473 use the `alist' type (bug#3120). Suggested by Drew Adams.
6475 * printing.el: Add documentation to all the `pr-toggle-' commands.
6477 2011-07-11 Leo Liu <sdl.web@gmail.com>
6479 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6480 backends where it makes sense (bug#2623).
6482 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6484 * dired-x.el (dired-guess-default): Remove duplicate shell command
6486 (dired-guess-default): Fix grammar in doc string (bug#2028).
6487 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
6489 * subr.el (remove-duplicates): New conveniency function.
6491 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6493 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6496 2011-07-10 Martin Rudalics <rudalics@gmx.at>
6498 * window.el (display-buffer-normalize-default): Don't invert
6499 meaning of even-window-heights. Reported by Eli Zaretskii
6502 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
6504 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6506 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
6508 * window.el (display-buffer): Fix arguments to
6509 display-buffer-reuse-window in last change.
6511 * faces.el (link): Use a less saturated blue on light backgrounds.
6513 * startup.el (fancy-startup-text, fancy-about-text)
6514 (fancy-startup-tail): Use font-lock faces, for background safety.
6516 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
6518 * emulation/viper-cmd.el (viper-change-state-to-vi):
6519 Limit triggering of abbrev expansion (Bug#9038).
6521 2011-07-09 Martin Rudalics <rudalics@gmx.at>
6523 * window.el (display-buffer-default-specifiers): Remove.
6524 (display-buffer-macro-specifiers): Remove default specifiers.
6525 (display-buffer-alist): Default to nil.
6526 (display-buffer-reuse-window): New optional argument other-window.
6527 (display-buffer-pop-up-window): Allow splitting internal
6528 windows. Check whether a live window was created.
6529 (display-buffer-other-window-means-other-frame)
6530 (display-buffer-normalize-arguments): Rename to
6531 display-buffer-normalize-argument and rewrite. Set the
6532 other-window specifier.
6533 (display-buffer-normalize-special): New function.
6534 (display-buffer-normalize-options): Rename to
6535 display-buffer-normalize-default and rewrite.
6536 (display-buffer-normalize-options-inhibit): Remove.
6537 (display-buffer-normalize-specifiers): Rewrite.
6538 (display-buffer): Process other-window specifier and call
6539 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
6541 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
6542 (display-buffer-alist-set): Don't handle 'unset default values.
6543 (display-buffer-in-window, display-buffer-alist-set):
6544 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
6545 <tassilo@member.fsf.org>.
6547 2011-07-09 Leo Liu <sdl.web@gmail.com>
6549 * register.el (insert-register): Restore accidental change on
6550 2011-06-26. (Bug#9028)
6552 2011-07-09 Glenn Morris <rgm@gnu.org>
6554 * subr.el (remq): Handle the empty list. (Bug#9024)
6556 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
6558 * mail/sendmail.el (send-mail-function): No longer delay custom
6560 * custom.el (custom-initialize-delay): Doc fix.
6562 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6564 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6566 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
6568 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6569 human-friendly prompt.
6571 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6573 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6574 provided by a particular plugin.
6576 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6578 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6579 save customizations (with "emacs -Q"), just set the variable
6580 instead of erroring out.
6582 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6584 2011-07-08 Juri Linkov <juri@jurta.org>
6586 * arc-mode.el (archive-zip-expunge, archive-zip-update)
6587 (archive-zip-update-case): Use 7z if found by `executable-find'.
6588 The order of searching the available programs is the same as in
6589 `archive-zip-extract' (bug#8968).
6591 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
6593 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6594 (menu-bar-options-menu): Tweak descriptions.
6596 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6598 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6599 menu items into verb phrases (bug#1421). Also refill to fit under
6602 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
6604 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6605 (Info-read-node-name): Doc fix (Bug#1084).
6607 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6608 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6609 (end-of-sexp, beginning-of-sexp)
6610 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6611 (forward-symbol, forward-same-syntax, word-at-point)
6612 (sentence-at-point): Doc fix (Bug#1144).
6614 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6616 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6617 should cover it (bug#1281).
6619 * cus-edit.el (custom-show): Mark as obsolete.
6621 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
6622 negotiation fails, then possibly try again with a non-encrypted
6623 connection (bug#9017).
6625 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6628 2011-07-07 Richard Stallman <rms@gnu.org>
6630 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6631 property, and handle its changed format.
6632 Look for the correct line number.
6633 Use file's line contents (but not past first =) to find
6634 correct line in message.
6636 2011-07-07 Kenichi Handa <handa@m17n.org>
6638 * international/characters.el (build-unicode-category-table):
6640 (unicode-category-table): Set it by unicode-property-table-internal.
6642 * international/mule-cmds.el (char-code-property-alist): Move to
6644 (get-char-code-property): Call unicode-property-table-internal to
6645 load a file. Call get-unicode-property-internal where necessary.
6646 (put-char-code-property): Call unicode-property-table-internal to
6647 load a file. Call put-unicode-property-internal where necessary.
6648 put-unicode-property-internal where necessary.
6649 (char-code-property-description):
6650 Call unicode-property-table-internal to load a file.
6652 * international/charprop.el:
6653 * international/uni-bidi.el:
6654 * international/uni-category.el:
6655 * international/uni-combining.el:
6656 * international/uni-comment.el:
6657 * international/uni-decimal.el:
6658 * international/uni-decomposition.el:
6659 * international/uni-digit.el:
6660 * international/uni-lowercase.el:
6661 * international/uni-mirrored.el:
6662 * international/uni-name.el:
6663 * international/uni-numeric.el:
6664 * international/uni-old-name.el:
6665 * international/uni-titlecase.el:
6666 * international/uni-uppercase.el: Regenerate.
6668 * loadup.el: Load international/charprop.el before
6669 international/characters.
6671 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
6673 * window.el (next-buffer, previous-buffer): Signal an error if
6674 called from a minibuffer window.
6676 * bindings.el: Revert 2011-07-04 change.
6678 2011-07-06 Richard Stallman <rms@gnu.org>
6680 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6681 (rmail-mime-insert-bulk, rmail-mime-insert-text):
6682 Treat markers like ints.
6683 (rmail-mime-entity): Doc fix.
6685 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6687 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6688 defcustom again for backwards compatibility.
6690 * simple.el (shell-command-on-region): Fill.
6692 * dired-aux.el (dired-kill-line): Add a doc string.
6694 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6695 to "\\sw\\|\\s_" (bug#358).
6697 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6698 (dired-unmark-backward): Ditto.
6699 (dired-flag-backup-files): Ditto.
6701 * dired-x.el (dired-mark-sexp): Ditto.
6703 2011-07-06 Richard Stallman <rms@gnu.org>
6705 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6706 (rmail-mime-entity): New arg TRUNCATED.
6707 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6709 (rmail-mime-save): Warn if entity is truncated.
6710 (rmail-mime-toggle-hidden): Likewise, for showing.
6711 (rmail-mime-process-multipart): Record when an entity is truncated.
6713 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6714 if ENTITY is a string.
6716 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6718 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
6719 of faces when `M-C-x'-ing their definitions (bug#8378).
6720 Also clean up the code slightly.
6722 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
6723 because that makes the colors go away.
6725 * mail/sendmail.el (send-mail-function): Change the default to
6726 `sendmail-query-once'.
6727 (sendmail-query-once): Add an autoload cookie.
6729 * net/network-stream.el (network-stream-open-starttls): Try using
6730 a plain connection even if the server offered STARTTLS, and we
6731 kinda wanted to use it, if Emacs doesn't have any STARTTLS
6732 capability. This should make smtpmail.el work in slightly more
6735 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
6737 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6739 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6741 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
6743 * progmodes/sql.el: Version 3.0
6744 (sql-product-alist): Add product :completion-object,
6745 :completion-column, and :statement attributes.
6746 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
6747 (sql-mode-syntax-table): Mark all punctuation.
6748 (sql-font-lock-keywords-builder): Temporarily remove fallback on
6750 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
6751 (sql-mode-oracle-font-lock-keywords): Improve.
6752 (sql-oracle-show-reserved-words): New function for development.
6753 (sql-product-font-lock): Simplify for source code buffers.
6754 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
6756 (sql-highlight-product): Set product specific syntax table.
6757 (sql-mode-map): Add statement movement functions.
6758 (sql-ansi-statement-starters, sql-oracle-statement-starters):
6760 (sql-statement-regexp, sql-beginning-of-statement)
6761 (sql-end-of-statement, sql-signum): New functions.
6762 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
6763 (sql-show-sqli-buffer): Bug fix.
6764 (sql-interactive-mode): Store connection data as buffer local.
6765 (sql-connect): Add NEW-NAME parameter. Redesign interaction
6766 with sql-interactive-mode.
6767 (sql-save-connection): Save buffer local settings.
6768 (sql-connection-menu-filter): Change menu entry name.
6769 (sql-product-interactive): Bug fix.
6770 (sql-preoutput-hold): New variable.
6771 (sql-interactive-remove-continuation-prompt): Bug fixes.
6772 (sql-debug-redirect): New variable.
6773 (sql-str-literal): New function.
6774 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
6776 (sql-oracle-save-settings, sql-oracle-restore-settings)
6777 (sql-oracle-list-all, sql-oracle-list-table): New functions.
6778 (sql-completion-object, sql-completion-column)
6779 (sql-completion-sqlbuf): New variables.
6780 (sql-build-completions-1, sql-build-completions)
6781 (sql-try-completion): New functions.
6782 (sql-read-table-name): Use them.
6783 (sql-contains-names): New buffer local variable.
6784 (sql-list-all, sql-list-table): Use it.
6785 (sql-oracle-completion-types): New variable.
6786 (sql-oracle-completion-object, sql-sqlite-completion-object)
6787 (sql-postgres-completion-object): New functions.
6789 2011-07-06 Glenn Morris <rgm@gnu.org>
6791 * window.el (pop-to-buffer): Doc fix.
6793 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
6795 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6797 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
6799 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
6801 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
6803 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
6805 * button.el (button): Inherit from link face. Suggested by Dan
6808 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6810 * progmodes/gdb-mi.el: Fit in 80 columns.
6811 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
6814 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
6815 if imenu is simply not configured (bug#8941).
6817 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
6819 * allout.el (allout-post-undo-hook): New allout outline-change
6820 event hook to signal undo activity.
6821 (allout-post-command-business): Run allout-post-undo-hook if an
6823 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
6824 * allout-widgets.el (allout-widgets-after-undo-function):
6825 Ensure the integrity of the current item's decoration after it has been
6826 in the vicinity of an undo.
6827 (allout-widgets-mode): Include allout-widgets-after-undo-function
6828 on the new allout-post-undo-hook.
6830 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6832 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
6833 Let define-derived-mode define it.
6834 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
6835 cycles of abbrev-table inheritance (bug#8998).
6837 2011-07-05 Roland Winkler <winkler@gnu.org>
6839 * textmodes/bibtex.el: Add support for biblatex.
6840 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
6841 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
6842 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
6843 (bibtex-entry-alist, bibtex-field-alist): New variables.
6844 (bibtex-entry-field-alist): Obsolete alias for
6845 bibtex-BibTeX-entry-alist.
6846 (bibtex-entry-alist, bibtex-field-alist): New widgets.
6847 (bibtex-set-dialect): New command.
6848 (bibtex-entry-type, bibtex-entry-head)
6849 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
6850 Bind via bibtex-set-dialect.
6851 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
6852 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
6853 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
6854 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
6855 Define via bibtex-set-dialect.
6856 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
6857 Obey bibtex-no-opt-remove-re.
6858 (bibtex-vec-push, bibtex-vec-incr): New functions.
6859 (bibtex-format-entry, bibtex-field-list)
6860 (bibtex-print-help-message, bibtex-validate)
6861 (bibtex-search-entries): Use new format of bibtex-entry-alist.
6863 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6865 * progmodes/compile.el (compilation-goto-locus):
6866 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6867 * bs.el (bs-cycle-next, bs-cycle-previous):
6868 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
6869 * bindings.el (mode-line-other-buffer):
6870 * autoinsert.el (auto-insert):
6871 * arc-mode.el (archive-extract):
6872 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
6874 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
6876 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
6877 Fix check of `emacs-lock-unlockable-modes'.
6878 Coerce true values of `emacs-lock--try-unlocking' to t.
6880 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
6882 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
6883 * emacs-lock.el: New file.
6885 2011-07-05 Julien Danjou <julien@danjou.info>
6887 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
6888 than `boundp' to check if face is set.
6890 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
6892 * register.el (registerv-make):
6893 * window.el (window-min-height): Fix typos in docstrings.
6895 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
6897 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
6900 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
6902 * server.el (server-execute): Catch quit and call
6903 `server-return-error' to pass the error back to emacsclient and
6904 close the connection (bug#8942).
6906 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
6908 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
6909 insecure exception for current topic. Also note that auto-saves
6910 are handled differently.
6912 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
6913 State variables for tracking auto-save inhibition situation.
6915 (allout-write-contents-hook-handler): Rename from
6916 'allout-write-file-hook-handler', and describe how it depends on
6917 write-contents-functions sensitivity to non-nil value to prevent
6920 (allout-auto-save-hook-handler): Remove. auto-save does not check
6921 this in individual buffers, only in the starting buffer, so this
6922 is not the right way for us to inhibit auto-save in a buffer
6923 according to its condition.
6925 (allout-mode): Use new allout-write-contents-hook-handler, and
6926 only with write-contents-functions. Remove auto-save provisions -
6927 they're implemented elsewhere.
6929 (allout-before-change-handler): If undo is in progress, note that
6930 for attention of allout-post-command-business.
6932 (allout-post-command-business): If the command we're following was
6933 an undo, check for change in the status of encrypted items and
6934 adjust auto-save inhibitions accordingly.
6936 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
6937 according to whether there are or aren't any plain-text topics
6940 (allout-inhibit-auto-save-info-for-decryption):
6941 Adjust buffer-saved-size and some allout state to inhibit auto-saves
6942 if there are plain-text topics pending encryption.
6944 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
6945 buffer-saved-size and some allout state to not inhibit auto-saves
6946 if there are no longer any plain-text topics pending encryption.
6948 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
6949 No longer provide for exemption of the current topic.
6951 2011-07-04 Juri Linkov <juri@jurta.org>
6953 Add 7z operations to delete and save changed members (bug#8968).
6954 * arc-mode.el (archive-7z-expunge, archive-7z-update):
6956 (archive-7z-write-file-member): New function.
6957 (archive-7z-summarize): Fix the number of dashes in the
6960 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6962 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
6965 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
6967 * bindings.el: Ignore next-buffer and previous-buffer in
6968 minibuffer-local-map.
6970 * font-lock.el (font-lock-builtin-face): Change light background
6971 color to dark slate blue (Bug#6693).
6973 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
6975 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
6977 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6979 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
6980 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6981 Add switch-to-buffer.
6983 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6985 * isearch.el (isearch-search-fun-function): Clarify further the
6986 meaning of the function returned.
6988 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
6990 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
6992 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
6993 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
6995 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
6996 `tramp-default-remote-path' does not exist.
6997 (tramp-send-command-and-read): New optional argument NOERROR.
6998 (tramp-open-connection-setup-interactive-shell)
6999 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7000 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7001 (tramp-process-sentinel): Flush also process' connection property.
7002 (tramp-sh-handle-start-file-process): Do not set process
7003 sentinel. It is done now ...
7004 (tramp-maybe-open-connection): ... here. (Bug#8929)
7006 2011-07-04 MON KEY <monkey@sandpframing.com>
7008 * play/animate.el (animate-string): Doc fixes and allow changing
7009 the buffer name (bug#5417).
7011 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7013 * play/animate.el (animation-buffer-name): Rename from *animate*.
7015 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
7017 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7018 This is simpler and helps future-proof the code.
7019 (timer-until): Use time-subtract and float-time.
7020 (timer--time-less-p): Use time-less-p.
7022 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
7024 * type-break.el (timep): Use the value of `float-time' to avoid a
7025 byte-compiler warning.
7027 * server.el (server-eval-and-print): Return any result, even nil.
7029 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
7031 * type-break.el: Accept time formats that the builtins accept.
7032 (timep, type-break-time-difference): Accept any format that
7033 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7034 This is simpler and helps future-proof the code.
7035 (type-break-time-difference): Round rather than ignoring
7036 subseconds components.
7038 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7040 * info.el (Info-apropos-matches): Make non-interactive, since it
7041 doesn't seem to do anything useful as a command (bug#8829).
7043 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
7045 * frame.el (frame-background-mode, frame-set-background-mode):
7047 (frame-default-terminal-background): New function.
7049 * custom.el (custom-push-theme): Don't record faces in `changed'
7050 theme; this doesn't work correctly for per-frame face settings.
7051 (disable-theme): Use face-set-after-frame-default to reset faces.
7052 (custom--frame-color-default): New function.
7054 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7056 * dired.el (dired-flagging-regexp): Remove unused variable
7059 2011-03-29 Kevin Ryde <user42@zip.com.au>
7061 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7062 `perl-Test2' extend to match possible "fail #N" rep count
7065 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7067 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7068 `smtpmail-via-smtp' now returns the error instead of nil.
7070 * isearch.el (isearch-search-fun-function): Clarify the doc string
7073 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
7075 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7076 unnecessary spaces (bug#8987).
7078 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7080 * net/network-stream.el (open-network-stream): Use the
7081 :end-of-capability command thoughout.
7083 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7085 * net/network-stream.el (open-network-stream): Add the
7086 :end-of-capability command parameter, used by pop3.el.
7088 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7090 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7092 * fringe.el (fringe-query-style): Remove redundant text " (type ?
7093 for list)" (bug#6475).
7095 * files.el (file-expand-wildcards): Ignore non-readable
7096 sub-directories while trying to find matches instead of signaling
7097 an error (bug#6297).
7099 * man.el (Man-reference-regexp): Allow matching possible
7100 word-wrapped references (bug#6289).
7102 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7103 for consistency with the other vc buffers (bug#6197).
7104 (vc-checkin): Ditto.
7106 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7108 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7110 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7112 * custom.el (defcustom): Clarify that :set is only used in the
7113 Customize user interface (bug#6089).
7115 * progmodes/flymake.el (flymake-mode): If the buffer isn't
7116 associated with a file, refuse to run instead of erroring out
7119 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7120 the doc string, since it appears that using `fill-column' always
7121 controls the width (bug#7845).
7123 * simple.el (shell-command-on-region): Say where the error output
7124 went if `shell-command-default-error-buffer' is set (bug#6857).
7126 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
7128 * allout.el (allout-yank-processing): Adjust cursor position for
7129 backwards-deleted space.
7131 (allout-rebullet-heading): Register changes with
7132 allout-exposure-changed-hook, so the modified topic is properly
7135 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7137 * minibuffer.el (completion-in-region): Document PREDICATE
7140 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7141 of keyword/argument pairs (bug#6904).
7143 * replace.el (multi-occur):
7144 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
7146 2011-07-02 Drew Adams <drew.adams@oracle.com>
7148 * dired.el (dired-mark-if): Make the message about whether it's
7149 marking or unmarking clearer (bug#8523).
7151 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7153 * disp-table.el (display-table-print-array): New function.
7154 (describe-display-table): Use it to print the vectors more pretty
7157 2011-07-02 Martin Rudalics <rudalics@gmx.at>
7159 * window.el (window-state-get-1): Don't assign clone numbers.
7160 Add clone-of item to list of window parameters.
7161 (window-state-put-2): Don't process clone numbers.
7162 (display-buffer-alist): Fix doc-string.
7164 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7166 * subr.el (remq): Don't allocate if it's not needed.
7167 (keymap--menu-item-binding, keymap--menu-item-with-binding)
7168 (keymap--merge-bindings): New functions.
7169 (keymap-canonicalize): Use them to refine the canonicalization.
7170 * minibuffer.el (minibuffer-local-completion-map)
7171 (minibuffer-local-must-match-map): Move initialization from C.
7172 (minibuffer-local-filename-completion-map): Move initialization from C;
7173 don't inherit from anything here.
7174 (minibuffer-local-filename-must-match-map): Make obsolete.
7175 (completing-read-default): Use make-composed-keymap to combine
7176 minibuffer-local-filename-completion-map with either
7177 minibuffer-local-must-match-map or
7178 minibuffer-local-filename-completion-map.
7180 2011-07-01 Glenn Morris <rgm@gnu.org>
7182 * type-break.el (type-break-time-sum): Use dolist.
7184 * textmodes/flyspell.el (flyspell-word-search-backward):
7185 Replace CL function.
7187 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7189 * mouse.el (mouse--strip-first-event): New function.
7190 (function-key-map): Use it to map fringe clicks to normal clicks
7193 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7194 (vc-bzr-revision-completion-table): Add support for annotate and date.
7196 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7197 inherit from parent.
7199 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7201 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
7202 (dired-show-file-type): Doc fixup (bug#8818).
7204 * dired.el (dired-mode): Fix up the doc string as suggested by
7205 Drew Adams (bug#8817).
7207 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7208 cookie, since the manual says that it should be possible to add
7209 this function to `find-file-hook' (bug#8709).
7211 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7213 * progmodes/cfengine.el: Moved all cfengine3.el functionality
7214 here. Noted Ted Zlatanov as the maintainer.
7215 (cfengine-common-settings, cfengine-common-syntax): New functions
7216 to set up common things between `cfengine-mode' and
7218 (cfengine3-mode): New mode.
7219 (cfengine3-defuns cfengine3-defuns-regex
7220 (cfengine3-class-selector-regex cfengine3-category-regex)
7221 (cfengine3-vartypes cfengine3-font-lock-keywords)
7222 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
7223 (cfengine3-indent-line): Add from cfengine3.el.
7225 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
7227 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7229 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7231 2011-07-01 Martin Rudalics <rudalics@gmx.at>
7233 * window.el (same-window-buffer-names, same-window-regexps)
7234 (same-window-p, special-display-frame-alist)
7235 (special-display-popup-frame, special-display-function)
7236 (special-display-buffer-names, special-display-regexps)
7237 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7238 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7239 (split-window-preferred-function, split-height-threshold)
7240 (split-width-threshold, even-window-heights)
7241 (display-buffer-mark-dedicated, window-splittable-p)
7242 (split-window-sensibly, window-safely-shrinkable-p):
7244 (display-buffer): Don't spread args with function specifier
7245 because special-display-popup-frame won't like it.
7247 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
7249 Time-stamp simplifications and fixes.
7250 These improve accuracy slightly, and future-proof the code
7251 against some potential changes to current-time format.
7253 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7254 by using time-since and float-time.
7256 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7257 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
7258 + NNN microseconds".
7260 * type-break.el (type-break-time-sum): Rewrite using time-add.
7262 * play/hanoi.el (hanoi-current-time-float): Remove.
7263 All uses replaced by float-time.
7265 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7266 This yields a more-accurate answer.
7267 (rng-time-to-float): Remove; no longer needed.
7269 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7271 * calendar/timeclock.el (timeclock-seconds-to-time):
7272 Defalias to seconds-to-time, since they're the same thing.
7274 * emacs-lisp/elp.el (elp-elapsed-time):
7275 * emacs-lisp/benchmark.el (benchmark-elapse):
7276 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7278 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7280 * window.el (bury-buffer): Don't iconify the only frame.
7281 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7282 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
7284 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
7286 * eshell/em-smart.el (eshell-smart-display-navigate-list):
7287 Add mouse-yank-primary.
7289 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
7291 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7293 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7295 * emacs-lisp/find-func.el (find-library--load-name): New fun.
7296 (find-library-name): Use it to find relative load names when provided
7297 absolute file name (bug#8803).
7299 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7301 * textmodes/flyspell.el (flyspell-word): Consider words that
7302 differ only in case as potential doublons (bug#5687).
7304 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7305 Remove two rather uninteresting debugging-like messages to make
7306 debbugs.el more silent.
7308 * comint.el (comint-password-prompt-regexp): Accept "Response" as
7309 a password-like phrase.
7311 2011-06-30 Masatake YAMATO <yamato@redhat.com>
7313 * progmodes/cc-guess.el: New file.
7315 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
7317 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7318 derived from `c-basic-common-init'.
7320 * progmodes/cc-mode.el (top-level): Require cc-guess.
7321 (c-basic-common-init): Use `cc-choose-style-for-mode'.
7323 2011-06-30 Lawrence Mitchell <wence@gmx.li>
7325 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7327 2011-06-30 Alan Mackenzie <acm@muc.de>
7329 * progmodes/cc-engine.el (c-guess-continued-construct):
7330 Correct the handling of template-args-cont, particularly for when font
7331 lock is disabled. Name this case as "CASE G".
7333 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
7335 * allout.el (allout-yank-processing): Fix injection of extra space
7336 between bullet and non-whitespace character in first topic when
7337 pasting, ensuring that the actual spacing in the pasted topic
7338 following the bullet char is preserved. This extra space was
7339 causing pasted encrypted topics to get a decrypted status even
7340 when the content was actually still encrypted. Now the decryption
7341 status from before the paste is preserved.
7343 (allout-flag-region): Set all allout overlays so they evaporate
7344 when reduced to zero length (evanescent), to prevent overlay
7347 2011-06-30 Glenn Morris <rgm@gnu.org>
7349 * w32-fns.el (w32-charset-info-alist): Declare.
7351 * find-dired.el (find-grep-options): Simplify.
7353 * term/ns-win.el (ns-set-resource): Declare.
7355 * ses.el (row, col): Declare dynamic variables honestly.
7357 * textmodes/reftex-parse.el (index-tags): Declare.
7359 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
7361 * cus-edit.el (customize-push-and-save): New function.
7363 * files.el (hack-local-variables-confirm): Use it.
7365 * custom.el (load-theme): New arg NO-CONFIRM.
7366 Use customize-push-and-save (Bug#8720).
7367 (custom-enabled-themes): Doc fix.
7369 * cus-theme.el (customize-create-theme)
7370 (custom-theme-merge-theme): Callers to load-theme changed.
7372 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7374 * thingatpt.el (thing-at-point-short-url-regexp): Require that
7375 short URLs have at least one dot in them (bug #7614).
7377 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7378 nil, because using a pty is apparently too slow (bug #895).
7380 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7382 * mail/sendmail.el (sendmail-query-once): New function.
7383 (sendmail-query-once-function): New variable.
7385 2011-06-29 Glenn Morris <rgm@gnu.org>
7387 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7389 * ses.el (top-level): Require cl when compiling.
7390 (ses-set-localvars): Fix error statement.
7391 Call it at compile time to silence a storm of warnings.
7393 2011-06-29 Martin Rudalics <rudalics@gmx.at>
7395 * window.el (normalize-live-buffer): Rename to
7396 window-normalize-buffer.
7397 (normalize-live-frame): Rename to window-normalize-frame.
7398 (normalize-any-window): Rename to window-normalize-any-window.
7399 (normalize-live-window): Rename to window-normalize-live-window.
7400 (make-window-atom): Rename to window-make-atom.
7401 (window-resize-reset): Rename to window--resize-reset.
7402 (window-resize-reset-1): Rename to window--resize-reset-1.
7403 (resize-mini-window): Rename to window--resize-mini-window.
7404 (resize-subwindows-skip-p): Rename to
7405 window--resize-subwindows-skip-p.
7406 (resize-subwindows-normal): Rename to
7407 window--resize-subwindows-normal.
7408 (resize-subwindows): Rename to window--resize-subwindows.
7409 (resize-other-windows): Rename to window--resize-siblings.
7410 (resize-this-window): Rename to window--resize-this-window.
7411 (resize-root-window): Rename to window--resize-root-window.
7412 (resize-root-window-vertically): Rename to
7413 window--resize-root-window-vertically.
7414 (normalize-buffer-to-display): Rename to
7415 window-normalize-buffer-to-display.
7416 (normalize-buffer-to-switch-to): Rename to
7417 window-normalize-buffer-to-switch-to.
7418 Correspondingly update all callers of the functions listed
7420 (display-buffer-alist, display-buffer-normalize-arguments)
7421 (display-buffer-normalize-options, display-buffer)
7422 (display-buffer-alist-set): Use "function" instead of
7425 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
7427 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7428 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
7429 debbugs.gnu.org. Mention acknowledgment email.
7431 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
7433 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7434 buffer multibyteness, since it shouldn't matter.
7436 2011-06-28 Martin Rudalics <rudalics@gmx.at>
7438 * window.el (display-buffer-in-side-window): Handle dedicated
7439 windows as in display-buffer-reuse-window.
7440 (display-buffer-normalize-alist): Use value of override
7442 (display-buffer-normalize-specifiers): Use value of
7443 other-window-means-other-frame specifier.
7444 (display-buffer-alist): Rewrite some texts in widgets.
7445 (display-buffer): Spread arguments when calling function
7446 specified by fun-with-args.
7448 2011-06-28 Deniz Dogan <deniz@dogan.se>
7450 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7453 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7454 selectors (Bug#5732).
7455 (css-proprietary-nmstart-re): Use `regexp-opt'.
7457 2011-06-27 Jari Aalto <jari.aalto@cante.net>
7459 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7460 (eshell-ls-date-format): New defcustom.
7461 (eshell-ls-file): Use it.
7463 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7465 * help-fns.el (describe-variable): Fix message for terminal-local vars.
7467 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
7469 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7470 (ange-ftp-make-tmp-name): New arg.
7471 (ange-ftp-file-local-copy): Use it.
7473 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
7475 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7476 no-conversion (Bug#8870).
7478 2011-06-27 Martin Rudalics <rudalics@gmx.at>
7480 * window.el (window-right, window-left, window-child)
7481 (window-child-count, window-last-child)
7482 (window-iso-combination-p, walk-window-tree-1)
7483 (window-atom-check-1, window-tree-1, delete-window)
7484 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7485 new naming conventions - window-vchild, window-hchild,
7486 window-next and window-prev are now called window-top-child,
7487 window-left-child, window-next-sibling and window-prev-sibling
7489 (resize-window-reset): Rename to window-resize-reset.
7490 (resize-window-reset-1): Rename to window-resize-reset-1.
7491 (resize-window): Rename to window-resize.
7492 (window-min-height, window-min-width)
7493 (resize-mini-window, resize-this-window, resize-root-window)
7494 (resize-root-window-vertically, adjust-window-trailing-edge)
7495 (enlarge-window, shrink-window, maximize-window)
7496 (minimize-window, delete-window, quit-restore-window)
7497 (split-window, balance-windows, balance-windows-area-adjust)
7498 (balance-windows-area, window-state-put-2)
7499 (display-buffer-even-window-sizes, display-buffer-set-height)
7500 (display-buffer-set-width, set-window-text-height)
7501 (fit-window-to-buffer): Rename all "resize-window" prefixed
7502 calls to use the "window-resize" prefix convention.
7503 (display-buffer-alist): Fix symbol for label specifier.
7504 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7505 corresponding specifier.
7506 Reported by Juanma Barranquero <lekktu@gmail.com>.
7508 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7510 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7512 (ses-call-printer): Does not pass an empty string to formatter when the
7513 cell is empty to keep from barking printer Calc math-format-value.
7515 2011-06-27 Richard Stallman <rms@gnu.org>
7517 * battery.el (battery-mode-line-limit): New variable.
7518 (battery-update): Handle it.
7520 * mail/rmailmm.el (rmail-mime-process-multipart):
7521 Handle truncated messages.
7523 2011-06-27 Glenn Morris <rgm@gnu.org>
7525 * progmodes/flymake.el (flymake-err-line-patterns):
7526 Allow for column numbers in the ant/javac pattern. (Bug#8866)
7528 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
7530 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
7531 (ses--clean-!, ses--clean-_): New functions.
7532 (ses-range): Add configurability of readout order, and conversion
7535 * ses.el (ses-repair-cell-reference-all): New function.
7536 (ses-cell-symbol): Set macro as safe, so that it can be used in
7539 * ses.el: Update cycle detection algorithm.
7540 (ses-localvars): Add ses--Dijkstra-attempt-nb and
7541 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
7542 (ses-set-localvars): New function.
7543 (ses-make-cell): Add property-list as a cell element.
7544 (ses-cell-property-get-fun, ses-cell-property-get)
7545 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
7546 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7548 (ses-cell-property-set, ses-cell-property-pop)
7549 (ses-cell-property-get-handle): New macro.
7550 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7551 New aliases, used for code readability.
7552 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7554 (ses-self-reference-early-detection): New defcustom.
7555 (ses-formula-references): Robustify against self-referring cells.
7556 (ses-mode): Use ses-set-localvars.
7557 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7558 before lauching the update processing.
7559 (ses-initialize-Dijkstra-attempt): New function.
7560 (ses-recalculate-cell): Update for cycle detection based on
7563 * ses.el: Fix commenting and indenting convention.
7565 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7567 * bs.el (bs-cycle-next): Complete last change.
7569 2011-06-27 Drew Adams <drew.adams@oracle.com>
7571 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7573 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7575 * net/network-stream.el (network-stream-open-starttls):
7576 Don't re-get capabilities unless we've reestablished connection.
7577 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7579 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7580 to binary to possibly avoid line encoding issues on Windows (among
7583 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7585 * net/network-stream.el (open-network-stream): Return an :error
7586 saying what the problem was, if possible.
7588 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7591 * net/network-stream.el (network-stream-open-starttls): If we
7592 wanted to use STARTTLS, and the server offered it, but we weren't
7593 able to because we had no STARTTLS support, then close the connection.
7594 (open-network-stream): Return an :error element, if present.
7596 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
7598 * hl-line.el (hl-line-sticky-flag): Doc fix.
7599 (global-hl-line-sticky-flag): New option (Bug#8323).
7600 (global-hl-line-highlight): Obey it.
7602 * vc/vc.el (vc-revert-show-diff): Default to t.
7604 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
7606 * allout-widgets.el (allout-widgets-post-command-business):
7607 Stop decorating intermediate isearch matches. They're not being
7608 undecorated when an isearch is continued past, and isearch
7609 automatically collapses them. This leads to "widget leaks", where
7610 decorated items accumulate in collapsed areas. Lines with lots of
7611 hidden widgets can slow down cursor travel, substantially.
7612 Too much complicated machinery would be needed to ensure undecoration,
7613 so we're doing without this nicety.
7615 (allout-widgets-tally-string): Don't try to do a hash-table-count
7616 of allout-widgets-tally when it's nil. This eliminates spurious "Error
7617 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7618 *Messages* when allout-widgets-maintain-tally is t.
7620 2011-06-26 Martin Rudalics <rudalics@gmx.at>
7622 * window.el (display-buffer-normalize-argument): Rename to
7623 display-buffer-normalize-arguments. Handle special meaning of
7624 LABEL argument. Respect special-display-function when popping up
7625 a new frame. Fix code searching for a window showing the buffer
7627 (display-buffer-normalize-specifiers):
7628 Call display-buffer-normalize-arguments.
7629 (display-buffer-in-window): Don't undedicate the window if its
7630 buffer remains the same.
7631 Reported by Drew Adams <drew.adams@oracle.com>.
7632 (display-buffer-alist): Add choice for same-window macro
7634 (display-buffer): Mention special meaning of LABEL argument in
7635 doc-string. Fix quoting. Don't pop up a new frame even as
7638 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
7640 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7641 avoid deleting the current window in some cases (bug#8911).
7643 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
7645 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7648 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7650 * net/network-stream.el (network-stream-open-starttls):
7651 Use built-in TLS support if `gnutls-available-p' is true.
7652 (network-stream-open-tls): Ditto.
7654 2011-06-26 Leo Liu <sdl.web@gmail.com>
7656 * register.el (registerv): New struct.
7657 (registerv-make): New function.
7658 (jump-to-register, describe-register-1, insert-register):
7659 Support the jump-func, print-func and insert-func slot of a registerv
7662 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
7664 * vc/vc.el (vc-revert-show-diff): New defcustom.
7665 (vc-diff-internal): New arg specifying diff buffer.
7666 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
7667 reuse an existing *vc-diff* buffer (Bug#8927).
7669 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7671 2011-06-26 Glenn Morris <rgm@gnu.org>
7673 * progmodes/f90.el (f90-critical-indent): New option.
7674 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7675 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7676 (f90-mode): Doc fix.
7677 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7678 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7679 (f90-beginning-of-block, f90-next-block, f90-indent-region)
7680 (f90-match-end): Handle block, critical.
7682 2011-06-25 Glenn Morris <rgm@gnu.org>
7684 * calendar/diary-lib.el (diary-included-files): Doc fix.
7685 (diary-include-files): New function, extracted from
7686 diary-include-other-diary-files and diary-mark-included-diary-files.
7687 (diary-include-other-diary-files, diary-mark-included-diary-files):
7688 Just call diary-include-files.
7689 (diary-mark-entries): Reset diary-included-files on first call.
7691 * calendar/diary-lib.el (diary-mark-entries)
7692 (diary-mark-included-diary-files):
7693 Visit included diary-files in temp buffers.
7695 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7696 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7697 (f90-start-block-re, f90-imenu-generic-expression)
7698 (f90-looking-at-program-block-start, f90-no-block-limit):
7699 Add support for submodules.
7701 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7702 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
7704 2011-06-25 Eli Zaretskii <eliz@gnu.org>
7706 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7707 buffer-file-type before setting its value, to avoid disastrous
7708 global effects on decoding files for DOS/Windows systems. (Bug#8780)
7710 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
7712 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7714 * ses.el (ses-unload-function):
7715 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7717 * proced.el (proced-unload-function):
7718 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7720 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
7722 * server.el (server-create-window-system-frame): Add parameters arg.
7723 (server-process-filter): Doc fix. Handle frame-parameters.
7725 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
7727 Fix bug#8730, bug#8781.
7729 * loadhist.el (unload--set-major-mode): New function.
7730 (unload-feature): Use it.
7732 * progmodes/python.el (python-after-info-look): Add autoload cookie.
7733 (python-unload-function): New function.
7735 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7737 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7739 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
7741 * net/browse-url.el (browse-url-firefox-program): Add icecat to
7742 the candidates list.
7744 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
7746 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
7748 2011-06-23 Richard Stallman <rms@gnu.org>
7750 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
7751 (rmail-variables): Set next-error-move-function.
7752 (rmail-what-message): Take argument POS.
7753 (rmail-next-error-move): New function.
7755 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7757 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
7758 messages for adjacent non-terminals.
7760 2011-06-23 Richard Stallman <rms@gnu.org>
7762 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
7763 (rmail-show-message-1): Preserve buffer modified flag.
7764 (rmail-start-mail): Don't specify use of rmail-mail-return;
7765 that's done by mail-bury now.
7766 (rmail-mail-return): Handle arg NEWBUF.
7768 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
7770 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7773 2011-06-23 Martin Rudalics <rudalics@gmx.at>
7775 * window.el (get-lru-window, get-mru-window)
7776 (get-largest-window): Never return a minibuffer window.
7777 (display-buffer-pop-up-window): Fix a bug that could lead to
7778 reusing the minibuffer window.
7779 (display-buffer): Pass original specifier argument to
7780 display-buffer-function instead of the normalized one.
7781 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7783 2011-06-22 Leo Liu <sdl.web@gmail.com>
7785 * minibuffer.el (completing-read-function)
7786 (completing-read-default): Move from minibuf.c
7788 2011-06-22 Richard Stallman <rms@gnu.org>
7790 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7791 to Rmail even if not started by a special Rmail command.
7793 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7794 Copy the buffer currently showing just one message.
7796 2011-06-22 Roland Winkler <winkler@gnu.org>
7798 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
7799 (bibtex-clean-entry): First delete the old key so that a
7800 customized algorithm for generating the new key does not get
7801 confused by the old key.
7802 (bibtex-url): Obey regexp of first step.
7803 (bibtex-search-entries): Do not use add-to-list with local
7806 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7808 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
7809 stored a user name, then query for the password first, instead of
7810 waiting for SMTP to give an error message and the trying again.
7812 2011-06-22 Lawrence Mitchell <wence@gmx.li>
7814 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
7815 BUFFER in call-process.
7817 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7819 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
7821 (smtpmail-try-auth-methods): Require user name and password from
7824 2011-06-22 Martin Rudalics <rudalics@gmx.at>
7826 * window.el (display-buffer-default-specifiers)
7827 (display-buffer-alist): Remove entries for pop-up-frame-alist.
7828 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
7829 (split-window): Normalize SIDE argument (Bug#8916).
7831 * frame.el (pop-up-frame-alist, pop-up-frame-function)
7832 (special-display-frame-alist, special-display-popup-frame):
7833 Remove duplicate declarations. These are now in window.el.
7835 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7837 * mail/smtpmail.el (smtpmail-via-smtp):
7838 Set :use-starttls-if-possible so that we always use STARTTLS if the
7839 server supports it. SMTP servers that support STARTTLS commonly
7842 * net/network-stream.el (network-stream-open-starttls): Support
7843 upgrading to STARTTLS always, even if we don't have built-in support.
7844 (open-network-stream): Add the :always-query-capabilities keyword.
7846 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
7847 upgrades with `open-network-stream', and rely solely on
7848 auth-source for all credentials. Big changes throughout the file,
7850 (smtpmail-auth-credentials): Remove.
7851 (smtpmail-starttls-credentials): Remove.
7852 (smtpmail-via-smtp): Check for servers saying they want AUTH after
7855 * net/network-stream.el (network-stream-open-starttls):
7856 Provide support for client certificates both for external and built-in
7858 (auth-source): Require.
7859 (open-network-stream): Document the :client-certificate keyword.
7860 (network-stream-certificate): Change cert-cert to cert and
7863 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
7865 * net/tramp-cache.el (top): Don't load the persistency file when
7866 "emacs -Q" has been called.
7868 2011-06-21 Tim Harper <timcharper@gmail.com>
7870 * term/ns-win.el (ns-initialize-window-system):
7871 Set application-specific `ApplePressAndHoldEnabled' system
7872 resource to NO as it is not yet supported by the NS port.
7874 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
7876 * misc.el (list-dynamic-libraries--refresh): Compute header here...
7877 (list-dynamic-libraries): ...not here.
7879 2011-06-21 Leo Liu <sdl.web@gmail.com>
7881 * subr.el (sha1): Implement sha1 using secure-hash.
7883 2011-06-21 Martin Rudalics <rudalics@gmx.at>
7885 * window.el (display-buffer-alist): In default value do not
7886 enforce searching a window on any but the selected frame.
7887 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
7888 (display-buffer-select-window): Remove function.
7889 (display-buffer-in-window): When a window on another frame gets
7890 reused, do not select it any more but just raise its frame if
7891 necessary (Bug#8851) and (Bug#8856).
7892 (display-buffer-normalize-options): Handle pop-up-frames related
7893 options more faithfully.
7894 (pop-to-buffer): Don't rely on `display-buffer' selecting the
7895 window if it is on another frame.
7896 (display-buffer-alist, display-buffer-default-specifiers):
7897 Don't make new frame unsplittable by default.
7898 (display-buffer-normalize-argument): Fix doc-string typo and use
7899 'same-frame-other-window instead of 'other-window when associating
7900 with display-buffer-macro-specifiers.
7902 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
7904 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
7906 (5x5-mode-map, 5x5-mode-menu): Bind them.
7907 (5x5-draw-grid): Tweak the solver's rendering.
7909 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7911 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
7912 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
7914 2011-06-21 Drew Adams <drew.adams@oracle.com>
7916 * menu-bar.el: Use function variable instead of switch-to-buffer.
7917 (menu-bar-select-buffer-function): New variable.
7918 (menu-bar-update-buffers): Use it (bug#8876).
7920 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7922 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
7925 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
7927 * x-dnd.el (x-dnd-version-from-flags)
7928 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
7929 and long as number (Bug#8899).
7930 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
7932 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7934 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
7935 (completion-try-completion, completion-all-completions): Compute the
7936 metadata argument if it's missing; make it optional (bug#8795).
7938 * wid-edit.el: Use lex-bind and move towards completion-at-point.
7939 (widget-complete): Use new :completion-function property.
7940 (widget-completions-at-point): New function.
7941 (default): Use :completion-function instead of :complete.
7942 (widget-default-completions): Rename from widget-default-complete;
7944 (widget-string-complete, widget-file-complete, widget-color-complete):
7946 (file, symbol, function, variable, coding-system, color):
7947 * international/mule-cmds.el (default-input-method, charset)
7948 (language-info-custom-alist):
7949 * cus-edit.el (face): Use new property :completions.
7951 * progmodes/pascal.el (pascal-completions-at-point): New function.
7952 (pascal-mode): Use it.
7953 (pascal-mode-map): Use completion-at-point.
7954 (pascal-toggle-completions): Make obsolete.
7955 (pascal-complete-word, pascal-show-completions):
7956 * progmodes/octave-mod.el (octave-complete-symbol):
7957 Redefine as obsolete alias.
7958 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
7959 Signal absence of completion info for old Octave,
7960 (inferior-octave-complete): Redefine as obsolete alias.
7961 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
7962 (meta-completions-at-point): Rename from meta-complete-symbol and
7963 adapt it for use on completion-at-point-functions.
7964 (meta-common-mode): Use it.
7965 (meta-looking-at-backward, meta-match-buffer): Remove.
7966 (meta-complete-symbol): Redefine as obsolete alias.
7967 (meta-common-mode-map): Use completion-at-point.
7968 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
7969 (makefile-mode-map): Use completion-at-point.
7970 (makefile-completions-at-point): Rename from makefile-complete and
7971 adapt it for use on completion-at-point-functions.
7972 (makefile-mode): Use it.
7973 (makefile-complete): Redefine as obsolete alias.
7975 2011-06-20 Deniz Dogan <deniz@dogan.se>
7977 * net/rcirc.el: Delete trailing whitespaces once and for all.
7979 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
7981 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
7983 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
7985 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
7987 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
7989 2011-06-19 Martin Rudalics <rudalics@gmx.at>
7991 * window.el (display-buffer-other-window-means-other-frame):
7992 Call display-buffer-normalize-alist.
7993 (display-buffer-normalize-specifiers-1): Rename to
7994 display-buffer-normalize-argument. New argument other-frame.
7996 (display-buffer-normalize-specifiers-2): Rename to
7997 display-buffer-normalize-options.
7998 (display-buffer-normalize-alist-1): New function.
7999 (display-buffer-normalize-specifiers-3): Rename to
8000 display-buffer-normalize-alist.
8001 Call display-buffer-normalize-alist-1.
8002 (display-buffer-normalize-options-inhibit): New variable.
8003 (display-buffer-normalize-specifiers): Rewrite calling
8004 display-buffer-normalize-alist,
8005 display-buffer-normalize-argument, and
8006 display-buffer-normalize-options. Don't call the latter if
8007 display-buffer-normalize-options-inhibit is non-nil.
8008 (frame-auto-delete): New option.
8009 (window-deletable-p): Use frame-auto-delete.
8010 (window-list-no-nils, window-state-ignored-parameters)
8011 (window-state-get-1, window-state-get, window-state-put-list)
8012 (window-state-put-1, window-state-put-2, window-state-put):
8014 (display-buffer-normalize-options): Move special-display-p group
8015 after pop-up-frame group (Bug#8851) and (Bug#8856).
8017 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
8019 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8021 (rx-submatch-n): New function.
8024 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8027 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8029 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8031 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8032 anytime existing face settings are present (Bug#8889).
8034 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8035 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8036 Remove unused argument.
8038 2011-06-18 Martin Rudalics <rudalics@gmx.at>
8040 * window.el (display-buffer-default-specifiers):
8041 Remove pop-up-frame. Add pop-up-window-min-height,
8042 pop-up-window-min-width, and another reuse-window specifier
8043 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
8044 (display-buffer-normalize-specifiers-2):
8045 Handle split-height-threshold and split-width-threshold also when
8046 pop-up-windows is unset. Add a reuse-window specifier for the
8047 case popping up a new window fails.
8048 (special-display-popup-frame): Remove double quoting.
8049 (display-buffer-normalize-specifiers-1): Fix thinko.
8051 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8053 * shell.el (shell-completion-vars): Set pcomplete-termination-string
8054 according to comint-completion-addsuffix.
8056 * pcomplete.el: Convert to lexical binding and fix bug#8819.
8057 (pcomplete-suffix-list): Mark as obsolete.
8058 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8059 pcomplete-seen in the closure.
8060 (pcomplete-comint-setup): Setup completion-at-point as well.
8061 (pcomplete--entries): New function.
8062 (pcomplete--env-regexp): New var.
8063 (pcomplete-entries): Rewrite to work with partial-completion and
8064 without relying on pcomplete-suffix-list.
8065 (pcomplete-pare-list): Remove, unused.
8067 2011-06-17 Martin Rudalics <rudalics@gmx.at>
8069 * window.el (display-buffer-alist): Set pop-up-window-min-height
8070 and pop-up-window-min-width in default value. Reported by
8071 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
8072 other-window-means-other-frame.
8073 (display-buffer-macro-specifiers): Comment out entry for
8074 other-window specifier.
8075 (display-buffer-other-window-means-other-frame): New function.
8076 (display-buffer-normalize-specifiers-1): New arguments
8077 buffer-name and label. Treat other-window case specially.
8078 (display-buffer-normalize-specifiers-2): Treat other-window case
8080 (display-buffer-normalize-specifiers-3): New function.
8081 (display-buffer-normalize-specifiers):
8082 Call display-buffer-normalize-specifiers-3.
8084 2011-06-17 Martin Rudalics <rudalics@gmx.at>
8086 * window.el (same-window-p): Fix two typos introduced when
8087 adding with-no-warnings.
8088 (display-buffer-normalize-specifiers-1): Don't check
8089 pop-up-frames for 'unset initialization.
8090 (display-buffer-normalize-specifiers-2): Major rewrite using
8091 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8092 (pop-up-frames, display-buffer-reuse-frames)
8093 (display-buffer-mark-dedicated): Don't initialize to 'unset.
8094 Suggested by David Engster <deng@randomsample.de>.
8095 (even-window-heights): Initialize to 'unset.
8096 (display-buffer-alist-set): Handle new 'unset initializations.
8097 (display-buffer-macro-specifiers): Don't pop up a new frame in the
8100 2011-06-16 Martin Rudalics <rudalics@gmx.at>
8102 * window.el (display-buffer-normalize-specifiers-1):
8103 Respect current value of pop-up-frames for most reasonable values of
8104 second argument of display-buffer (Bug#8865).
8105 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8106 (switch-to-buffer-other-window-same-frame)
8107 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
8109 (display-buffer): Don't check noninteractive when calling
8110 display-buffer-pop-up-frame.
8111 (display-buffer-pop-up-frame): Never pop up a frame in
8112 noninteractive mode (Bug#8857).
8113 (enlarge-window, shrink-window): Don't report an error when the
8114 window can't be resized as requested (Bug#8862).
8116 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8118 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8120 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8122 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8124 2011-06-15 Alan Mackenzie <acm@muc.de>
8126 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8127 for declarators, disable knr checking to speed up for normal files.
8128 2: Refactor, replacing a sequence of nested if forms by a cond form.
8130 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8132 * net/network-stream.el (open-network-stream): Add the keyword
8133 :always-query-capabilities for the case where you want to force a
8134 `plain' network connection, but the protocol still requires the
8135 capabilitiy command (i.e., SMTP and EHLO).
8137 * subr.el (process-live-p): Rename from `process-alive-p' for
8138 consistency with other `-live-p' functions.
8140 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8142 * window.el (same-window-buffer-names, same-window-regexps)
8143 (special-display-frame-alist, special-display-popup-frame)
8144 (special-display-function, special-display-buffer-names)
8145 (special-display-regexps, pop-up-frame-alist)
8146 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8147 (pop-up-windows, split-window-preferred-function)
8148 (split-height-threshold, split-width-threshold, even-window-heights)
8149 (display-buffer-mark-dedicated): Don't encourage the use of
8150 display-buffer-alist from Elisp code.
8152 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
8154 * progmodes/python.el (python-mode): Derive from prog-mode.
8155 * progmodes/ps-mode.el (ps-mode):
8156 * progmodes/mixal-mode.el (mixal-mode):
8157 * progmodes/cfengine.el (cfengine-mode):
8158 * progmodes/ld-script.el (ld-script-mode): Likewise.
8160 2011-06-15 Martin Rudalics <rudalics@gmx.at>
8162 * window.el (display-buffer-alist): Trim default value to avoid
8163 popping up a new frame (Bug#8857) or reusing an arbitrary window
8165 (display-buffer): Do not fall back on popping up a new frame in
8166 batch mode (Bug#8857).
8168 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
8170 * cus-theme.el (describe-theme-1): Use custom-theme-p.
8171 (custom-theme-summary): New function.
8172 (customize-themes): Use it.
8174 2011-06-13 Glenn Morris <rgm@gnu.org>
8176 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8178 2011-06-13 Martin Rudalics <rudalics@gmx.at>
8180 * help.el (help-window): Remove variable.
8181 (help-window-point-marker, temp-buffer-max-height)
8182 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8183 (help-print-return-message): Don't set help-window.
8184 (resize-temp-buffer-window): Rewrite cod eand doc-string.
8185 (help-window-setup-finish): Remove.
8186 (help-window-display-message, help-window-setup)
8187 (with-help-window): Major rewrite based on new
8188 display-buffer-window variable.
8190 * help-mode.el (help-mode-finish): Remove help-window related
8193 * view.el (view-exits-all-viewing-windows): Remove reference to
8194 view-return-to-alist in doc-string.
8195 (view-return-to-alist): Make obsolete.
8196 (view-buffer): Call pop-to-buffer-same-window and remove
8198 (view-buffer-other-window): Call pop-to-buffer-other-window and
8199 simplify code. Ignore second argument.
8200 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8201 simplify code. Ignore second argument.
8202 (view-return-to-alist-update): Make obsolete.
8203 (view-mode-enter): Rename second argument to QUIT-RESTORE.
8204 Rewrite using quit-restore window parameters.
8205 (view-mode-exit): Rename second argument to EXIT-ONLY.
8206 Rewrite using quit-restore-window.
8207 (View-exit, View-exit-and-edit, View-leave, View-quit)
8208 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8209 appropriate arguments.
8210 (view-end-message): Use quit-restore window parameter.
8212 * window.el (display-buffer-function): Rewrite doc-string.
8213 (display-buffer-window, display-buffer-alist): New variables.
8214 (display-buffer-split-specifiers)
8215 (display-buffer-side-specifiers)
8216 (display-buffer-macro-specifiers): New constants.
8217 (display-buffer-even-window-sizes, display-buffer-set-height)
8218 (display-buffer-set-width, display-buffer-select-window)
8219 (display-buffer-in-window, display-buffer-reuse-window)
8220 (display-buffer-split-window-1, display-buffer-split-window)
8221 (display-buffer-split-atom-window, display-buffer-pop-up-window)
8222 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8223 (display-buffer-in-side-window, normalize-buffer-to-display)
8224 (display-buffer-normalize-specifiers-1)
8225 (display-buffer-normalize-specifiers-2)
8226 (display-buffer-normalize-specifiers, display-buffer-frame):
8228 (display-buffer): Major rewrite.
8229 (display-buffer-other-window, display-buffer-other-frame)
8230 (pop-to-buffer, switch-to-buffer-other-window)
8231 (switch-to-buffer-other-frame): Rewrite.
8232 (display-buffer-same-window, display-buffer-same-frame)
8233 (display-buffer-same-frame-other-window)
8234 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8235 (pop-to-buffer-other-window)
8236 (pop-to-buffer-same-frame-other-window)
8237 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8238 (switch-to-buffer-other-window-same-frame): New functions.
8239 (same-window-p, special-display-p): Rewrite disabling warnings.
8241 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8242 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8244 (same-window-buffer-names, same-window-regexps)
8245 (special-display-frame-alist, special-display-popup-frame)
8246 (special-display-function, special-display-buffer-names)
8247 (special-display-regexps, pop-up-frame-alist)
8248 (pop-up-frame-function, split-window-preferred-function)
8249 (split-height-threshold, split-width-threshold)
8250 (even-window-heights): Make obsolete.
8252 2011-06-12 Glenn Morris <rgm@gnu.org>
8254 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
8255 Misc simplifications.
8257 2011-06-12 Martin Rudalics <rudalics@gmx.at>
8259 * window.el (window-safely-shrinkable-p): Restore function which
8260 was inadvertently removed in change from 2011-06-11. Declare as
8263 * calendar/calendar.el (calendar-generate-window):
8264 Use window-iso-combined-p instead of combination of one-window-p and
8265 window-safely-shrinkable-p.
8267 2011-06-12 Glenn Morris <rgm@gnu.org>
8269 * progmodes/fortran.el (fortran-mode-syntax-table):
8270 * progmodes/f90.el (f90-mode-syntax-table):
8271 Set % to punctuation. (Bug#8820)
8272 (f90-find-tag-default): Remove, no longer needed.
8274 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
8276 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8278 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
8280 * image.el (image-animated-p): Return animation delay in seconds.
8281 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8282 (image-animate-timeout): Remove DELAY argument. Don't assume
8283 every subimage has the same delay; get it from image-animated-p.
8284 (image-animate): Caller changed.
8286 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
8288 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8289 to ignored backtrace functions.
8291 2011-06-11 Glenn Morris <rgm@gnu.org>
8293 * calendar/appt.el (appt-disp-window-function): Doc fix.
8294 (appt-check): Handle overlapping appointments. (Bug#8337)
8296 2011-06-11 Martin Rudalics <rudalics@gmx.at>
8298 * window.el (window-tree-1, window-tree): New functions, moving
8299 the latter to window.el.
8300 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8301 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8302 (bw-refresh-edges): Remove.
8303 (balance-windows-1, balance-windows-2): New functions.
8304 (balance-windows): Rewrite in terms of window tree functions,
8305 balance-windows-1 and balance-windows-2.
8306 (bw-adjust-window): Remove.
8307 (balance-windows-area-adjust): New function with functionality of
8308 bw-adjust-window but using resize-window.
8309 (set-window-text-height): Rewrite doc-string.
8310 Use normalize-live-window and resize-window.
8311 (enlarge-window-horizontally, shrink-window-horizontally):
8312 Rename argument to DELTA.
8313 (window-buffer-height): New function.
8314 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8315 Rewrite using new window resize routines.
8316 (kill-buffer-and-window, mouse-autoselect-window-select):
8317 Use ignore-errors instead of condition-case.
8318 (quit-window): Call delete-frame instead of delete-windows-on
8319 for the only buffer on frame.
8321 2011-06-10 Martin Rudalics <rudalics@gmx.at>
8323 * loadup.el (top-level): Load window before files for the sake
8324 of replace-buffer-in-windows.
8326 * files.el (read-buffer-to-switch)
8327 (switch-to-buffer-other-window)
8328 (switch-to-buffer-other-frame, display-buffer-other-frame):
8331 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8332 (previous-buffer): Move to window.el.
8334 * bindings.el (unbury-buffer): Move to window.el.
8336 * window.el (delete-other-windows-vertically): Move after
8337 definition of delete-other-windows.
8338 (other-window, delete-windows-on, replace-buffer-in-windows):
8339 Move here from window.c.
8340 (record-window-buffer, unrecord-window-buffer)
8341 (set-window-buffer-start-and-point, switch-to-prev-buffer)
8342 (switch-to-next-buffer): New functions.
8343 (get-next-valid-buffer, last-buffer, next-buffer): Move here
8344 from simple.el. Call switch-to-next-buffer.
8345 (previous-buffer): Move here from simple.el.
8346 Call switch-to-prev-buffer.
8347 (bury-buffer): Move here from buffer.c. Switch to previous
8348 buffer when window cannot be deleted.
8349 (unbury-buffer): Move here from bindings.el.
8350 (ctl-x-map): Move binding for other-window from window.c to
8352 (read-buffer-to-switch, switch-to-buffer-other-window)
8353 (switch-to-buffer-other-frame): Move here from files.el.
8354 (normalize-buffer-to-switch-to): New functions.
8355 (switch-to-buffer): Move here from buffer.c.
8356 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
8358 2011-06-10 Martin Rudalics <rudalics@gmx.at>
8360 * window.el (window-min-height, window-min-width): Move here
8361 from window.c. Add defcustoms and rewrite doc-strings.
8362 (resize-mini-window, resize-window): New functions.
8363 (adjust-window-trailing-edge, enlarge-window, shrink-window):
8364 Move here from window.c.
8365 (maximize-window, minimize-window): New functions.
8366 (delete-window, delete-other-windows, split-window): Move here
8368 (window-split-min-size): New function.
8369 (split-window-keep-point): Mention split-window-above-each-other
8370 instead of split-window-vertically.
8371 (split-window-above-each-other, split-window-vertically):
8372 Rename split-window-vertically to split-window-above-each-other
8373 and provide defalias for old definition.
8374 (split-window-side-by-side, split-window-horizontally):
8375 Rename split-window-horizontally to split-window-side-by-side
8376 and provide defalias for the old definition.
8377 (ctl-x-map): Move bindings for delete-window,
8378 delete-other-windows and enlarge-window here from window.c.
8379 Replace bindings for split-window-vertically and
8380 split-window-horizontally by bindings for
8381 split-window-above-each-other and split-window-side-by-side.
8383 * cus-start.el (all): Remove entries for window-min-height and
8384 window-min-width. Add entries for window-splits and
8387 2011-06-09 Glenn Morris <rgm@gnu.org>
8389 * calendar/appt.el (appt-mode-line): New function.
8390 (appt-check, appt-disp-window): Use it.
8392 * files.el (hack-one-local-variable-eval-safep):
8393 Allow minor-modes with explicit +/-1 arguments.
8395 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
8397 * term/xterm.el (xterm): Add defgroup.
8398 (xterm-extra-capabilities): Add defcustom to supply known xterm
8399 capabilities, skip querying them, or query them (default).
8400 (terminal-init-xterm): Use it.
8401 (terminal-init-xterm-modify-other-keys): New function to set up
8402 modifyOtherKeys support to simplify `terminal-init-xterm'.
8404 2011-06-09 Martin Rudalics <rudalics@gmx.at>
8406 * window.el (resize-window-reset, resize-window-reset-1)
8407 (resize-subwindows-skip-p, resize-subwindows-normal)
8408 (resize-subwindows, resize-other-windows, resize-this-window)
8409 (resize-root-window, resize-root-window-vertically)
8410 (window-deletable-p, window-or-subwindow-p)
8411 (frame-root-window-p): New functions.
8413 2011-06-09 Glenn Morris <rgm@gnu.org>
8415 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8416 (ange-ftp-get-files): Use it.
8418 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8420 * mail/sendmail.el (mail-recover-1, mail-recover):
8421 * files.el (recover-file, recover-session):
8422 Handle dired-listing-switches not being just a single short option.
8424 2011-06-09 Glenn Morris <rgm@gnu.org>
8426 * calendar/appt.el (appt-display-message, appt-disp-window):
8427 Handle lists of appointments.
8429 2011-06-08 Martin Rudalics <rudalics@gmx.at>
8431 * window.el (one-window-p): Move down in code.
8433 (window-current-scroll-bars): Rewrite doc-string.
8434 Normalize live window argument.
8435 (walk-windows, get-window-with-predicate, count-windows):
8436 Rewrite doc-string. Use window-list-1.
8437 (window-in-direction-2, window-in-direction, get-mru-window):
8440 2011-06-08 Reuben Thomas <rrt@sc3d.org>
8442 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8445 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
8447 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8449 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
8451 * loadhist.el (unload-feature-special-hooks):
8452 Add `comint-output-filter-functions'.
8454 2011-06-08 Ivan Kanis <gnu@kanis.fr>
8456 * calendar/appt.el (appt-check): Move some initializations into the let.
8458 2011-06-08 Martin Rudalics <rudalics@gmx.at>
8460 * window.el (window-height): Defalias to window-total-height.
8461 (window-width): Defalias to window-body-width.
8463 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
8465 * image-mode.el (image-toggle-animation): New command.
8466 (image-mode-map): Bind it to RET.
8467 (image-mode): Update message.
8468 (image-toggle-display-image): Avoid a spurious cache flush.
8469 (image-transform-rotation): Doc fix.
8470 (image-transform-properties): Return quickly in the normal case.
8471 (image-animate-loop): Rename from image-animate-max-time.
8473 * image.el (image-animate-max-time): Move to image-mode.el.
8474 (create-animated-image): Remove unnecessary function.
8475 (image-animate): Rename from image-animate-start. New arg.
8476 (image-animate-stop): Remove; just use image-animate-timer.
8477 (image-animate-timer): Use car-safe.
8478 (image-animate-timeout): Rename argument.
8480 2011-06-07 Martin Rudalics <rudalics@gmx.at>
8482 * window.el (get-lru-window, get-largest-window): Move here from
8483 window.c. Rename first argument to ALL-FRAMES.
8484 Rephrase doc-strings.
8485 (get-buffer-window-list): Rewrite using window-list-1.
8486 Rephrase doc-string.
8487 (window-safe-min-height, window-safe-min-width): New constants.
8488 (window-size-ignore, window-min-size, window-min-size-1)
8489 (window-sizable, window-sizable-p, window-size-fixed-1)
8490 (window-size-fixed-p, window-min-delta-1, window-min-delta)
8491 (window-max-delta-1, window-max-delta, window-resizable)
8492 (window-resizable-p, window-total-height, window-total-width)
8493 (window-body-width): New functions.
8494 (window-full-height-p, window-full-width-p): Rewrite using
8496 (window-body-height): Rewrite using window-body-size.
8498 2011-06-06 Martin Rudalics <rudalics@gmx.at>
8500 * window.el (window-right, window-left, window-child)
8501 (window-child-count, window-last-child, window-any-p)
8502 (normalize-live-buffer, normalize-live-frame)
8503 (normalize-any-window, normalize-live-window)
8504 (window-iso-combination-p, window-iso-combined-p)
8505 (window-iso-combinations)
8506 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8507 (windows-with-parameter, window-with-parameter)
8508 (window-atom-root, make-window-atom, window-atom-check-1)
8509 (window-atom-check, window-side-check, window-check):
8511 (ignore-window-parameters, window-sides, window-sides-vertical)
8512 (window-sides-slots): New variables.
8513 (window-size-fixed): Move down in code. Minor doc-string fix.
8515 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
8517 * comint.el (comint-dynamic-complete-as-filename)
8518 (comint-dynamic-complete-filename): Correctly call
8519 completion-in-region.
8521 2011-06-05 Deniz Dogan <deniz@dogan.se>
8523 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8526 2011-06-05 Deniz Dogan <deniz@dogan.se>
8528 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8529 (rcirc): Use it to prompt for encryption.
8531 2011-06-05 Roland Winkler <winkler@gnu.org>
8533 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8534 (bibtex-search-entries): New command bound to C-c C-a.
8535 (bibtex-display-entries): New function.
8537 2011-06-05 Roland Winkler <winkler@gnu.org>
8539 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8540 (bibtex-insert-kill): After yanking insert newline if necessary.
8541 (bibtex-initialize): Call bibtex-string-files-init only once.
8542 (bibtex-mode): Do not call easy-menu-add.
8543 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8544 (bibtex-yank): Set arg properly if nil.
8546 2011-06-05 Roland Winkler <winkler@gnu.org>
8548 * textmodes/bibtex.el (bibtex-search-entry-globally):
8550 (bibtex-search-entry): Use it.
8552 2011-06-05 Roland Winkler <winkler@gnu.org>
8554 * textmodes/bibtex.el (bibtex-entry-format): New option
8556 (bibtex-format-entry, bibtex-reformat): Honor this option.
8557 (bibtex-parse-entry): Return fields in proper order.
8559 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
8561 * doc-view.el (doc-view-remove-if): Move computation of result out
8562 of `dolist' to silence misleading lexical-binding warning.
8564 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
8566 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8567 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8569 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
8571 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8574 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
8576 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8577 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8578 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8579 (tramp-parse-putty):
8580 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8581 (tramp-completion-function-alist-ssh)
8582 (tramp-completion-function-alist-telnet)
8583 (tramp-completion-function-alist-su)
8584 (tramp-completion-function-alist-putty): Set `tramp-autoload'
8589 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8590 load "tramp.el" `tramp-set-completion-function'.
8592 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8594 * shell.el: Require and use pcomplete.
8595 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8596 (shell-completion-vars): Set pcomplete-default-completion-function.
8598 2011-06-04 Deniz Dogan <deniz@dogan.se>
8600 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8603 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8605 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8607 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
8609 * bs.el (bs--mark-unmark, bs--nth-wrapper):
8610 * mpc.el (mpc-select-extend, mpc-songpointer-context):
8611 * vc/log-view.el (log-view-beginning-of-defun):
8612 * vc/smerge-mode.el (smerge-apply-resolution-patch)
8613 (smerge-refine-forward, smerge-refine-chopup-region):
8614 Silence warning for unused `dotimes' counter variables.
8616 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8618 * net/tramp.el (tramp-with-progress-reporter): Rename from
8619 with-progress-reporter. Use `declare'.
8622 * net/tramp-gvfs.el: Update all uses.
8624 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
8626 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8627 buffer isn't killed before making it current.
8629 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8631 Silence various byte-compiler warnings.
8632 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8633 `access-type' and new obsolescence format.
8634 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8636 (byte-compile-check-variable): New `access-type' argument.
8637 Only warn if the access-type is obsolete.
8638 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8639 (byte-compile-variable-set): Adjust callers.
8640 * help-fns.el (describe-variable): Adjust to new obsolescence format.
8641 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8642 setting it as obsolete.
8643 * simple.el (minibuffer-completing-symbol):
8644 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8646 * minibuffer.el (minibuffer-completing-file-name): Don't make it
8648 * international/quail.el (quail-mouse-choose-completion): Remove unused
8649 code referring to obsolete var.
8650 (quail-choose-completion-string): Remove.
8651 * server.el (server-clients-with, server-kill-buffer-query-function)
8652 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8653 * proced.el (proced-send-signal):
8654 * emacs-lisp/lisp.el (lisp-complete-symbol):
8655 Replace completion-annotate-function with completion-extra-properties.
8657 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8659 * simple.el (goto-line): Use read-number.
8660 (overriding-map-is-bound): Remove.
8661 (saved-overriding-map): Change default.
8662 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8663 Take the map as argument.
8664 (universal-argument, negative-argument, digit-argument): Use it.
8665 (restore-overriding-map): Adjust.
8666 (do-auto-fill): Use fill-forward-paragraph.
8667 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8669 * minibuffer.el (minibuffer-inactive-mode-map): New var.
8670 (minibuffer-inactive-mode): New major mode.
8671 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8672 the *Messages* buffer" hack.
8673 (mouse-popup-menubar): Don't burp if the event is a normal key.
8675 Miscellaneous tweaks.
8676 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8677 lexical scoping as in subr.el's dolist and dotimes.
8678 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8679 Silence compiler warning.
8680 * thingatpt.el (forward-whitespace): Trivial coding style fix.
8681 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8682 * international/ccl.el (ccl-compile): Trivial simplification.
8683 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8684 * emacs-lisp/testcover.el (testcover-end): Remove spurious
8685 `printflag' argument.
8686 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8687 Purecopy the whole obsolescence data.
8689 2011-06-01 Leo Liu <sdl.web@gmail.com>
8691 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8692 improve doc-string as suggested by Marco Pessotto
8693 <melmothx@gmail.com>.
8694 (rcirc-print): Fix last change.
8696 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8698 * minibuffer.el (complete-with-action): Return nil for the metadata and
8699 boundaries of non-functional tables.
8700 (completion-table-dynamic): Return nil for the metadata.
8701 (completion-table-with-terminator): Add default case, using
8702 complete-with-action.
8703 (completion--metadata): New function.
8704 (completion-all-sorted-completions, minibuffer-completion-help): Use it
8705 to try and avoid pathological performance problems.
8706 (completion--embedded-envvar-table): Return `category' metadata.
8708 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
8710 * subr.el (process-alive-p): New tiny convenience function.
8712 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8714 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8715 content but also its previous major mode.
8717 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
8719 * emacs-lisp/debug.el (debug): Restore the previous content of the
8720 *Backtrace* buffer when we exit with C-M-c.
8722 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8724 * minibuffer.el: Add metadata method to completion tables.
8725 (completion-category-overrides): New defcustom.
8726 (completion-metadata, completion--field-metadata)
8727 (completion-metadata-get, completion--styles)
8728 (completion--cycle-threshold): New functions.
8729 (completion-try-completion, completion-all-completions):
8730 Add `metadata' argument to choose completion-styles.
8731 (completion--do-completion): Use metadata to choose cycling.
8732 (completion-all-sorted-completions): Use metadata for sorting.
8733 Remove :completion-cycle-penalty which is not needed any more.
8734 (completion--try-word-completion): Add `metadata' argument.
8735 (minibuffer-completion-help): Check metadata for annotation function
8737 (completion-file-name-table): Return `category' metadata.
8738 (minibuffer-completing-file-name): Make obsolete.
8739 * simple.el (minibuffer-completing-symbol): Make obsolete.
8740 * icomplete.el (icomplete-completions): Pass new `metadata' param to
8741 completion-try-completion.
8743 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8745 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
8747 2011-05-30 Leo Liu <sdl.web@gmail.com>
8749 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
8750 (rcirc-print): Decode all incoming messages (bug#8744).
8751 (rcirc-decode-coding-system): Allow value nil for automatic coding
8754 2011-06-01 Glenn Morris <rgm@gnu.org>
8756 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
8758 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
8760 * image.el (image-animate-max-time): Allow nil and t values.
8762 (create-animated-image): Doc fix.
8763 (image-animate-start): Remove second arg; just use
8764 image-animate-max-time.
8765 (image-animate-timeout): Doc fix. Args changed.
8767 * image-mode.el (image-toggle-display-image): Ensure that the
8768 image spec passed to the animate timer is the same object as in
8769 the buffer's display property (Bug#6981).
8770 (image-transform-properties): Doc fix.
8772 * image.el (image-animate-max-time): Default to nil.
8774 2011-05-29 Martin Rudalics <rudalics@gmx.at>
8776 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8777 entire buffer list (Bug#8184).
8779 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
8781 * image.el (imagemagick-types-inhibit)
8782 (imagemagick-register-types): Doc fix.
8784 2011-05-29 Deniz Dogan <deniz@dogan.se>
8786 * net/rcirc.el (rcirc): Use the user's stored encryption method by
8789 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
8791 * select.el: Don't perform clipboard-manager saving in hooks;
8792 leave the hooks empty.
8794 2011-05-28 Leo Liu <sdl.web@gmail.com>
8796 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8797 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
8798 (occur-edit-mode): New major mode (Bug#8463).
8799 (occur-after-change-function): New function.
8800 (occur-engine): Give Occur tags a read-only property.
8802 2011-05-28 Kevin Ryde <user42@zip.com.au>
8804 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
8806 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
8808 * bindings.el (help-echo): Make the initial non-indicator dash
8809 empty on graphical terminals (Bug#7295).
8811 * files.el (auto-mode-alist): Move config rule after the
8812 in-stripping one (Bug#8547).
8814 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
8816 * startup.el (normal-splash-screen): Remove gratuitous mode-line
8819 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
8821 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
8822 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
8825 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
8827 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
8829 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
8831 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8832 (hs-hide-block-at-point, hs-find-block-beginning)
8833 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
8836 2011-05-28 Glenn Morris <rgm@gnu.org>
8838 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
8840 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
8842 * help-fns.el (describe-function-1): If the function is a derived
8843 major mode, print the parent mode.
8845 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
8846 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
8848 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8850 * minibuffer.el (completion--capf-wrapper): Check applicability before
8851 returning non-nil for non-exclusive completion data.
8852 * progmodes/etags.el (tags-completion-at-point-function):
8853 * info-look.el (info-lookup-completions-at-point): Mark as
8855 (info-complete): Adjust accordingly.
8857 * info-look.el: Convert to lexical-binding and completion-at-point.
8858 (info-lookup-completions-at-point): New function.
8859 (info-complete): Use it and completion-in-region.
8861 2011-05-28 Drew Adams <drew.adams@oracle.com>
8863 * isearch.el: Let M-e start with point at the first mismatched char.
8864 (isearch-fail-pos): New function.
8865 (isearch-edit-string): Use it.
8867 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8869 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8871 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
8873 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
8874 traversal functions for avl-trees.
8875 (avl-tree--stack): New struct.
8876 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
8877 (avl-tree-enter): Add optional `updatefun' arg.
8878 (avl-tree--do-enter): Add optional `updatefun' arg.
8879 Change return value.
8880 (avl-tree-delete): Add optional `test' and `nilflag' args.
8881 (avl-tree--do-delete): Add `test' and `nilflag' args.
8882 Change return value.
8883 (avl-tree-member): Add optional `nilflag'
8884 (avl-tree-member-p): New function.
8885 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
8886 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
8887 (avl-tree-stack-empty-p): New functions.
8889 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
8890 avl-tree--del-balance1 and make it work both ways.
8891 (avl-tree--del-balance2): Remove.
8892 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
8893 make it work both ways.
8894 (avl-tree--enter-balance2): Remove.
8895 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
8897 (avl-tree--mapc, avl-tree-map): Add direction argument.
8899 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
8901 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
8903 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
8905 * select.el: Support clipboard managers with built-in function
8906 x-clipboard-manager-save, via delete-frame-functions and
8908 (xselect-convert-to-targets): Add MULTIPLE target to list.
8909 (xselect-convert-to-save-targets): New function.
8911 2011-05-27 Kenichi Handa <handa@m17n.org>
8913 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
8914 let-binding rfc2047-encode-encoded-words to nil.
8916 2011-05-27 Glenn Morris <rgm@gnu.org>
8918 * mail/emacsbug.el: Don't require url-util.
8920 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
8922 * files.el (set-auto-mode):
8923 Also respect mode: entries at the end of the file. (Bug#8586)
8925 2011-05-26 Glenn Morris <rgm@gnu.org>
8927 * files.el (hack-local-variables-prop-line, hack-local-variables):
8928 Downcase mode names, as seems to be traditional.
8929 (hack-local-variables, hack-local-variables-apply): Doc fixes.
8931 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
8932 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
8934 2011-05-25 Julien Danjou <julien@danjou.info>
8936 * textmodes/rst.el (rst-define-level-faces): Do not define face
8937 symbol if it is already defined.
8939 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
8941 * play/5x5.el (5x5-new-game, 5x5-randomize):
8942 Reset 5x5-solver-output to nil when a new grid is cast.
8943 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
8944 these debugging traces, as defmacro breaks the compiled code.
8946 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8948 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8950 2011-05-24 Leo Liu <sdl.web@gmail.com>
8952 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
8953 (vc-bzr-sha1): Adapt.
8955 * sha1.el: Remove. Function `sha1' is now builtin.
8957 * bindings.el: Provide sha1 feature.
8959 2011-05-24 Kenichi Handa <handa@m17n.org>
8961 * mail/sendmail.el: Require `rfc2047'.
8962 (mail-insert-from-field): Do not perform RFC2047 encoding.
8963 (mail-encode-header): New function.
8964 (sendmail-send-it): Set buffer-file-coding-system of the work
8965 buffer to the return value of select-message-coding-system.
8966 Call mail-encode-header.
8968 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
8970 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
8972 * mail/supercite.el (sc-default-cite-frame):
8973 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
8975 2011-05-24 Glenn Morris <rgm@gnu.org>
8977 * progmodes/python.el (brm-menu): Declare.
8979 * emulation/viper.el (viper-set-hooks): Declare.
8981 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
8982 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
8983 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
8984 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
8985 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
8986 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
8988 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8990 Add an :exit-function for completion-at-point.
8992 * minibuffer.el (completion--done): New fun.
8993 (completion--do-completion): Use it. New arg `expect-exact'.
8994 (minibuffer-complete, minibuffer-complete-word): Don't output message,
8995 since completion--do-completion does it for us now.
8996 (minibuffer-force-complete): Use completion--done and
8997 completion--replace. Handle sole-completion case with more care.
8998 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
8999 (completion-extra-properties): New var.
9000 (completion-annotate-function): Make obsolete.
9001 (minibuffer-completion-help): Adjust accordingly.
9002 Use completion-list-insert-choice-function.
9003 (completion-at-point, completion-help-at-point):
9004 Bind completion-extra-properties.
9005 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9006 * simple.el (completion-list-insert-choice-function): New var.
9007 (completion-setup-function): Preserve it.
9008 (choose-completion): Pay attention to it, shuffle the code a bit.
9009 (choose-completion-string): New arg `insert-function'.
9011 * textmodes/bibtex.el: Convert to lexical binding.
9012 (bibtex-mode-map): Use completion-at-point.
9013 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9014 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9015 (bibtex-complete): Define as obsolete alias.
9016 (bibtex-complete-internal): Remove.
9017 (bibtex-format-entry): Remove unused sub-group in regexp.
9018 * shell.el (shell--command-completion-data)
9019 (shell-environment-variable-completion):
9020 * pcomplete.el (pcomplete-completions-at-point):
9021 * comint.el (comint--complete-file-name-data): Use :exit-function
9022 instead of completion-table-with-terminator so it also works for
9025 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9027 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9029 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9032 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9034 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
9036 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9037 customization variable and implement: If non-nil, auto-fill will
9038 be inhibited while on topic's header line.
9040 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
9042 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
9043 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
9044 always have a solution in grid size = 5 cases.
9045 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9046 (5x5-solver-output, 5x5-log-buffer): New vars.
9047 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9048 Make these variables buffer local to achieve 5x5 multi-session-ness.
9049 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9050 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9051 (5x5-solve-suggest): New funs.
9052 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9053 randomize a grid so that we ensure that there is always a solution.
9054 (5x5-make-random-grid): Allow other movement than flipping.
9056 2011-05-23 Kevin Ryde <user42@zip.com.au>
9058 * emacs-lisp/advice.el (ad-read-advised-function):
9059 Use `function-called-at-point' as the default, if it has
9060 advice and passes PREDICATE.
9062 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9064 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9065 byte-compile-lambda if it's actually a lambda.
9067 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9068 Fix function quoting. Use backquote better.
9070 2011-05-22 Yuanle Song <sylecn@gmail.com>
9072 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9073 matching (Bug#8516).
9075 2011-01-22 Jari Aalto <jari.aalto@cante.net>
9077 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9078 different face (Bug#8178).
9080 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
9082 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9085 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
9087 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9088 funcall as well (bug#8712). Warn when performing those conversions.
9089 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9091 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9093 2011-05-22 Glenn Morris <rgm@gnu.org>
9095 * files.el (hack-local-variables-prop-line): Small simplifications.
9096 (hack-local-variables, hack-local-variables-prop-line):
9097 If MODE-ONLY, return the mode, rather than just `t'.
9099 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9101 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9103 2011-05-21 Glenn Morris <rgm@gnu.org>
9105 * files.el (hack-local-variables-prop-line, hack-local-variables):
9106 If only interested in the mode, don't bother doing the other stuff.
9108 * image-mode.el (image-after-revert-hook):
9109 Redraw all frames on which the image is visible. (Bug#8567)
9111 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
9113 * wid-edit.el (widget-checklist-match-inline):
9114 Fix 2011-04-19 change. (Bug#8649)
9116 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
9118 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9119 Also allow singlespace after single-letter capitals followed by a dot.
9121 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9122 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9124 2011-05-20 Nix <nix@esperi.org.uk>
9126 * files.el (basic-save-buffer-2):
9127 Fix handling of break-hardlink-on-save with non-existent files.
9129 2011-05-19 Deniz Dogan <deniz@dogan.se>
9131 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9132 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
9134 2011-05-19 Glenn Morris <rgm@gnu.org>
9136 * progmodes/f90.el (f90-type-def-re):
9137 Handle "type, bind(c)". (Bug#8691)
9139 * emacs-lisp/autoload.el (batch-update-autoloads):
9140 Set autoload-excludes by parsing loadup.el rather than Makefiles.
9142 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
9144 * net/tramp.el (tramp-process-actions): Set "first-password-request"
9145 property for the correct connection in case of multihops.
9147 2011-05-18 Glenn Morris <rgm@gnu.org>
9149 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
9150 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9152 Rationalize calendar handling of day and month abbrev-arrays.
9153 * calendar/calendar.el (calendar-customized-p): New function.
9154 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9155 (calendar-day-name-array, calendar-month-name-array): Doc fix.
9157 (calendar-abbrev-length, calendar-day-abbrev-array)
9158 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9159 (calendar-day-abbrev-array, calendar-month-abbrev-array):
9160 Elements may no longer be nil.
9161 (calendar-day-name, calendar-month-name):
9162 Update for changed nature of abbrev arrays.
9163 * calendar/diary-lib.el (diary-name-pattern):
9164 Update for changed nature of abbrev arrays.
9165 (diary-mark-entries-1): Update calendar-make-alist calls.
9166 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9167 * calendar/cal-html.el (cal-html-day-abbrev-array):
9168 Simply inherit from calendar-day-abbrev-array.
9170 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9172 * progmodes/grep.el (grep-mode): Disable default
9173 compilation-directory-matcher setting (bug#8684).
9175 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
9177 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9178 instead of "head" and "tail". There were problems with SunOS 5.9,
9179 and it performs better.
9181 2011-05-17 Glenn Morris <rgm@gnu.org>
9183 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9185 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9186 Replace obsolete function.
9188 * shell.el (pcomplete-parse-arguments-function): Declare.
9190 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9191 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9192 (appt-check): Doc fixes.
9193 (appt-disp-window-function, appt-delete-window-function):
9194 Remove needless special case in custom :type.
9195 (appt-display-count): Default to 0, not nil.
9196 (appt-check): Reset appt-display-count to 0, not nil.
9198 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
9200 * progmodes/python.el (python-font-lock-keywords):
9201 Add the Python 3.X keyword "nonlocal" (bug#8639).
9203 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9205 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9207 2011-05-16 Kevin Ryde <user42@zip.com.au>
9209 * info-look.el (makefile-automake-mode): New setups, looking in
9210 automake manual, then makefile-mode.
9211 (makefile-mode): Remove automake manual, have it just in
9212 makefile-automake-mode since there's various things different or
9213 not relevant to plain make.
9214 (makefile-mode): Remove "other-modes" non-existent automake-mode,
9215 believe a hypothetical automake-mode would go to makefile-mode,
9216 not the other way around.
9218 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
9220 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9221 hunk-end tags (Bug#8672).
9223 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9224 vc-annotate-show-diff-revision-at-line (Bug#8671).
9226 2011-05-14 Glenn Morris <rgm@gnu.org>
9228 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9229 in the middle of an existing one with multiple authors. (Bug#8645)
9230 (change-log-font-lock-keywords): Also handle multiple author lines
9231 with leading tabs. (Bug#8644)
9233 * calendar/appt.el (appt-check): Rename some local variables.
9234 Some simplification/reordering.
9236 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9237 (feedmail-sendmail-f-doesnt-sell-me-out)
9238 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9239 (feedmail-debug-sit-for, feedmail-queue-express-hook)
9240 (feedmail-queue-runner-message-sender): Set :version.
9241 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9242 (bbdb-dwim-net-address, vm-mail): Declare.
9243 (feedmail-binmail-gnulinuxish-template):
9244 Rename from feedmail-binmail-linuxish-template.
9245 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9246 Use insert-buffer-substring.
9248 2011-05-14 Bill Carpenter <bill@carpenter.org>
9250 * mail/feedmail.el (feedmail-patch-level): Increase.
9251 (feedmail-debug): New custom group.
9252 (feedmail-confirm-outgoing-timeout)
9253 (feedmail-sendmail-f-doesnt-sell-me-out)
9254 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9255 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9256 (feedmail-sender-line, feedmail-from-line)
9257 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
9258 (feedmail-spray-this-address)
9259 (feedmail-spray-address-fiddle-plex-list)
9260 (feedmail-queue-use-send-time-for-date)
9261 (feedmail-queue-use-send-time-for-message-id)
9262 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9263 (feedmail-buffer-eating-function):
9265 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9266 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9267 (feedmail-message-action-scroll-down): New functions.
9268 (feedmail-queue-directory, feedmail-queue-draft-directory):
9269 Use expand-file-name.
9270 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9271 Remove C-v help entry.
9272 (feedmail-queue-buffer-file-name): New variable.
9273 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9274 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9275 (feedmail-message-action-send-strong, feedmail-message-action-edit)
9276 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9277 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9278 (feedmail-message-action-toggle-spray)
9279 (feedmail-run-the-queue-no-prompts)
9280 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9281 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9282 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9283 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9284 (feedmail-envelope-deducer, feedmail-fiddle-from)
9285 (feedmail-fiddle-sender, feedmail-default-date-generator)
9286 (feedmail-fiddle-date, feedmail-fiddle-message-id)
9287 (feedmail-fiddle-spray-address)
9288 (feedmail-fiddle-list-of-spray-fiddle-plexes)
9289 (feedmail-fiddle-list-of-fiddle-plexes)
9290 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9291 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9292 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9293 Change default. Doc fix.
9294 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9295 (feedmail-binmail-linuxish-template): New constant.
9296 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
9297 Respect feedmail-sendmail-f-doesnt-sell-me-out.
9298 (feedmail-send-it): Add debug call.
9299 Use feedmail-queue-buffer-file-name, and
9300 feedmail-send-it-immediately-wrapper.
9301 (feedmail-message-action-send): Add debug call.
9302 Use feedmail-send-it-immediately-wrapper.
9303 (feedmail-queue-express-to-queue): Add debug call.
9304 Run feedmail-queue-express-hook.
9305 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
9306 (feedmail-message-action-help-blat):
9307 Rename from feedmail-queue-send-edit-prompt-help-first.
9308 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
9309 Check line-endings. Handle errors better.
9310 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9311 Doc fix. Add debug call.
9312 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
9313 Use feedmail-queue-send-edit-prompt-inner.
9314 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9315 (feedmail-queue-send-edit-prompt-inner): New function, extracted
9316 from feedmail-queue-send-edit-prompt.
9317 (feedmail-queue-send-edit-prompt-help)
9318 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9319 (feedmail-tidy-up-slug): Add debug call.
9320 Respect feedmail-queue-slug-suspect-regexp.
9321 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9322 (feedmail-dump-message-to-queue): Add debug call.
9323 Expand queue-directory.
9324 (feedmail-dump-message-to-queue): Change message slightly.
9325 Use feedmail-say-chatter.
9326 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
9327 (feedmail-send-it-immediately-wrapper): New function.
9328 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
9329 Insert empty string rather than newline. Handle full-frame case.
9330 Use catch/throw. Use feedmail-say-chatter.
9331 (feedmail-fiddle-from): Try mail-host-address.
9332 (feedmail-default-message-id-generator): Doc fix.
9333 Bind system-time-locale. Handle missing end.
9334 (feedmail-fiddle-x-mailer): Add debug call.
9335 Handle feedmail-x-mailer-line being nil.
9336 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9337 Add debug call. Use buffer-substring-no-properties.
9338 (feedmail-say-debug, feedmail-say-chatter): New functions.
9339 (feedmail-find-eoh): Give an explicit error.
9341 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
9343 * net/newst-treeview.el (newsticker-treeview-face): Change default
9344 family from helvetica to sans.
9345 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
9346 etc/images/newsticker.
9348 * net/newst-reader.el (newsticker-feed-face): Change default
9349 family from helvetica to sans.
9351 * net/newst-plainview.el (newsticker-new-item-face)
9352 (newsticker-old-item-face, newsticker-immortal-item-face)
9353 (newsticker-obsolete-item-face, newsticker-date-face)
9354 (newsticker-statistics-face): Change default family from
9356 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
9357 etc/images/newsticker.
9359 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9360 (newsticker--process-auto-mark-filter-match): : Tell user about
9363 2011-05-13 Didier Verna <didier@xemacs.org>
9365 Common Lisp indentation improvements on defmethod and lambda-lists.
9366 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9368 (lisp-lambda-list-keyword-parameter-indentation)
9369 (lisp-lambda-list-keyword-parameter-alignment)
9370 (lisp-lambda-list-keyword-alignment): New customizable user options.
9371 (lisp-indent-defun-method): Improve docstring.
9372 (extended-loop-p): Fix comment.
9373 (lisp-indent-lambda-list-keywords-regexp): New variable.
9374 (lisp-indent-lambda-list): New function.
9375 (lisp-indent-259): Use it.
9376 (lisp-indent-defmethod): Support for more than one
9377 method qualifier and properly indent methods lambda-lists.
9378 (defgeneric): Provide a missing common-lisp-indent-function property.
9380 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9382 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9383 bounds for the empty string (bug#8667).
9385 2011-05-13 Glenn Morris <rgm@gnu.org>
9387 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9389 * mail/sendmail.el (sendmail-program): Try executable-find first.
9390 (sendmail-send-it): `sendmail-program' cannot be unbound.
9392 * calendar/appt.el (appt-make-list): Simplify.
9393 (appt-time-msg-list): Doc fix.
9394 (appt-check): Change mode-line message at the time of the appointment.
9396 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9398 * progmodes/ld-script.el (ld-script-keywords)
9399 (ld-script-builtins): Update keywords list.
9401 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9403 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9405 * shell.el (shell-completion-vars): New function.
9407 * simple.el (read-shell-command): Use it.
9408 (blink-matching-open): No need for " [...]" in minibuffer-message.
9410 2011-05-12 Glenn Morris <rgm@gnu.org>
9412 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9413 (appt-check): Simplify.
9415 2011-05-12 Eli Zaretskii <eliz@gnu.org>
9417 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
9418 literal "/dev/null".
9420 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9422 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9425 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
9427 * progmodes/which-func.el (which-function):
9428 Use add-log-current-defun instead of add-log-current-defun-function,
9429 which might not be defined (Bug#8260).
9431 2011-05-12 Glenn Morris <rgm@gnu.org>
9433 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9434 Let byte-compile-initial-macro-environment always take precedence.
9436 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9438 * net/rcirc.el: Add support for SSL/TLS connections.
9439 (rcirc-server-alist): New field `encryption'.
9440 (rcirc): Check `encryption' settings.
9441 (rcirc-connect): New arg `encryption'. Use open-network-stream.
9442 Merge make-local-variable into `set'.
9443 (rcirc--connection-open-p): New function.
9444 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9445 the process is not a network process (e.g. running gnutls-cli).
9446 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9447 Make rcirc-(en|de)code-coding-system local here.
9448 (rcirc-mode): Merge make-local-variable into `set'.
9449 (rcirc-parent-buffer): Make permanent buffer-local.
9450 (rcirc-multiline-minor-mode): Don't do it here.
9451 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9452 there's no server buffer.
9454 2011-05-11 Glenn Morris <rgm@gnu.org>
9456 * newcomment.el (comment-kill): Prefix "unused" local.
9458 * term/w32console.el (get-screen-color): Declare.
9460 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9461 Handle symbol elements of byte-compile-initial-macro-environment.
9463 2011-05-10 Leo Liu <sdl.web@gmail.com>
9465 * bookmark.el (bookmark-bmenu-mode-map):
9466 Bind bookmark-bmenu-search to `/'.
9468 * mail/footnote.el: Convert to utf-8 encoding.
9469 (footnote-unicode-string, footnote-unicode-regexp): New variable.
9470 (Footnote-unicode): New function.
9471 (footnote-style-alist): Add unicode style to the list.
9472 (footnote-style): Doc fix.
9474 2011-05-10 Jim Meyering <meyering@redhat.com>
9476 Fix doubled-word typos.
9477 * international/quail.el (quail-insert-kbd-layout): and and -> and
9478 * kermit.el: and and -> and
9479 * net/ldap.el (ldap-search-internal): to to -> to
9480 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9481 * progmodes/js.el (js-mode): and and -> and
9482 * textmodes/artist.el (artist-move-to-xy): at at -> at
9483 (artist-draw-region-trim-line-endings): if if -> if
9484 And Safetyc -> Safety.
9485 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9487 2011-05-10 Glenn Morris <rgm@gnu.org>
9488 Stefan Monnier <monnier@iro.umontreal.ca>
9490 * files.el (hack-one-local-variable-eval-safep):
9491 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
9493 2011-05-10 Glenn Morris <rgm@gnu.org>
9495 * calendar/diary-lib.el (diary-list-entries-hook)
9496 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9497 (diary-nongregorian-marking-hook, diary-list-entries)
9498 (diary-include-other-diary-files, diary-mark-entries)
9499 (diary-mark-included-diary-files): Doc fixes.
9501 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
9503 * misc.el: Require tabulated-list.el during compilation.
9505 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
9507 * progmodes/compile.el (compilation-start):
9508 Run compilation-filter-hook for the async case too.
9509 (compilation-filter-hook): Doc fix.
9511 2011-05-09 Deniz Dogan <deniz@dogan.se>
9513 * wdired.el: Remove outdated installation comment. Fix usage
9516 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
9518 * misc.el: Implement new command `list-dynamic-libraries'.
9519 (list-dynamic-libraries--loaded-only-p): New variable.
9520 (list-dynamic-libraries--refresh): New function.
9521 (list-dynamic-libraries): New command.
9523 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
9525 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9526 Fix the ant regexp to handle end-line and end-column info from jikes.
9527 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
9528 higher priority to avoid clobbering by gnu.
9530 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
9532 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9533 if the face has existing theme settings (Bug#8454).
9535 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
9537 * progmodes/perl-mode.el (perl-imenu-generic-expression):
9538 Only match variables declared via `my' or `our' (Bug#8261).
9540 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9541 special file names `.' and `..' (Bug#8259).
9543 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
9545 * progmodes/grep.el (grep-mode-font-lock-keywords):
9546 Remove buffer-changing entries.
9547 (grep-filter): New function.
9548 (grep-mode): Add it to compilation-filter-hook.
9550 * progmodes/compile.el (compilation-filter-hook)
9551 (compilation-filter-start): New defvars.
9552 (compilation-filter): Call compilation-filter-hook prior to
9553 updating the process mark.
9555 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9557 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9559 2011-05-07 Eli Zaretskii <eliz@gnu.org>
9561 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9562 mailclient-send-it even if window-system is nil. (Bug#8595)
9564 * term/w32console.el (terminal-init-w32console):
9565 Call get-screen-color and use its output to set the frame
9566 background-mode. (Bug#8597)
9568 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9570 Make bytecomp.el understand that defmethod defines funs (bug#8631).
9571 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9573 (defgeneric, eieio--defmethod): Use them.
9574 (eieio-defgeneric): Remove.
9575 (defmethod): Call defgeneric in a way visible to the byte-compiler.
9577 2011-05-07 Glenn Morris <rgm@gnu.org>
9579 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9580 Use let rather than let*.
9581 (timeclock-find-discrep): Remove unused local.
9583 * calendar/diary-lib.el (diary-comment-start): Doc fix.
9585 * calendar/appt.el (appt-time-msg-list): Doc fix.
9587 2011-05-06 Noah Friedman <friedman@splode.com>
9589 * apropos.el (apropos-print-doc): Only use
9590 emacs-lisp-docstring-fill-column when it is bound to an integer,
9591 per that variable's documentation.
9593 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9595 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
9596 and warnings are not silently discarded (e.g. use -d instead of -P).
9598 2011-05-06 Glenn Morris <rgm@gnu.org>
9600 * calendar/appt.el (appt-message-warning-time): Doc fix.
9601 (appt-warning-time-regexp): New option.
9602 (appt-make-list): Respect appt-message-warning-time.
9604 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9606 (diary-add-to-list): Strip comments from the displayed string.
9607 (diary-mode): Set comment-start and comment-end.
9609 * vc/diff-mode.el (smerge-refine-subst): Declare.
9610 (diff-refine-hunk): Don't require smerge-mode when compiling.
9612 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
9614 * simple.el (list-processes): Return nil as the docstring says.
9616 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
9618 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9620 (ange-ftp-write-region, ange-ftp-insert-file-contents)
9621 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9622 determining of binary transfer. (Bug#7383)
9624 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
9626 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9627 Fix port computation bug. (Bug#8618)
9629 2011-05-05 Glenn Morris <rgm@gnu.org>
9631 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9633 * simple.el (shell-dynamic-complete-functions)
9634 (comint-dynamic-complete-functions): Declare.
9636 * net/network-stream.el (gnutls-negotiate):
9637 * simple.el (tabulated-list-print): Fix declarations.
9639 * progmodes/gud.el (syntax-symbol, syntax-point):
9640 Remove unnecessary and incorrect declarations.
9642 * emacs-lisp/check-declare.el (check-declare-scan):
9643 Handle byte-compile-initial-macro-environment in bytecomp.el
9645 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9647 Fix earlier half-done eieio-defmethod change (bug#8338).
9648 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9649 Streamline and change calling convention.
9650 (defmethod): Adjust accordingly and simplify.
9651 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9652 new eieio--defmethod.
9653 (slot-boundp): Minor CSE simplification.
9655 2011-05-05 Milan Zamazal <pdm@zamazal.org>
9657 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9658 (glasses-make-readable): Use glasses-separate-capital-groups.
9660 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
9662 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9663 (warning-series): Doc fix.
9664 (display-warning): Don't try to create the buffer if we just found it.
9666 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
9668 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9669 (autoload-find-generated-file): New function.
9670 (generate-file-autoloads): Bind generated-autoload-file to
9672 (update-file-autoloads, update-directory-autoloads):
9673 Use autoload-find-generated-file. If called interactively, prompt for
9674 output file (Bug#7989).
9675 (batch-update-autoloads): Doc fix.
9677 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
9679 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9681 2011-05-04 Glenn Morris <rgm@gnu.org>
9683 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9684 function, so it follows changes in calendar-date-style.
9685 (diary-fancy-date-matcher): New function.
9686 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9687 (diary-fancy-font-lock-fontify-region-function):
9688 Use diary-fancy-date-pattern as a function.
9690 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9691 non-numbers for `year' etc pseudo-variables. (Bug#8583)
9693 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
9695 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9696 instead of positional arguments. Allow :keylist and :crlfiles
9698 (open-gnutls-stream): Call it.
9700 * net/network-stream.el (network-stream-open-starttls): Adjust to
9701 call `gnutls-negotiate' with :process and :hostname arguments.
9703 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9705 * minibuffer.el (completion--message): New function.
9706 (completion--do-completion, minibuffer-complete)
9707 (minibuffer-force-complete, minibuffer-complete-word): Use it.
9708 (completion--do-completion): Don't ignore completion-auto-help when in
9711 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9712 internal encoding (e.g. tibetan zero is not whitespace).
9713 (global-whitespace-mode): Prefer save-current-buffer.
9714 (whitespace-trailing-regexp): Remove useless save-match-data.
9715 (whitespace-empty-at-bob-regexp): Minor simplification.
9717 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
9719 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9721 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9723 * textmodes/ispell.el (ispell-add-per-file-word-list):
9724 Use `concat' to create string for insertion.
9726 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9728 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9729 Avoid open-line which runs post-self-insert-hook.
9730 (bibtex-fill-entry): Remove unused `end' var.
9732 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
9734 * textmodes/ispell.el (ispell-add-per-file-word-list):
9735 Protect against `nil' value of `comment-start' (Bug#8579).
9737 2011-05-03 Leo Liu <sdl.web@gmail.com>
9739 * isearch.el (isearch-yank-pop): New command.
9740 (isearch-mode-map): Bind it to `M-y'.
9741 (isearch-forward): Mention it.
9743 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9745 * simple.el (minibuffer-complete-shell-command): Remove.
9746 (minibuffer-local-shell-command-map): Use completion-at-point.
9747 (read-shell-command): Setup completion vars here instead.
9748 (read-expression-map): Bind TAB to symbol completion.
9750 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
9751 error directly rather via storing it into `results'.
9753 2011-05-02 Leo Liu <sdl.web@gmail.com>
9755 * vc/diff.el: Fix description.
9757 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9759 * server.el (server-eval-at): New function.
9761 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9763 * net/network-stream.el (open-network-stream): Take a :nowait
9764 parameter and pass it on to `make-network-process'.
9765 (network-stream-open-plain): Ditto.
9767 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
9769 * faces.el (face-spec-set-match-display): Don't match toolkit
9770 options on terminal frames.
9772 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9774 * progmodes/pascal.el: Use lexical binding.
9775 (pascal-mode-map): Remove author preferences.
9777 * pcomplete.el (pcomplete-std-complete): Don't abuse
9778 completion-at-point.
9780 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
9782 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9783 removing code that has been dead since 1991 or so.
9785 * startup.el (command-line): When warning about "_emacs", use a
9786 delayed warning to allow the user to filter it out.
9788 2011-04-28 Deniz Dogan <deniz@dogan.se>
9790 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9791 user has not joined.
9793 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9795 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9796 aren't any completions at point.
9798 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
9800 * subr.el (display-delayed-warnings): New function.
9801 (delayed-warnings-hook): New variable.
9803 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9805 * minibuffer.el (completion-at-point, completion-help-at-point):
9806 Don't presume that a given completion-at-point-function will always
9807 use the same calling convention.
9809 * pcomplete.el (pcomplete-completions-at-point):
9810 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
9811 pcomplete-seen is non-nil.
9812 (pcomplete-comint-setup): Also recognize the new comint/shell
9813 completion functions.
9814 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
9815 pcomplete-seen is non-nil.
9817 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
9819 * calendar/icalendar.el (diary-lib): Add require statement.
9820 (icalendar--create-uid): Read out a uid from a text-property on
9821 the first character in the entry. This allows for code to add its
9822 own uid to the entry.
9823 (icalendar--convert-float-to-ical): Add export of
9824 `diary-float'-entries save for those with the optional DAY
9827 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
9829 * subr.el (shell-quote-argument): Use alternate escaping strategy
9830 when we spot a variable reference in a string.
9832 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
9834 * cus-start.el (all): Define customization for debug-on-event.
9836 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
9838 * subr.el (shell-quote-argument): Escape correctly under Windows.
9840 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9842 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
9844 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
9846 * net/tramp.el (tramp-process-actions): Add POS argument.
9847 Delete region between POS and (pos).
9849 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9850 Use `nil' position in `tramp-process-actions' call.
9851 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
9853 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
9854 position in `tramp-process-actions' call.
9856 * net/trampver.el: Update release number.
9858 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9860 * custom.el (defcustom): Obey lexical-binding.
9862 Fix octave-inf completion problems reported by Alexander Klimov.
9863 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
9864 Inherit from octave-mode-syntax-table.
9865 (inferior-octave-mode): Set info-lookup-mode.
9866 (inferior-octave-completion-at-point): New function.
9867 (inferior-octave-complete): Use it and completion-in-region.
9868 (inferior-octave-dynamic-complete-functions): Use it as well, and use
9869 comint-filename-completion.
9870 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
9871 symbol elements which shouldn't be word elements.
9872 (octave-font-lock-keywords, octave-beginning-of-defun)
9873 (octave-function-header-regexp): Adjust regexps accordingly.
9874 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
9876 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
9878 * net/gnutls.el (gnutls-errorp): Declare before first use.
9880 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
9882 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
9883 verify-error, and verify-hostname-error parameters. Check whether
9884 default trustfile exists before going to use it. Add missing
9885 argument to gnutls-message-maybe call. Return value.
9886 Reported by Claudio Bley <claudio.bley@gmail.com>.
9887 (open-gnutls-stream): Add usage example.
9889 * net/network-stream.el (network-stream-open-starttls): Give host
9890 parameter to `gnutls-negotiate'.
9891 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
9892 * subr.el (shell-quote-argument): Escape correctly under Windows.
9894 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
9896 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9897 Use correct match group (bug#8438).
9899 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
9901 * emacs-lisp/package.el (package-built-in-p): Fix typo.
9902 (package-menu--generate): New arg specifying packages to show.
9903 (package-menu-refresh, package-menu-execute, list-packages):
9905 (package-show-package-list): New function, replacing deleted
9906 package--list-packages (renamed because it is non-internal).
9908 * finder.el (finder-list-matches): Use package-show-package-list
9909 instead of deleted package--list-packages.
9911 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
9912 Based on a previous implementation by Juanma Barranquero (Bug#8366).
9913 (vc-annotate-mode-map): Bind it to RET.
9915 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9917 * progmodes/etags.el (next-file): Don't use set-buffer to change
9920 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
9922 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
9924 * apropos.el (apropos-label-face): Avoid variable-pitch face.
9925 (apropos-accumulator): Doc fix.
9926 (apropos-function, apropos-macro, apropos-command)
9927 (apropos-variable, apropos-face, apropos-group, apropos-widget)
9928 (apropos-plist): Add face property.
9929 (apropos-symbols-internal): Fix indentation.
9930 (apropos-print): Simplify help, and recognize apropos-multi-type.
9931 (apropos-print-doc): Use button-type-get to extract the button's
9932 face property. Fill docstring (Bug#8352).
9934 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
9936 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
9938 * play/mpuz.el (mpuz-silent): Doc fix.
9939 (mpuz-mode-map): Use mapc.
9940 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
9941 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
9942 Fix typos in docstrings.
9944 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
9945 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
9947 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
9949 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
9951 * minibuffer.el (completion--do-completion): Avoid the "Next char
9952 not unique" prompt if icomplete-mode is enabled (Bug#5849).
9954 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
9955 mouse-2 into unread-command-events, it is interpreted correctly.
9957 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
9958 (image-toggle-display): Doc fix.
9960 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
9962 * textmodes/page.el (what-page): Use line-number-at-pos to
9963 calculate line number (Bug#6825).
9965 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
9967 * eshell/esh-mode.el (find-tag-interactive): Declare function.
9968 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
9969 Pass argument NO-DEFAULT to `find-tag-interactive'.
9971 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
9973 Lexical-binding cleanup.
9975 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
9976 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
9977 * progmodes/ada-prj.el (ada-prj-initialize-values)
9978 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
9979 (ada-prj-show-value):
9980 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
9981 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
9982 (antlr-invalidate-context-cache, antlr-options-menu-filter)
9983 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
9984 * progmodes/bug-reference.el (bug-reference-push-button):
9985 * progmodes/fortran.el (fortran-line-length):
9986 * progmodes/glasses.el (glasses-change):
9987 * progmodes/octave-mod.el (octave-fill-paragraph):
9988 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
9989 (python-pdbtrack-grub-for-buffer, python-sentinel):
9990 * progmodes/sql.el (sql-save-connection):
9991 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
9992 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
9993 Mark unused parameters.
9995 * progmodes/compile.el (compilation--flush-directory-cache)
9996 (compilation--flush-parse, compile-internal): Mark unused parameters.
9997 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
9998 (compilation-next-error-function): Remove unused variable `timestamp'.
10000 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10001 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10003 * progmodes/dcl-mode.el (dcl-end-of-command):
10004 Remove unused variable `start'.
10005 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10006 (dcl-option-value-basic, dcl-option-value-offset)
10007 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10008 Mark unused parameters.
10009 (dcl-save-local-variable): Remove unused variable `val'.
10012 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10013 Mark unused parameters.
10014 (delphi-ignore-changes): Move before first use.
10015 (delphi-charset-token-at): Remove unused variable `start'.
10016 (delphi-else-start): Remove unused variable `if-count'.
10017 (delphi-comment-block-start, delphi-comment-block-end):
10018 Remove unused variable `kind'.
10019 (delphi-indent-line): Remove unused variable `new-point'.
10021 * progmodes/ebrowse.el (ebrowse-files-list)
10022 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10023 Mark unused parameters. Don't quote `lambda'.
10024 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10025 Don't quote `lambda'.
10026 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10027 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10028 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10029 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10030 Use `ignore-errors'.
10031 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10032 (ebrowse-view/find-file-and-search-pattern)
10033 (ebrowse-view/find-member-declaration/definition):
10034 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10035 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10036 Rename parameter PREFIX-ARG to PREFIX.
10037 (ebrowse-tags-read-name): Remove unused variables `start' and
10039 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10042 * progmodes/etags.el (local-find-tag-hook): Declare.
10043 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10044 Mark unused parameters.
10046 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10047 (executable-interpret): Mark unused parameter.
10049 * progmodes/flymake.el (flymake-process-sentinel)
10050 (flymake-after-change-function)
10051 (flymake-create-temp-with-folder-structure)
10052 (flymake-get-include-dirs-dot): Mark unused parameters.
10053 (flymake-safe-delete-directory): Remove unused variable `err'.
10055 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10056 (speedbar-timer-fn, speedbar-line-text)
10057 (speedbar-change-expand-button-char, speedbar-delete-subblock)
10058 (speedbar-center-buffer-smartly): Declare functions.
10059 (gdb-find-watch-expression): Remove unused variable `array'.
10060 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10061 (gdb-starting): Mark unused parameters.
10062 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10063 (gdb-table-string): Remove unused variable `res'.
10064 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10065 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10066 (gdb-display-buffer): Remove unused variable `cur-size'.
10068 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10069 allow lexical-binding compilation.
10070 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10071 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10072 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10073 Mark unused parameters.
10074 (gud-gdb-marker-filter): Remove unused variable `match'.
10075 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10076 lambda expressions and funcall them, instead of using `fset'.
10078 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10079 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10081 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10082 variable `header-beg'; use `let'.
10084 * progmodes/icon.el (indent-icon-exp): Remove unused variables
10085 `restart', `last-sexp' and `at-do'.
10087 * progmodes/js.el (js--debug): Mark unused parameter.
10088 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10089 (js--splice-into-items): Remove unused variable `item'.
10090 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10092 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10093 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10094 (makefile-complete): Remove unused variable `try'.
10095 (makefile-fill-paragraph, makefile-match-function-end):
10096 Mark unused parameters.
10098 * progmodes/octave-inf.el (inferior-octave-complete):
10099 Remove unused variable `proc'.
10100 (inferior-octave-output-digest): Mark unused parameter.
10102 * progmodes/perl-mode.el (perl-calculate-indent):
10103 Remove unused variable `err'.
10105 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10106 (prolog-indent-line): Mark unused parameters.
10107 (prolog-indent-line): Remove unused variable `beg'.
10109 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10110 (reporter-dont-compact-list): Declare.
10112 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10113 Remove unused variable `char'.
10114 (sh-debug): Mark unused parameter.
10115 (sh-get-indent-info): Remove unused variable `start'.
10116 (sh-calculate-indent): Remove unused variable `var'.
10118 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10119 (simula-electric-keyword): Remove unused variable `null'.
10120 (simula-search-backward, simula-search-forward): Remove unused
10121 variables `begin' and `end'.
10123 * progmodes/vera-mode.el (vera-guess-basic-syntax):
10124 Remove unused variable `pos'.
10125 (vera-electric-tab, vera-comment-uncomment-region):
10126 Mark unused parameters.
10127 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10129 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
10131 * emacs-lisp/package.el (package--builtins, package-alist)
10132 (package-load-descriptor, package-built-in-p, package-activate)
10133 (define-package, package-installed-p)
10134 (package-compute-transaction, package-buffer-info)
10135 (package--push): Doc fix. Distinguish more clearly between
10136 version strings and version lists.
10138 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
10140 Lexical-binding cleanup.
10142 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10143 (5x5-make-mutate-best):
10144 * play/fortune.el (fortune-in-buffer):
10145 * play/gomoku.el (gomoku-init-display):
10146 * play/solitaire.el (solitaire, solitaire-do-check):
10147 * play/tetris.el (tetris-default-update-speed-function):
10148 Mark unused parameters.
10150 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10151 (bubbles--shift): Remove unused variable `char-org'.
10152 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
10153 (bubbles--show-images): Remove unused variable `char'.
10155 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10156 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10157 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10158 (decipher-analyze-buffer): Use ?\s.
10159 (decipher-make-checkpoint): Remove unused variable `mapping'.
10161 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10163 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10164 Remove unused variable `result'; use `let'.
10166 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10167 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10168 (gametree-children-shown-p, gametree-compute-reduced-score):
10169 Use `ignore-errors'.
10171 * play/handwrite.el (ps-lpr-switches): Declare.
10172 (handwrite): Remove unused variables `pmin' and `lastp'.
10174 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10176 * play/landmark.el (landmark-init-display)
10177 (landmark-update-naught-weights): Mark unused parameters.
10178 (landmark-y): Remove unused variable `noise'. Simplify.
10179 (landmark-human-plays): Remove unused variable `score'.
10181 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10182 (mpuz-try-proposal): Remove unused variable `game'.
10184 * play/zone.el (life-patterns): Declare.
10186 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
10188 * vc/vc.el (ediff-vc-internal): Declare function.
10190 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10192 * shell.el: Use lexical-binding and std completion UI.
10193 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10194 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10195 comint-preoutput-filter-functions rather than on
10196 comint-output-filter-functions.
10197 (shell-command-completion, shell--command-completion-data)
10198 (shell-filename-completion, shell-environment-variable-completion)
10199 (shell-c-a-p-replace-by-expanded-directory): New functions.
10200 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10201 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10202 (shell-dynamic-complete-environment-variable): Use them.
10203 (shell-dynamic-complete-as-environment-variable)
10204 (shell-dynamic-complete-as-command): Remove.
10205 (shell-match-partial-variable): Match past point.
10206 * comint.el: Clean up use of completion-at-point-functions.
10207 (comint-completion-at-point): New function.
10208 (comint-mode): Use it completion-at-point-functions.
10209 (comint-dynamic-complete): Make it obsolete.
10210 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10211 (comint-c-a-p-replace-by-expanded-history): New function.
10212 (comint-dynamic-complete-functions)
10213 (comint-replace-by-expanded-history): Use it.
10214 * minibuffer.el (completion-table-with-terminator): Allow dynamic
10215 termination strings. Try harder to avoid second try-completion.
10216 (completion-in-region-mode-map): Disable bindings that don't work yet.
10218 * comint.el: Use lexical-binding. Require CL.
10219 (comint-dynamic-complete-functions): Use comint-filename-completion.
10220 (comint-completion-addsuffix): Tweak custom type.
10221 (comint-filename-completion, comint--common-suffix)
10222 (comint--common-quoted-suffix, comint--table-subvert)
10223 (comint--complete-file-name-data): New functions.
10224 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10225 (comint-dynamic-list-filename-completions): Use them.
10226 (comint-dynamic-simple-complete): Make obsolete.
10228 * minibuffer.el (completion-in-region-mode):
10229 Keep completion-in-region-mode--predicate global.
10230 (completion-in-region--postch):
10231 Assume completion-in-region-mode--predicate is not null.
10233 * progmodes/flymake.el (flymake-start-syntax-check-process):
10234 Obey `dir'. Simplify.
10236 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10237 we're in VC after all.
10239 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
10241 * vc/vc.el (vc-diff-build-argument-list-internal)
10242 (vc-version-ediff, vc-ediff): New commands.
10243 (vc-version-diff): Use vc-diff-build-argument-list-internal.
10245 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10247 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10250 * obsolete/erc-hecomplete.el: Make obsolete.
10251 * obsolete/: Standardize obsolescence info in the header.
10253 2011-04-20 Glenn Morris <rgm@gnu.org>
10255 * calendar/solar.el (solar-horizontal-coordinates):
10256 Use the longitude argument rather than `calendar-longitude'.
10257 (solar-date-next-longitude): Remove unused locals.
10259 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10261 * whitespace.el: New version 13.2.1.
10263 2011-04-20 felix <EmacsWiki> (tiny change)
10265 * whitespace.el (global-whitespace-mode): Keep highlight when
10266 switching between major modes on a file.
10268 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10270 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10271 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10272 multi-line comments as well.
10274 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
10276 Lexical-binding cleanup.
10278 * arc-mode.el (archive-mode-revert):
10279 * cmuscheme.el (scheme-interactively-start-process):
10280 * custom.el (custom-initialize-delay):
10281 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10282 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10283 * emacs-lock.el (emacs-lock-clear-sentinel):
10284 * ezimage.el (defezimage):
10285 * follow.el (follow-avoid-tail-recenter):
10286 * fringe.el (set-fringe-mode-1):
10287 * generic-x.el (bat-generic-mode-compile):
10288 * help-mode.el (help-info-variable, help-do-xref)
10289 (help-mode-revert-buffer):
10290 * help.el (view-emacs-todo):
10291 * iswitchb.el (iswitchb-completion-help):
10292 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10293 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10294 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10295 * locate.el (locate-update):
10296 * longlines.el (longlines-encode-region)
10297 (longlines-after-change-function):
10298 * outline.el (outline-isearch-open-invisible):
10299 * ps-def.el (declare-function, charset-dimension, char-width)
10301 * ps-mule.el (ps-mule-plot-string):
10302 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10303 (recentf-edit-list-select, recentf-edit-list-validate)
10304 (recentf-open-files-action):
10305 * rect.el (delete-whitespace-rectangle-line)
10306 (rectangle-number-line-callback):
10307 * register.el (window-configuration-to-register)
10308 (frame-configuration-to-register):
10309 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10310 * select.el (xselect-convert-to-string, xselect-convert-to-length)
10311 (xselect-convert-to-targets, xselect-convert-to-delete)
10312 (xselect-convert-to-filename, xselect-convert-to-charpos)
10313 (xselect-convert-to-lineno, xselect-convert-to-colno)
10314 (xselect-convert-to-os, xselect-convert-to-host)
10315 (xselect-convert-to-user, xselect-convert-to-class)
10316 (xselect-convert-to-name, xselect-convert-to-integer)
10317 (xselect-convert-to-atom, xselect-convert-to-identity):
10318 * subr.el (declare, ignore, process-kill-without-query)
10319 (text-clone-maintain):
10320 * terminal.el (te-get-char, te-tic-sentinel):
10321 * tool-bar.el (tool-bar-make-keymap):
10322 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10323 * type-break.el (type-break-mode, type-break-noninteractive-query):
10324 * view.el (View-back-to-mark):
10325 * wid-browse.el (widget-browse-action, widget-browse-widget)
10326 (widget-browse-widgets, widget-browse-sexp):
10327 * widget.el (define-widget-keywords):
10328 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10329 Mark unused parameters.
10331 * align.el (align-adjust-col-for-rule): Mark unused parameter.
10332 (align-areas): Remove unused variable `look'.
10333 (align-region): Remove unused variables `real-end' and `pos-list'.
10335 * apropos.el (apropos-score-doc): Remove unused variable `i'.
10337 * bindings.el (mode-line-modified, mode-line-remote):
10338 Mark unused parameters.
10339 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10341 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10342 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10344 * comint.el (comint-history-isearch-pop-state)
10345 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10346 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10347 (comint-substitute-in-file-name): Doc fix.
10349 * completion.el (cmpl-statistics-block): Mark unused parameter.
10350 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10351 (save-completions-to-file, load-completions-from-file):
10352 Remove unused local variable `e'.
10354 * composite.el (compose-chars): Remove unused variable `len'.
10355 (lgstring-insert-glyph): Remove unused variable `g'.
10356 (compose-glyph-string): Remove unused variables `ascent',
10357 `descent', `lbearing' and `rbearing'.
10358 (compose-glyph-string-relative): Remove unused variables
10359 `lbearing', `rbearing' and `wadjust'.
10360 (compose-gstring-for-graphic): Remove unused variables `header',
10361 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
10362 (compose-gstring-for-terminal): Remove unused variables `header'
10363 and `nchars'. Use `let', not `let*'.
10365 * cus-edit.el (Custom-set, Custom-save, custom-reset)
10366 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10367 (Custom-buffer-done, custom-buffer-create-internal)
10368 (custom-browse-visibility-action, custom-browse-group-tag-action)
10369 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10370 (widget-magic-mouse-down-action, custom-toggle-parent)
10371 (custom-add-parent-links, custom-toggle-hide-variable)
10372 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10373 (custom-toggle-hide-face, face, hook, custom-group-link-action)
10374 (custom-face-menu-create, custom-variable-menu-create, get)
10375 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10376 (custom-reset-standard-save-and-update): Remove unused variable `value'.
10377 (customize-apropos): Remove unused variable `tests'.
10378 (custom-group-value-create): Remove unused variable `hidden-p'.
10379 (sort-fold-case): Declare.
10381 * cus-theme.el (custom-reset-standard-faces-list)
10382 (custom-reset-standard-variables-list): Declare.
10383 (customize-create-theme, custom-theme-revert, custom-theme-write)
10384 (custom-theme-choose-mode, customize-themes, custom-theme-save):
10385 Mark unused parameters.
10387 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10389 * delim-col.el (delimit-columns-max): Move defvar before first use.
10391 * descr-text.el (describe-char-categories): Don't quote `lambda'.
10392 (describe-char): Don't quote `lambda'. Mark unused parameter.
10394 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10395 (auto-insert): Declare.
10396 (desktop-restore-file-buffer): Rename desktop-* parameters;
10398 (desktop-create-buffer): Rename desktop-* parameters and bind them.
10399 (desktop-buffer): Rename desktop-* parameters.
10401 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10402 (dframe-reposition-frame-xemacs, dframe-help-echo)
10403 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10404 Mark unused parameters.
10406 * dired-aux.el (backup-extract-version-start, overwrite-query)
10407 (overwrite-backup-query, rename-regexp-query)
10408 (rename-non-directory-query): Declare.
10409 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10410 (dired-add-entry): Remove unused variable `orig-file-name'.
10411 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10412 Use parameter PRESERVE-TIME instead of accessing dynamic variable
10413 `dired-copy-preserve-time' directly.
10414 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10415 (dired-insert-subdir-newpos): Rename unused variable `pos'.
10417 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10418 (dired-virtual-revert, dired-make-relative-symlink):
10419 Mark unused parameters.
10420 (manual-program): Declare.
10421 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10422 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10423 wrapped in `with-no-warnings' to avoid replacing one warning by another.
10425 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10427 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10429 * echistory.el (electric-history-in-progress, Helper-return-blurb):
10432 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10434 * electric.el (Electric-command-loop): Rename parameter
10435 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10437 * expand.el (expand-in-literal): Remove unused variable `here'.
10439 * facemenu.el (facemenu-add-new-color):
10440 Remove unused variable `docstring'.
10442 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10443 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10444 (face-attr-construct): Mark unused parameter. Doc fix.
10445 (read-color): Remove unused variable `hex-string'.
10447 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10448 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10449 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10450 (display-buffer-other-frame): Remove unused variable `old-window'.
10451 (kill-buffer-hook): Declare.
10452 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10453 Mark unused parameters.
10454 (after-find-file): Pass 1 to `auto-save-mode', not t.
10456 * files-x.el (auto-insert): Declare.
10457 (modify-file-local-variable-prop-line): Remove unused variable `val'.
10459 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
10460 variable `buf'. Mark unused parameter.
10461 (find-lisp-insert-directory): Mark unused parameter.
10463 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10464 (format-encode-region): Remove unused variables `cur-buf' and `result'.
10465 (format-common-tail): Remove, unused.
10466 (format-deannotate-region): Remove unused variable `loc'.
10467 (format-annotate-region): Remove unused variable `p'.
10468 (format-annotate-single-property-change): Remove unused variables
10469 `default' and `tail'.
10471 * forms.el (read-file-filter): Declare.
10472 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10474 * frame.el (frame-creation-function-alist): Mark unused parameter.
10475 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10477 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10478 Remove unused parameters.
10479 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10480 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10482 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10483 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10484 (hfy-prepare-tag-map): Mark unused parameters.
10485 (htmlfontify-buffer): Use `called-interactively-p'.
10487 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10488 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10489 (ibuffer-do-occur): Mark unused parameters.
10490 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10491 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10493 * ibuffer.el: Don't quote `lambda'.
10494 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10495 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10496 Mark unused parameters.
10498 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10499 (ido-completing-read): Mark unused parameters.
10500 (ido-copy-current-word): Mark unused parameters;
10501 remove unused variable `name'.
10502 (ido-sort-merged-list): Remove unused parameter `dirs'.
10504 * ielm.el (ielm-input-sender): Mark unused parameter.
10505 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10506 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10507 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10508 `ielm-string' as a dynamic variable accessible from the IELM prompt.
10509 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
10511 * image-dired.el (image-dired-display-thumbs): Remove unused
10512 variables `curr-file' and `count'.
10513 (image-dired-remove-tag): Remove unused variable `start'.
10514 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10515 variable `curr-file'
10516 (image-dired-rotate-original): Remove unused variable `temp-file'.
10517 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10518 Remove unused variable `file'.
10519 (image-dired-gallery-generate): Remove unused variable `curr'.
10520 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10522 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10524 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10526 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10528 * isearch.el (minibuffer-history-symbol): Declare.
10529 (isearch-edit-string): Remove unused variable `err'.
10530 (isearch-message-prefix, isearch-message-suffix):
10531 Mark unused parameters.
10533 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10535 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10537 * makesum.el (double-column): Remove unused variable `cnt'.
10539 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10540 (ido-ignore-item-temp-list): Declare.
10542 * mouse-drag.el (mouse-drag-throw): Remove unused variables
10543 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10544 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10545 (mouse-drag-drag): Remove unused variables `mouse-delta' and
10548 * mouse-sel.el (mouse-extend-internal):
10549 Remove unused variable `orig-window-frame'.
10551 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10552 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10553 Move declarations before first use.
10554 (pcomplete-opt): Mark unused parameters; doc fix.
10556 * proced.el (proced-revert): Mark unused parameter.
10557 (proced-send-signal): Remove unused variable `err'.
10559 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10560 Rename parameter PREFIX-ARG to ARG.
10561 (ps-basic-plot-string, ps-basic-plot-whitespace):
10562 Mark unused parameters.
10564 * replace.el (replace-count): Define.
10565 (occur-revert-function): Mark unused parameters.
10566 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10567 (isearch-case-fold-search, isearch-string): Declare.
10568 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10569 bind `case-fold-search'. Remove unused variables `beg' and `end',
10571 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10572 COUNT and bind `replace-count'.
10573 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10576 * savehist.el (print-readably, print-string-length): Declare.
10578 * shadowfile.el (shadow-expand-cluster-in-file-name):
10579 Remove unused variable `cluster'.
10580 (shadow-copy-file): Remove unused variable `i'.
10581 (shadow-noquery, shadow-clusters, shadow-site-cluster)
10582 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10583 (shadow-define-literal-group, shadow-define-regexp-group)
10584 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10586 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10587 (shell): Use `called-interactively-p'.
10588 (shell-directory-tracker): Remove unused variable `chdir-failure'.
10590 * simple.el (compilation-context-lines, comint-file-name-quote-list)
10591 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10592 (delete-backward-char): Remove unused variable `ocol'.
10593 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10594 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10595 (event-apply-hyper-modifier, event-apply-shift-modifier)
10596 (event-apply-control-modifier, event-apply-meta-modifier):
10597 Mark unused parameters.
10598 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10599 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10601 * speedbar.el (speedbar-ignored-directory-expressions)
10602 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10603 (speedbar-find-file, speedbar-dir-follow)
10604 (speedbar-directory-buttons-follow, speedbar-tag-find)
10605 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10606 (speedbar-buffers-line-directory, speedbar-buffer-click):
10607 Mark unused parameters.
10608 (speedbar-tag-file): Remove unused variable `mode'.
10609 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10611 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10613 * talk.el (talk): Remove unused variable `display'.
10615 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10616 (tar-write-region-annotate): Mark unused parameter.
10618 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10619 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10620 Declare them, wrapped in `with-no-warnings' to avoid replacing one
10621 warning by another.
10623 * time-stamp.el (time-stamp-string-preprocess):
10624 Remove unused variable `require-padding'.
10626 * tree-widget.el (widget-glyph-enable): Declare.
10627 (tree-widget-action): Mark unused parameter.
10629 * w32-fns.el (x-get-selection): Mark unused parameter.
10630 (autoload-make-program, generated-autoload-file): Declare.
10632 * wdired.el (wdired-revert): Mark unused parameters.
10633 (wdired-xcase-word): Remove unused variable `err'.
10635 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10636 (whitespace-help-scroll): Remove unused variable `data-help'.
10638 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10639 (widget-image-insert, widget-after-change, default)
10640 (widget-default-format-handler, widget-default-notify)
10641 (widget-default-prompt-value, widget-info-link-action)
10642 (widget-url-link-action, widget-function-link-action)
10643 (widget-variable-link-action, widget-file-link-action)
10644 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10645 (widget-field-prompt-internal, widget-field-action, widget-field-match)
10646 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10647 (widget-insert-button-action, widget-delete-button-action, visibility)
10648 (widget-documentation-link-action, widget-documentation-string-action)
10649 (widget-const-prompt-value, widget-regexp-match, symbol)
10650 (widget-coding-system-prompt-value)
10651 (widget-key-sequence-value-to-external, sexp)
10652 (widget-sexp-value-to-internal, character, vector, cons)
10653 (widget-choice-prompt-value, widget-boolean-prompt-value)
10654 (widget-color--choose-action): Mark unused parameters.
10655 (widget-item-match-inline, widget-choice-match-inline)
10656 (widget-checklist-match, widget-checklist-match-inline)
10657 (widget-group-match): Rename parameter VALUES to VALS.
10658 (widget-field-value-set): Remove unused variable `size'.
10659 (widget-color-action): Remove unused variables `value' and `start'.
10661 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
10662 variable `dir'. Doc fix.
10663 (windmove-find-other-window): Don't pass it.
10665 * window.el (count-windows): Mark unused parameter.
10666 (bw-adjust-window): Remove unused variable `err'.
10668 * woman.el (woman-file-name): Remove unused variable `default'.
10669 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10670 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10671 (global-font-lock-mode): Declare.
10672 (woman-decode-region): Mark unused parameter.
10673 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10675 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10676 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10677 (x-dnd-handle-moz-url): Remove unused variable `title'.
10678 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10680 * xml.el (xml-parse-tag, xml-parse-attlist):
10681 Remove unused variable `pos'.
10683 2011-04-19 Glenn Morris <rgm@gnu.org>
10685 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10686 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10687 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10688 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10689 * calendar/cal-html.el (cal-html-insert-minical):
10690 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10691 (calendar-mark-date-pattern):
10692 Prefix "unused" locals.
10694 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10695 optional argument `style'.
10697 * calendar/appt.el (appt-make-list):
10698 * calendar/cal-china.el (calendar-chinese-date-string):
10699 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10700 (diary-hebrew-yahrzeit):
10701 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10702 * calendar/calendar.el (calendar-generate-window):
10703 * calendar/time-date.el (time-to-days):
10704 Remove unused local variables.
10706 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
10708 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10709 glyphless-char-display table.
10710 (tabulated-list-glyphless-char-display): New var.
10712 2011-04-18 Sam Steingold <sds@gnu.org>
10714 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10715 to acknowledgments.
10717 2011-04-17 Glenn Morris <rgm@gnu.org>
10719 * calendar/diary-lib.el (diary-sexp-entry):
10720 * calendar/holidays.el (holiday-sexp):
10721 Set debug-on-error rather than the removed stack-trace-on-error.
10723 2011-04-16 Glenn Morris <rgm@gnu.org>
10725 * progmodes/f90.el: Use lexical-binding.
10726 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10728 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10730 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10731 (mail-mode): Setup mailalias completion here instead.
10732 * mail/mailalias.el: Use lexical-binding.
10733 (pattern, mailalias-done): Declare dynamic.
10734 (mail-completion-at-point-function): New function, from mail-complete.
10735 (mail-complete): Use it.
10736 (mail-completion-expand): New function.
10737 (mail-get-names): Use it.
10738 (mail-directory, mail-directory-process, mail-directory-stream):
10739 Don't use `pattern' for lexically bound arg.
10741 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
10743 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
10744 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
10745 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
10747 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
10748 (byte-save-window-excursion, byte-temp-output-buffer-setup)
10749 (byte-interactive-p): Define them again, for use when inlining
10752 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
10754 * loadup.el: Use `string-to-number', not `string-to-int'.
10756 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10758 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
10759 gud-gdb-complete-command.
10760 (gud-gdb-completions): New function, from gud-gdb-complete-command.
10761 (gud-gdb-completion-at-point): New function.
10762 (gud-gdb-completions): Remove.
10764 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
10766 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
10767 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
10768 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10769 whether `executable-find' is bound.
10771 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10773 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10775 * minibuffer.el (completion-in-region-mode-predicate)
10776 (completion-in-region-mode--predicate): New vars.
10777 (completion-in-region, completion-in-region--postch)
10778 (completion-in-region-mode): Use them.
10779 (completion--capf-wrapper): Also return the hook function.
10780 (completion-at-point, completion-help-at-point):
10781 Adjust and provide a predicate.
10783 Preserve arg names for advice of subr and lexical functions (bug#8457).
10784 * help-fns.el (help-function-arglist): Consolidate the subr and
10785 new-byte-code cases. Add argument `preserve-names' to extract names
10786 from the docstring when needed.
10787 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10788 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10789 (ad-arglist): Use help-function-arglist's new arg.
10790 (ad-definition-type): Use cond.
10792 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
10794 * autorevert.el (auto-revert-handler):
10795 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10796 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10797 Don't quote lambda.
10799 * image-mode.el (image-transform-set-scale):
10800 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
10802 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10804 * net/network-stream.el (network-stream-open-starttls): Only do
10805 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
10806 Upgrades via gnutls-cli are too slow to be done opportunistically.
10808 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
10810 * dframe.el (dframe-current-frame): Remove spurious quote.
10812 2011-04-12 Glenn Morris <rgm@gnu.org>
10814 * calendar/cal-tex.el (cal-tex-end-document):
10815 Try to automatically use latin1 input if needed.
10817 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
10818 Don't try to cons a mark onto an empty element.
10820 2011-04-11 Leo Liu <sdl.web@gmail.com>
10822 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
10824 (ido-kill-buffer-at-head): Support killing virtual buffers.
10826 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
10828 * minibuffer.el (completion-show-inline-help): New var.
10829 (completion--do-completion, minibuffer-complete)
10830 (minibuffer-force-complete, minibuffer-complete-word):
10831 Inhibit minibuffer messages if completion-show-inline-help is nil.
10833 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
10834 to avoid interference from inline help (Bug#5849).
10836 2011-04-10 Leo Liu <sdl.web@gmail.com>
10838 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10841 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
10843 * image-mode.el (image-toggle-display-image): Signal an error if
10845 (image-transform-mode, image-transform-resize)
10846 (image-transform-set-rotation): Doc fix.
10847 (image-transform-set-resize): Delete.
10848 (image-transform-set-scale, image-transform-fit-to-height)
10849 (image-transform-fit-to-width): Handle image-toggle-display-image
10850 and image-transform-resize directly.
10852 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
10854 * doc-view.el (doc-view-fit-width-to-window)
10855 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
10856 New functions for fitting the shown image to the Emacs window size.
10857 (doc-view-mode-map): Add bindings for the new functions.
10859 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
10861 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
10862 Fix typo in docstring.
10864 2011-04-08 Eli Zaretskii <eliz@gnu.org>
10866 * files.el (file-size-human-readable): Produce one digit after
10867 decimal, like "ls -lh" does.
10869 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
10870 the file size representation.
10872 * simple.el (list-processes): If async subprocesses are not
10873 available, error out with a clear error message.
10875 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
10877 * help.el (help-form-show): New function, to be called from C.
10878 Put help-form output in a buffer named differently than *Help*.
10880 2011-04-08 Eli Zaretskii <eliz@gnu.org>
10882 * files.el (file-size-human-readable): New function.
10884 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
10885 computing the representation inline. Don't require `cl'.
10887 2011-04-08 Glenn Morris <rgm@gnu.org>
10889 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
10891 * net/browse-url.el (browse-url-firefox):
10892 Test system-type, not system-configuration.
10894 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
10895 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
10896 Use log-edit-empty-buffer-p. (Bug#7598)
10898 * net/rlogin.el (rlogin-process-connection-type): Simplify.
10899 (rlogin-mode-map): Initialize in the defvar.
10900 (rlogin): Use ignore-errors.
10902 * replace.el (occur-mode-map): Some fixes for menu items.
10904 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10906 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
10908 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
10910 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
10911 issuing unused warnings.
10913 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
10916 * simple.el: Lisp reimplement of list-processes. Based on an
10917 earlier reimplementation by Leo Liu, but using tabulated-list.el.
10918 (process-menu-mode): New major mode.
10919 (list-processes--refresh, list-processes):
10920 (process-menu-visit-buffer): New functions.
10922 * files.el (save-buffers-kill-emacs): Don't assume any return
10923 value of list-processes, which is undocumented anyway.
10925 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
10927 * emacs-lisp/tabulated-list.el: New file.
10929 * emacs-lisp/package.el: Use Tabulated List mode.
10930 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
10931 (package-menu-mode): Derive from tabulated-list-mode. Set up the
10932 table format using Tabulated List mode variables.
10933 (package--push): New macro, replacing package-list-maybe-add.
10934 (package-menu--generate): Use package--push. Renamed from
10935 package--generate-package-list.
10936 (package-menu-refresh, list-packages): Use it.
10937 (package-menu--print-info): Rename from package-print-package.
10938 Return insertion data instead of inserting it directly.
10939 (package-menu-describe-package, package-menu-execute):
10940 Use tabulated-list-get-id.
10941 (package-menu-mark-delete, package-menu-mark-install)
10942 (package-menu-mark-unmark, package-menu-backup-unmark)
10943 (package-menu-mark-obsolete-for-deletion):
10944 Use tabulated-list-put-tag.
10945 (package--list-packages, package-menu-revert)
10946 (package-menu-get-package, package-menu-get-version)
10947 (package-menu-sort-by-column): Functions deleted.
10948 (package-menu-package-list, package-menu-sort-key): Vars deleted.
10949 (package-menu--status-predicate, package-menu--version-predicate)
10950 (package-menu--name-predicate)
10951 (package-menu--description-predicate): Handle arguments in the
10952 Tabulated List format.
10953 (package-list-packages-no-fetch): Call list-packages.
10955 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
10957 * files.el (after-find-file-from-revert-buffer): Remove variable.
10958 (after-find-file): Don't bind it.
10959 (revert-buffer-in-progress-p): New variable.
10960 (revert-buffer): Bind it.
10961 Pass nil for `after-find-file-from-revert-buffer'.
10963 * saveplace.el (save-place-find-file-hook): Use new variable
10964 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
10966 2011-04-06 Glenn Morris <rgm@gnu.org>
10968 * Makefile.in (AUTOGEN_VCS): New variable.
10969 (autoloads): Use $AUTOGEN_VCS.
10971 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
10972 * calendar/calendar.el (calendar-mode-map):
10973 Check for toolkit scroll bars. (Bug#8305)
10975 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
10977 * minibuffer.el (completion-in-region--postch)
10978 (completion-in-region-mode): Remove unnecessary messages.
10980 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
10982 * font-lock.el (font-lock-refresh-defaults):
10983 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
10984 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
10986 * info.el (Info-directory-list, Info-read-node-name-2)
10987 (Info-split-parameter-string): Doc fixes.
10988 (Info-virtual-nodes): Reflow docstring.
10989 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
10990 (Info-apropos-toc-nodes, info-finder, Info-get-token)
10991 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
10992 Fix typos in docstrings.
10993 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
10994 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
10995 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
10996 (Info-restore-desktop-buffer): Mark unused parameters.
10997 (Info-directory-find-file, Info-directory-find-node)
10998 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
10999 (Info-virtual-index-find-node, Info-apropos-find-file)
11000 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
11001 Mark unused parameters; fix typos in docstrings.
11002 (Info-virtual-index): Remove unused local variable `nodename'.
11004 2011-04-05 Deniz Dogan <deniz@dogan.se>
11006 * net/rcirc.el: Update my e-mail address.
11007 (rcirc-mode-map): Remove M-o binding.
11009 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
11011 * startup.el (command-line): Save the cursor's theme-face
11012 directly, instead of using face-override-spec.
11014 * custom.el (load-theme): Minor optimization in assigning faces.
11016 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
11018 * help-fns.el (describe-variable): Complete all variables having
11019 documentation, including keywords.
11020 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11022 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
11024 Convert to lexical-binding.
11026 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11027 (bs--get-marked-string, bs--get-modified-string)
11028 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11029 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11030 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11032 * ehelp.el (electric-help-execute-extended)
11033 (electric-help-ctrl-x-prefix):
11034 * hexl.el (hexl-revert-buffer-function):
11035 * linum.el (linum-after-change, linum-after-scroll):
11036 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11038 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11040 2011-04-04 Daiki Ueno <ueno@unixuser.org>
11047 * epg.el: Use lexical binding.
11049 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
11051 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11053 * textmodes/flyspell.el (flyspell-word): Recognize default
11054 dictionary case for flyspell-mark-duplications-exceptions.
11055 Use regexp matching for languages.
11056 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11057 default dictionary (Bug#7926).
11059 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
11061 * emacs-lisp/package.el (package--with-work-buffer):
11062 Recognize https URLs.
11064 * net/network-stream.el: Move from gnus/proto-stream.el.
11065 Change prefix to network-stream throughout.
11066 (open-protocol-stream): Merge into open-network-stream, leaving
11067 open-protocol-stream as an alias. Handle nil BUFFER args.
11069 * subr.el (open-network-stream): Move to net/network-stream.el.
11071 2011-04-02 Glenn Morris <rgm@gnu.org>
11073 * find-dired.el (find-exec-terminator): New option.
11074 (find-ls-option): Test for -ls support.
11075 (find-ls-subdir-switches): Test for -b in find-ls-option.
11076 (find-dired, find-grep-dired): Doc fixes.
11077 (find-dired): Use find-exec-terminator.
11079 * find-dired.el (find-ls-option, find-ls-subdir-switches)
11080 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11081 (find-name-arg): Remove purecopy.
11083 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11084 (grep-compute-defaults): Check for `-exec COMMAND +' support.
11085 Set grep-find-use-xargs, grep-find-command, and grep-find-template
11086 accordingly. Don't add the null-device if not needed.
11088 * files.el (save-some-buffers): Doc fix.
11090 2011-04-02 Eli Zaretskii <eliz@gnu.org>
11092 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11094 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
11096 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11097 Use `dolist' rather than `mapcar'.
11099 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11101 Add lexical binding.
11103 * subr.el (apply-partially): Use new closures rather than CL.
11104 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11105 (dolist, dotimes): Use slightly different expansion for lexical code.
11106 (functionp): Move to C.
11107 (letrec): New macro.
11108 (with-wrapper-hook): Use it and apply-partially instead of CL.
11109 (eval-after-load): Preserve lexical-binding.
11110 (save-window-excursion, with-output-to-temp-buffer): Turn them
11113 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11115 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11117 (help-add-fundoc-usage): Don't add `Not documented'.
11118 (help-function-arglist): Handle closures, subroutines, and new
11119 byte-code-functions.
11120 (help-make-usage): Remove leading underscores.
11121 (describe-function-1): Handle closures.
11122 (describe-variable): Use special-variable-p for completion.
11124 * files.el (lexical-binding): Declare safe.
11126 * emacs-lisp/pcase.el: Don't use destructuring-bind.
11127 (pcase--memoize): Rename from pcase-memoize. Change weakness.
11128 (pcase): Add `let' pattern.
11129 Change memoization so it actually works.
11130 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11131 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11134 * emacs-lisp/macroexp.el: Use lexical binding.
11135 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
11136 Don't convert ' to #' without checking that it's indeed quoting
11139 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
11140 Use eval-sexp-add-defvars.
11141 (eval-sexp-add-defvars): New fun.
11143 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11145 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11147 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11148 than the internal `byte-compile-lambda'.
11149 (defmethod): Don't hide code under quotes.
11150 (eieio-defmethod): New `code' argument.
11152 * emacs-lisp/eieio-comp.el: Remove.
11154 * emacs-lisp/edebug.el (edebug-eval-defun)
11155 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11156 (edebug-toggle): Avoid `eval'.
11158 * emacs-lisp/disass.el (disassemble-internal): Handle new
11160 (disassemble-1): Handle new byte codes.
11162 * emacs-lisp/cl.el (pushnew): Silence warning.
11164 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11165 (cl-byte-compile-throw): Remove.
11166 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11168 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11171 * emacs-lisp/cconv.el: New file.
11173 * emacs-lisp/bytecomp.el: Use lexical binding instead of
11174 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
11175 (byte-compile-initial-macro-environment):
11176 Handle declare-function here.
11177 (byte-compile--lexical-environment): New var.
11178 (byte-stack-ref, byte-stack-set, byte-discardN)
11179 (byte-discardN-preserve-tos): New lap codes.
11180 (byte-interactive-p): Don't use any more.
11181 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11183 (byte-compile-lapcode): Use them and handle new lap codes.
11184 (byte-compile-obsolete): Remove.
11185 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11186 (byte-compile-arglist-warn): Check late def of inlinable funs.
11187 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11188 since they should have been expanded by now.
11189 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11190 (byte-compile-from-buffer): Remove unused second arg.
11191 (byte-compile-preprocess): New function.
11192 (byte-compile-toplevel-file-form): New function to distinguish
11193 file-form calls from outside from file-form calls from hunk-handlers.
11194 (byte-compile-file-form): Simplify.
11195 (byte-compile-file-form-defsubst): Remove.
11196 (byte-compile-file-form-defmumble): Simplify now that
11197 byte-compile-lambda always returns a byte-code-function.
11198 (byte-compile): Preprocess.
11199 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11200 Remove, not used any more.
11201 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11202 (byte-compile-make-args-desc): New funs.
11203 (byte-compile-lambda): Handle lexical functions. Always return
11204 a byte-code-function.
11205 (byte-compile-reserved-constants): New var, to make up room for
11206 closed-over variables.
11207 (byte-compile-constants-vector): Obey it.
11208 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11209 (byte-compile-macroexpand-declare-function): New function.
11210 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11211 byte-code-functions.
11212 (byte-compile-form): Check obsolescence here.
11213 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11214 (byte-compile-variable-ref): Remove.
11215 (byte-compile-dynamic-variable-op): New fun.
11216 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11217 (byte-compile-variable-set): New funs.
11218 (byte-compile-discard): Add 2 args.
11219 (byte-compile-stack-ref, byte-compile-stack-set)
11220 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11221 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11222 macroexpand-all instead.
11223 (byte-compile-quote-form): Remove.
11224 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11225 (byte-compile-bind, byte-compile-unbind): New funs.
11226 (byte-compile-let): Handle let* and lexical binding.
11227 (byte-compile-let*): Remove.
11228 (byte-compile-catch, byte-compile-unwind-protect)
11229 (byte-compile-track-mouse, byte-compile-condition-case):
11230 Handle a new :fun-body form, used for lexical scoping.
11231 (byte-compile-save-window-excursion)
11232 (byte-compile-with-output-to-temp-buffer): Remove.
11233 (byte-compile-defun): Simplify.
11234 (byte-compile-stack-adjustment): New fun.
11235 (byte-compile-out): Use it.
11236 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11238 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11241 * emacs-lisp/byte-opt.el: Use lexical binding.
11242 (byte-inline-lapcode): Remove (to bytecomp).
11243 (byte-compile-inline-expand): Pay attention to inlining to/from
11244 lexically bound code.
11245 (byte-compile-unfold-lambda): Don't handle byte-code-functions
11247 (byte-optimize-form-code-walker): Don't handle save-window-excursion
11248 any more and don't call compiler-macros.
11249 (byte-compile-splice-in-already-compiled-code): Remove.
11250 (byte-code): Don't inline any more.
11251 (disassemble-offset): Receive `bytes' as argument rather than via
11253 (byte-compile-tag-number): Declare before first use.
11254 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11255 `return' even if make-spliceable.
11256 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11257 obsolete interactive-p.
11258 (byte-optimize-lapcode): Optimize new lap-codes.
11259 Don't trip up on new form of `byte-constant' lap code.
11261 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11263 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11265 * custom.el (custom-initialize-default, custom-declare-variable):
11268 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11270 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11271 (COMPILE_FIRST): Add macroexp and cconv.
11272 * makefile.w32-in: Mirror changes in Makefile.in.
11274 * vc/cvs-status.el:
11278 * vc/smerge-mode.el:
11279 * textmodes/bibtex-style.el:
11280 * textmodes/css.el:
11288 * emacs-lisp/smie.el:
11291 * abbrev.el: Use lexical binding.
11293 2011-04-01 Eli Zaretskii <eliz@gnu.org>
11295 * info.el (info-display-manual): New function.
11297 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11299 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11301 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
11303 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
11304 an entry for that server in rcirc-authinfo. (Bug#8385)
11306 2011-03-31 Glenn Morris <rgm@gnu.org>
11308 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11310 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11312 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
11314 * progmodes/python.el (python-default-interpreter)
11315 (python-python-command-args, python-jython-command-args)
11316 (python-which-shell, python-which-args, python-which-bufname)
11317 (python-file-queue, python-comint-output-filter-function)
11318 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11319 variables and functions.
11321 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11323 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11324 (completion-in-region-mode): New minor mode.
11325 (completion-in-region): Use it.
11326 (completion-in-region--data, completion-in-region-mode-map): New vars.
11327 (completion-in-region--postch): New function.
11328 (completion--capf-misbehave-funs, completion--capf-safe-funs):
11330 (completion--capf-wrapper): New function.
11331 (completion-at-point): Use it to track well-behavedness of
11333 (completion-help-at-point): New command.
11335 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
11337 * vc/add-log.el (add-change-log-entry): Don't use whitespace
11338 syntax class to search for whitespace on a single line
11339 (Message-ID: <4D938140.4030905@redhat.com>).
11341 2011-03-30 Leo Liu <sdl.web@gmail.com>
11343 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11345 (edit-abbrevs-map): Bind them here.
11346 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
11348 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
11350 * allout.el (allout-hide-by-annotation, allout-flag-region):
11351 Reduce possibility of overlay leakage by making them volatile.
11353 * allout-widgets.el (allout-widgets-tally): Define as nil so the
11354 hash is not shared between buffers. Mode initialization is
11355 responsible for giving it a useful starting value.
11356 (allout-item-span): Reduce possibility of overlay leakage by
11357 making them volatile.
11358 (allout-widgets-count-buttons-in-region): Add diagnostic function
11359 for tracking down button overlay leaks.
11361 2011-03-29 Leo Liu <sdl.web@gmail.com>
11363 * ido.el (ido-read-internal): Use the default history var
11364 minibuffer-history if no HISTORY is specified.
11366 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
11368 * net/imap.el (imap-shell-open, imap-process-connection-type):
11369 Use imap-process-connection-type for 'shell' streams as well as
11370 Kerberos, SSL, other subprocesses.
11372 2011-03-28 Leo Liu <sdl.web@gmail.com>
11374 * abbrev.el (abbrev-table-empty-p): New function.
11375 (prepare-abbrev-list-buffer): Place empty abbrev tables after
11376 nonempty ones. (Bug#5937)
11378 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
11380 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11382 2011-03-27 Leo Liu <sdl.web@gmail.com>
11384 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11385 for foreground and background colors.
11386 (ansi-color-make-color-map): Adapt.
11388 2011-03-25 Leo Liu <sdl.web@gmail.com>
11390 * midnight.el (midnight-time-float): Remove. Note it calculates
11391 the microsecond component incorrectly and seconds-to-time does the
11393 Remove redundant (require 'timer).
11395 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11396 (ido-completions): Remove unused arguments. (Bug#8329)
11398 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11400 * minibuffer.el (completion--flush-all-sorted-completions):
11401 Remove itself from hook.
11402 (completion-at-point): Let the functions perform the completion
11403 immediately and return nil or t.
11404 * comint.el (comint-dynamic-complete-functions): Now identical to
11405 completion-at-point-functions.
11406 (comint-dynamic-list-input-ring): Remove unused var `index'.
11407 (comint--match-partial-filename, comint--unquote&expand-filename):
11408 New funs, split from comint-match-partial-filename.
11409 (comint-dynamic-complete): Use completion-at-point.
11410 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11412 2011-03-24 Drew Adams <drew.adams@oracle.com>
11414 * thingatpt.el: Support `defun'.
11416 2011-03-23 Leo Liu <sdl.web@gmail.com>
11418 * abbrevlist.el: Move to obsolete/abbrevlist.el.
11420 * help-mode.el (help-mode-finish): Tweak regexp.
11422 2011-03-23 Glenn Morris <rgm@gnu.org>
11424 * eshell/esh-opt.el (eshell-eval-using-options):
11425 Do not bind unused local variable `eshell-option-stub'.
11427 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11429 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
11431 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11432 keymap variable in `with-no-warnings' to avoid a warning when the
11433 keymap has been already `defconst'ed.
11435 2011-03-22 Leo Liu <sdl.web@gmail.com>
11437 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11438 encode all chars in abbrevs; otherwise use emacs-mule or
11439 utf-8-emacs. (Bug#8308)
11441 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
11443 * simple.el (backward-delete-char-untabify):
11444 Avoid warning about using `delete-backward-char'.
11446 * image.el (image-type-file-name-regexps): Make it variable.
11447 `imagemagick-register-types' modifies it, and the user may want
11448 to add new extensions for known image types.
11449 (imagemagick-register-types): Throw error if not using ImageMagick.
11451 2011-03-22 Leo Liu <sdl.web@gmail.com>
11453 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11454 located before rcirc-prompt-end-marker.
11455 (rcirc-complete): Error if point is not after rcirc prompt.
11456 Handle the case when table is nil.
11457 (rcirc-user-authenticated): Define to fix compiler warning.
11459 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
11461 * custom.el (custom--inhibit-theme-enable): Make it affect only
11462 custom-theme-set-variables and custom-theme-set-faces.
11463 (provide-theme): Ignore custom--inhibit-theme-enable.
11464 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11465 (custom-enabling-themes): Delete variable.
11466 (enable-theme): Accept only loaded themes as arguments.
11467 Ignore the special custom-enabled-themes variable.
11468 (custom-enabled-themes): Forbid themes from setting this.
11469 Eliminate use of custom-enabling-themes.
11470 (custom-push-theme): Quote "changed" custom var entry.
11472 2011-03-21 Leo Liu <sdl.web@gmail.com>
11474 * ido.el (ido-read-internal): Add ido-selected to history instead
11477 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11479 * subr.el (deferred-action-list, deferred-action-function):
11482 2011-03-21 Leo Liu <sdl.web@gmail.com>
11484 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11485 change on 2011-02-13 (bug#8309).
11487 * minibuffer.el (read-file-name-function): Change default value.
11488 (read-file-name--defaults): Rename from read-file-name-defaults.
11489 (read-file-name-default): Rename from read-file-name.
11490 (read-file-name): Call read-file-name-function.
11492 2011-03-21 Glenn Morris <rgm@gnu.org>
11494 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11497 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
11499 * cus-theme.el: Add missing provide statement.
11500 (customize-create-theme): Extract theme value correctly.
11501 (custom-theme-visit-theme): Autoload.
11502 (customize-create-theme): Prompt before inserting default faces.
11504 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
11506 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11507 units and musical notes.
11509 2011-03-20 Leo Liu <sdl.web@gmail.com>
11511 * ido.el (ido-read-internal): Use completing-read-default.
11512 (ido-completing-read): Fix compatibility with completing-read.
11514 2011-03-20 Christian Ohler <ohler@gnu.org>
11516 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11517 (ert-delete-all-tests): Use `called-interactively-p' rather than
11519 (ert--make-xrefs-region): Respect END.
11521 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
11523 * dired-aux.el (dired-create-directory): Signal an error if the
11524 directory already exists (Bug#8246).
11526 * facemenu.el (list-colors-display): Call list-faces-display
11527 inside with-help-window.
11528 (list-colors-print): Use display property to align the final
11529 column, instead of checking window-width.
11531 2011-03-19 Eli Zaretskii <eliz@gnu.org>
11533 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
11534 windows-nt systems.
11535 (emerge-protect-metachars): Quote correctly for ms-dos and
11536 windows-nt systems.
11538 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
11540 * info.el (info-initialize): Replace all uses of `:' with
11541 path-separator for compatibility with non-Unix systems.
11542 Cache quoting of path-separator. (Bug#8258)
11544 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
11546 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11547 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11548 (mouse-avoidance-mode): Fix typos in docstrings.
11550 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
11552 * startup.el (package-subdirectory-regexp): Move from package.el.
11553 Omit \\` and \\', and let callers add them.
11555 * emacs-lisp/package.el (package-strip-version)
11556 (package-load-all-descriptors): Add \\` and \\' to
11557 package-subdirectory-regexp before using it.
11558 (package-untar-buffer): New arg DIR; ensure that file untars only
11559 into this expected directory. Remove superfluous delete-region.
11560 (package-unpack): Caller changed.
11561 (package-tar-file-info): Use package-subdirectory-regexp.
11563 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11565 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11566 diff-mode-shared-map (bug#8284).
11567 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
11569 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11571 * calendar/time-date.el (format-seconds): Use assoc instead of
11572 assoc-string, since assoc-string doesn't exist in XEmacs.
11574 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
11576 * custom.el (custom-known-themes): Reflow docstring.
11577 (custom-theme-load-path): Fix typo in docstring.
11578 (load-theme): Fix typo in error message.
11579 (custom-available-themes, custom-variable-theme-value):
11580 Use `let', not `let*'.
11582 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11584 * calc/README: Mention inclusion of musical notes.
11586 * calc/calc-units.el (calc-lu-quant): Rename from
11587 `calc-logunits-quantity'.
11588 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11589 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11590 (calc-db): Rename from `calc-dblevel'.
11591 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11592 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11593 (calc-np): Rename from `calc-nplevel'.
11594 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11595 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11596 (calc-lu-plus): Rename from `calc-logunits-add'.
11597 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11598 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11599 (calc-lu-minus): Rename from `calc-logunits-sub'.
11600 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11601 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11602 (calc-lu-times): Rename from `calc-logunits-mul'.
11603 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11604 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11605 (calc-lu-divide): Rename from `calc-logunits-div'.
11606 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11607 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11609 * calc/calc-ext.el (calc-init-extensions): Update the names of the
11610 functions being autoloaded.
11612 * calc/calc.el (calc-lu-power-reference): Rename from
11613 `calc-logunits-power-reference'.
11614 (calc-lu-field-reference): Rename from
11615 `calc-logunits-field-reference'.
11617 * calc/calc-help.el (calc-l-prefix-help):
11618 Mention musical note functions.
11620 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11622 * minibuffer.el (completion-all-sorted-completions):
11623 Use :completion-cycle-penalty text property if present.
11625 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
11627 * allout.el (allout-yank-processing): Adjust for new rebulleting
11628 regime so bullet being yanked is used without prompting the user
11631 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
11633 * startup.el (command-line): Warn the user that _emacs is deprecated.
11635 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
11637 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11638 (delphi-verbose, delphi-comment-face, delphi-string-face)
11639 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11640 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11641 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11642 (delphi-new-comment-line, delphi-font-lock-defaults)
11643 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11644 Fix typos in docstrings.
11646 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
11648 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
11649 Invert the roles of character and string values for INSTEAD, so a
11650 string is used for the more common case of a defaulting prompt.
11652 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11654 * progmodes/ruby-mode.el (ruby-backward-sexp):
11655 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11656 * play/gamegrid.el (gamegrid-make-face):
11657 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11658 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11659 * notifications.el (notifications-notify):
11660 * net/xesam.el (xesam-search-engines):
11661 * net/quickurl.el (quickurl-list-insert):
11662 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11664 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
11666 * startup.el (command-line): Update package subdirectory regexp.
11668 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11670 * allout.el (allout-abbreviate-flattened-numbering)
11671 (allout-mode-deactivate-hook): Fix up obsolescence "date".
11673 * subr.el (read-char-choice): Only show the cursor after the prompt,
11674 not after the answer.
11676 2011-03-15 Kevin Ryde <user42@zip.com.au>
11678 * help-fns.el (variable-at-point): Skip leading quotes, if any
11681 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11683 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11686 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
11688 * shell.el (shell): When called interactively, offer to change the
11689 shell file name on remote hosts.
11691 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
11693 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11694 integration for LDAP parameters. The host, base, user or binddn,
11695 and secret tokens can be specified in a netrc file, for instance.
11696 This is optional because an `auth-source' parameter must be
11697 specified in the search attributes.
11699 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
11701 * help.el (describe-mode): Link to the mode's definition (bug#8185).
11703 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11705 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11706 into declaration. Remove redundant and harmful binding.
11708 2011-03-12 Eli Zaretskii <eliz@gnu.org>
11710 * files.el (file-ownership-preserved-p): Pass `integer' as an
11711 explicit 2nd argument to `file-attributes'. If the file's owner
11712 is the Administrators group on Windows, and the current user is
11713 Administrator, consider that a match.
11715 * server.el (server-ensure-safe-dir): Consider server directory
11716 safe on MS-Windows if its owner is the Administrators group while
11717 the current Emacs user is Administrator. Use `=' to compare
11718 numerical UIDs, since they could be integers or floats.
11720 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
11722 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11724 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
11726 Sync with Tramp 2.2.1.
11728 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11730 * net/trampver.el: Update release number.
11732 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11734 * progmodes/compile.el (compilation--previous-directory): Fix up
11735 various nil/dead-marker mismatches (bug#8014).
11736 (compilation-directory-properties, compilation-error-properties):
11737 Don't call it at a position past the one we're about to change.
11739 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11740 Disable obsolescence warnings in the file that declares it.
11742 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
11744 * allout-widgets.el (allout-widgets-tally):
11745 Initialize allout-widgets-tally as a hash table rather than nil to
11746 prevent mode-line redisplay warnings. Also, clarify the module
11747 description and fix a comment typo.
11749 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
11751 * help-fns.el (describe-variable): Don't complete keywords.
11752 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
11754 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
11756 * emacs-lisp/package.el (package-version-join): Impose a standard
11757 string representation for pre/alpha/beta version lists.
11758 (package-unpack-single): Standardize the directory name by passing
11759 it through package-version-join.
11760 (package-strip-rcs-id): Accept any version string that does not
11761 signal an error in version-to-list.
11763 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
11765 * simple.el (delete-trailing-whitespace): Return nil for the
11766 benefit of `write-file-functions'.
11768 2011-03-10 Glenn Morris <rgm@gnu.org>
11770 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11772 * vc/vc-git.el (vc-git-program): New option.
11773 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11774 (vc-git--call): Use it.
11776 * eshell/esh-util.el (eshell-condition-case): Doc fix.
11778 * cus-edit.el (Custom-newline): If no button at point, look
11779 for a subgroup button at start-of-line. (Bug#2298)
11781 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11783 2011-03-10 Julien Danjou <julien@danjou.info>
11785 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11786 `cursor-type' is nil.
11788 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
11790 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11792 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
11794 * allout.el: Change so yank of distinctive-bullet items
11795 preserves the existing header prefix, rebulleting it if necessary,
11796 rather than replacing it. This is necessary for proper operation
11797 of cooperative addons like allout-widgets.
11798 (allout-make-topic-prefix, allout-rebullet-heading):
11799 Change SOLICIT arg to INSTEAD, and interpret additionally a string
11800 value as alternate bullet to be used, instead of prompting the user
11801 for a bullet character.
11803 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
11805 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11806 Do not use `tramp-file-name-port', because this returns also
11807 `tramp-default-port'.
11809 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11811 * net/rcirc.el (rcirc-handler-001): Remove useless
11812 with-rcirc-process-buffer.
11813 (rcirc-check-auth-status): Swap arguments to string-match.
11815 2011-03-09 Glenn Morris <rgm@gnu.org>
11817 * shell.el (shell-mode):
11818 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
11820 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
11821 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
11823 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
11825 * emacs-lisp/package.el (package-refresh-contents)
11826 (package-menu-execute): Use condition-case-no-debug.
11828 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
11830 * simple.el (shell-command-to-string): Use `process-file'.
11832 * emacs-lisp/package.el (package-tar-file-info): Handle also
11835 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11836 Use `equal' for upload base check.
11838 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
11840 * textmodes/texinfo.el (texinfo-environments):
11841 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
11843 2011-03-08 Glenn Morris <rgm@gnu.org>
11845 * cus-start.el (cursor-in-non-selected-windows):
11846 Fix :set quoting oddness. (Bug#8192)
11848 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
11849 in some setf expressions. (Bug#2159)
11851 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
11853 * custom.el (custom-available-themes): Return themes in
11854 alphabetical order.
11856 See ChangeLog.15 for earlier changes.
11858 ;; Local Variables:
11862 Copyright (C) 2011-2012 Free Software Foundation, Inc.
11864 This file is part of GNU Emacs.
11866 GNU Emacs is free software: you can redistribute it and/or modify
11867 it under the terms of the GNU General Public License as published by
11868 the Free Software Foundation, either version 3 of the License, or
11869 (at your option) any later version.
11871 GNU Emacs is distributed in the hope that it will be useful,
11872 but WITHOUT ANY WARRANTY; without even the implied warranty of
11873 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11874 GNU General Public License for more details.
11876 You should have received a copy of the GNU General Public License
11877 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.