1 2011-08-10 Juri Linkov <juri@jurta.org>
3 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
4 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
5 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
9 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
12 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
14 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
17 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
19 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
20 (image-dired--with-db-file): New macro.
21 (image-dired-write-tags, image-dired-remove-tag)
22 (image-dired-create-gallery-lists, image-dired-write-comments)
23 (image-dired-get-comment, image-dired-mark-tagged-files)
24 (image-dired-list-tags, image-dired-gallery-generate): Use it.
25 (image-dired-gallery-generate): Use insert-file-contents.
27 * time.el (display-time-world-list, display-time-world-display):
28 * time-stamp.el (time-stamp-string):
29 * vc/add-log.el (add-change-log-entry): Use setenv instead of
30 set-time-zone-rule (Bug#7337).
32 2011-08-08 Daiki Ueno <ueno@unixuser.org>
34 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
35 (epg-error-to-string, epg-errors-to-string): New function.
36 (epg-wait-for-completion): Reverse errors list.
37 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
38 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
39 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
40 (epg-sign-keys, epg-generate-key-from-file)
41 (epg-generate-key-from-string): Format errors by using
42 epg-errors-to-string (bug#9255).
43 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
45 2011-08-07 Juri Linkov <juri@jurta.org>
47 * faces.el (list-faces-display): Remove extra angle bracket
50 * info.el (Info-history-toc-nodes): Doc fix.
52 * longlines.el (longlines-mode): Doc fix.
54 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
56 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
57 of statements and in a few more cases (bug#9183).
59 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
61 (cl-transform-lambda): Use them (bug#9239).
63 2011-08-05 Martin Rudalics <rudalics@gmx.at>
65 * window.el (display-buffer-same-window)
66 (display-buffer-same-frame, display-buffer-other-window)
67 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
68 (pop-to-buffer-other-window)
69 (pop-to-buffer-same-frame-other-window)
70 (pop-to-buffer-other-frame): Make them defuns.
71 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
73 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
75 * subr.el (make-composed-keymap): Move from C. Change calling
76 convention, and improve docstring to bring attention to a subtle point.
77 * minibuffer.el (completing-read-default): Adjust accordingly.
79 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
81 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
82 (tramp-open-shell): Use `tramp-shell-quote-argument'.
84 * net/trampver.el: Update release number.
86 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
88 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
91 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
93 * mail/sendmail.el (sendmail-query-once): Restore the current
94 buffer after querying (bug#9074).
96 * dired.el (dired-flagged): Use different faces for marked and
97 flagged files (bug#6117).
99 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
102 * ido.el (ido-mode): Switch off the message if called
105 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
106 before 587, since it appears that that's more likely to work for
109 * cus-edit.el (custom-file): When running under emacs -q, always
110 refuse to save the customisations, even if the .emacs file doesn't
113 * info.el: Remove the `Info-beginning-of-buffer' function
116 * net/network-stream.el (network-stream-open-starttls):
117 Use `starttls-available-p' to see whether starttls.el can be used.
119 2011-08-01 Martin Rudalics <rudalics@gmx.at>
121 * window.el (display-buffer-in-window): Don't set dedicated status
122 of window here (Bug#9215).
123 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
124 (display-buffer-pop-up-side-window)
125 (display-buffer-in-side-window): Set dedicated status of window here.
127 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
129 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
130 before binding generated-autoload-file.
132 2011-08-01 Deniz Dogan <deniz@dogan.se>
134 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
136 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
138 Sync with Tramp 2.2.2.
140 * net/trampver.el: Update release number.
142 2011-07-30 Juri Linkov <juri@jurta.org>
144 * dired-aux.el (dired-touch-initial): Remove function.
145 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
146 current time, and `default' to the last modification time of the
147 current marked file (bug#6887).
149 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
151 * simple.el (goto-line): Use string-to-number to provide a
152 numeric argument to read-number (bug#9163).
154 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
156 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
157 connection process, it could be nil.
159 2011-07-27 Leo Liu <sdl.web@gmail.com>
161 Simplify url handling in rcirc-mode.
163 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
164 (rcirc-browse-url-at-mouse): Remove.
165 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
167 2011-07-26 Alan Mackenzie <acm@muc.de>
169 Fontify bitfield declarations properly.
171 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
172 (c-symbol-chars): Now exported as a lang variable.
173 (c-not-primitive-type-keywords): New lang variable.
175 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
176 QT keyword "more" to prevent "more slots: ...." being spuriously
177 parsed as a bitfield declaraion.
179 * progmodes/cc-engine.el (c-beginning-of-statement-1):
180 Refactor and enhance to handle bitfield declarations.
181 (c-punctuation-in): New function.
182 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
183 declarations properly.
185 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
187 * calendar/icalendar.el (icalendar--all-events): Take care of
188 multiple vcalendars in a single file.
189 (icalendar--convert-float-to-ical): Checkdoc fixes.
191 2011-07-25 Deniz Dogan <deniz@dogan.se>
193 * image.el (insert-image): Clarifying docstring.
195 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
197 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
198 `tramp-send-command-and-check' if there is no error.
199 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
201 2011-07-22 Alan Mackenzie <acm@muc.de>
203 Prevent cc-langs.elc being loaded at run time.
205 * progmodes/cc-mode.el: Remove two autoload forms which loaded
208 * /progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
209 "(require 'cc-langs)". Quote a form so it will evaluate at
210 (cc-mode's) compilation time.
212 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
214 * net/tramp.el (tramp-file-name-handler): Avoid recursive
217 2011-07-21 Martin Rudalics <rudalics@gmx.at>
219 * window.el (display-buffer-pop-up-window)
220 (display-buffer-pop-up-side-window)
221 (display-buffer-in-side-window): Call display-buffer-set-height
222 and display-buffer-set-width after setting the new window's
223 buffer so `fit-window-to-buffer' and friends work on the right buffer.
225 2011-07-20 Sam Steingold <sds@gnu.org>
227 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
228 (etags-tags-included-tables): Call `convert-standard-filename' on
229 the file names contained in TAGS so that windows Emacs can handle
230 TAGS files created by cygwin ctags.
232 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
234 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
235 which apparently didn't work.
237 2011-07-19 Roland Winkler <winkler@gnu.org>
239 * proced.el (proced-send-signal): For *Marked Processes* buffer
240 put point at beginning of buffer.
242 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
244 * proced.el (proced-format): Make header lines align with the text
247 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
249 * view.el (view-buffer): Allow running in `special' modes if we're
250 visiting a file (bug#8615).
252 2011-07-19 Martin Rudalics <rudalics@gmx.at>
254 * window.el (display-buffer-alist-of-strings-p)
255 (display-buffer-alist-set-1, display-buffer-alist-set-2):
257 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
260 2011-07-18 Alan Mackenzie <acm@muc.de>
262 Fontify declarators properly when, e.g., a jit-lock chunk begins
263 inside a declaration.
265 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
267 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
269 (c-complex-decl-matchers): Insert reference to
270 c-font-lock-enclosing-decls.
272 * progmodes/cc-engine.el (c-backward-single-comment):
273 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
274 to nil around calls to (forward-comment -1).
276 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
278 * image.el (put-image): Doc typo fix.
280 * progmodes/etags.el (tags-search): Doc typo fix.
282 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
283 password if we get errors 550 to 554.
285 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
287 * net/gnutls.el (gnutls-log-level): Remove.
289 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
290 indentation character (bug#6380).
292 * files.el (buffer-offer-save): Made permanently local (bug#6241).
294 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
295 to clarify what the problem is (bug#4291).
297 * simple.el (current-kill): Clarify what
298 `interprogram-paste-function' does (bug#7500).
299 (auto-fill-mode): Document `auto-fill-function' in relation to
300 `auto-fill-mode' (bug#2470).
302 2011-07-16 Lawrence Mitchell <wence@gmx.li>
304 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
305 method if slot is read-only (bug#9035).
307 2011-07-16 Martin Rudalics <rudalics@gmx.at>
309 * frame.el (select-frame-set-input-focus): New argument NORECORD.
310 * window.el (pop-to-buffer): Select window used even if it was
311 selected before, see discussion of (Bug#8615), (Bug#6954).
312 Pass argument NORECORD on to select-frame-set-input-focus.
314 2011-07-15 Glenn Morris <rgm@gnu.org>
316 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
319 2011-07-09 Lawrence Mitchell <wence@gmx.li>
321 * net/gnutls.el (gnutls-min-prime-bits): New variable.
322 (gnutls-negotiate): Use it.
324 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
326 * net/gnutls.el (gnutls-negotiate):
327 Upcase `gnutls-algorithm-priority'.
329 2011-07-15 Glenn Morris <rgm@gnu.org>
331 * jka-compr.el (jka-compr-verbose): Move from here...
332 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
333 Add missing :version tag.
334 * info.el: No need to require jka-compr when compiling.
336 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
338 * net/gnutls.el (gnutls-algorithm-priority): New variable.
339 (gnutls-negotiate): Use it.
341 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
343 * info.el (Info-beginning-of-buffer): New command.
344 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
345 announcing `b' as the key (bug#8325).
346 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
348 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
350 * international/mule-cmds.el
351 (describe-specified-language-support): Make the error message
354 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
356 * isearch.el (isearch-barrier): Add a doc string, since it's
357 mentioned in a function doc string (bug#8678).
359 2011-07-15 Martin Rudalics <rudalics@gmx.at>
361 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
362 buffer argument (Bug#9083) and self-identifying label argument.
364 2011-07-15 Glenn Morris <rgm@gnu.org>
366 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
368 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
370 * man.el (Man-fontify-manpage): Fix message when formatting the
373 2011-07-14 Eli Zaretskii <eliz@gnu.org>
375 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
376 argument LRM; if non-nil, append an invisible LRM character to the
378 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
379 last argument non-nil, when formatting buffer names.
380 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
383 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
385 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
386 the man page name (bug#7929).
388 * image.el (put-image): Mention the `put-image' overlay property
391 * scroll-bar.el (set-scroll-bar-mode): Mention that
392 `scroll-bar-mode' lists the values (bug#7772).
394 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
397 * rect.el (apply-on-rectangle): Return the point after the last
399 (string-rectangle): Go to the point after the last operation
402 * printing.el (pr-toggle-region): Clarify the documentation
405 * time.el (display-time-update):
406 Allow `display-time-mail-function' to return nil (bug#7158).
407 Fix suggested by Detlev Zundel.
409 * vc/diff.el (diff): Clarify the order the file names are read
412 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
413 the doc string (bug#7015).
415 * font-lock.el (font-lock-maximum-decoration): Mention what
416 numeric levels mean (bug#6935).
418 * startup.el (initial-buffer-choice): Don't mention the `none'
419 selection, which is against policy.
421 2011-07-14 Martin Rudalics <rudalics@gmx.at>
423 * window.el (display-buffer-normalize-special):
424 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
426 2011-07-14 Eli Zaretskii <eliz@gnu.org>
428 * subr.el (version<, version<=, version=): Mention "-CVS" and
429 "-12345" alpha version numbers.
431 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
433 * bindings.el: Add advertised binding for set-mark-command
436 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
438 * bindings.el (mode-line-other-buffer):
439 * bookmark.el (bookmark-bmenu-2-window):
440 * bs.el (bs-cycle-next, bs-cycle-previous):
441 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
444 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
447 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
449 * follow.el (follow-debug-message, follow-redisplay):
450 * jka-cmpr-hook.el (with-auto-compression-mode):
451 Fix typos in docstrings.
453 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
455 * subr.el (with-silent-modifications): Clarify somewhat what the
456 macro inhibits (bug#6525).
458 * simple.el (eval-expression): Note what it does if called
459 interactively (bug#6495).
461 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
463 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
464 Use pop-to-buffer buffer-or-name if it is nil.
466 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
467 Remove switch-to-buffer.
469 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
471 * files.el (make-directory): Clarify that an error will be raised
472 if there's an error (bug#6397).
474 * startup.el (initial-buffer-choice): Add `none' as a choice
477 * subr.el (add-hook): Clarify section about buffer-local hooks
480 * dired.el (dired-flagged): Clarify doc string (bug#6117).
482 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
484 * tabify.el (untabify): Preserve the current column so that point
485 doesn't move (bug#6032).
487 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
489 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
490 Rewrite to avoid awkward possessive "s" (bug#5986).
492 2011-07-13 Glenn Morris <rgm@gnu.org>
494 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
495 (dired-insert-directory): Give a message the first time
496 if ls is found not to support --dired.
498 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
500 * simple.el (toggle-truncate-lines): Clarify what is toggled
501 (bug#5580). Text by Drew Adams.
503 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
505 * simple.el (blink-matching-open): Make the error message from the
506 last change less verbose.
508 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
510 * font-lock.el (font-lock-comment-face): Use the high contrast
511 "yellow" color for font-lock-comment-face on low color terminals
512 using a dark background color (bug#4221).
514 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
516 * dired.el (dired-insert-set-properties): Make the doc string
517 reflect what it does now (bug#5325).
519 * simple.el (blink-matching-open): Say that we were unable to find
520 the match within the limit, if we're limited (bug#5122).
522 * international/mule-cmds.el (prefer-coding-system): Add an
525 * progmodes/etags.el (tags-search): Document `file-list-form'
528 2011-07-13 Lawrence Mitchell <wence@gmx.li>
530 * net/browse-url.el (browse-url-default-browser)
531 (browse-url-browser-function): Make the default browser choice a
532 bit more logical (bug#4300). Also clean up the doc string.
534 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
536 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
537 binary endings (bug#4440).
539 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
541 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
542 which can be pretty annoying (bug#8971).
544 * jka-compr.el (jka-compr-verbose): New variable, and use
545 throughout (bug#8971).
547 * info.el (Info-find-file): Fall back on the installation
548 directory if we can't find the info node anywhere else.
550 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
552 * vc/vc.el (vc-revert-file):
553 Don't set file time-stamp in the past. (Bug#5181)
555 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
557 * files.el (after-find-file): Give a better error message when
558 trying to find a symlink that points to a file that doesn't exist
561 * progmodes/cc-vars.el: Remove (probably) misleading comment
564 2011-07-12 Johan Bockgård <bojohan@gnu.org>
566 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
568 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
570 * mouse-sel.el: Hack restoring functionality, while keeping
571 compatibility with 2010-07-03 changes to mouse selection.
572 (mouse-sel-primary-overlay): New var.
573 (mouse-sel-selection-alist): Use it.
574 (mouse-sel-mode): Doc fix; remove points that are default features
577 2011-07-12 Johan Bockgård <bojohan@gnu.org>
579 * progmodes/compile.el (compilation-error-regexp-alist-alist):
580 Fix previous fix (bug#2490).
582 2011-07-12 Roland Winkler <winkler@gnu.org>
584 * textmodes/bibtex.el (bibtex-initialize):
585 Use pop-to-buffer-same-window.
586 (bibtex-search-entries): Fix interactive call.
588 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
590 * progmodes/compile.el (compilation-error-regexp-alist-alist):
591 Fontise bytecomp Error lines more correctly (bug#2490).
592 Fix suggested by Johan Bockgård.
594 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
596 * dired-x.el (dired-guess-default): Use `delete-dups'.
598 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
600 * dired.el (dired-mark-prompt):
601 * dired-aux.el (dired-read-shell-command): Doc fix.
603 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
605 * mail/sendmail.el (sendmail-query-once):
606 Use `customize-save-variable' unconditionally, now that it works under
609 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
611 * cus-edit.el (custom-file): Take an optional no-error variable.
612 (customize-save-variable): Set the variable, and give a warning if
613 running under "emacs -q".
615 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
617 * loadhist.el (unload-feature-special-hooks):
618 Add `auto-coding-functions', `fill-nobreak-predicate' and
619 `find-directory-functions' (bug#5327).
621 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
623 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
625 * cus-edit.el (custom-guess-name-alist): -alist variables should
626 use the `alist' type (bug#3120). Suggested by Drew Adams.
628 * printing.el: Add documentation to all the `pr-toggle-' commands.
630 2011-07-11 Leo <sdl.web@gmail.com> (tiny change)
632 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
633 backends where it makes sense (bug#2623).
635 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
637 * dired-x.el (dired-guess-default): Remove duplicate shell command
639 (dired-guess-default): Fix grammar in doc string (bug#2028).
640 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
642 * subr.el (remove-duplicates): New conveniency function.
644 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
646 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
649 2011-07-10 Martin Rudalics <rudalics@gmx.at>
651 * window.el (display-buffer-normalize-default): Don't invert
652 meaning of even-window-heights. Reported by Eli Zaretskii
655 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
657 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
659 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
661 * window.el (display-buffer): Fix arguments to
662 display-buffer-reuse-window in last change.
664 * faces.el (link): Use a less saturated blue on light backgrounds.
666 * startup.el (fancy-startup-text, fancy-about-text)
667 (fancy-startup-tail): Use font-lock faces, for background safety.
669 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
671 * emulation/viper-cmd.el (viper-change-state-to-vi):
672 Limit triggering of abbrev expansion (Bug#9038).
674 2011-07-09 Martin Rudalics <rudalics@gmx.at>
676 * window.el (display-buffer-default-specifiers): Remove.
677 (display-buffer-macro-specifiers): Remove default specifiers.
678 (display-buffer-alist): Default to nil.
679 (display-buffer-reuse-window): New optional argument other-window.
680 (display-buffer-pop-up-window): Allow splitting internal
681 windows. Check whether a live window was created.
682 (display-buffer-other-window-means-other-frame)
683 (display-buffer-normalize-arguments): Rename to
684 display-buffer-normalize-argument and rewrite. Set the
685 other-window specifier.
686 (display-buffer-normalize-special): New function.
687 (display-buffer-normalize-options): Rename to
688 display-buffer-normalize-default and rewrite.
689 (display-buffer-normalize-options-inhibit): Remove.
690 (display-buffer-normalize-specifiers): Rewrite.
691 (display-buffer): Process other-window specifier and call
692 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
694 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
695 (display-buffer-alist-set): Don't handle 'unset default values.
696 (display-buffer-in-window, display-buffer-alist-set):
697 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
698 <tassilo@member.fsf.org>.
700 2011-07-09 Leo Liu <sdl.web@gmail.com>
702 * register.el (insert-register): Restore accidental change on
703 2011-06-26. (Bug#9028)
705 2011-07-09 Glenn Morris <rgm@gnu.org>
707 * subr.el (remq): Handle the empty list. (Bug#9024)
709 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
711 * mail/sendmail.el (send-mail-function): No longer delay custom
713 * custom.el (custom-initialize-delay): Doc fix.
715 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
717 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
719 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
721 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
722 human-friendly prompt.
724 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
726 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
727 provided by a particular plugin.
729 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
731 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
732 save customizations (with "emacs -Q"), just set the variable
733 instead of erroring out.
735 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
737 2011-07-08 Juri Linkov <juri@jurta.org>
739 * arc-mode.el (archive-zip-expunge, archive-zip-update)
740 (archive-zip-update-case): Use 7z if found by `executable-find'.
741 The order of searching the available programs is the same as in
742 `archive-zip-extract' (bug#8968).
744 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
746 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
747 (menu-bar-options-menu): Tweak descriptions.
749 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
751 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
752 menu items into verb phrases (bug#1421). Also refill to fit under
755 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
757 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
758 (Info-read-node-name): Doc fix (Bug#1084).
760 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
761 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
762 (end-of-sexp, beginning-of-sexp)
763 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
764 (forward-symbol, forward-same-syntax, word-at-point)
765 (sentence-at-point): Doc fix (Bug#1144).
767 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
769 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
770 should cover it (bug#1281).
772 * cus-edit.el (custom-show): Mark as obsolete.
774 * net/network-stream.el (network-stream-open-starttls): If gnutls
775 negotiation fails, then possibly try again with a non-encrypted
776 connection (bug#9017).
778 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
781 2011-07-07 Richard Stallman <rms@gnu.org>
783 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
784 property, and handle its changed format.
785 Look for the correct line number.
786 Use file's line contents (but not past first =) to find
787 correct line in message.
789 2011-07-07 Kenichi Handa <handa@m17n.org>
791 * international/characters.el (build-unicode-category-table):
793 (unicode-category-table): Set it by unicode-property-table-internal.
795 * international/mule-cmds.el (char-code-property-alist): Move to
797 (get-char-code-property): Call unicode-property-table-internal to
798 load a file. Call get-unicode-property-internal where necessary.
799 (put-char-code-property): Call unicode-property-table-internal to
800 load a file. Call put-unicode-property-internal where necessary.
801 put-unicode-property-internal where necessary.
802 (char-code-property-description):
803 Call unicode-property-table-internal to load a file.
805 * international/charprop.el:
806 * international/uni-bidi.el:
807 * international/uni-category.el:
808 * international/uni-combining.el:
809 * international/uni-comment.el:
810 * international/uni-decimal.el:
811 * international/uni-decomposition.el:
812 * international/uni-digit.el:
813 * international/uni-lowercase.el:
814 * international/uni-mirrored.el:
815 * international/uni-name.el:
816 * international/uni-numeric.el:
817 * international/uni-old-name.el:
818 * international/uni-titlecase.el:
819 * international/uni-uppercase.el: Regenerate.
821 * loadup.el: Load international/charprop.el before
822 international/characters.
824 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
826 * window.el (next-buffer, previous-buffer): Signal an error if
827 called from a minibuffer window.
829 * bindings.el: Revert 2011-07-04 change.
831 2011-07-06 Richard Stallman <rms@gnu.org>
833 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
834 (rmail-mime-insert-bulk, rmail-mime-insert-text):
835 Treat markers like ints.
836 (rmail-mime-entity): Doc fix.
838 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
840 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
841 defcustom again for backwards compatibility.
843 * simple.el (shell-command-on-region): Fill.
845 * dired-aux.el (dired-kill-line): Add a doc string.
847 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
848 to "\\sw\\|\\s_" (bug#358).
850 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
851 (dired-unmark-backward): Ditto.
852 (dired-flag-backup-files): Ditto.
854 * dired-x.el (dired-mark-sexp): Ditto.
856 2011-07-06 Richard Stallman <rms@gnu.org>
858 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
859 (rmail-mime-entity): New arg TRUNCATED.
860 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
862 (rmail-mime-save): Warn if entity is truncated.
863 (rmail-mime-toggle-hidden): Likewise, for showing.
864 (rmail-mime-process-multipart): Record when an entity is truncated.
866 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
867 if ENTITY is a string.
869 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
871 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
872 of faces when `M-C-x'-ing their definitions (bug#8378).
873 Also clean up the code slightly.
875 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
876 because that makes the colours go away.
878 * mail/sendmail.el (send-mail-function): Change the default to
879 `sendmail-query-once'.
880 (sendmail-query-once): Add an autoload cookie.
882 * net/network-stream.el (network-stream-open-starttls): Try using
883 a plain connection even if the server offered STARTTLS, and we
884 kinda wanted to use it, if Emacs doesn't have any STARTTLS
885 capability. This should make smtpmail.el work in slightly more
888 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
890 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
892 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
894 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
896 * progmodes/sql.el: Version 3.0
897 (sql-product-alist): Add product :completion-object,
898 :completion-column, and :statement attributes.
899 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
900 (sql-mode-syntax-table): Mark all punctuation.
901 (sql-font-lock-keywords-builder): Temporarily remove fallback on
903 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
904 (sql-mode-oracle-font-lock-keywords): Improve.
905 (sql-oracle-show-reserved-words): New function for development.
906 (sql-product-font-lock): Simplify for source code buffers.
907 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
909 (sql-highlight-product): Set product specific syntax table.
910 (sql-mode-map): Add statement movement functions.
911 (sql-ansi-statement-starters, sql-oracle-statement-starters):
913 (sql-statement-regexp, sql-beginning-of-statement)
914 (sql-end-of-statement, sql-signum): New functions.
915 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
916 (sql-show-sqli-buffer): Bug fix.
917 (sql-interactive-mode): Store connection data as buffer local.
918 (sql-connect): Add NEW-NAME parameter. Redesign interaction
919 with sql-interactive-mode.
920 (sql-save-connection): Save buffer local settings.
921 (sql-connection-menu-filter): Change menu entry name.
922 (sql-product-interactive): Bug fix.
923 (sql-preoutput-hold): New variable.
924 (sql-interactive-remove-continuation-prompt): Bug fixes.
925 (sql-debug-redirect): New variable.
926 (sql-str-literal): New function.
927 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
929 (sql-oracle-save-settings, sql-oracle-restore-settings)
930 (sql-oracle-list-all, sql-oracle-list-table): New functions.
931 (sql-completion-object, sql-completion-column)
932 (sql-completion-sqlbuf): New variables.
933 (sql-build-completions-1, sql-build-completions)
934 (sql-try-completion): New functions.
935 (sql-read-table-name): Use them.
936 (sql-contains-names): New buffer local variable.
937 (sql-list-all, sql-list-table): Use it.
938 (sql-oracle-completion-types): New variable.
939 (sql-oracle-completion-object, sql-sqlite-completion-object)
940 (sql-postgres-completion-object): New functions.
942 2011-07-06 Glenn Morris <rgm@gnu.org>
944 * window.el (pop-to-buffer): Doc fix.
946 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
948 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
950 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
952 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
954 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
956 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
958 * button.el (button): Inherit from link face. Suggested by Dan
961 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
963 * progmodes/gdb-mi.el: Fit in 80 columns.
964 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
967 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
968 if imenu is simply not configured (bug#8941).
970 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
972 * allout.el (allout-post-undo-hook): New allout outline-change
973 event hook to signal undo activity.
974 (allout-post-command-business): Run allout-post-undo-hook if an
976 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
977 * allout-widgets.el (allout-widgets-after-undo-function):
978 Ensure the integrity of the current item's decoration after it has been
979 in the vicinity of an undo.
980 (allout-widgets-mode): Include allout-widgets-after-undo-function
981 on the new allout-post-undo-hook.
983 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
985 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
986 Let define-derived-mode define it.
987 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
988 cycles of abbrev-table inheritance (bug#8998).
990 2011-07-05 Roland Winkler <winkler@gnu.org>
992 * textmodes/bibtex.el: Add support for biblatex.
993 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
994 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
995 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
996 (bibtex-entry-alist, bibtex-field-alist): New variables.
997 (bibtex-entry-field-alist): Obsolete alias for
998 bibtex-BibTeX-entry-alist.
999 (bibtex-entry-alist, bibtex-field-alist): New widgets.
1000 (bibtex-set-dialect): New command.
1001 (bibtex-entry-type, bibtex-entry-head)
1002 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
1003 Bind via bibtex-set-dialect.
1004 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
1005 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
1006 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
1007 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
1008 Define via bibtex-set-dialect.
1009 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
1010 Obey bibtex-no-opt-remove-re.
1011 (bibtex-vec-push, bibtex-vec-incr): New functions.
1012 (bibtex-format-entry, bibtex-field-list)
1013 (bibtex-print-help-message, bibtex-validate)
1014 (bibtex-search-entries): Use new format of bibtex-entry-alist.
1016 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1018 * progmodes/compile.el (compilation-goto-locus):
1019 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1020 * bs.el (bs-cycle-next, bs-cycle-previous):
1021 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
1022 * bindings.el (mode-line-other-buffer):
1023 * autoinsert.el (auto-insert):
1024 * arc-mode.el (archive-extract):
1025 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
1027 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
1029 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
1030 Fix check of `emacs-lock-unlockable-modes'.
1031 Coerce true values of `emacs-lock--try-unlocking' to t.
1033 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
1035 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
1036 * emacs-lock.el: New file.
1038 2011-07-05 Julien Danjou <julien@danjou.info>
1040 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
1041 than `boundp' to check if face is set.
1043 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
1045 * register.el (registerv-make):
1046 * window.el (window-min-height): Fix typos in docstrings.
1048 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
1050 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
1053 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
1055 * server.el (server-execute): Catch quit and call
1056 `server-return-error' to pass the error back to emacsclient and
1057 close the connection (bug#8942).
1059 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
1061 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
1062 insecure exception for current topic. Also note that auto-saves
1063 are handled differently.
1065 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
1066 State variables for tracking auto-save inhibition situation.
1068 (allout-write-contents-hook-handler): Rename from
1069 'allout-write-file-hook-handler', and describe how it depends on
1070 write-contents-functions sensitivity to non-nil value to prevent
1073 (allout-auto-save-hook-handler): Remove. auto-save does not check
1074 this in individual buffers, only in the starting buffer, so this
1075 is not the right way for us to inhibit auto-save in a buffer
1076 according to its condition.
1078 (allout-mode): Use new allout-write-contents-hook-handler, and
1079 only with write-contents-functions. Remove auto-save provisions -
1080 they're implemented elsewhere.
1082 (allout-before-change-handler): If undo is in progress, note that
1083 for attention of allout-post-command-business.
1085 (allout-post-command-business): If the command we're following was
1086 an undo, check for change in the status of encrypted items and
1087 adjust auto-save inhibitions accordingly.
1089 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
1090 according to whether there are or aren't any plain-text topics
1093 (allout-inhibit-auto-save-info-for-decryption):
1094 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
1095 there are plain-text topics pending encryption.
1097 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
1098 buffer-saved-size and some allout state to not inhibit auto-saves
1099 if there are no longer any plain-text topics pending encryption.
1101 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
1102 No longer provide for exemption of the current topic.
1104 2011-07-04 Juri Linkov <juri@jurta.org>
1106 Add 7z operations to delete and save changed members (bug#8968).
1107 * arc-mode.el (archive-7z-expunge, archive-7z-update):
1109 (archive-7z-write-file-member): New function.
1110 (archive-7z-summarize): Fix the number of dashes in the
1113 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1115 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
1118 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
1120 * bindings.el: Ignore next-buffer and previous-buffer in
1121 minibuffer-local-map.
1123 * font-lock.el (font-lock-builtin-face): Change light background
1124 color to dark slate blue (Bug#6693).
1126 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
1128 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
1130 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1132 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
1133 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1134 Add switch-to-buffer.
1136 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1138 * isearch.el (isearch-search-fun-function): Clarify further the
1139 meaning of the function returned.
1141 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
1143 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
1145 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
1146 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
1148 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
1149 `tramp-default-remote-path' does not exist.
1150 (tramp-send-command-and-read): New optional argument NOERROR.
1151 (tramp-open-connection-setup-interactive-shell)
1152 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
1153 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
1154 (tramp-process-sentinel): Flush also process' connection property.
1155 (tramp-sh-handle-start-file-process): Do not set process
1156 sentinel. It is done now ...
1157 (tramp-maybe-open-connection): ... here. (Bug#8929)
1159 2011-07-04 MON KEY <monkey@sandpframing.com>
1161 * play/animate.el (animate-string): Doc fixes and allow changing
1162 the buffer name (bug#5417).
1164 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1166 * play/animate.el (animation-buffer-name): Rename from *animate*.
1168 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
1170 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
1171 This is simpler and helps future-proof the code.
1172 (timer-until): Use time-subtract and float-time.
1173 (timer--time-less-p): Use time-less-p.
1175 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
1177 * type-break.el (timep): Use the value of `float-time' to avoid a
1178 byte-compiler warning.
1180 * server.el (server-eval-and-print): Return any result, even nil.
1182 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
1184 * type-break.el: Accept time formats that the builtins accept.
1185 (timep, type-break-time-difference): Accept any format that
1186 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
1187 This is simpler and helps future-proof the code.
1188 (type-break-time-difference): Round rather than ignoring
1189 subseconds components.
1191 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1193 * info.el (Info-apropos-matches): Make non-interactive, since it
1194 doesn't seem to do anything useful as a command (bug#8829).
1196 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
1198 * frame.el (frame-background-mode, frame-set-background-mode):
1200 (frame-default-terminal-background): New function.
1202 * custom.el (custom-push-theme): Don't record faces in `changed'
1203 theme; this doesn't work correctly for per-frame face settings.
1204 (disable-theme): Use face-set-after-frame-default to reset faces.
1205 (custom--frame-color-default): New function.
1207 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1209 * dired.el (dired-flagging-regexp): Remove unused variable
1212 2011-03-29 Kevin Ryde <user42@zip.com.au>
1214 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1215 `perl-Test2' extend to match possible "fail #N" rep count
1218 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1220 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
1221 `smtpmail-via-smtp' now returns the error instead of nil.
1223 * isearch.el (isearch-search-fun-function): Clarify the doc string
1226 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
1228 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
1229 unnecessary spaces (bug#8987).
1231 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1233 * net/network-stream.el (open-network-stream): Use the
1234 :end-of-capability command thoughout.
1236 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
1238 * net/network-stream.el (open-network-stream): Add the
1239 :end-of-capability command parameter, used by pop3.el.
1241 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1243 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
1245 * fringe.el (fringe-query-style): Remove redundant text " (type ?
1246 for list)" (bug#6475).
1248 * files.el (file-expand-wildcards): Ignore non-readable
1249 sub-directories while trying to find matches instead of signalling
1250 an error (bug#6297).
1252 * man.el (Man-reference-regexp): Allow matching possible
1253 word-wrapped references (bug#6289).
1255 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
1256 for consistency with the other vc buffers (bug#6197).
1257 (vc-checkin): Ditto.
1259 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
1261 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
1263 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1265 * custom.el (defcustom): Clarify that :set is only used in the
1266 Customize user interface (bug#6089).
1268 * progmodes/flymake.el (flymake-mode): If the buffer isn't
1269 associated with a file, refuse to run instead of erroring out
1272 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
1273 the doc string, since it appears that using `fill-column' always
1274 controls the width (bug#7845).
1276 * simple.el (shell-command-on-region): Say where the error output
1277 went if `shell-command-default-error-buffer' is set (bug#6857).
1279 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
1281 * allout.el (allout-yank-processing): Adjust cursor position for
1282 backwards-deleted space.
1284 (allout-rebullet-heading): Register changes with
1285 allout-exposure-changed-hook, so the modified topic is properly
1288 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1290 * minibuffer.el (completion-in-region): Document PREDICATE
1293 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
1294 of keyword/argument pairs (bug#6904).
1296 * replace.el (multi-occur):
1297 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
1299 2011-07-02 Drew Adams <drew.adams@oracle.com>
1301 * dired.el (dired-mark-if): Make the message about whether it's
1302 marking or unmarking clearer (bug#8523).
1304 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1306 * disp-table.el (display-table-print-array): New function.
1307 (describe-display-table): Use it to print the vectors more pretty
1310 2011-07-02 Martin Rudalics <rudalics@gmx.at>
1312 * window.el (window-state-get-1): Don't assign clone numbers.
1313 Add clone-of item to list of window parameters.
1314 (window-state-put-2): Don't process clone numbers.
1315 (display-buffer-alist): Fix doc-string.
1317 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1319 * subr.el (remq): Don't allocate if it's not needed.
1320 (keymap--menu-item-binding, keymap--menu-item-with-binding)
1321 (keymap--merge-bindings): New functions.
1322 (keymap-canonicalize): Use them to refine the canonicalization.
1323 * minibuffer.el (minibuffer-local-completion-map)
1324 (minibuffer-local-must-match-map): Move initialization from C.
1325 (minibuffer-local-filename-completion-map): Move initialization from C;
1326 don't inherit from anything here.
1327 (minibuffer-local-filename-must-match-map): Make obsolete.
1328 (completing-read-default): Use make-composed-keymap to combine
1329 minibuffer-local-filename-completion-map with either
1330 minibuffer-local-must-match-map or
1331 minibuffer-local-filename-completion-map.
1333 2011-07-01 Glenn Morris <rgm@gnu.org>
1335 * type-break.el (type-break-time-sum): Use dolist.
1337 * textmodes/flyspell.el (flyspell-word-search-backward):
1338 Replace CL function.
1340 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1342 * mouse.el (mouse--strip-first-event): New function.
1343 (function-key-map): Use it to map fringe clicks to normal clicks
1346 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
1347 (vc-bzr-revision-completion-table): Add support for annotate and date.
1349 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
1350 inherit from parent.
1352 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1354 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
1355 (dired-show-file-type): Doc fixup (bug#8818).
1357 * dired.el (dired-mode): Fix up the doc string as suggested by
1358 Drew Adams (bug#8817).
1360 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
1361 cookie, since the manual says that it should be possible to add
1362 this function to `find-file-hook' (bug#8709).
1364 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
1366 * progmodes/cfengine.el: Moved all cfengine3.el functionality
1367 here. Noted Ted Zlatanov as the maintainer.
1368 (cfengine-common-settings, cfengine-common-syntax): New functions
1369 to set up common things between `cfengine-mode' and
1371 (cfengine3-mode): New mode.
1372 (cfengine3-defuns cfengine3-defuns-regex
1373 (cfengine3-class-selector-regex cfengine3-category-regex)
1374 (cfengine3-vartypes cfengine3-font-lock-keywords)
1375 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
1376 (cfengine3-indent-line): Add from cfengine3.el.
1378 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
1380 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
1382 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1384 2011-07-01 Martin Rudalics <rudalics@gmx.at>
1386 * window.el (same-window-buffer-names, same-window-regexps)
1387 (same-window-p, special-display-frame-alist)
1388 (special-display-popup-frame, special-display-function)
1389 (special-display-buffer-names, special-display-regexps)
1390 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
1391 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
1392 (split-window-preferred-function, split-height-threshold)
1393 (split-width-threshold, even-window-heights)
1394 (display-buffer-mark-dedicated, window-splittable-p)
1395 (split-window-sensibly, window-safely-shrinkable-p):
1397 (display-buffer): Don't spread args with function specifier
1398 because special-display-popup-frame won't like it.
1400 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
1402 Time-stamp simplifications and fixes.
1403 These improve accuracy slightly, and future-proof the code
1404 against some potential changes to current-time format.
1406 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
1407 by using time-since and float-time.
1409 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
1410 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
1411 + NNN microseconds".
1413 * type-break.el (type-break-time-sum): Rewrite using time-add.
1415 * play/hanoi.el (hanoi-current-time-float): Remove.
1416 All uses replaced by float-time.
1418 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
1419 This yields a more-accurate answer.
1420 (rng-time-to-float): Remove; no longer needed.
1422 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
1424 * calendar/timeclock.el (timeclock-seconds-to-time):
1425 Defalias to seconds-to-time, since they're the same thing.
1427 * emacs-lisp/elp.el (elp-elapsed-time):
1428 * emacs-lisp/benchmark.el (benchmark-elapse):
1429 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
1431 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1433 * window.el (bury-buffer): Don't iconify the only frame.
1434 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
1435 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
1437 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
1439 * eshell/em-smart.el (eshell-smart-display-navigate-list):
1440 Add mouse-yank-primary.
1442 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
1444 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
1446 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1448 * emacs-lisp/find-func.el (find-library--load-name): New fun.
1449 (find-library-name): Use it to find relative load names when provided
1450 absolute file name (bug#8803).
1452 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1454 * textmodes/flyspell.el (flyspell-word): Consider words that
1455 differ only in case as potential doublons (bug#5687).
1457 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
1458 Remove two rather uninteresting debugging-like messages to make
1459 debbugs.el more silent.
1461 * comint.el (comint-password-prompt-regexp): Accept "Response" as
1462 a password-like phrase.
1464 2011-06-30 Mastake YAMATO <yamato@redhat.com>
1466 * progmodes/cc-guess.el: New file.
1468 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
1470 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
1471 derived from `c-basic-common-init'.
1473 * progmodes/cc-mode.el (top-level): Require cc-guess.
1474 (c-basic-common-init): Use `cc-choose-style-for-mode'.
1476 2011-06-30 Lawrence Mitchell <wence@gmx.li>
1478 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
1480 2011-06-30 Alan Mackenzie <acm@muc.de>
1482 * progmodes/cc-engine.el (c-guess-continued-construct):
1483 Correct the handling of template-args-cont, particularly for when font
1484 lock is disabled. Name this case as "CASE G".
1486 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
1488 * allout.el (allout-yank-processing): Fix injection of extra space
1489 between bullet and non-whitespace character in first topic when
1490 pasting, ensuring that the actual spacing in the pasted topic
1491 following the bullet char is preserved. This extra space was
1492 causing pasted encrypted topics to get a decrypted status even
1493 when the content was actually still encrypted. Now the decryption
1494 status from before the paste is preserved.
1496 (allout-flag-region): Set all allout overlays so they evaporate
1497 when reduced to zero length (evanescent), to prevent overlay
1500 2011-06-30 Glenn Morris <rgm@gnu.org>
1502 * w32-fns.el (w32-charset-info-alist): Declare.
1504 * find-dired.el (find-grep-options): Simplify.
1506 * term/ns-win.el (ns-set-resource): Declare.
1508 * ses.el (row, col): Declare dynamic variables honestly.
1510 * textmodes/reftex-parse.el (index-tags): Declare.
1512 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
1514 * cus-edit.el (customize-push-and-save): New function.
1516 * files.el (hack-local-variables-confirm): Use it.
1518 * custom.el (load-theme): New arg NO-CONFIRM.
1519 Use customize-push-and-save (Bug#8720).
1520 (custom-enabled-themes): Doc fix.
1522 * cus-theme.el (customize-create-theme)
1523 (custom-theme-merge-theme): Callers to load-theme changed.
1525 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1527 * thingatpt.el (thing-at-point-short-url-regexp): Require that
1528 short URLs have at least one dot in them (bug #7614).
1530 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
1531 nil, because using a pty is apparently too slow (bug #895).
1533 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
1535 * mail/sendmail.el (sendmail-query-once): New function.
1536 (sendmail-query-once-function): New variable.
1538 2011-06-29 Glenn Morris <rgm@gnu.org>
1540 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
1542 * ses.el (top-level): Require cl when compiling.
1543 (ses-set-localvars): Fix error statement.
1544 Call it at compile time to silence a storm of warnings.
1546 2011-06-29 Martin Rudalics <rudalics@gmx.at>
1548 * window.el (normalize-live-buffer): Rename to
1549 window-normalize-buffer.
1550 (normalize-live-frame): Rename to window-normalize-frame.
1551 (normalize-any-window): Rename to window-normalize-any-window.
1552 (normalize-live-window): Rename to window-normalize-live-window.
1553 (make-window-atom): Rename to window-make-atom.
1554 (window-resize-reset): Rename to window--resize-reset.
1555 (window-resize-reset-1): Rename to window--resize-reset-1.
1556 (resize-mini-window): Rename to window--resize-mini-window.
1557 (resize-subwindows-skip-p): Rename to
1558 window--resize-subwindows-skip-p.
1559 (resize-subwindows-normal): Rename to
1560 window--resize-subwindows-normal.
1561 (resize-subwindows): Rename to window--resize-subwindows.
1562 (resize-other-windows): Rename to window--resize-siblings.
1563 (resize-this-window): Rename to window--resize-this-window.
1564 (resize-root-window): Rename to window--resize-root-window.
1565 (resize-root-window-vertically): Rename to
1566 window--resize-root-window-vertically.
1567 (normalize-buffer-to-display): Rename to
1568 window-normalize-buffer-to-display.
1569 (normalize-buffer-to-switch-to): Rename to
1570 window-normalize-buffer-to-switch-to.
1571 Correspondingly update all callers of the functions listed
1573 (display-buffer-alist, display-buffer-normalize-arguments)
1574 (display-buffer-normalize-options, display-buffer)
1575 (display-buffer-alist-set): Use "function" instead of
1578 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
1580 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
1581 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
1582 debbugs.gnu.org. Mention acknowledgment email.
1584 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
1586 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
1587 buffer multibyteness, since it shouldn't matter.
1589 2011-06-28 Martin Rudalics <rudalics@gmx.at>
1591 * window.el (display-buffer-in-side-window): Handle dedicated
1592 windows as in display-buffer-reuse-window.
1593 (display-buffer-normalize-alist): Use value of override
1595 (display-buffer-normalize-specifiers): Use value of
1596 other-window-means-other-frame specifier.
1597 (display-buffer-alist): Rewrite some texts in widgets.
1598 (display-buffer): Spread arguments when calling function
1599 specified by fun-with-args.
1601 2011-06-28 Deniz Dogan <deniz@dogan.se>
1603 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1606 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
1607 selectors (Bug#5732).
1608 (css-proprietary-nmstart-re): Use `regexp-opt'.
1610 2011-06-27 Jari Aalto <jari.aalto@cante.net>
1612 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
1613 (eshell-ls-date-format): New defcustom.
1614 (eshell-ls-file): Use it.
1616 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1618 * help-fns.el (describe-variable): Fix message for terminal-local vars.
1620 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
1622 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
1623 (ange-ftp-make-tmp-name): New arg.
1624 (ange-ftp-file-local-copy): Use it.
1626 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
1628 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
1629 no-conversion (Bug#8870).
1631 2011-06-27 Martin Rudalics <rudalics@gmx.at>
1633 * window.el (window-right, window-left, window-child)
1634 (window-child-count, window-last-child)
1635 (window-iso-combination-p, walk-window-tree-1)
1636 (window-atom-check-1, window-tree-1, delete-window)
1637 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
1638 new naming conventions - window-vchild, window-hchild,
1639 window-next and window-prev are now called window-top-child,
1640 window-left-child, window-next-sibling and window-prev-sibling
1642 (resize-window-reset): Rename to window-resize-reset.
1643 (resize-window-reset-1): Rename to window-resize-reset-1.
1644 (resize-window): Rename to window-resize.
1645 (window-min-height, window-min-width)
1646 (resize-mini-window, resize-this-window, resize-root-window)
1647 (resize-root-window-vertically, adjust-window-trailing-edge)
1648 (enlarge-window, shrink-window, maximize-window)
1649 (minimize-window, delete-window, quit-restore-window)
1650 (split-window, balance-windows, balance-windows-area-adjust)
1651 (balance-windows-area, window-state-put-2)
1652 (display-buffer-even-window-sizes, display-buffer-set-height)
1653 (display-buffer-set-width, set-window-text-height)
1654 (fit-window-to-buffer): Rename all "resize-window" prefixed
1655 calls to use the "window-resize" prefix convention.
1656 (display-buffer-alist): Fix symbol for label specifier.
1657 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
1658 corresponding specifier.
1659 Reported by Juanma Barranquero <lekktu@gmail.com>.
1661 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
1663 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
1665 (ses-call-printer): Does not pass an empty string to formatter when the
1666 cell is empty to keep from barking printer Calc math-format-value.
1668 2011-06-27 Richard Stallman <rms@gnu.org>
1670 * battery.el (battery-mode-line-limit): New variable.
1671 (battery-update): Handle it.
1673 * mail/rmailmm.el (rmail-mime-process-multipart):
1674 Handle truncated messages.
1676 2011-06-27 Glenn Morris <rgm@gnu.org>
1678 * progmodes/flymake.el (flymake-err-line-patterns):
1679 Allow for column numbers in the ant/javac pattern. (Bug#8866)
1681 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
1683 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
1684 (ses--clean-!, ses--clean-_): New functions.
1685 (ses-range): Add configurability of readout order, and conversion
1688 * ses.el (ses-repair-cell-reference-all): New function.
1689 (ses-cell-symbol): Set macro as safe, so that it can be used in
1692 * ses.el: Update cycle detection algorithm.
1693 (ses-localvars): Add ses--Dijkstra-attempt-nb and
1694 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
1695 (ses-set-localvars): New function.
1696 (ses-make-cell): Add property-list as a cell element.
1697 (ses-cell-property-get-fun, ses-cell-property-get)
1698 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
1699 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
1701 (ses-cell-property-set, ses-cell-property-pop)
1702 (ses-cell-property-get-handle): New macro.
1703 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
1704 New aliases, used for code readability.
1705 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
1707 (ses-self-reference-early-detection): New defcustom.
1708 (ses-formula-references): Robustify against self-refering cells.
1709 (ses-mode): Use ses-set-localvars.
1710 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
1711 before lauching the update processing.
1712 (ses-initialize-Dijkstra-attempt): New function.
1713 (ses-recalculate-cell): Update for cycle detection based on
1716 * ses.el: Fix commenting and indenting convention.
1718 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1720 * bs.el (bs-cycle-next): Complete last change.
1722 2011-06-27 Drew Adams <drew.adams@oracle.com>
1724 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
1726 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1728 * net/network-stream.el (network-stream-open-starttls):
1729 Don't re-get capabilities unless we've reestablished connection.
1730 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
1732 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
1733 to binary to possibly avoid line encoding issues on Windows (among
1736 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1738 * net/network-stream.el (open-network-stream): Return an :error
1739 saying what the problem was, if possible.
1741 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
1744 * net/network-stream.el (network-stream-open-starttls): If we
1745 wanted to use STARTTLS, and the server offered it, but we weren't
1746 able to because we had no STARTTLS support, then close the connection.
1747 (open-network-stream): Return an :error element, if present.
1749 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
1751 * hl-line.el (hl-line-sticky-flag): Doc fix.
1752 (global-hl-line-sticky-flag): New option (Bug#8323).
1753 (global-hl-line-highlight): Obey it.
1755 * vc/vc.el (vc-revert-show-diff): Default to t.
1757 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
1759 * allout-widgets.el (allout-widgets-post-command-business):
1760 Stop decorating intermediate isearch matches. They're not being
1761 undecorated when an isearch is continued past, and isearch
1762 automatically collapses them. This leads to "widget leaks", where
1763 decorated items accumulate in collapsed areas. Lines with lots of
1764 hidden widgets can slow down cursor travel, substantially.
1765 Too much complicated machinery would be needed to ensure undecoration,
1766 so we're doing without this nicety.
1768 (allout-widgets-tally-string): Don't try to do a hash-table-count
1769 of allout-widgets-tally when it's nil. This eliminates spurious "Error
1770 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
1771 *Messages* when allout-widgets-maintain-tally is t.
1773 2011-06-26 Martin Rudalics <rudalics@gmx.at>
1775 * window.el (display-buffer-normalize-argument): Rename to
1776 display-buffer-normalize-arguments. Handle special meaning of
1777 LABEL argument. Respect special-display-function when popping up
1778 a new frame. Fix code searching for a window showing the buffer
1780 (display-buffer-normalize-specifiers):
1781 Call display-buffer-normalize-arguments.
1782 (display-buffer-in-window): Don't undedicate the window if its
1783 buffer remains the same.
1784 Reported by Drew Adams <drew.adams@oracle.com>.
1785 (display-buffer-alist): Add choice for same-window macro
1787 (display-buffer): Mention special meaning of LABEL argument in
1788 doc-string. Fix quoting. Don't pop up a new frame even as
1791 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
1793 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
1794 avoid deleting the current window in some cases (bug#8911).
1796 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
1798 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
1801 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1803 * net/network-stream.el (network-stream-open-starttls):
1804 Use built-in TLS support if `gnutls-available-p' is true.
1805 (network-stream-open-tls): Ditto.
1807 2011-06-26 Leo Liu <sdl.web@gmail.com>
1809 * register.el (registerv): New struct.
1810 (registerv-make): New function.
1811 (jump-to-register, describe-register-1, insert-register):
1812 Support the jump-func, print-func and insert-func slot of a registerv
1815 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
1817 * vc/vc.el (vc-revert-show-diff): New defcustom.
1818 (vc-diff-internal): New arg specifying diff buffer.
1819 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
1820 reuse an existing *vc-diff* buffer (Bug#8927).
1822 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
1824 2011-06-26 Glenn Morris <rgm@gnu.org>
1826 * progmodes/f90.el (f90-critical-indent): New option.
1827 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
1828 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
1829 (f90-mode): Doc fix.
1830 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
1831 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
1832 (f90-beginning-of-block, f90-next-block, f90-indent-region)
1833 (f90-match-end): Handle block, critical.
1835 2011-06-25 Glenn Morris <rgm@gnu.org>
1837 * calendar/diary-lib.el (diary-included-files): Doc fix.
1838 (diary-include-files): New function, extracted from
1839 diary-include-other-diary-files and diary-mark-included-diary-files.
1840 (diary-include-other-diary-files, diary-mark-included-diary-files):
1841 Just call diary-include-files.
1842 (diary-mark-entries): Reset diary-included-files on first call.
1844 * calendar/diary-lib.el (diary-mark-entries)
1845 (diary-mark-included-diary-files):
1846 Visit included diary-files in temp buffers.
1848 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
1849 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
1850 (f90-start-block-re, f90-imenu-generic-expression)
1851 (f90-looking-at-program-block-start, f90-no-block-limit):
1852 Add support for submodules.
1854 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
1855 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
1857 2011-06-25 Eli Zaretskii <eliz@gnu.org>
1859 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
1860 buffer-file-type before setting its value, to avoid disastrous
1861 global effects on decoding files for DOS/Windows systems. (Bug#8780)
1863 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
1865 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
1867 * ses.el (ses-unload-function):
1868 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
1870 * proced.el (proced-unload-function):
1871 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
1873 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
1875 * server.el (server-create-window-system-frame): Add parameters arg.
1876 (server-process-filter): Doc fix. Handle frame-parameters.
1878 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
1880 Fix bug#8730, bug#8781.
1882 * loadhist.el (unload--set-major-mode): New function.
1883 (unload-feature): Use it.
1885 * progmodes/python.el (python-after-info-look): Add autoload cookie.
1886 (python-unload-function): New function.
1888 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1890 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
1892 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
1894 * net/browse-url.el (browse-url-firefox-program): Add icecat to
1895 the candidates list.
1897 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
1899 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
1901 2011-06-23 Richard Stallman <rms@gnu.org>
1903 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
1904 (rmail-variables): Set next-error-move-function.
1905 (rmail-what-message): Take argument POS.
1906 (rmail-next-error-move): New function.
1908 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1910 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
1911 messages for adjacent non-terminals.
1913 2011-06-23 Richard Stallman <rms@gnu.org>
1915 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
1916 (rmail-show-message-1): Preserve buffer modified flag.
1917 (rmail-start-mail): Don't specify use of rmail-mail-return;
1918 that's done by mail-bury now.
1919 (rmail-mail-return): Handle arg NEWBUF.
1921 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
1923 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
1926 2011-06-23 Martin Rudalics <rudalics@gmx.at>
1928 * window.el (get-lru-window, get-mru-window)
1929 (get-largest-window): Never return a minibuffer window.
1930 (display-buffer-pop-up-window): Fix a bug that could lead to
1931 reusing the minibuffer window.
1932 (display-buffer): Pass original specifier argument to
1933 display-buffer-function instead of the normalized one.
1934 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
1936 2011-06-22 Leo Liu <sdl.web@gmail.com>
1938 * minibuffer.el (completing-read-function)
1939 (completing-read-default): Move from minibuf.c
1941 2011-06-22 Richard Stallman <rms@gnu.org>
1943 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
1944 to Rmail even if not started by a special Rmail command.
1946 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1947 Copy the buffer currently showing just one message.
1949 2011-06-22 Roland Winkler <winkler@gnu.org>
1951 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
1952 (bibtex-clean-entry): First delete the old key so that a
1953 customized algorithm for generating the new key does not get
1954 confused by the old key.
1955 (bibtex-url): Obey regexp of first step.
1956 (bibtex-search-entries): Do not use add-to-list with local
1959 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1961 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
1962 stored a user name, then query for the password first, instead of
1963 waiting for SMTP to give an error message and the trying again.
1965 2011-06-22 Lawrence Mitchell <wence@gmx.li>
1967 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
1968 BUFFER in call-process.
1970 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1972 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
1974 (smtpmail-try-auth-methods): Require user name and password from
1977 2011-06-22 Martin Rudalics <rudalics@gmx.at>
1979 * window.el (display-buffer-default-specifiers)
1980 (display-buffer-alist): Remove entries for pop-up-frame-alist.
1981 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
1982 (split-window): Normalize SIDE argument (Bug#8916).
1984 * frame.el (pop-up-frame-alist, pop-up-frame-function)
1985 (special-display-frame-alist, special-display-popup-frame):
1986 Remove duplicate declarations. These are now in window.el.
1988 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1990 * mail/smtpmail.el (smtpmail-via-smtp):
1991 Set :use-starttls-if-possible so that we always use STARTTLS if the
1992 server supports it. SMTP servers that support STARTTLS commonly
1995 * net/network-stream.el (network-stream-open-starttls): Support
1996 upgrading to STARTTLS always, even if we don't have built-in support.
1997 (open-network-stream): Add the :always-query-capabilies keyword.
1999 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
2000 upgrades with `open-network-stream', and rely solely on
2001 auth-source for all credentials. Big changes throughout the file,
2003 (smtpmail-auth-credentials): Remove.
2004 (smtpmail-starttls-credentials): Remove.
2005 (smtpmail-via-smtp): Check for servers saying they want AUTH after
2008 * net/network-stream.el (network-stream-open-starttls):
2009 Provide support for client certificates both for external and built-in
2011 (auth-source): Require.
2012 (open-network-stream): Document the :client-certificate keyword.
2013 (network-stream-certificate): Change cert-cert to cert and
2016 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
2018 * net/tramp-cache.el (top): Don't load the persistency file when
2019 "emacs -Q" has been called.
2021 2011-06-21 Tim Harper <timcharper@gmail.com>
2023 * term/ns-win.el (ns-initialize-window-system):
2024 Set application-specific `ApplePressAndHoldEnabled' system
2025 resource to NO as it is not yet supported by the NS port.
2027 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
2029 * misc.el (list-dynamic-libraries--refresh): Compute header here...
2030 (list-dynamic-libraries): ...not here.
2032 2011-06-21 Leo Liu <sdl.web@gmail.com>
2034 * subr.el (sha1): Implement sha1 using secure-hash.
2036 2011-06-21 Martin Rudalics <rudalics@gmx.at>
2038 * window.el (display-buffer-alist): In default value do not
2039 enforce searching a window on any but the selected frame.
2040 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
2041 (display-buffer-select-window): Remove function.
2042 (display-buffer-in-window): When a window on another frame gets
2043 reused, do not select it any more but just raise its frame if
2044 necessary (Bug#8851) and (Bug#8856).
2045 (display-buffer-normalize-options): Handle pop-up-frames related
2046 options more faithfully.
2047 (pop-to-buffer): Don't rely on `display-buffer' selecting the
2048 window if it is on another frame.
2049 (display-buffer-alist, display-buffer-default-specifiers):
2050 Don't make new frame unsplittable by default.
2051 (display-buffer-normalize-argument): Fix doc-string typo and use
2052 'same-frame-other-window instead of 'other-window when associating
2053 with display-buffer-macro-specifiers.
2055 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
2057 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
2059 (5x5-mode-map, 5x5-mode-menu): Bind them.
2060 (5x5-draw-grid): Tweak the solver's rendering.
2062 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2064 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
2065 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
2067 2011-06-21 Drew Adams <drew.adams@oracle.com>
2069 * menu-bar.el: Use function variable instead of switch-to-buffer.
2070 (menu-bar-select-buffer-function): New variable.
2071 (menu-bar-update-buffers): Use it (bug#8876).
2073 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2075 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
2078 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
2080 * x-dnd.el (x-dnd-version-from-flags)
2081 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
2082 and long as number (Bug#8899).
2083 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
2085 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
2087 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
2088 (completion-try-completion, completion-all-completions): Compute the
2089 metadata argument if it's missing; make it optional (bug#8795).
2091 * wid-edit.el: Use lex-bind and move towards completion-at-point.
2092 (widget-complete): Use new :completion-function property.
2093 (widget-completions-at-point): New function.
2094 (default): Use :completion-function instead of :complete.
2095 (widget-default-completions): Rename from widget-default-complete;
2097 (widget-string-complete, widget-file-complete, widget-color-complete):
2099 (file, symbol, function, variable, coding-system, color):
2100 * international/mule-cmds.el (default-input-method, charset)
2101 (language-info-custom-alist):
2102 * cus-edit.el (face): Use new property :completions.
2104 * progmodes/pascal.el (pascal-completions-at-point): New function.
2105 (pascal-mode): Use it.
2106 (pascal-mode-map): Use completion-at-point.
2107 (pascal-toggle-completions): Make obsolete.
2108 (pascal-complete-word, pascal-show-completions):
2109 * progmodes/octave-mod.el (octave-complete-symbol):
2110 Redefine as obsolete alias.
2111 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
2112 Signal absence of completion info for old Octave,
2113 (inferior-octave-complete): Redefine as obsolete alias.
2114 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
2115 (meta-completions-at-point): Rename from meta-complete-symbol and
2116 adapt it for use on completion-at-point-functions.
2117 (meta-common-mode): Use it.
2118 (meta-looking-at-backward, meta-match-buffer): Remove.
2119 (meta-complete-symbol): Redefine as obsolete alias.
2120 (meta-common-mode-map): Use completion-at-point.
2121 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
2122 (makefile-mode-map): Use completion-at-point.
2123 (makefile-completions-at-point): Rename from makefile-complete and
2124 adapt it for use on completion-at-point-functions.
2125 (makefile-mode): Use it.
2126 (makefile-complete): Redefine as obsolete alias.
2128 2011-06-20 Deniz Dogan <deniz@dogan.se>
2130 * net/rcirc.el: Delete trailing whitespaces once and for all.
2132 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
2134 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
2136 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
2138 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
2140 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
2142 2011-06-19 Martin Rudalics <rudalics@gmx.at>
2144 * window.el (display-buffer-other-window-means-other-frame):
2145 Call display-buffer-normalize-alist.
2146 (display-buffer-normalize-specifiers-1): Rename to
2147 display-buffer-normalize-argument. New argument other-frame.
2149 (display-buffer-normalize-specifiers-2): Rename to
2150 display-buffer-normalize-options.
2151 (display-buffer-normalize-alist-1): New function.
2152 (display-buffer-normalize-specifiers-3): Rename to
2153 display-buffer-normalize-alist.
2154 Call display-buffer-normalize-alist-1.
2155 (display-buffer-normalize-options-inhibit): New variable.
2156 (display-buffer-normalize-specifiers): Rewrite calling
2157 display-buffer-normalize-alist,
2158 display-buffer-normalize-argument, and
2159 display-buffer-normalize-options. Don't call the latter if
2160 display-buffer-normalize-options-inhibit is non-nil.
2161 (frame-auto-delete): New option.
2162 (window-deletable-p): Use frame-auto-delete.
2163 (window-list-no-nils, window-state-ignored-parameters)
2164 (window-state-get-1, window-state-get, window-state-put-list)
2165 (window-state-put-1, window-state-put-2, window-state-put):
2167 (display-buffer-normalize-options): Move special-display-p group
2168 after pop-up-frame group (Bug#8851) and (Bug#8856).
2170 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
2172 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
2174 (rx-submatch-n): New function.
2177 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
2180 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
2182 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
2184 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
2185 anytime existing face settings are present (Bug#8889).
2187 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
2188 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
2189 Remove unused argument.
2191 2011-06-18 Martin Rudalics <rudalics@gmx.at>
2193 * window.el (display-buffer-default-specifiers):
2194 Remove pop-up-frame. Add pop-up-window-min-height,
2195 pop-up-window-min-width, and another reuse-window specifier
2196 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
2197 (display-buffer-normalize-specifiers-2):
2198 Handle split-height-threshold and split-width-threshold also when
2199 pop-up-windows is unset. Add a reuse-window specifier for the
2200 case popping up a new window fails.
2201 (special-display-popup-frame): Remove double quoting.
2202 (display-buffer-normalize-specifiers-1): Fix thinko.
2204 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
2206 * shell.el (shell-completion-vars): Set pcomplete-termination-string
2207 according to comint-completion-addsuffix.
2209 * pcomplete.el: Convert to lexical binding and fix bug#8819.
2210 (pcomplete-suffix-list): Mark as obsolete.
2211 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
2212 pcomplete-seen in the closure.
2213 (pcomplete-comint-setup): Setup completion-at-point as well.
2214 (pcomplete--entries): New function.
2215 (pcomplete--env-regexp): New var.
2216 (pcomplete-entries): Rewrite to work with partial-completion and
2217 without relying on pcomplete-suffix-list.
2218 (pcomplete-pare-list): Remove, unused.
2220 2011-06-17 Martin Rudalics <rudalics@gmx.at>
2222 * window.el (display-buffer-alist): Set pop-up-window-min-height
2223 and pop-up-window-min-width in default value. Reported by
2224 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
2225 other-window-means-other-frame.
2226 (display-buffer-macro-specifiers): Comment out entry for
2227 other-window specifier.
2228 (display-buffer-other-window-means-other-frame): New function.
2229 (display-buffer-normalize-specifiers-1): New arguments
2230 buffer-name and label. Treat other-window case specially.
2231 (display-buffer-normalize-specifiers-2): Treat other-window case
2233 (display-buffer-normalize-specifiers-3): New function.
2234 (display-buffer-normalize-specifiers):
2235 Call display-buffer-normalize-specifiers-3.
2237 2011-06-17 Martin Rudalics <rudalics@gmx.at>
2239 * window.el (same-window-p): Fix two typos introduced when
2240 adding with-no-warnings.
2241 (display-buffer-normalize-specifiers-1): Don't check
2242 pop-up-frames for 'unset initialization.
2243 (display-buffer-normalize-specifiers-2): Major rewrite using
2244 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
2245 (pop-up-frames, display-buffer-reuse-frames)
2246 (display-buffer-mark-dedicated): Don't initialize to 'unset.
2247 Suggested by David Engster <deng@randomsample.de>.
2248 (even-window-heights): Initialize to 'unset.
2249 (display-buffer-alist-set): Handle new 'unset initializations.
2250 (display-buffer-macro-specifiers): Don't pop up a new frame in the
2253 2011-06-16 Martin Rudalics <rudalics@gmx.at>
2255 * window.el (display-buffer-normalize-specifiers-1):
2256 Respect current value of pop-up-frames for most reasonable values of
2257 second argument of display-buffer (Bug#8865).
2258 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
2259 (switch-to-buffer-other-window-same-frame)
2260 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
2262 (display-buffer): Don't check noninteractive when calling
2263 display-buffer-pop-up-frame.
2264 (display-buffer-pop-up-frame): Never pop up a frame in
2265 noninteractive mode (Bug#8857).
2266 (enlarge-window, shrink-window): Don't report an error when the
2267 window can't be resized as requested (Bug#8862).
2269 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2271 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
2273 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
2275 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
2277 2011-06-15 Alan Mackenzie <acm@muc.de>
2279 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
2280 for declarators, disable knr checking to speed up for normal files.
2281 2: Refactor, replacing a sequence of nested if forms by a cond form.
2283 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2285 * net/network-stream.el (open-network-stream): Add the keyword
2286 :always-query-capabilities for the case where you want to force a
2287 `plain' network connection, but the protocol still requires the
2288 capabilitiy command (i.e., SMTP and EHLO).
2290 * subr.el (process-live-p): Rename from `process-alive-p' for
2291 consistency with other `-live-p' functions.
2293 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2295 * window.el (same-window-buffer-names, same-window-regexps)
2296 (special-display-frame-alist, special-display-popup-frame)
2297 (special-display-function, special-display-buffer-names)
2298 (special-display-regexps, pop-up-frame-alist)
2299 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
2300 (pop-up-windows, split-window-preferred-function)
2301 (split-height-threshold, split-width-threshold, even-window-heights)
2302 (display-buffer-mark-dedicated): Don't encourage the use of
2303 display-buffer-alist from Elisp code.
2305 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
2307 * progmodes/python.el (python-mode): Derive from prog-mode.
2308 * progmodes/ps-mode.el (ps-mode):
2309 * progmodes/mixal-mode.el (mixal-mode):
2310 * progmodes/cfengine.el (cfengine-mode):
2311 * progmodes/ld-script.el (ld-script-mode): Likewise.
2313 2011-06-15 Martin Rudalics <rudalics@gmx.at>
2315 * window.el (display-buffer-alist): Trim default value to avoid
2316 popping up a new frame (Bug#8857) or reusing an arbitrary window
2318 (display-buffer): Do not fall back on popping up a new frame in
2319 batch mode (Bug#8857).
2321 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
2323 * cus-theme.el (describe-theme-1): Use custom-theme-p.
2324 (custom-theme-summary): New function.
2325 (customize-themes): Use it.
2327 2011-06-13 Glenn Morris <rgm@gnu.org>
2329 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
2331 2011-06-13 Martin Rudalics <rudalics@gmx.at>
2333 * help.el (help-window): Remove variable.
2334 (help-window-point-marker, temp-buffer-max-height)
2335 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
2336 (help-print-return-message): Don't set help-window.
2337 (resize-temp-buffer-window): Rewrite cod eand doc-string.
2338 (help-window-setup-finish): Remove.
2339 (help-window-display-message, help-window-setup)
2340 (with-help-window): Major rewrite based on new
2341 display-buffer-window variable.
2343 * help-mode.el (help-mode-finish): Remove help-window related
2346 * view.el (view-exits-all-viewing-windows): Remove reference to
2347 view-return-to-alist in doc-string.
2348 (view-return-to-alist): Make obsolete.
2349 (view-buffer): Call pop-to-buffer-same-window and remove
2351 (view-buffer-other-window): Call pop-to-buffer-other-window and
2352 simplify code. Ignore second argument.
2353 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
2354 simplify code. Ignore second argument.
2355 (view-return-to-alist-update): Make obsolete.
2356 (view-mode-enter): Rename second argument to QUIT-RESTORE.
2357 Rewrite using quit-restore window parameters.
2358 (view-mode-exit): Rename second argument to EXIT-ONLY.
2359 Rewrite using quit-restore-window.
2360 (View-exit, View-exit-and-edit, View-leave, View-quit)
2361 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
2362 appropriate arguments.
2363 (view-end-message): Use quit-restore window parameter.
2365 * window.el (display-buffer-function): Rewrite doc-string.
2366 (display-buffer-window, display-buffer-alist): New variables.
2367 (display-buffer-split-specifiers)
2368 (display-buffer-side-specifiers)
2369 (display-buffer-macro-specifiers): New constants.
2370 (display-buffer-even-window-sizes, display-buffer-set-height)
2371 (display-buffer-set-width, display-buffer-select-window)
2372 (display-buffer-in-window, display-buffer-reuse-window)
2373 (display-buffer-split-window-1, display-buffer-split-window)
2374 (display-buffer-split-atom-window, display-buffer-pop-up-window)
2375 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
2376 (display-buffer-in-side-window, normalize-buffer-to-display)
2377 (display-buffer-normalize-specifiers-1)
2378 (display-buffer-normalize-specifiers-2)
2379 (display-buffer-normalize-specifiers, display-buffer-frame):
2381 (display-buffer): Major rewrite.
2382 (display-buffer-other-window, display-buffer-other-frame)
2383 (pop-to-buffer, switch-to-buffer-other-window)
2384 (switch-to-buffer-other-frame): Rewrite.
2385 (display-buffer-same-window, display-buffer-same-frame)
2386 (display-buffer-same-frame-other-window)
2387 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
2388 (pop-to-buffer-other-window)
2389 (pop-to-buffer-same-frame-other-window)
2390 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
2391 (switch-to-buffer-other-window-same-frame): New functions.
2392 (same-window-p, special-display-p): Rewrite disabling warnings.
2394 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2395 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
2397 (same-window-buffer-names, same-window-regexps)
2398 (special-display-frame-alist, special-display-popup-frame)
2399 (special-display-function, special-display-buffer-names)
2400 (special-display-regexps, pop-up-frame-alist)
2401 (pop-up-frame-function, split-window-preferred-function)
2402 (split-height-threshold, split-width-threshold)
2403 (even-window-heights): Make obsolete.
2405 2011-06-12 Glenn Morris <rgm@gnu.org>
2407 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
2408 Misc simplifications.
2410 2011-06-12 Martin Rudalics <rudalics@gmx.at>
2412 * window.el (window-safely-shrinkable-p): Restore function which
2413 was inadvertently removed in change from 2011-06-11. Declare as
2416 * calendar/calendar.el (calendar-generate-window):
2417 Use window-iso-combined-p instead of combination of one-window-p and
2418 window-safely-shrinkable-p.
2420 2011-06-12 Glenn Morris <rgm@gnu.org>
2422 * progmodes/fortran.el (fortran-mode-syntax-table):
2423 * progmodes/f90.el (f90-mode-syntax-table):
2424 Set % to punctuation. (Bug#8820)
2425 (f90-find-tag-default): Remove, no longer needed.
2427 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
2429 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
2431 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
2433 * image.el (image-animated-p): Return animation delay in seconds.
2434 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
2435 (image-animate-timeout): Remove DELAY argument. Don't assume
2436 every subimage has the same delay; get it from image-animated-p.
2437 (image-animate): Caller changed.
2439 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
2441 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
2442 to ignored backtrace functions.
2444 2011-06-11 Glenn Morris <rgm@gnu.org>
2446 * calendar/appt.el (appt-disp-window-function): Doc fix.
2447 (appt-check): Handle overlapping appointments. (Bug#8337)
2449 2011-06-11 Martin Rudalics <rudalics@gmx.at>
2451 * window.el (window-tree-1, window-tree): New functions, moving
2452 the latter to window.el.
2453 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
2454 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
2455 (bw-refresh-edges): Remove.
2456 (balance-windows-1, balance-windows-2): New functions.
2457 (balance-windows): Rewrite in terms of window tree functions,
2458 balance-windows-1 and balance-windows-2.
2459 (bw-adjust-window): Remove.
2460 (balance-windows-area-adjust): New function with functionality of
2461 bw-adjust-window but using resize-window.
2462 (set-window-text-height): Rewrite doc-string.
2463 Use normalize-live-window and resize-window.
2464 (enlarge-window-horizontally, shrink-window-horizontally):
2465 Rename argument to DELTA.
2466 (window-buffer-height): New function.
2467 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
2468 Rewrite using new window resize routines.
2469 (kill-buffer-and-window, mouse-autoselect-window-select):
2470 Use ignore-errors instead of condition-case.
2471 (quit-window): Call delete-frame instead of delete-windows-on
2472 for the only buffer on frame.
2474 2011-06-10 Martin Rudalics <rudalics@gmx.at>
2476 * loadup.el (top-level): Load window before files for the sake
2477 of replace-buffer-in-windows.
2479 * files.el (read-buffer-to-switch)
2480 (switch-to-buffer-other-window)
2481 (switch-to-buffer-other-frame, display-buffer-other-frame):
2484 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
2485 (previous-buffer): Move to window.el.
2487 * bindings.el (unbury-buffer): Move to window.el.
2489 * window.el (delete-other-windows-vertically): Move after
2490 definition of delete-other-windows.
2491 (other-window, delete-windows-on, replace-buffer-in-windows):
2492 Move here from window.c.
2493 (record-window-buffer, unrecord-window-buffer)
2494 (set-window-buffer-start-and-point, switch-to-prev-buffer)
2495 (switch-to-next-buffer): New functions.
2496 (get-next-valid-buffer, last-buffer, next-buffer): Move here
2497 from simple.el. Call switch-to-next-buffer.
2498 (previous-buffer): Move here from simple.el.
2499 Call switch-to-prev-buffer.
2500 (bury-buffer): Move here from buffer.c. Switch to previous
2501 buffer when window cannot be deleted.
2502 (unbury-buffer): Move here from bindings.el.
2503 (ctl-x-map): Move binding for other-window from window.c to
2505 (read-buffer-to-switch, switch-to-buffer-other-window)
2506 (switch-to-buffer-other-frame): Move here from files.el.
2507 (normalize-buffer-to-switch-to): New functions.
2508 (switch-to-buffer): Move here from buffer.c.
2509 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
2511 2011-06-10 Martin Rudalics <rudalics@gmx.at>
2513 * window.el (window-min-height, window-min-width): Move here
2514 from window.c. Add defcustoms and rewrite doc-strings.
2515 (resize-mini-window, resize-window): New functions.
2516 (adjust-window-trailing-edge, enlarge-window, shrink-window):
2517 Move here from window.c.
2518 (maximize-window, minimize-window): New functions.
2519 (delete-window, delete-other-windows, split-window): Move here
2521 (window-split-min-size): New function.
2522 (split-window-keep-point): Mention split-window-above-each-other
2523 instead of split-window-vertically.
2524 (split-window-above-each-other, split-window-vertically):
2525 Rename split-window-vertically to split-window-above-each-other and
2526 provide defalias for old definition.
2527 (split-window-side-by-side, split-window-horizontally): Rename
2528 split-window-horizontally to split-window-side-by-side and provide
2529 defalias for the old definition.
2530 (ctl-x-map): Move bindings for delete-window,
2531 delete-other-windows and enlarge-window here from window.c.
2532 Replace bindings for split-window-vertically and
2533 split-window-horizontally by bindings for
2534 split-window-above-each-other and split-window-side-by-side.
2536 * cus-start.el (all): Remove entries for window-min-height and
2537 window-min-width. Add entries for window-splits and
2540 2011-06-09 Glenn Morris <rgm@gnu.org>
2542 * calendar/appt.el (appt-mode-line): New function.
2543 (appt-check, appt-disp-window): Use it.
2545 * files.el (hack-one-local-variable-eval-safep):
2546 Allow minor-modes with explicit +/-1 arguments.
2548 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
2550 * term/xterm.el (xterm): Add defgroup.
2551 (xterm-extra-capabilities): Add defcustom to supply known xterm
2552 capabilities, skip querying them, or query them (default).
2553 (terminal-init-xterm): Use it.
2554 (terminal-init-xterm-modify-other-keys): New function to set up
2555 modifyOtherKeys support to simplify `terminal-init-xterm'.
2557 2011-06-09 Martin Rudalics <rudalics@gmx.at>
2559 * window.el (resize-window-reset, resize-window-reset-1)
2560 (resize-subwindows-skip-p, resize-subwindows-normal)
2561 (resize-subwindows, resize-other-windows, resize-this-window)
2562 (resize-root-window, resize-root-window-vertically)
2563 (window-deletable-p, window-or-subwindow-p)
2564 (frame-root-window-p): New functions.
2566 2011-06-09 Glenn Morris <rgm@gnu.org>
2568 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
2569 (ange-ftp-get-files): Use it.
2571 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
2573 * mail/sendmail.el (mail-recover-1, mail-recover):
2574 * files.el (recover-file, recover-session):
2575 Handle dired-listing-switches not being just a single short option.
2577 2011-06-09 Glenn Morris <rgm@gnu.org>
2579 * calendar/appt.el (appt-display-message, appt-disp-window):
2580 Handle lists of appointments.
2582 2011-06-08 Martin Rudalics <rudalics@gmx.at>
2584 * window.el (one-window-p): Move down in code.
2586 (window-current-scroll-bars): Rewrite doc-string.
2587 Normalize live window argument.
2588 (walk-windows, get-window-with-predicate, count-windows):
2589 Rewrite doc-string. Use window-list-1.
2590 (window-in-direction-2, window-in-direction, get-mru-window):
2593 2011-06-08 Reuben Thomas <rrt@sc3d.org>
2595 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
2598 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
2600 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
2602 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
2604 * loadhist.el (unload-feature-special-hooks):
2605 Add `comint-output-filter-functions'.
2607 2011-06-08 Ivan Kanis <gnu@kanis.fr>
2609 * calendar/appt.el (appt-check): Move some initializations into the let.
2611 2011-06-08 Martin Rudalics <rudalics@gmx.at>
2613 * window.el (window-height): Defalias to window-total-height.
2614 (window-width): Defalias to window-body-width.
2616 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
2618 * image-mode.el (image-toggle-animation): New command.
2619 (image-mode-map): Bind it to RET.
2620 (image-mode): Update message.
2621 (image-toggle-display-image): Avoid a spurious cache flush.
2622 (image-transform-rotation): Doc fix.
2623 (image-transform-properties): Return quickly in the normal case.
2624 (image-animate-loop): Rename from image-animate-max-time.
2626 * image.el (image-animate-max-time): Move to image-mode.el.
2627 (create-animated-image): Remove unnecessary function.
2628 (image-animate): Rename from image-animate-start. New arg.
2629 (image-animate-stop): Remove; just use image-animate-timer.
2630 (image-animate-timer): Use car-safe.
2631 (image-animate-timeout): Rename argument.
2633 2011-06-07 Martin Rudalics <rudalics@gmx.at>
2635 * window.el (get-lru-window, get-largest-window): Move here from
2636 window.c. Rename first argument to ALL-FRAMES.
2637 Rephrase doc-strings.
2638 (get-buffer-window-list): Rewrite using window-list-1.
2639 Rephrase doc-string.
2640 (window-safe-min-height, window-safe-min-width): New constants.
2641 (window-size-ignore, window-min-size, window-min-size-1)
2642 (window-sizable, window-sizable-p, window-size-fixed-1)
2643 (window-size-fixed-p, window-min-delta-1, window-min-delta)
2644 (window-max-delta-1, window-max-delta, window-resizable)
2645 (window-resizable-p, window-total-height, window-total-width)
2646 (window-body-width): New functions.
2647 (window-full-height-p, window-full-width-p): Rewrite using
2649 (window-body-height): Rewrite using window-body-size.
2651 2011-06-06 Martin Rudalics <rudalics@gmx.at>
2653 * window.el (window-right, window-left, window-child)
2654 (window-child-count, window-last-child, window-any-p)
2655 (normalize-live-buffer, normalize-live-frame)
2656 (normalize-any-window, normalize-live-window)
2657 (window-iso-combination-p, window-iso-combined-p)
2658 (window-iso-combinations)
2659 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
2660 (windows-with-parameter, window-with-parameter)
2661 (window-atom-root, make-window-atom, window-atom-check-1)
2662 (window-atom-check, window-side-check, window-check):
2664 (ignore-window-parameters, window-sides, window-sides-vertical)
2665 (window-sides-slots): New variables.
2666 (window-size-fixed): Move down in code. Minor doc-string fix.
2668 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
2670 * comint.el (comint-dynamic-complete-as-filename)
2671 (comint-dynamic-complete-filename): Correctly call
2672 completion-in-region.
2674 2011-06-05 Deniz Dogan <deniz@dogan.se>
2676 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
2679 2011-06-05 Deniz Dogan <deniz@dogan.se>
2681 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
2682 (rcirc): Use it to prompt for encryption.
2684 2011-06-05 Roland Winkler <winkler@gnu.org>
2686 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
2687 (bibtex-search-entries): New command bound to C-c C-a.
2688 (bibtex-display-entries): New function.
2690 2011-06-05 Roland Winkler <winkler@gnu.org>
2692 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
2693 (bibtex-insert-kill): After yanking insert newline if necessary.
2694 (bibtex-initialize): Call bibtex-string-files-init only once.
2695 (bibtex-mode): Do not call easy-menu-add.
2696 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
2697 (bibtex-yank): Set arg properly if nil.
2699 2011-06-05 Roland Winkler <winkler@gnu.org>
2701 * textmodes/bibtex.el (bibtex-search-entry-globally):
2703 (bibtex-search-entry): Use it.
2705 2011-06-05 Roland Winkler <winkler@gnu.org>
2707 * textmodes/bibtex.el (bibtex-entry-format): New option
2709 (bibtex-format-entry, bibtex-reformat): Honor this option.
2710 (bibtex-parse-entry): Return fields in proper order.
2712 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
2714 * doc-view.el (doc-view-remove-if): Move computation of result out
2715 of `dolist' to silence misleading lexical-binding warning.
2717 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
2719 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
2720 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
2722 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
2724 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
2727 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
2729 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
2730 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
2731 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
2732 (tramp-parse-putty):
2733 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
2734 (tramp-completion-function-alist-ssh)
2735 (tramp-completion-function-alist-telnet)
2736 (tramp-completion-function-alist-su)
2737 (tramp-completion-function-alist-putty): Set `tramp-autoload'
2742 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
2743 load "tramp.el" `tramp-set-completion-function'.
2745 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2747 * shell.el: Require and use pcomplete.
2748 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
2749 (shell-completion-vars): Set pcomplete-default-completion-function.
2751 2011-06-04 Deniz Dogan <deniz@dogan.se>
2753 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
2756 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2758 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
2760 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
2762 * bs.el (bs--mark-unmark, bs--nth-wrapper):
2763 * mpc.el (mpc-select-extend, mpc-songpointer-context):
2764 * vc/log-view.el (log-view-beginning-of-defun):
2765 * vc/smerge-mode.el (smerge-apply-resolution-patch)
2766 (smerge-refine-forward, smerge-refine-chopup-region):
2767 Silence warning for unused `dotimes' counter variables.
2769 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2771 * net/tramp.el (tramp-with-progress-reporter): Rename from
2772 with-progress-reporter. Use `declare'.
2775 * net/tramp-gvfs.el: Update all uses.
2777 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
2779 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
2780 buffer isn't killed before making it current.
2782 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2784 Silence various byte-compiler warnings.
2785 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
2786 `access-type' and new obsolescence format.
2787 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
2789 (byte-compile-check-variable): New `access-type' argument.
2790 Only warn if the access-type is obsolete.
2791 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
2792 (byte-compile-variable-set): Adjust callers.
2793 * help-fns.el (describe-variable): Adjust to new obsolescence format.
2794 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
2795 setting it as obsolete.
2796 * simple.el (minibuffer-completing-symbol):
2797 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
2799 * minibuffer.el (minibuffer-completing-file-name): Don't make it
2801 * international/quail.el (quail-mouse-choose-completion): Remove unused
2802 code referring to obsolete var.
2803 (quail-choose-completion-string): Remove.
2804 * server.el (server-clients-with, server-kill-buffer-query-function)
2805 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
2806 * proced.el (proced-send-signal):
2807 * emacs-lisp/lisp.el (lisp-complete-symbol):
2808 Replace completion-annotate-function with completion-extra-properties.
2810 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2812 * simple.el (goto-line): Use read-number.
2813 (overriding-map-is-bound): Remove.
2814 (saved-overriding-map): Change default.
2815 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
2816 Take the map as argument.
2817 (universal-argument, negative-argument, digit-argument): Use it.
2818 (restore-overriding-map): Adjust.
2819 (do-auto-fill): Use fill-forward-paragraph.
2820 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
2822 * minibuffer.el (minibuffer-inactive-mode-map): New var.
2823 (minibuffer-inactive-mode): New major mode.
2824 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
2825 the *Messages* buffer" hack.
2826 (mouse-popup-menubar): Don't burp if the event is a normal key.
2828 Miscellaneous tweaks.
2829 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
2830 lexical scoping as in subr.el's dolist and dotimes.
2831 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
2832 Silence compiler warning.
2833 * thingatpt.el (forward-whitespace): Trivial coding style fix.
2834 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
2835 * international/ccl.el (ccl-compile): Trivial simplification.
2836 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
2837 * emacs-lisp/testcover.el (testcover-end): Remove spurious
2838 `printflag' argument.
2839 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
2840 Purecopy the whole obsolescence data.
2842 2011-06-01 Leo Liu <sdl.web@gmail.com>
2844 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
2845 improve doc-string as suggested by Marco Pessotto
2846 <melmothx@gmail.com>.
2847 (rcirc-print): Fix last change.
2849 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2851 * minibuffer.el (complete-with-action): Return nil for the metadata and
2852 boundaries of non-functional tables.
2853 (completion-table-dynamic): Return nil for the metadata.
2854 (completion-table-with-terminator): Add default case, using
2855 complete-with-action.
2856 (completion--metadata): New function.
2857 (completion-all-sorted-completions, minibuffer-completion-help): Use it
2858 to try and avoid pathological performance problems.
2859 (completion--embedded-envvar-table): Return `category' metadata.
2861 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
2863 * subr.el (process-alive-p): New tiny convenience function.
2865 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2867 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
2868 content but also its previous major mode.
2870 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
2872 * debug.el (debug): Restore the previous content of the
2873 *Backtrace* buffer when we exit with C-M-c.
2875 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2877 * minibuffer.el: Add metadata method to completion tables.
2878 (completion-category-overrides): New defcustom.
2879 (completion-metadata, completion--field-metadata)
2880 (completion-metadata-get, completion--styles)
2881 (completion--cycle-threshold): New functions.
2882 (completion-try-completion, completion-all-completions):
2883 Add `metadata' argument to choose completion-styles.
2884 (completion--do-completion): Use metadata to choose cycling.
2885 (completion-all-sorted-completions): Use metadata for sorting.
2886 Remove :completion-cycle-penalty which is not needed any more.
2887 (completion--try-word-completion): Add `metadata' argument.
2888 (minibuffer-completion-help): Check metadata for annotation function
2890 (completion-file-name-table): Return `category' metadata.
2891 (minibuffer-completing-file-name): Make obsolete.
2892 * simple.el (minibuffer-completing-symbol): Make obsolete.
2893 * icomplete.el (icomplete-completions): Pass new `metadata' param to
2894 completion-try-completion.
2896 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2898 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
2900 2011-05-30 Leo Liu <sdl.web@gmail.com>
2902 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
2903 (rcirc-print): Decode all incoming messages (bug#8744).
2904 (rcirc-decode-coding-system): Allow value nil for automatic coding
2907 2011-06-01 Glenn Morris <rgm@gnu.org>
2909 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
2911 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
2913 * image.el (image-animate-max-time): Allow nil and t values.
2915 (create-animated-image): Doc fix.
2916 (image-animate-start): Remove second arg; just use
2917 image-animate-max-time.
2918 (image-animate-timeout): Doc fix. Args changed.
2920 * image-mode.el (image-toggle-display-image): Ensure that the
2921 image spec passed to the animate timer is the same object as in
2922 the the buffer's display property (Bug#6981).
2923 (image-transform-properties): Doc fix.
2925 * image.el (image-animate-max-time): Default to nil.
2927 2011-05-29 Martin Rudalics <rudalics@gmx.at>
2929 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
2930 entire buffer list (Bug#8184).
2932 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
2934 * image.el (imagemagick-types-inhibit)
2935 (imagemagick-register-types): Doc fix.
2937 2011-05-29 Deniz Dogan <deniz@dogan.se>
2939 * net/rcirc.el (rcirc): Use the user's stored encryption method by
2942 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
2944 * select.el: Don't perform clipboard-manager saving in hooks;
2945 leave the hooks empty.
2947 2011-05-28 Leo Liu <sdl.web@gmail.com>
2949 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
2950 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
2951 (occur-edit-mode): New major mode (Bug#8463).
2952 (occur-after-change-function): New function.
2953 (occur-engine): Give Occur tags a read-only property.
2955 2011-05-28 Kevin Ryde <user42@zip.com.au>
2957 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
2959 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
2961 * bindings.el (help-echo): Make the initial non-indicator dash
2962 empty on graphical terminals (Bug#7295).
2964 * files.el (auto-mode-alist): Move config rule after the
2965 in-stripping one (Bug#8547).
2967 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
2969 * startup.el (normal-splash-screen): Remove gratuitous mode-line
2972 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
2974 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
2975 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
2978 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
2980 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
2982 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
2984 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
2985 (hs-hide-block-at-point, hs-find-block-beginning)
2986 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
2989 2011-05-28 Glenn Morris <rgm@gnu.org>
2991 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
2993 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
2995 * help-fns.el (describe-function-1): If the function is a derived
2996 major mode, print the parent mode.
2998 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
2999 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
3001 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3003 * minibuffer.el (completion--capf-wrapper): Check applicability before
3004 retuning non-nil for non-exclusive completion data.
3005 * progmodes/etags.el (tags-completion-at-point-function):
3006 * info-look.el (info-lookup-completions-at-point): Mark as
3008 (info-complete): Adjust accordingly.
3010 * info-look.el: Convert to lexical-binding and completion-at-point.
3011 (info-lookup-completions-at-point): New function.
3012 (info-complete): Use it and completion-in-region.
3014 2011-05-28 Drew Adams <drew.adams@oracle.com>
3016 * isearch.el: Let M-e start with point at the first mismatched char.
3017 (isearch-fail-pos): New function.
3018 (isearch-edit-string): Use it.
3020 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
3022 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
3024 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
3026 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
3027 traversal functions for avl-trees.
3028 (avl-tree--stack): New struct.
3029 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
3030 (avl-tree-enter): Add optional `updatefun' arg.
3031 (avl-tree--do-enter): Add optional `updatefun' arg.
3032 Change return value.
3033 (avl-tree-delete): Add optional `test' and `nilflag' args.
3034 (avl-tree--do-delete): Add `test' and `nilflag' args.
3035 Change return value.
3036 (avl-tree-member): Add optional `nilflag'
3037 (avl-tree-member-p): New function.
3038 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
3039 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
3040 (avl-tree-stack-empty-p): New functions.
3042 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
3044 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
3045 avl-tree--del-balance1 and make it work both ways.
3046 (avl-tree--del-balance2): Remove.
3047 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
3048 make it work both ways.
3049 (avl-tree--enter-balance2): Remove.
3050 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
3052 (avl-tree--mapc, avl-tree-map): Add direction argument.
3054 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
3056 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
3058 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
3060 * select.el: Support clipboard managers with built-in function
3061 x-clipboard-manager-save, via delete-frame-functions and
3063 (xselect-convert-to-targets): Add MULTIPLE target to list.
3064 (xselect-convert-to-save-targets): New function.
3066 2011-05-27 Kenichi Handa <handa@m17n.org>
3068 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
3069 let-binding rfc2047-encode-encoded-words to nil.
3071 2011-05-27 Glenn Morris <rgm@gnu.org>
3073 * mail/emacsbug.el: Don't require url-util.
3075 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
3077 * files.el (set-auto-mode):
3078 Also respect mode: entries at the end of the file. (Bug#8586)
3080 2011-05-26 Glenn Morris <rgm@gnu.org>
3082 * files.el (hack-local-variables-prop-line, hack-local-variables):
3083 Downcase mode names, as seems to be traditional.
3084 (hack-local-variables, hack-local-variables-apply): Doc fixes.
3086 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
3087 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
3089 2011-05-25 Julien Danjou <julien@danjou.info>
3091 * textmodes/rst.el (rst-define-level-faces): Do not define face
3092 symbol if it is already defined.
3094 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3096 * play/5x5.el (5x5-new-game, 5x5-randomize):
3097 Reset 5x5-solver-output to nil when a new grid is cast.
3098 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
3099 these debugging traces, as defmacro breaks the compiled code.
3101 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
3103 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
3105 2011-05-24 Leo Liu <sdl.web@gmail.com>
3107 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
3108 (vc-bzr-sha1): Adapt.
3110 * sha1.el: Remove. Function `sha1' is now builtin.
3112 * bindings.el: Provide sha1 feature.
3114 2011-05-24 Kenichi Handa <handa@m17n.org>
3116 * mail/sendmail.el: Require `rfc2047'.
3117 (mail-insert-from-field): Do not perform RFC2047 encoding.
3118 (mail-encode-header): New function.
3119 (sendmail-send-it): Set buffer-file-coding-system of the work
3120 buffer to the return value of select-message-coding-system.
3121 Call mail-encode-header.
3123 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
3125 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
3127 * mail/supercite.el (sc-default-cite-frame):
3128 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
3130 2011-05-24 Glenn Morris <rgm@gnu.org>
3132 * progmodes/python.el (brm-menu): Declare.
3134 * emulation/viper.el (viper-set-hooks): Declare.
3136 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
3137 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
3138 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
3139 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
3140 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
3141 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
3143 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
3145 Add an :exit-function for completion-at-point.
3147 * minibuffer.el (completion--done): New fun.
3148 (completion--do-completion): Use it. New arg `expect-exact'.
3149 (minibuffer-complete, minibuffer-complete-word): Don't output message,
3150 since completion--do-completion does it for us now.
3151 (minibuffer-force-complete): Use completion--done and
3152 completion--replace. Handle sole-completion case with more care.
3153 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
3154 (completion-extra-properties): New var.
3155 (completion-annotate-function): Make obsolete.
3156 (minibuffer-completion-help): Adjust accordingly.
3157 Use completion-list-insert-choice-function.
3158 (completion-at-point, completion-help-at-point):
3159 Bind completion-extra-properties.
3160 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
3161 * simple.el (completion-list-insert-choice-function): New var.
3162 (completion-setup-function): Preserve it.
3163 (choose-completion): Pay attention to it, shuffle the code a bit.
3164 (choose-completion-string): New arg `insert-function'.
3166 * textmodes/bibtex.el: Convert to lexical binding.
3167 (bibtex-mode-map): Use completion-at-point.
3168 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
3169 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
3170 (bibtex-complete): Define as obsolete alias.
3171 (bibtex-complete-internal): Remove.
3172 (bibtex-format-entry): Remove unused sub-group in regexp.
3173 * shell.el (shell--command-completion-data)
3174 (shell-environment-variable-completion):
3175 * pcomplete.el (pcomplete-completions-at-point):
3176 * comint.el (comint--complete-file-name-data): Use :exit-function
3177 instead of completion-table-with-terminator so it also works for
3180 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
3182 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
3184 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
3187 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
3189 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
3191 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
3192 customization variable and implement: If non-nil, auto-fill will
3193 be inhibited while on topic's header line.
3195 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
3197 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
3198 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
3199 always have a solution in grid size = 5 cases.
3200 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
3201 (5x5-solver-output, 5x5-log-buffer): New vars.
3202 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
3203 Make these variables buffer local to achieve 5x5 multi-session-ness.
3204 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
3205 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
3206 (5x5-solve-suggest): New funs.
3207 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
3208 randomize a grid so that we ensure that there is always a solution.
3209 (5x5-make-random-grid): Allow other movement than flipping.
3211 2011-05-23 Kevin Ryde <user42@zip.com.au>
3213 * emacs-lisp/advice.el (ad-read-advised-function):
3214 Use `function-called-at-point' as the default default, if it has
3215 advice and passes PREDICATE.
3217 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
3219 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
3220 byte-compile-lambda if it's actually a lambda.
3222 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
3223 Fix function quoting. Use backquote better.
3225 2011-05-22 Yuanle Song <sylecn@gmail.com>
3227 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
3228 matching (Bug#8516).
3230 2011-01-22 Jari Aalto <jari.aalto@cante.net>
3232 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
3233 different face (Bug#8178).
3235 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
3237 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
3240 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
3242 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
3243 funcall as well (bug#8712). Warn when performing those conversions.
3244 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
3246 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
3248 2011-05-22 Glenn Morris <rgm@gnu.org>
3250 * files.el (hack-local-variables-prop-line): Small simplifications.
3251 (hack-local-variables, hack-local-variables-prop-line):
3252 If MODE-ONLY, return the mode, rather than just `t'.
3254 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3256 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
3258 2011-05-21 Glenn Morris <rgm@gnu.org>
3260 * files.el (hack-local-variables-prop-line, hack-local-variables):
3261 If only interested in the mode, don't bother doing the other stuff.
3263 * image-mode.el (image-after-revert-hook):
3264 Redraw all frames on which the image is visible. (Bug#8567)
3266 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
3268 * wid-edit.el (widget-checklist-match-inline):
3269 Fix 2011-04-19 change. (Bug#8649)
3271 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
3273 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
3274 Also allow singlespace after single-letter capitals followed by a dot.
3276 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
3277 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
3279 2011-05-20 Nix <nix@esperi.org.uk>
3281 * files.el (basic-save-buffer-2):
3282 Fix handling of break-hardlink-on-save with non-existent files.
3284 2011-05-19 Deniz Dogan <deniz@dogan.se>
3286 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
3287 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
3289 2011-05-19 Glenn Morris <rgm@gnu.org>
3291 * progmodes/f90.el (f90-type-def-re):
3292 Handle "type, bind(c)". (Bug#8691)
3294 * emacs-lisp/autoload.el (batch-update-autoloads):
3295 Set autoload-excludes by parsing loadup.el rather than Makefiles.
3297 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
3299 * net/tramp.el (tramp-process-actions): Set "first-password-request"
3300 property for the correct connection in case of multihops.
3302 2011-05-18 Glenn Morris <rgm@gnu.org>
3304 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
3305 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
3307 Rationalize calendar handling of day and month abbrev-arrays.
3308 * calendar/calendar.el (calendar-customized-p): New function.
3309 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
3310 (calendar-day-name-array, calendar-month-name-array): Doc fix.
3312 (calendar-abbrev-length, calendar-day-abbrev-array)
3313 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
3314 (calendar-day-abbrev-array, calendar-month-abbrev-array):
3315 Elements may no longer be nil.
3316 (calendar-day-name, calendar-month-name):
3317 Update for changed nature of abbrev arrays.
3318 * calendar/diary-lib.el (diary-name-pattern):
3319 Update for changed nature of abbrev arrays.
3320 (diary-mark-entries-1): Update calendar-make-alist calls.
3321 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
3322 * calendar/cal-html.el (cal-html-day-abbrev-array):
3323 Simply inherit from calendar-day-abbrev-array.
3325 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3327 * progmodes/grep.el (grep-mode): Disable default
3328 compilation-directory-matcher setting (bug#8684).
3330 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
3332 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
3333 instead of "head" and "tail". There were problems with SunOS 5.9,
3334 and it performs better.
3336 2011-05-17 Glenn Morris <rgm@gnu.org>
3338 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
3340 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3341 Replace obsolete function.
3343 * shell.el (pcomplete-parse-arguments-function): Declare.
3345 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
3346 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
3347 (appt-check): Doc fixes.
3348 (appt-disp-window-function, appt-delete-window-function):
3349 Remove needless special case in custom :type.
3350 (appt-display-count): Default to 0, not nil.
3351 (appt-check): Reset appt-display-count to 0, not nil.
3353 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
3355 * progmodes/python.el (python-font-lock-keywords):
3356 Add the Python 3.X keyword "nonlocal" (bug#8639).
3358 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3360 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
3362 2011-05-16 Kevin Ryde <user42@zip.com.au>
3364 * info-look.el (makefile-automake-mode): New setups, looking in
3365 automake manual, then makefile-mode.
3366 (makefile-mode): Remove automake manual, have it just in
3367 makefile-automake-mode since there's various things different or
3368 not relevant to plain make.
3369 (makefile-mode): Remove "other-modes" non-existent automake-mode,
3370 believe a hypothetical automake-mode would go to makefile-mode,
3371 not the other way around.
3373 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
3375 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
3376 hunk-end tags (Bug#8672).
3378 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
3379 vc-annotate-show-diff-revision-at-line (Bug#8671).
3381 2011-05-14 Glenn Morris <rgm@gnu.org>
3383 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
3384 in the middle of an existing one with multiple authors. (Bug#8645)
3385 (change-log-font-lock-keywords): Also handle multiple author lines
3386 with leading tabs. (Bug#8644)
3388 * calendar/appt.el (appt-check): Rename some local variables.
3389 Some simplification/reordering.
3391 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
3392 (feedmail-sendmail-f-doesnt-sell-me-out)
3393 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
3394 (feedmail-debug-sit-for, feedmail-queue-express-hook)
3395 (feedmail-queue-runner-message-sender): Set :version.
3396 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
3397 (bbdb-dwim-net-address, vm-mail): Declare.
3398 (feedmail-binmail-gnulinuxish-template):
3399 Rename from feedmail-binmail-linuxish-template.
3400 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
3401 Use insert-buffer-substring.
3403 2011-05-14 Bill Carpenter <bill@carpenter.org>
3405 * mail/feedmail.el (feedmail-patch-level): Increase.
3406 (feedmail-debug): New custom group.
3407 (feedmail-confirm-outgoing-timeout)
3408 (feedmail-sendmail-f-doesnt-sell-me-out)
3409 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
3410 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
3411 (feedmail-sender-line, feedmail-from-line)
3412 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
3413 (feedmail-spray-this-address)
3414 (feedmail-spray-address-fiddle-plex-list)
3415 (feedmail-queue-use-send-time-for-date)
3416 (feedmail-queue-use-send-time-for-message-id)
3417 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
3418 (feedmail-buffer-eating-function):
3420 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
3421 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
3422 (feedmail-message-action-scroll-down): New functions.
3423 (feedmail-queue-directory, feedmail-queue-draft-directory):
3424 Use expand-file-name.
3425 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
3426 Remove C-v help entry.
3427 (feedmail-queue-buffer-file-name): New variable.
3428 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
3429 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
3430 (feedmail-message-action-send-strong, feedmail-message-action-edit)
3431 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
3432 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
3433 (feedmail-message-action-toggle-spray)
3434 (feedmail-run-the-queue-no-prompts)
3435 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
3436 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
3437 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
3438 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
3439 (feedmail-envelope-deducer, feedmail-fiddle-from)
3440 (feedmail-fiddle-sender, feedmail-default-date-generator)
3441 (feedmail-fiddle-date, feedmail-fiddle-message-id)
3442 (feedmail-fiddle-spray-address)
3443 (feedmail-fiddle-list-of-spray-fiddle-plexes)
3444 (feedmail-fiddle-list-of-fiddle-plexes)
3445 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
3446 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
3447 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
3448 Change default. Doc fix.
3449 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
3450 (feedmail-binmail-linuxish-template): New constant.
3451 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
3452 Respect feedmail-sendmail-f-doesnt-sell-me-out.
3453 (feedmail-send-it): Add debug call.
3454 Use feedmail-queue-buffer-file-name, and
3455 feedmail-send-it-immediately-wrapper.
3456 (feedmail-message-action-send): Add debug call.
3457 Use feedmail-send-it-immediately-wrapper.
3458 (feedmail-queue-express-to-queue): Add debug call.
3459 Run feedmail-queue-express-hook.
3460 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
3461 (feedmail-message-action-help-blat):
3462 Rename from feedmail-queue-send-edit-prompt-help-first.
3463 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
3464 Check line-endings. Handle errors better.
3465 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
3466 Doc fix. Add debug call.
3467 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
3468 Use feedmail-queue-send-edit-prompt-inner.
3469 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
3470 (feedmail-queue-send-edit-prompt-inner): New function, extracted
3471 from feedmail-queue-send-edit-prompt.
3472 (feedmail-queue-send-edit-prompt-help)
3473 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
3474 (feedmail-tidy-up-slug): Add debug call.
3475 Respect feedmail-queue-slug-suspect-regexp.
3476 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
3477 (feedmail-dump-message-to-queue): Add debug call.
3478 Expand queue-directory.
3479 (feedmail-dump-message-to-queue): Change message slightly.
3480 Use feedmail-say-chatter.
3481 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
3482 (feedmail-send-it-immediately-wrapper): New function.
3483 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
3484 Insert empty string rather than newline. Handle full-frame case.
3485 Use catch/throw. Use feedmail-say-chatter.
3486 (feedmail-fiddle-from): Try mail-host-address.
3487 (feedmail-default-message-id-generator): Doc fix.
3488 Bind system-time-locale. Handle missing end.
3489 (feedmail-fiddle-x-mailer): Add debug call.
3490 Handle feedmail-x-mailer-line being nil.
3491 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
3492 Add debug call. Use buffer-substring-no-properties.
3493 (feedmail-say-debug, feedmail-say-chatter): New functions.
3494 (feedmail-find-eoh): Give an explicit error.
3496 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
3498 * net/newst-treeview.el (newsticker-treeview-face): Change default
3499 family from helvetica to sans.
3500 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
3501 etc/images/newsticker.
3503 * net/newst-reader.el (newsticker-feed-face): Change default
3504 family from helvetica to sans.
3506 * net/newst-plainview.el (newsticker-new-item-face)
3507 (newsticker-old-item-face, newsticker-immortal-item-face)
3508 (newsticker-obsolete-item-face, newsticker-date-face)
3509 (newsticker-statistics-face): Change default family from
3511 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
3512 etc/images/newsticker.
3514 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
3515 (newsticker--process-auto-mark-filter-match): : Tell user about
3518 2011-05-13 Didier Verna <didier@xemacs.org>
3520 Common Lisp indentation improvements on defmethod and lambda-lists.
3521 * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
3522 (lisp-lambda-list-keyword-parameter-indentation)
3523 (lisp-lambda-list-keyword-parameter-alignment)
3524 (lisp-lambda-list-keyword-alignment): New customizable user options.
3525 (lisp-indent-defun-method): Improve docstring.
3526 (extended-loop-p): Fix comment.
3527 (lisp-indent-lambda-list-keywords-regexp): New variable.
3528 (lisp-indent-lambda-list): New function.
3529 (lisp-indent-259): Use it.
3530 (lisp-indent-defmethod): Support for more than one
3531 method qualifier and properly indent methods lambda-lists.
3532 (defgeneric): Provide a missing common-lisp-indent-function property.
3534 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3536 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
3537 bounds for the empty string (bug#8667).
3539 2011-05-13 Glenn Morris <rgm@gnu.org>
3541 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
3543 * mail/sendmail.el (sendmail-program): Try executable-find first.
3544 (sendmail-send-it): `sendmail-program' cannot be unbound.
3546 * calendar/appt.el (appt-make-list): Simplify.
3547 (appt-time-msg-list): Doc fix.
3548 (appt-check): Change mode-line message at the time of the appointment.
3550 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
3552 * progmodes/ld-script.el (ld-script-keywords)
3553 (ld-script-builtins): Update keywords list.
3555 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3557 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
3559 * shell.el (shell-completion-vars): New function.
3561 * simple.el (read-shell-command): Use it.
3562 (blink-matching-open): No need for " [...]" in minibuffer-message.
3564 2011-05-12 Glenn Morris <rgm@gnu.org>
3566 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
3567 (appt-check): Simplify.
3569 2011-05-12 Eli Zaretskii <eliz@gnu.org>
3571 * smerge-mode.el (smerge-resolve): Use null-device rather than a
3572 literal "/dev/null".
3574 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3576 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
3579 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
3581 * progmodes/which-func.el (which-function):
3582 Use add-log-current-defun instead of add-log-current-defun-function,
3583 which might not be defined (Bug#8260).
3585 2011-05-12 Glenn Morris <rgm@gnu.org>
3587 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
3588 Let byte-compile-initial-macro-environment always take precedence.
3590 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3592 * net/rcirc.el: Add support for SSL/TLS connections.
3593 (rcirc-server-alist): New field `encryption'.
3594 (rcirc): Check `encryption' settings.
3595 (rcirc-connect): New arg `encryption'. Use open-network-stream.
3596 Merge make-local-variable into `set'.
3597 (rcirc--connection-open-p): New function.
3598 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
3599 the process is not a network process (e.g. running gnutls-cli).
3600 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
3601 Make rcirc-(en|de)code-coding-system local here.
3602 (rcirc-mode): Merge make-local-variable into `set'.
3603 (rcirc-parent-buffer): Make permanent buffer-local.
3604 (rcirc-multiline-minor-mode): Don't do it here.
3605 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
3606 there's no server buffer.
3608 2011-05-11 Glenn Morris <rgm@gnu.org>
3610 * newcomment.el (comment-kill): Prefix "unused" local.
3612 * term/w32console.el (get-screen-color): Declare.
3614 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3615 Handle symbol elements of byte-compile-initial-macro-environment.
3617 2011-05-10 Leo Liu <sdl.web@gmail.com>
3619 * bookmark.el (bookmark-bmenu-mode-map):
3620 Bind bookmark-bmenu-search to `/'.
3622 * mail/footnote.el: Convert to utf-8 encoding.
3623 (footnote-unicode-string, footnote-unicode-regexp): New variable.
3624 (Footnote-unicode): New function.
3625 (footnote-style-alist): Add unicode style to the list.
3626 (footnote-style): Doc fix.
3628 2011-05-10 Jim Meyering <meyering@redhat.com>
3630 Fix doubled-word typos.
3631 * international/quail.el (quail-insert-kbd-layout): and and -> and
3632 * kermit.el: and and -> and
3633 * net/ldap.el (ldap-search-internal): to to -> to
3634 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
3635 * progmodes/js.el (js-mode): and and -> and
3636 * textmodes/artist.el (artist-move-to-xy): at at -> at
3637 (artist-draw-region-trim-line-endings): if if -> if
3638 And Safetyc -> Safety.
3639 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
3641 2011-05-10 Glenn Morris <rgm@gnu.org>
3642 Stefan Monnier <monnier@iro.umontreal.ca>
3644 * files.el (hack-one-local-variable-eval-safep):
3645 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
3647 2011-05-10 Glenn Morris <rgm@gnu.org>
3649 * calendar/diary-lib.el (diary-list-entries-hook)
3650 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
3651 (diary-nongregorian-marking-hook, diary-list-entries)
3652 (diary-include-other-diary-files, diary-mark-entries)
3653 (diary-mark-included-diary-files): Doc fixes.
3655 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
3657 * misc.el: Require tabulated-list.el during compilation.
3659 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
3661 * progmodes/compile.el (compilation-start):
3662 Run compilation-filter-hook for the async case too.
3663 (compilation-filter-hook): Doc fix.
3665 2011-05-09 Deniz Dogan <deniz@dogan.se>
3667 * wdired.el: Remove outdated installation comment. Fix usage
3670 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
3672 * misc.el: Implement new command `list-dynamic-libraries'.
3673 (list-dynamic-libraries--loaded-only-p): New variable.
3674 (list-dynamic-libraries--refresh): New function.
3675 (list-dynamic-libraries): New command.
3677 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
3679 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3680 Fix the ant regexp to handle end-line and end-column info from jikes.
3681 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
3682 higher priority to avoid clobbering by gnu.
3684 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
3686 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
3687 if the face has existing theme settings (Bug#8454).
3689 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
3691 * progmodes/perl-mode.el (perl-imenu-generic-expression):
3692 Only match variables declared via `my' or `our' (Bug#8261).
3694 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
3695 special file names `.' and `..' (Bug#8259).
3697 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
3699 * progmodes/grep.el (grep-mode-font-lock-keywords):
3700 Remove buffer-changing entries.
3701 (grep-filter): New function.
3702 (grep-mode): Add it to compilation-filter-hook.
3704 * progmodes/compile.el (compilation-filter-hook)
3705 (compilation-filter-start): New defvars.
3706 (compilation-filter): Call compilation-filter-hook prior to
3707 updating the process mark.
3709 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3711 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
3713 2011-05-07 Eli Zaretskii <eliz@gnu.org>
3715 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
3716 mailclient-send-it even if window-system is nil. (Bug#8595)
3718 * term/w32console.el (terminal-init-w32console):
3719 Call get-screen-color and use its output to set the frame
3720 background-mode. (Bug#8597)
3722 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3724 Make bytecomp.el understand that defmethod defines funs (bug#8631).
3725 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
3727 (defgeneric, eieio--defmethod): Use them.
3728 (eieio-defgeneric): Remove.
3729 (defmethod): Call defgeneric in a way visible to the byte-compiler.
3731 2011-05-07 Glenn Morris <rgm@gnu.org>
3733 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
3734 Use let rather than let*.
3735 (timeclock-find-discrep): Remove unused local.
3737 * calendar/diary-lib.el (diary-comment-start): Doc fix.
3739 * calendar/appt.el (appt-time-msg-list): Doc fix.
3741 2011-05-06 Noah Friedman <friedman@splode.com>
3743 * apropos.el (apropos-print-doc): Only use
3744 emacs-lisp-docstring-fill-column when it is bound to an integer,
3745 per that variable's documentation.
3747 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
3749 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
3750 and warnings are not silently discarded (e.g. use -d instead of -P).
3752 2011-05-06 Glenn Morris <rgm@gnu.org>
3754 * calendar/appt.el (appt-message-warning-time): Doc fix.
3755 (appt-warning-time-regexp): New option.
3756 (appt-make-list): Respect appt-message-warning-time.
3758 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
3760 (diary-add-to-list): Strip comments from the displayed string.
3761 (diary-mode): Set comment-start and comment-end.
3763 * vc/diff-mode.el (smerge-refine-subst): Declare.
3764 (diff-refine-hunk): Don't require smerge-mode when compiling.
3766 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
3768 * simple.el (list-processes): Return nil as the docstring says.
3770 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
3772 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
3774 (ange-ftp-write-region, ange-ftp-insert-file-contents)
3775 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
3776 determining of binary transfer. (Bug#7383)
3778 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
3780 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3781 Fix port computation bug. (Bug#8618)
3783 2011-05-05 Glenn Morris <rgm@gnu.org>
3785 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
3787 * simple.el (shell-dynamic-complete-functions)
3788 (comint-dynamic-complete-functions): Declare.
3790 * net/network-stream.el (gnutls-negotiate):
3791 * simple.el (tabulated-list-print): Fix declarations.
3793 * progmodes/gud.el (syntax-symbol, syntax-point):
3794 Remove unnecessary and incorrect declarations.
3796 * emacs-lisp/check-declare.el (check-declare-scan):
3797 Handle byte-compile-initial-macro-environment in bytecomp.el
3799 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3801 Fix earlier half-done eieio-defmethod change (bug#8338).
3802 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
3803 Streamline and change calling convention.
3804 (defmethod): Adjust accordingly and simplify.
3805 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
3806 new eieio--defmethod.
3807 (slot-boundp): Minor CSE simplification.
3809 2011-05-05 Milan Zamazal <pdm@zamazal.org>
3811 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
3812 (glasses-make-readable): Use glasses-separate-capital-groups.
3814 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
3816 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
3817 (warning-series): Doc fix.
3818 (display-warning): Don't try to create the buffer if we just found it.
3820 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
3822 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
3823 (autoload-find-generated-file): New function.
3824 (generate-file-autoloads): Bind generated-autoload-file to
3826 (update-file-autoloads, update-directory-autoloads):
3827 Use autoload-find-generated-file. If called interactively, prompt for
3828 output file (Bug#7989).
3829 (batch-update-autoloads): Doc fix.
3831 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
3833 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
3835 2011-05-04 Glenn Morris <rgm@gnu.org>
3837 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
3838 function, so it follows changes in calendar-date-style.
3839 (diary-fancy-date-matcher): New function.
3840 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
3841 (diary-fancy-font-lock-fontify-region-function):
3842 Use diary-fancy-date-pattern as a function.
3844 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
3845 non-numbers for `year' etc pseudo-variables. (Bug#8583)
3847 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
3849 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
3850 instead of positional arguments. Allow :keylist and :crlfiles
3852 (open-gnutls-stream): Call it.
3854 * net/network-stream.el (network-stream-open-starttls): Adjust to
3855 call `gnutls-negotiate' with :process and :hostname arguments.
3857 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3859 * minibuffer.el (completion--message): New function.
3860 (completion--do-completion, minibuffer-complete)
3861 (minibuffer-force-complete, minibuffer-complete-word): Use it.
3862 (completion--do-completion): Don't ignore completion-auto-help when in
3865 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
3866 internal encoding (e.g. tibetan zero is not whitespace).
3867 (global-whitespace-mode): Prefer save-current-buffer.
3868 (whitespace-trailing-regexp): Remove useless save-match-data.
3869 (whitespace-empty-at-bob-regexp): Minor simplification.
3871 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
3873 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
3875 2011-05-03 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
3877 * textmodes/ispell.el (ispell-add-per-file-word-list):
3878 Use `concat' to create string for insertion.
3880 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3882 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
3883 Avoid open-line which runs post-self-insert-hook.
3884 (bibtex-fill-entry): Remove unused `end' var.
3886 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
3888 * textmodes/ispell.el (ispell-add-per-file-word-list):
3889 Protect against `nil' value of `comment-start' (Bug#8579).
3891 2011-05-03 Leo Liu <sdl.web@gmail.com>
3893 * isearch.el (isearch-yank-pop): New command.
3894 (isearch-mode-map): Bind it to `M-y'.
3895 (isearch-forward): Mention it.
3897 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3899 * simple.el (minibuffer-complete-shell-command): Remove.
3900 (minibuffer-local-shell-command-map): Use completion-at-point.
3901 (read-shell-command): Setup completion vars here instead.
3902 (read-expression-map): Bind TAB to symbol completion.
3904 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
3905 error directly rather via storing it into `results'.
3907 2011-05-02 Leo Liu <sdl.web@gmail.com>
3909 * vc/diff.el: Fix description.
3911 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3913 * server.el (server-eval-at): New function.
3915 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3917 * net/network-stream.el (open-network-stream): Take a :nowait
3918 parameter and pass it on to `make-network-process'.
3919 (network-stream-open-plain): Ditto.
3921 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
3923 * faces.el (face-spec-set-match-display): Don't match toolkit
3924 options on terminal frames.
3926 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
3928 * progmodes/pascal.el: Use lexical binding.
3929 (pascal-mode-map): Remove author preferences.
3931 * pcomplete.el (pcomplete-std-complete): Don't abuse
3932 completion-at-point.
3934 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
3936 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
3937 removing code that has been dead since 1991 or so.
3939 * startup.el (command-line): When warning about "_emacs", use a
3940 delayed warning to allow the user to filter it out.
3942 2011-04-28 Deniz Dogan <deniz@dogan.se>
3944 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
3945 user has not joined.
3947 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3949 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
3950 aren't any completions at point.
3952 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
3954 * subr.el (display-delayed-warnings): New function.
3955 (delayed-warnings-hook): New variable.
3957 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3959 * minibuffer.el (completion-at-point, completion-help-at-point):
3960 Don't presume that a given completion-at-point-function will always
3961 use the same calling convention.
3963 * pcomplete.el (pcomplete-completions-at-point):
3964 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
3965 pcomplete-seen is non-nil.
3966 (pcomplete-comint-setup): Also recognize the new comint/shell
3967 completion functions.
3968 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
3969 pcomplete-seen is non-nil.
3971 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
3973 * calendar/icalendar.el (diary-lib): Add require statement.
3974 (icalendar--create-uid): Read out a uid from a text-property on
3975 the first character in the entry. This allows for code to add its
3976 own uid to the entry.
3977 (icalendar--convert-float-to-ical): Add export of
3978 `diary-float'-entries save for those with the optional DAY
3981 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
3983 * subr.el (shell-quote-argument): Use alternate escaping strategy
3984 when we spot a variable reference in a string.
3986 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
3988 * cus-start.el (all): Define customization for debug-on-event.
3990 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
3992 * subr.el (shell-quote-argument): Escape correctly under Windows.
3994 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3996 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
3998 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
4000 * net/tramp.el (tramp-process-actions): Add POS argument.
4001 Delete region between POS and (pos).
4003 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4004 Use `nil' position in `tramp-process-actions' call.
4005 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
4007 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
4008 position in `tramp-process-actions' call.
4010 * net/trampver.el: Update release number.
4012 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4014 * custom.el (defcustom): Obey lexical-binding.
4016 Fix octave-inf completion problems reported by Alexander Klimov.
4017 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
4018 Inherit from octave-mode-syntax-table.
4019 (inferior-octave-mode): Set info-lookup-mode.
4020 (inferior-octave-completion-at-point): New function.
4021 (inferior-octave-complete): Use it and completion-in-region.
4022 (inferior-octave-dynamic-complete-functions): Use it as well, and use
4023 comint-filename-completion.
4024 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
4025 symbol elements which shouldn't be word elements.
4026 (octave-font-lock-keywords, octave-beginning-of-defun)
4027 (octave-function-header-regexp): Adjust regexps accordingly.
4028 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
4030 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
4032 * net/gnutls.el (gnutls-errorp): Declare before first use.
4034 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
4036 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
4037 verify-error, and verify-hostname-error parameters. Check whether
4038 default trustfile exists before going to use it. Add missing
4039 argument to gnutls-message-maybe call. Return return value.
4040 Reported by Claudio Bley <claudio.bley@gmail.com>.
4041 (open-gnutls-stream): Add usage example.
4043 * net/network-stream.el (network-stream-open-starttls): Give host
4044 parameter to `gnutls-negotiate'.
4045 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
4046 * subr.el (shell-quote-argument): Escape correctly under Windows.
4048 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
4050 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4051 Use correct match group (bug#8438).
4053 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
4055 * emacs-lisp/package.el (package-built-in-p): Fix typo.
4056 (package-menu--generate): New arg specifying packages to show.
4057 (package-menu-refresh, package-menu-execute, list-packages):
4059 (package-show-package-list): New function, replacing deleted
4060 package--list-packages (renamed because it is non-internal).
4062 * finder.el (finder-list-matches): Use package-show-package-list
4063 instead of deleted package--list-packages.
4065 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
4066 Based on a previous implementation by Juanma Barranquero (Bug#8366).
4067 (vc-annotate-mode-map): Bind it to RET.
4069 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
4071 * progmodes/etags.el (next-file): Don't use set-buffer to change
4074 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
4076 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
4078 * apropos.el (apropos-label-face): Avoid variable-pitch face.
4079 (apropos-accumulator): Doc fix.
4080 (apropos-function, apropos-macro, apropos-command)
4081 (apropos-variable, apropos-face, apropos-group, apropos-widget)
4082 (apropos-plist): Add face property.
4083 (apropos-symbols-internal): Fix indentation.
4084 (apropos-print): Simplify help, and recognize apropos-multi-type.
4085 (apropos-print-doc): Use button-type-get to extract the button's
4086 face property. Fill docstring (Bug#8352).
4088 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
4090 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
4092 * play/mpuz.el (mpuz-silent): Doc fix.
4093 (mpuz-mode-map): Use mapc.
4094 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
4095 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
4096 Fix typos in docstrings.
4098 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
4099 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
4101 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
4103 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
4105 * minibuffer.el (completion--do-completion): Avoid the "Next char
4106 not unique" prompt if icomplete-mode is enabled (Bug#5849).
4108 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
4109 mouse-2 into unread-command-events, it is interpreted correctly.
4111 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
4112 (image-toggle-display): Doc fix.
4114 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
4116 * textmodes/page.el (what-page): Use line-number-at-pos to
4117 calculate line number (Bug#6825).
4119 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
4121 * eshell/esh-mode.el (find-tag-interactive): Declare function.
4122 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
4123 Pass argument NO-DEFAULT to `find-tag-interactive'.
4125 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
4127 Lexical-binding cleanup.
4129 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
4130 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
4131 * progmodes/ada-prj.el (ada-prj-initialize-values)
4132 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
4133 (ada-prj-show-value):
4134 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
4135 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
4136 (antlr-invalidate-context-cache, antlr-options-menu-filter)
4137 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
4138 * progmodes/bug-reference.el (bug-reference-push-button):
4139 * progmodes/fortran.el (fortran-line-length):
4140 * progmodes/glasses.el (glasses-change):
4141 * progmodes/octave-mod.el (octave-fill-paragraph):
4142 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
4143 (python-pdbtrack-grub-for-buffer, python-sentinel):
4144 * progmodes/sql.el (sql-save-connection):
4145 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
4146 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
4147 Mark unused parameters.
4149 * progmodes/compile.el (compilation--flush-directory-cache)
4150 (compilation--flush-parse, compile-internal): Mark unused parameters.
4151 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
4152 (compilation-next-error-function): Remove unused variable `timestamp'.
4154 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
4155 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
4157 * progmodes/dcl-mode.el (dcl-end-of-command):
4158 Remove unused variable `start'.
4159 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
4160 (dcl-option-value-basic, dcl-option-value-offset)
4161 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
4162 Mark unused parameters.
4163 (dcl-save-local-variable): Remove unused variable `val'.
4166 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
4167 Mark unused parameters.
4168 (delphi-ignore-changes): Move before first use.
4169 (delphi-charset-token-at): Remove unused variable `start'.
4170 (delphi-else-start): Remove unused variable `if-count'.
4171 (delphi-comment-block-start, delphi-comment-block-end):
4172 Remove unused variable `kind'.
4173 (delphi-indent-line): Remove unused variable `new-point'.
4175 * progmodes/ebrowse.el (ebrowse-files-list)
4176 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
4177 Mark unused parameters. Don't quote `lambda'.
4178 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
4179 Don't quote `lambda'.
4180 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
4181 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
4182 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
4183 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
4184 Use `ignore-errors'.
4185 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
4186 (ebrowse-view/find-file-and-search-pattern)
4187 (ebrowse-view/find-member-declaration/definition):
4188 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
4189 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
4190 Rename parameter PREFIX-ARG to PREFIX.
4191 (ebrowse-tags-read-name): Remove unused variables `start' and
4193 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
4196 * progmodes/etags.el (local-find-tag-hook): Declare.
4197 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
4198 Mark unused parameters.
4200 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
4201 (executable-interpret): Mark unused parameter.
4203 * progmodes/flymake.el (flymake-process-sentinel)
4204 (flymake-after-change-function)
4205 (flymake-create-temp-with-folder-structure)
4206 (flymake-get-include-dirs-dot): Mark unused parameters.
4207 (flymake-safe-delete-directory): Remove unused variable `err'.
4209 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
4210 (speedbar-timer-fn, speedbar-line-text)
4211 (speedbar-change-expand-button-char, speedbar-delete-subblock)
4212 (speedbar-center-buffer-smartly): Declare functions.
4213 (gdb-find-watch-expression): Remove unused variable `array'.
4214 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
4215 (gdb-starting): Mark unused parameters.
4216 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
4217 (gdb-table-string): Remove unused variable `res'.
4218 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
4219 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
4220 (gdb-display-buffer): Remove unused variable `cur-size'.
4222 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
4223 allow lexical-binding compilation.
4224 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
4225 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
4226 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
4227 Mark unused parameters.
4228 (gud-gdb-marker-filter): Remove unused variable `match'.
4229 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
4230 lambda expressions and funcall them, instead of using `fset'.
4232 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
4233 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
4235 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
4236 variable `header-beg'; use `let'.
4238 * progmodes/icon.el (indent-icon-exp): Remove unused variables
4239 `restart', `last-sexp' and `at-do'.
4241 * progmodes/js.el (js--debug): Mark unused parameter.
4242 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
4243 (js--splice-into-items): Remove unused variable `item'.
4244 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
4246 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
4247 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
4248 (makefile-complete): Remove unused variable `try'.
4249 (makefile-fill-paragraph, makefile-match-function-end):
4250 Mark unused parameters.
4252 * progmodes/octave-inf.el (inferior-octave-complete):
4253 Remove unused variable `proc'.
4254 (inferior-octave-output-digest): Mark unused parameter.
4256 * progmodes/perl-mode.el (perl-calculate-indent):
4257 Remove unused variable `err'.
4259 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
4260 (prolog-indent-line): Mark unused parameters.
4261 (prolog-indent-line): Remove unused variable `beg'.
4263 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
4264 (reporter-dont-compact-list): Declare.
4266 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
4267 Remove unused variable `char'.
4268 (sh-debug): Mark unused parameter.
4269 (sh-get-indent-info): Remove unused variable `start'.
4270 (sh-calculate-indent): Remove unused variable `var'.
4272 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
4273 (simula-electric-keyword): Remove unused variable `null'.
4274 (simula-search-backward, simula-search-forward): Remove unused
4275 variables `begin' and `end'.
4277 * progmodes/vera-mode.el (vera-guess-basic-syntax):
4278 Remove unused variable `pos'.
4279 (vera-electric-tab, vera-comment-uncomment-region):
4280 Mark unused parameters.
4281 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
4283 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
4285 * emacs-lisp/package.el (package--builtins, package-alist)
4286 (package-load-descriptor, package-built-in-p, package-activate)
4287 (define-package, package-installed-p)
4288 (package-compute-transaction, package-buffer-info)
4289 (package--push): Doc fix. Distinguish more clearly between
4290 version strings and version lists.
4292 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
4294 Lexical-binding cleanup.
4296 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
4297 (5x5-make-mutate-best):
4298 * play/fortune.el (fortune-in-buffer):
4299 * play/gomoku.el (gomoku-init-display):
4300 * play/solitaire.el (solitaire, solitaire-do-check):
4301 * play/tetris.el (tetris-default-update-speed-function):
4302 Mark unused parameters.
4304 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
4305 (bubbles--shift): Remove unused variable `char-org'.
4306 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
4307 (bubbles--show-images): Remove unused variable `char'.
4309 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
4310 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
4311 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
4312 (decipher-analyze-buffer): Use ?\s.
4313 (decipher-make-checkpoint): Remove unused variable `mapping'.
4315 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
4317 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
4318 Remove unused variable `result'; use `let'.
4320 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
4321 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
4322 (gametree-children-shown-p, gametree-compute-reduced-score):
4323 Use `ignore-errors'.
4325 * play/handwrite.el (ps-lpr-switches): Declare.
4326 (handwrite): Remove unused variables `pmin' and `lastp'.
4328 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
4330 * play/landmark.el (landmark-init-display)
4331 (landmark-update-naught-weights): Mark unused parameters.
4332 (landmark-y): Remove unused variable `noise'. Simplify.
4333 (landmark-human-plays): Remove unused variable `score'.
4335 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
4336 (mpuz-try-proposal): Remove unused variable `game'.
4338 * play/zone.el (life-patterns): Declare.
4340 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
4342 * vc/vc.el (ediff-vc-internal): Declare function.
4344 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4346 * shell.el: Use lexical-binding and std completion UI.
4347 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
4348 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
4349 comint-preoutput-filter-functions rather than on
4350 comint-output-filter-functions.
4351 (shell-command-completion, shell--command-completion-data)
4352 (shell-filename-completion, shell-environment-variable-completion)
4353 (shell-c-a-p-replace-by-expanded-directory): New functions.
4354 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
4355 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
4356 (shell-dynamic-complete-environment-variable): Use them.
4357 (shell-dynamic-complete-as-environment-variable)
4358 (shell-dynamic-complete-as-command): Remove.
4359 (shell-match-partial-variable): Match past point.
4360 * comint.el: Clean up use of completion-at-point-functions.
4361 (comint-completion-at-point): New function.
4362 (comint-mode): Use it completion-at-point-functions.
4363 (comint-dynamic-complete): Make it obsolete.
4364 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
4365 (comint-c-a-p-replace-by-expanded-history): New function.
4366 (comint-dynamic-complete-functions)
4367 (comint-replace-by-expanded-history): Use it.
4368 * minibuffer.el (completion-table-with-terminator): Allow dynamic
4369 termination strings. Try harder to avoid second try-completion.
4370 (completion-in-region-mode-map): Disable bindings that don't work yet.
4372 * comint.el: Use lexical-binding. Require CL.
4373 (comint-dynamic-complete-functions): Use comint-filename-completion.
4374 (comint-completion-addsuffix): Tweak custom type.
4375 (comint-filename-completion, comint--common-suffix)
4376 (comint--common-quoted-suffix, comint--table-subvert)
4377 (comint--complete-file-name-data): New functions.
4378 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
4379 (comint-dynamic-list-filename-completions): Use them.
4380 (comint-dynamic-simple-complete): Make obsolete.
4382 * minibuffer.el (completion-in-region-mode):
4383 Keep completion-in-region-mode--predicate global.
4384 (completion-in-region--postch):
4385 Assume completion-in-region-mode--predicate is not null.
4387 * progmodes/flymake.el (flymake-start-syntax-check-process):
4388 Obey `dir'. Simplify.
4390 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
4391 we're in VC after all.
4393 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
4395 * vc/vc.el (vc-diff-build-argument-list-internal)
4396 (vc-version-ediff, vc-ediff): New commands.
4397 (vc-version-diff): Use vc-diff-build-argument-list-internal.
4399 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4401 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
4404 * obsolete/erc-hecomplete.el: Make obsolete.
4405 * obsolete/: Standardize obsolescence info in the header.
4407 2011-04-20 Glenn Morris <rgm@gnu.org>
4409 * calendar/solar.el (solar-horizontal-coordinates):
4410 Use the longitude argument rather than `calendar-longitude'.
4411 (solar-date-next-longitude): Remove unused locals.
4413 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4415 * whitespace.el: New version 13.2.1.
4417 2011-04-20 felix <EmacsWiki> (tiny change)
4419 * whitespace.el (global-whitespace-mode): Keep highlight when
4420 switching between major modes on a file.
4422 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4424 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
4425 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
4426 multi-line comments as well.
4428 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
4430 Lexical-binding cleanup.
4432 * arc-mode.el (archive-mode-revert):
4433 * cmuscheme.el (scheme-interactively-start-process):
4434 * custom.el (custom-initialize-delay):
4435 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
4436 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
4437 * emacs-lock.el (emacs-lock-clear-sentinel):
4438 * ezimage.el (defezimage):
4439 * follow.el (follow-avoid-tail-recenter):
4440 * fringe.el (set-fringe-mode-1):
4441 * generic-x.el (bat-generic-mode-compile):
4442 * help-mode.el (help-info-variable, help-do-xref)
4443 (help-mode-revert-buffer):
4444 * help.el (view-emacs-todo):
4445 * iswitchb.el (iswitchb-completion-help):
4446 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
4447 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
4448 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
4449 * locate.el (locate-update):
4450 * longlines.el (longlines-encode-region)
4451 (longlines-after-change-function):
4452 * outline.el (outline-isearch-open-invisible):
4453 * ps-def.el (declare-function, charset-dimension, char-width)
4455 * ps-mule.el (ps-mule-plot-string):
4456 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
4457 (recentf-edit-list-select, recentf-edit-list-validate)
4458 (recentf-open-files-action):
4459 * rect.el (delete-whitespace-rectangle-line)
4460 (rectangle-number-line-callback):
4461 * register.el (window-configuration-to-register)
4462 (frame-configuration-to-register):
4463 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
4464 * select.el (xselect-convert-to-string, xselect-convert-to-length)
4465 (xselect-convert-to-targets, xselect-convert-to-delete)
4466 (xselect-convert-to-filename, xselect-convert-to-charpos)
4467 (xselect-convert-to-lineno, xselect-convert-to-colno)
4468 (xselect-convert-to-os, xselect-convert-to-host)
4469 (xselect-convert-to-user, xselect-convert-to-class)
4470 (xselect-convert-to-name, xselect-convert-to-integer)
4471 (xselect-convert-to-atom, xselect-convert-to-identity):
4472 * subr.el (declare, ignore, process-kill-without-query)
4473 (text-clone-maintain):
4474 * terminal.el (te-get-char, te-tic-sentinel):
4475 * tool-bar.el (tool-bar-make-keymap):
4476 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
4477 * type-break.el (type-break-mode, type-break-noninteractive-query):
4478 * view.el (View-back-to-mark):
4479 * wid-browse.el (widget-browse-action, widget-browse-widget)
4480 (widget-browse-widgets, widget-browse-sexp):
4481 * widget.el (define-widget-keywords):
4482 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
4483 Mark unused parameters.
4485 * align.el (align-adjust-col-for-rule): Mark unused parameter.
4486 (align-areas): Remove unused variable `look'.
4487 (align-region): Remove unused variables `real-end' and `pos-list'.
4489 * apropos.el (apropos-score-doc): Remove unused variable `i'.
4491 * bindings.el (mode-line-modified, mode-line-remote):
4492 Mark unused parameters.
4493 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
4495 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
4496 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
4498 * comint.el (comint-history-isearch-pop-state)
4499 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
4500 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
4501 (comint-substitute-in-file-name): Doc fix.
4503 * completion.el (cmpl-statistics-block): Mark unused parameter.
4504 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
4505 (save-completions-to-file, load-completions-from-file):
4506 Remove unused local variable `e'.
4508 * composite.el (compose-chars): Remove unused variable `len'.
4509 (lgstring-insert-glyph): Remove unused variable `g'.
4510 (compose-glyph-string): Remove unused variables `ascent',
4511 `descent', `lbearing' and `rbearing'.
4512 (compose-glyph-string-relative): Remove unused variables
4513 `lbearing', `rbearing' and `wadjust'.
4514 (compose-gstring-for-graphic): Remove unused variables `header',
4515 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
4516 (compose-gstring-for-terminal): Remove unused variables `header'
4517 and `nchars'. Use `let', not `let*'.
4519 * cus-edit.el (Custom-set, Custom-save, custom-reset)
4520 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
4521 (Custom-buffer-done, custom-buffer-create-internal)
4522 (custom-browse-visibility-action, custom-browse-group-tag-action)
4523 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
4524 (widget-magic-mouse-down-action, custom-toggle-parent)
4525 (custom-add-parent-links, custom-toggle-hide-variable)
4526 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
4527 (custom-toggle-hide-face, face, hook, custom-group-link-action)
4528 (custom-face-menu-create, custom-variable-menu-create, get)
4529 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
4530 (custom-reset-standard-save-and-update): Remove unused variable `value'.
4531 (customize-apropos): Remove unused variable `tests'.
4532 (custom-group-value-create): Remove unused variable `hidden-p'.
4533 (sort-fold-case): Declare.
4535 * cus-theme.el (custom-reset-standard-faces-list)
4536 (custom-reset-standard-variables-list): Declare.
4537 (customize-create-theme, custom-theme-revert, custom-theme-write)
4538 (custom-theme-choose-mode, customize-themes, custom-theme-save):
4539 Mark unused parameters.
4541 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
4543 * delim-col.el (delimit-columns-max): Move defvar before first use.
4545 * descr-text.el (describe-char-categories): Don't quote `lambda'.
4546 (describe-char): Don't quote `lambda'. Mark unused parameter.
4548 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
4549 (auto-insert): Declare.
4550 (desktop-restore-file-buffer): Rename desktop-* parameters;
4552 (desktop-create-buffer): Rename desktop-* parameters and bind them.
4553 (desktop-buffer): Rename desktop-* parameters.
4555 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4556 (dframe-reposition-frame-xemacs, dframe-help-echo)
4557 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
4558 Mark unused parameters.
4560 * dired-aux.el (backup-extract-version-start, overwrite-query)
4561 (overwrite-backup-query, rename-regexp-query)
4562 (rename-non-directory-query): Declare.
4563 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
4564 (dired-add-entry): Remove unused variable `orig-file-name'.
4565 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
4566 Use parameter PRESERVE-TIME instead of accessing dynamic variable
4567 `dired-copy-preserve-time' directly.
4568 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
4569 (dired-insert-subdir-newpos): Rename unused variable `pos'.
4571 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
4572 (dired-virtual-revert, dired-make-relative-symlink):
4573 Mark unused parameters.
4574 (manual-program): Declare.
4575 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
4576 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
4577 wrapped in `with-no-warnings' to avoid replacing one warning by another.
4579 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
4581 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
4583 * echistory.el (electric-history-in-progress, Helper-return-blurb):
4586 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
4588 * electric.el (Electric-command-loop): Rename parameter
4589 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
4591 * expand.el (expand-in-literal): Remove unused variable `here'.
4593 * facemenu.el (facemenu-add-new-color):
4594 Remove unused variable `docstring'.
4596 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
4597 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
4598 (face-attr-construct): Mark unused parameter. Doc fix.
4599 (read-color): Remove unused variable `hex-string'.
4601 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
4602 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
4603 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
4604 (display-buffer-other-frame): Remove unused variable `old-window'.
4605 (kill-buffer-hook): Declare.
4606 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
4607 Mark unused parameters.
4608 (after-find-file): Pass 1 to `auto-save-mode', not t.
4610 * files-x.el (auto-insert): Declare.
4611 (modify-file-local-variable-prop-line): Remove unused variable `val'.
4613 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
4614 variable `buf'. Mark unused parameter.
4615 (find-lisp-insert-directory): Mark unused parameter.
4617 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
4618 (format-encode-region): Remove unused variables `cur-buf' and `result'.
4619 (format-common-tail): Remove, unused.
4620 (format-deannotate-region): Remove unused variable `loc'.
4621 (format-annotate-region): Remove unused variable `p'.
4622 (format-annotate-single-property-change): Remove unused variables
4623 `default' and `tail'.
4625 * forms.el (read-file-filter): Declare.
4626 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
4628 * frame.el (frame-creation-function-alist): Mark unused parameter.
4629 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
4631 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
4632 Remove unused parameters.
4633 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
4634 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
4636 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
4637 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
4638 (hfy-prepare-tag-map): Mark unused parameters.
4639 (htmlfontify-buffer): Use `called-interactively-p'.
4641 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
4642 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
4643 (ibuffer-do-occur): Mark unused parameters.
4644 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
4645 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
4647 * ibuffer.el: Don't quote `lambda'.
4648 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
4649 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
4650 Mark unused parameters.
4652 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
4653 (ido-completing-read): Mark unused parameters.
4654 (ido-copy-current-word): Mark unused parameters;
4655 remove unused variable `name'.
4656 (ido-sort-merged-list): Remove unused parameter `dirs'.
4658 * ielm.el (ielm-input-sender): Mark unused parameter.
4659 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
4660 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
4661 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
4662 `ielm-string' as a dynamic variable accessible from the IELM prompt.
4663 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
4665 * image-dired.el (image-dired-display-thumbs): Remove unused
4666 variables `curr-file' and `count'.
4667 (image-dired-remove-tag): Remove unused variable `start'.
4668 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
4669 variable `curr-file'
4670 (image-dired-rotate-original): Remove unused variable `temp-file'.
4671 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
4672 Remove unused variable `file'.
4673 (image-dired-gallery-generate): Remove unused variable `curr'.
4674 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
4676 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
4678 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
4680 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
4682 * isearch.el (minibuffer-history-symbol): Declare.
4683 (isearch-edit-string): Remove unused variable `err'.
4684 (isearch-message-prefix, isearch-message-suffix):
4685 Mark unused parameters.
4687 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
4689 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
4691 * makesum.el (double-column): Remove unused variable `cnt'.
4693 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
4694 (ido-ignore-item-temp-list): Declare.
4696 * mouse-drag.el (mouse-drag-throw): Remove unused variables
4697 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
4698 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
4699 (mouse-drag-drag): Remove unused variables `mouse-delta' and
4702 * mouse-sel.el (mouse-extend-internal):
4703 Remove unused variable `orig-window-frame'.
4705 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
4706 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
4707 Move declarations before first use.
4708 (pcomplete-opt): Mark unused parameters; doc fix.
4710 * proced.el (proced-revert): Mark unused parameter.
4711 (proced-send-signal): Remove unused variable `err'.
4713 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
4714 Rename parameter PREFIX-ARG to ARG.
4715 (ps-basic-plot-string, ps-basic-plot-whitespace):
4716 Mark unused parameters.
4718 * replace.el (replace-count): Define.
4719 (occur-revert-function): Mark unused parameters.
4720 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
4721 (isearch-case-fold-search, isearch-string): Declare.
4722 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
4723 bind `case-fold-search'. Remove unused variables `beg' and `end',
4725 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
4726 COUNT and bind `replace-count'.
4727 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
4730 * savehist.el (print-readably, print-string-length): Declare.
4732 * shadowfile.el (shadow-expand-cluster-in-file-name):
4733 Remove unused variable `cluster'.
4734 (shadow-copy-file): Remove unused variable `i'.
4735 (shadow-noquery, shadow-clusters, shadow-site-cluster)
4736 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
4737 (shadow-define-literal-group, shadow-define-regexp-group)
4738 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
4740 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
4741 (shell): Use `called-interactively-p'.
4742 (shell-directory-tracker): Remove unused variable `chdir-failure'.
4744 * simple.el (compilation-context-lines, comint-file-name-quote-list)
4745 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
4746 (delete-backward-char): Remove unused variable `ocol'.
4747 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
4748 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
4749 (event-apply-hyper-modifier, event-apply-shift-modifier)
4750 (event-apply-control-modifier, event-apply-meta-modifier):
4751 Mark unused parameters.
4752 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
4753 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
4755 * speedbar.el (speedbar-ignored-directory-expressions)
4756 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
4757 (speedbar-find-file, speedbar-dir-follow)
4758 (speedbar-directory-buttons-follow, speedbar-tag-find)
4759 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
4760 (speedbar-buffers-line-directory, speedbar-buffer-click):
4761 Mark unused parameters.
4762 (speedbar-tag-file): Remove unused variable `mode'.
4763 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
4765 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
4767 * talk.el (talk): Remove unused variable `display'.
4769 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
4770 (tar-write-region-annotate): Mark unused parameter.
4772 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
4773 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
4774 Declare them, wrapped in `with-no-warnings' to avoid replacing one
4777 * time-stamp.el (time-stamp-string-preprocess):
4778 Remove unused variable `require-padding'.
4780 * tree-widget.el (widget-glyph-enable): Declare.
4781 (tree-widget-action): Mark unused parameter.
4783 * w32-fns.el (x-get-selection): Mark unused parameter.
4784 (autoload-make-program, generated-autoload-file): Declare.
4786 * wdired.el (wdired-revert): Mark unused parameters.
4787 (wdired-xcase-word): Remove unused variable `err'.
4789 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
4790 (whitespace-help-scroll): Remove unused variable `data-help'.
4792 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
4793 (widget-image-insert, widget-after-change, default)
4794 (widget-default-format-handler, widget-default-notify)
4795 (widget-default-prompt-value, widget-info-link-action)
4796 (widget-url-link-action, widget-function-link-action)
4797 (widget-variable-link-action, widget-file-link-action)
4798 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
4799 (widget-field-prompt-internal, widget-field-action, widget-field-match)
4800 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
4801 (widget-insert-button-action, widget-delete-button-action, visibility)
4802 (widget-documentation-link-action, widget-documentation-string-action)
4803 (widget-const-prompt-value, widget-regexp-match, symbol)
4804 (widget-coding-system-prompt-value)
4805 (widget-key-sequence-value-to-external, sexp)
4806 (widget-sexp-value-to-internal, character, vector, cons)
4807 (widget-choice-prompt-value, widget-boolean-prompt-value)
4808 (widget-color--choose-action): Mark unused parameters.
4809 (widget-item-match-inline, widget-choice-match-inline)
4810 (widget-checklist-match, widget-checklist-match-inline)
4811 (widget-group-match): Rename parameter VALUES to VALS.
4812 (widget-field-value-set): Remove unused variable `size'.
4813 (widget-color-action): Remove unused variables `value' and `start'.
4815 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
4816 variable `dir'. Doc fix.
4817 (windmove-find-other-window): Don't pass it.
4819 * window.el (count-windows): Mark unused parameter.
4820 (bw-adjust-window): Remove unused variable `err'.
4822 * woman.el (woman-file-name): Remove unused variable `default'.
4823 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
4824 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
4825 (global-font-lock-mode): Declare.
4826 (woman-decode-region): Mark unused parameter.
4827 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
4829 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
4830 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
4831 (x-dnd-handle-moz-url): Remove unused variable `title'.
4832 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
4834 * xml.el (xml-parse-tag, xml-parse-attlist):
4835 Remove unused variable `pos'.
4837 2011-04-19 Glenn Morris <rgm@gnu.org>
4839 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
4840 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4841 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4842 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
4843 * calendar/cal-html.el (cal-html-insert-minical):
4844 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
4845 (calendar-mark-date-pattern):
4846 Prefix "unused" locals.
4848 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
4849 optional argument `style'.
4851 * calendar/appt.el (appt-make-list):
4852 * calendar/cal-china.el (calendar-chinese-date-string):
4853 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
4854 (diary-hebrew-yahrzeit):
4855 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
4856 * calendar/calendar.el (calendar-generate-window):
4857 * calendar/time-date.el (time-to-days):
4858 Remove unused local variables.
4860 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
4862 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
4863 glyphless-char-display table.
4864 (tabulated-list-glyphless-char-display): New var.
4866 2011-04-18 Sam Steingold <sds@gnu.org>
4868 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
4871 2011-04-17 Glenn Morris <rgm@gnu.org>
4873 * calendar/diary-lib.el (diary-sexp-entry):
4874 * calendar/holidays.el (holiday-sexp):
4875 Set debug-on-error rather than the removed stack-trace-on-error.
4877 2011-04-16 Glenn Morris <rgm@gnu.org>
4879 * progmodes/f90.el: Use lexical-binding.
4880 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
4882 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4884 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
4885 (mail-mode): Setup mailalias completion here instead.
4886 * mail/mailalias.el: Use lexical-binding.
4887 (pattern, mailalias-done): Declare dynamic.
4888 (mail-completion-at-point-function): New function, from mail-complete.
4889 (mail-complete): Use it.
4890 (mail-completion-expand): New function.
4891 (mail-get-names): Use it.
4892 (mail-directory, mail-directory-process, mail-directory-stream):
4893 Don't use `pattern' for lexically bound arg.
4895 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
4897 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
4898 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
4899 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
4901 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
4902 (byte-save-window-excursion, byte-temp-output-buffer-setup)
4903 (byte-interactive-p): Define them again, for use when inlining
4906 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
4908 * loadup.el: Use `string-to-number', not `string-to-int'.
4910 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4912 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
4913 gud-gdb-complete-command.
4914 (gud-gdb-completions): New function, from gud-gdb-complete-command.
4915 (gud-gdb-completion-at-point): New function.
4916 (gud-gdb-completions): Remove.
4918 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
4920 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
4921 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
4922 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
4923 whether `executable-find' is bound.
4925 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
4927 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4929 * minibuffer.el (completion-in-region-mode-predicate)
4930 (completion-in-region-mode--predicate): New vars.
4931 (completion-in-region, completion-in-region--postch)
4932 (completion-in-region-mode): Use them.
4933 (completion--capf-wrapper): Also return the hook function.
4934 (completion-at-point, completion-help-at-point):
4935 Adjust and provide a predicate.
4937 Preserve arg names for advice of subr and lexical functions (bug#8457).
4938 * help-fns.el (help-function-arglist): Consolidate the subr and
4939 new-byte-code cases. Add argument `preserve-names' to extract names
4940 from the docstring when needed.
4941 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
4942 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
4943 (ad-arglist): Use help-function-arglist's new arg.
4944 (ad-definition-type): Use cond.
4946 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
4948 * autorevert.el (auto-revert-handler):
4949 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
4950 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
4953 * image-mode.el (image-transform-set-scale):
4954 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
4956 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4958 * net/network-stream.el (network-stream-open-starttls): Only do
4959 opportunistic STARTTLS upgrades if we have built-in gnutls support.
4960 Upgrades via gnutls-cli are too slow to be done opportunistically.
4962 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
4964 * dframe.el (dframe-current-frame): Remove spurious quote.
4966 2011-04-12 Glenn Morris <rgm@gnu.org>
4968 * calendar/cal-tex.el (cal-tex-end-document):
4969 Try to automatically use latin1 input if needed.
4971 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
4972 Don't try to cons a mark onto an empty element.
4974 2011-04-11 Leo Liu <sdl.web@gmail.com>
4976 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
4978 (ido-kill-buffer-at-head): Support killing virtual buffers.
4980 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
4982 * minibuffer.el (completion-show-inline-help): New var.
4983 (completion--do-completion, minibuffer-complete)
4984 (minibuffer-force-complete, minibuffer-complete-word):
4985 Inhibit minibuffer messages if completion-show-inline-help is nil.
4987 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
4988 to avoid interference from inline help (Bug#5849).
4990 2011-04-10 Leo Liu <sdl.web@gmail.com>
4992 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4995 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
4997 * image-mode.el (image-toggle-display-image): Signal an error if
4999 (image-transform-mode, image-transform-resize)
5000 (image-transform-set-rotation): Doc fix.
5001 (image-transform-set-resize): Delete.
5002 (image-transform-set-scale, image-transform-fit-to-height)
5003 (image-transform-fit-to-width): Handle image-toggle-display-image
5004 and image-transform-resize directly.
5006 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
5008 * doc-view.el (doc-view-fit-width-to-window)
5009 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
5010 New functions for fitting the shown image to the Emacs window size.
5011 (doc-view-mode-map): Add bindings for the new functions.
5013 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
5015 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
5016 Fix typo in docstring.
5018 2011-04-08 Eli Zaretskii <eliz@gnu.org>
5020 * files.el (file-size-human-readable): Produce one digit after
5021 decimal, like "ls -lh" does.
5023 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
5024 the file size representation.
5026 * simple.el (list-processes): If async subprocesses are not
5027 available, error out with a clear error message.
5029 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
5031 * help.el (help-form-show): New function, to be called from C.
5032 Put help-form output in a buffer named differently than *Help*.
5034 2011-04-08 Eli Zaretskii <eliz@gnu.org>
5036 * files.el (file-size-human-readable): New function.
5038 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
5039 computing the representation inline. Don't require `cl'.
5041 2011-04-08 Glenn Morris <rgm@gnu.org>
5043 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
5045 * net/browse-url.el (browse-url-firefox):
5046 Test system-type, not system-configuration.
5048 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
5049 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
5050 Use log-edit-empty-buffer-p. (Bug#7598)
5052 * net/rlogin.el (rlogin-process-connection-type): Simplify.
5053 (rlogin-mode-map): Initialize in the defvar.
5054 (rlogin): Use ignore-errors.
5056 * replace.el (occur-mode-map): Some fixes for menu items.
5058 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5060 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
5062 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
5064 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
5065 issuing unused warnings.
5067 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
5070 * simple.el: Lisp reimplement of list-processes. Based on an
5071 earlier reimplementation by Leo Liu, but using tabulated-list.el.
5072 (process-menu-mode): New major mode.
5073 (list-processes--refresh, list-processes):
5074 (process-menu-visit-buffer): New functions.
5076 * files.el (save-buffers-kill-emacs): Don't assume any return
5077 value of list-processes, which is undocumented anyway.
5079 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
5081 * emacs-lisp/tabulated-list.el: New file.
5083 * emacs-lisp/package.el: Use Tabulated List mode.
5084 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
5085 (package-menu-mode): Derive from tabulated-list-mode. Set up the
5086 table format using Tabulated List mode variables.
5087 (package--push): New macro, replacing package-list-maybe-add.
5088 (package-menu--generate): Use package--push. Renamed from
5089 package--generate-package-list.
5090 (package-menu-refresh, list-packages): Use it.
5091 (package-menu--print-info): Rename from package-print-package.
5092 Return insertion data instead of inserting it directly.
5093 (package-menu-describe-package, package-menu-execute):
5094 Use tabulated-list-get-id.
5095 (package-menu-mark-delete, package-menu-mark-install)
5096 (package-menu-mark-unmark, package-menu-backup-unmark)
5097 (package-menu-mark-obsolete-for-deletion):
5098 Use tabulated-list-put-tag.
5099 (package--list-packages, package-menu-revert)
5100 (package-menu-get-package, package-menu-get-version)
5101 (package-menu-sort-by-column): Functions deleted.
5102 (package-menu-package-list, package-menu-sort-key): Vars deleted.
5103 (package-menu--status-predicate, package-menu--version-predicate)
5104 (package-menu--name-predicate)
5105 (package-menu--description-predicate): Handle arguments in the
5106 Tabulated List format.
5107 (package-list-packages-no-fetch): Call list-packages.
5109 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
5111 * files.el (after-find-file-from-revert-buffer): Remove variable.
5112 (after-find-file): Don't bind it.
5113 (revert-buffer-in-progress-p): New variable.
5114 (revert-buffer): Bind it.
5115 Pass nil for `after-find-file-from-revert-buffer'.
5117 * saveplace.el (save-place-find-file-hook): Use new variable
5118 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
5120 2011-04-06 Glenn Morris <rgm@gnu.org>
5122 * Makefile.in (AUTOGEN_VCS): New variable.
5123 (autoloads): Use $AUTOGEN_VCS.
5125 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
5126 * calendar/calendar.el (calendar-mode-map):
5127 Check for toolkit scroll bars. (Bug#8305)
5129 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
5131 * minibuffer.el (completion-in-region--postch)
5132 (completion-in-region-mode): Remove unnecessary messages.
5134 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
5136 * font-lock.el (font-lock-refresh-defaults):
5137 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
5138 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
5140 * info.el (Info-directory-list, Info-read-node-name-2)
5141 (Info-split-parameter-string): Doc fixes.
5142 (Info-virtual-nodes): Reflow docstring.
5143 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
5144 (Info-apropos-toc-nodes, info-finder, Info-get-token)
5145 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
5146 Fix typos in docstrings.
5147 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
5148 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
5149 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
5150 (Info-restore-desktop-buffer): Mark unused parameters.
5151 (Info-directory-find-file, Info-directory-find-node)
5152 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
5153 (Info-virtual-index-find-node, Info-apropos-find-file)
5154 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
5155 Mark unused parameters; fix typos in docstrings.
5156 (Info-virtual-index): Remove unused local variable `nodename'.
5158 2011-04-05 Deniz Dogan <deniz@dogan.se>
5160 * net/rcirc.el: Update my e-mail address.
5161 (rcirc-mode-map): Remove M-o binding.
5163 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
5165 * startup.el (command-line): Save the cursor's theme-face
5166 directly, instead of using face-override-spec.
5168 * custom.el (load-theme): Minor optimization in assigning faces.
5170 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
5172 * help-fns.el (describe-variable): Complete all variables having
5173 documentation, including keywords.
5174 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
5176 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
5178 Convert to lexical-binding.
5180 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
5181 (bs--get-marked-string, bs--get-modified-string)
5182 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
5183 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
5184 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
5186 * ehelp.el (electric-help-execute-extended)
5187 (electric-help-ctrl-x-prefix):
5188 * hexl.el (hexl-revert-buffer-function):
5189 * linum.el (linum-after-change, linum-after-scroll):
5190 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
5192 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
5194 2011-04-04 Daiki Ueno <ueno@unixuser.org>
5201 * epg.el: Use lexical binding.
5203 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
5205 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
5207 * textmodes/flyspell.el (flyspell-word): Recognize default
5208 dictionary case for flyspell-mark-duplications-exceptions.
5209 Use regexp matching for languages.
5210 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
5211 default dictionary (Bug#7926).
5213 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
5215 * emacs-lisp/package.el (package--with-work-buffer):
5216 Recognize https URLs.
5218 * net/network-stream.el: Move from gnus/proto-stream.el.
5219 Change prefix to network-stream throughout.
5220 (open-protocol-stream): Merge into open-network-stream, leaving
5221 open-protocol-stream as an alias. Handle nil BUFFER args.
5223 * subr.el (open-network-stream): Move to net/network-stream.el.
5225 2011-04-02 Glenn Morris <rgm@gnu.org>
5227 * find-dired.el (find-exec-terminator): New option.
5228 (find-ls-option): Test for -ls support.
5229 (find-ls-subdir-switches): Test for -b in find-ls-option.
5230 (find-dired, find-grep-dired): Doc fixes.
5231 (find-dired): Use find-exec-terminator.
5233 * find-dired.el (find-ls-option, find-ls-subdir-switches)
5234 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
5235 (find-name-arg): Remove purecopy.
5237 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
5238 (grep-compute-defaults): Check for `-exec COMMAND +' support.
5239 Set grep-find-use-xargs, grep-find-command, and grep-find-template
5240 accordingly. Don't add the null-device if not needed.
5242 * files.el (save-some-buffers): Doc fix.
5244 2011-04-02 Eli Zaretskii <eliz@gnu.org>
5246 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
5248 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
5250 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
5251 Use `dolist' rather than `mapcar'.
5253 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
5255 Add lexical binding.
5257 * subr.el (apply-partially): Use new closures rather than CL.
5258 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
5259 (dolist, dotimes): Use slightly different expansion for lexical code.
5260 (functionp): Move to C.
5261 (letrec): New macro.
5262 (with-wrapper-hook): Use it and apply-partially instead of CL.
5263 (eval-after-load): Preserve lexical-binding.
5264 (save-window-excursion, with-output-to-temp-buffer): Turn them
5267 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
5269 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
5271 (help-add-fundoc-usage): Don't add `Not documented'.
5272 (help-function-arglist): Handle closures, subroutines, and new
5273 byte-code-functions.
5274 (help-make-usage): Remove leading underscores.
5275 (describe-function-1): Handle closures.
5276 (describe-variable): Use special-variable-p for completion.
5278 * files.el (lexical-binding): Declare safe.
5280 * emacs-lisp/pcase.el: Don't use destructuring-bind.
5281 (pcase--memoize): Rename from pcase-memoize. Change weakness.
5282 (pcase): Add `let' pattern.
5283 Change memoization so it actually works.
5284 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
5285 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
5288 * emacs-lisp/macroexp.el: Use lexical binding.
5289 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
5290 Don't convert ' to #' without checking that it's indeed quoting
5293 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
5294 Use eval-sexp-add-defvars.
5295 (eval-sexp-add-defvars): New fun.
5297 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
5299 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
5301 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
5302 than the internal `byte-compile-lambda'.
5303 (defmethod): Don't hide code under quotes.
5304 (eieio-defmethod): New `code' argument.
5306 * emacs-lisp/eieio-comp.el: Remove.
5308 * emacs-lisp/edebug.el (edebug-eval-defun)
5309 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
5310 (edebug-toggle): Avoid `eval'.
5312 * emacs-lisp/disass.el (disassemble-internal): Handle new
5314 (disassemble-1): Handle new byte codes.
5316 * emacs-lisp/cl.el (pushnew): Silence warning.
5318 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
5319 (cl-byte-compile-throw): Remove.
5320 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
5322 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
5325 * emacs-lisp/cconv.el: New file.
5327 * emacs-lisp/bytecomp.el: Use lexical binding instead of
5328 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
5329 (byte-compile-initial-macro-environment):
5330 Handle declare-function here.
5331 (byte-compile--lexical-environment): New var.
5332 (byte-stack-ref, byte-stack-set, byte-discardN)
5333 (byte-discardN-preserve-tos): New lap codes.
5334 (byte-interactive-p): Don't use any more.
5335 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
5337 (byte-compile-lapcode): Use them and handle new lap codes.
5338 (byte-compile-obsolete): Remove.
5339 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
5340 (byte-compile-arglist-warn): Check late def of inlinable funs.
5341 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
5342 since they should have been expanded by now.
5343 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
5344 (byte-compile-from-buffer): Remove unused second arg.
5345 (byte-compile-preprocess): New function.
5346 (byte-compile-toplevel-file-form): New function to distinguish
5347 file-form calls from outside from file-form calls from hunk-handlers.
5348 (byte-compile-file-form): Simplify.
5349 (byte-compile-file-form-defsubst): Remove.
5350 (byte-compile-file-form-defmumble): Simplify now that
5351 byte-compile-lambda always returns a byte-code-function.
5352 (byte-compile): Preprocess.
5353 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
5354 Remove, not used any more.
5355 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
5356 (byte-compile-make-args-desc): New funs.
5357 (byte-compile-lambda): Handle lexical functions. Always return
5358 a byte-code-function.
5359 (byte-compile-reserved-constants): New var, to make up room for
5360 closed-over variables.
5361 (byte-compile-constants-vector): Obey it.
5362 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
5363 (byte-compile-macroexpand-declare-function): New function.
5364 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
5365 byte-code-functions.
5366 (byte-compile-form): Check obsolescence here.
5367 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
5368 (byte-compile-variable-ref): Remove.
5369 (byte-compile-dynamic-variable-op): New fun.
5370 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5371 (byte-compile-variable-set): New funs.
5372 (byte-compile-discard): Add 2 args.
5373 (byte-compile-stack-ref, byte-compile-stack-set)
5374 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
5375 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
5376 macroexpand-all instead.
5377 (byte-compile-quote-form): Remove.
5378 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
5379 (byte-compile-bind, byte-compile-unbind): New funs.
5380 (byte-compile-let): Handle let* and lexical binding.
5381 (byte-compile-let*): Remove.
5382 (byte-compile-catch, byte-compile-unwind-protect)
5383 (byte-compile-track-mouse, byte-compile-condition-case):
5384 Handle a new :fun-body form, used for lexical scoping.
5385 (byte-compile-save-window-excursion)
5386 (byte-compile-with-output-to-temp-buffer): Remove.
5387 (byte-compile-defun): Simplify.
5388 (byte-compile-stack-adjustment): New fun.
5389 (byte-compile-out): Use it.
5390 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
5392 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
5395 * emacs-lisp/byte-opt.el: Use lexical binding.
5396 (byte-inline-lapcode): Remove (to bytecomp).
5397 (byte-compile-inline-expand): Pay attention to inlining to/from
5398 lexically bound code.
5399 (byte-compile-unfold-lambda): Don't handle byte-code-functions
5401 (byte-optimize-form-code-walker): Don't handle save-window-excursion
5402 any more and don't call compiler-macros.
5403 (byte-compile-splice-in-already-compiled-code): Remove.
5404 (byte-code): Don't inline any more.
5405 (disassemble-offset): Receive `bytes' as argument rather than via
5407 (byte-compile-tag-number): Declare before first use.
5408 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
5409 `return' even if make-spliceable.
5410 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
5411 obsolete interactive-p.
5412 (byte-optimize-lapcode): Optimize new lap-codes.
5413 Don't trip up on new form of `byte-constant' lap code.
5415 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
5417 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
5419 * custom.el (custom-initialize-default, custom-declare-variable):
5422 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
5424 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
5425 (COMPILE_FIRST): Add macroexp and cconv.
5426 * makefile.w32-in: Mirror changes in Makefile.in.
5432 * vc/smerge-mode.el:
5433 * textmodes/bibtex-style.el:
5442 * emacs-lisp/smie.el:
5445 * abbrev.el: Use lexical binding.
5447 2011-04-01 Eli Zaretskii <eliz@gnu.org>
5449 * info.el (info-display-manual): New function.
5451 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
5453 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
5455 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
5457 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
5458 an entry for that server in rcirc-authinfo. (Bug#8385)
5460 2011-03-31 Glenn Morris <rgm@gnu.org>
5462 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
5464 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
5466 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
5468 * progmodes/python.el (python-default-interpreter)
5469 (python-python-command-args, python-jython-command-args)
5470 (python-which-shell, python-which-args, python-which-bufname)
5471 (python-file-queue, python-comint-output-filter-function)
5472 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
5473 variables and functions.
5475 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5477 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
5478 (completion-in-region-mode): New minor mode.
5479 (completion-in-region): Use it.
5480 (completion-in-region--data, completion-in-region-mode-map): New vars.
5481 (completion-in-region--postch): New function.
5482 (completion--capf-misbehave-funs, completion--capf-safe-funs):
5484 (completion--capf-wrapper): New function.
5485 (completion-at-point): Use it to track well-behavedness of
5487 (completion-help-at-point): New command.
5489 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
5491 * vc/add-log.el (add-change-log-entry): Don't use whitespace
5492 syntax class to search for whitespace on a single line
5493 (Message-ID: <4D938140.4030905@redhat.com>).
5495 2011-03-30 Leo Liu <sdl.web@gmail.com>
5497 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
5499 (edit-abbrevs-map): Bind them here.
5500 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
5502 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
5504 * allout.el (allout-hide-by-annotation, allout-flag-region):
5505 Reduce possibility of overlay leakage by making them volatile.
5507 * allout-widgets.el (allout-widgets-tally): Define as nil so the
5508 hash is not shared between buffers. Mode initialization is
5509 responsible for giving it a useful starting value.
5510 (allout-item-span): Reduce possibility of overlay leakage by
5511 making them volatile.
5512 (allout-widgets-count-buttons-in-region): Add diagnostic function
5513 for tracking down button overlay leaks.
5515 2011-03-29 Leo Liu <sdl.web@gmail.com>
5517 * ido.el (ido-read-internal): Use the default history var
5518 minibuffer-history if no HISTORY is specified.
5520 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
5522 * net/imap.el (imap-shell-open, imap-process-connection-type):
5523 Use imap-process-connection-type for 'shell' streams as well as
5524 Kerberos, SSL, other subprocesses.
5526 2011-03-28 Leo Liu <sdl.web@gmail.com>
5528 * abbrev.el (abbrev-table-empty-p): New function.
5529 (prepare-abbrev-list-buffer): Place empty abbrev tables after
5530 nonempty ones. (Bug#5937)
5532 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
5534 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
5536 2011-03-27 Leo Liu <sdl.web@gmail.com>
5538 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
5539 for foreground and background colors.
5540 (ansi-color-make-color-map): Adapt.
5542 2011-03-25 Leo Liu <sdl.web@gmail.com>
5544 * midnight.el (midnight-time-float): Remove. Note it calculates
5545 the microsecond component incorrectly and seconds-to-time does the
5547 Remove redundant (require 'timer).
5549 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
5550 (ido-completions): Remove unused arguments. (Bug#8329)
5552 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
5554 * minibuffer.el (completion--flush-all-sorted-completions):
5555 Remove itself from hook.
5556 (completion-at-point): Let the functions perform the completion
5557 immediately and return nil or t.
5558 * comint.el (comint-dynamic-complete-functions): Now identical to
5559 completion-at-point-functions.
5560 (comint-dynamic-list-input-ring): Remove unused var `index'.
5561 (comint--match-partial-filename, comint--unquote&expand-filename):
5562 New funs, split from comint-match-partial-filename.
5563 (comint-dynamic-complete): Use completion-at-point.
5564 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
5566 2011-03-24 Drew Adams <drew.adams@oracle.com>
5568 * thingatpt.el: Support `defun'.
5570 2011-03-23 Leo Liu <sdl.web@gmail.com>
5572 * abbrevlist.el: Move to obsolete/abbrevlist.el.
5574 * help-mode.el (help-mode-finish): Tweak regexp.
5576 2011-03-23 Glenn Morris <rgm@gnu.org>
5578 * eshell/esh-opt.el (eshell-eval-using-options):
5579 Do not bind unused local variable `eshell-option-stub'.
5581 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
5583 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
5585 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
5586 keymap variable in `with-no-warnings' to avoid a warning when the
5587 keymap has been already `defconst'ed.
5589 2011-03-22 Leo Liu <sdl.web@gmail.com>
5591 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
5592 encode all chars in abbrevs; otherwise use emacs-mule or
5593 utf-8-emacs. (Bug#8308)
5595 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
5597 * simple.el (backward-delete-char-untabify):
5598 Avoid warning about using `delete-backward-char'.
5600 * image.el (image-type-file-name-regexps): Make it variable.
5601 `imagemagick-register-types' modifies it, and the user may want
5602 to add new extensions for known image types.
5603 (imagemagick-register-types): Throw error if not using ImageMagick.
5605 2011-03-22 Leo Liu <sdl.web@gmail.com>
5607 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
5608 located before rcirc-prompt-end-marker.
5609 (rcirc-complete): Error if point is not after rcirc prompt.
5610 Handle the case when table is nil.
5611 (rcirc-user-authenticated): Define to fix compiler warning.
5613 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
5615 * custom.el (custom--inhibit-theme-enable): Make it affect only
5616 custom-theme-set-variables and custom-theme-set-faces.
5617 (provide-theme): Ignore custom--inhibit-theme-enable.
5618 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
5619 (custom-enabling-themes): Delete variable.
5620 (enable-theme): Accept only loaded themes as arguments.
5621 Ignore the special custom-enabled-themes variable.
5622 (custom-enabled-themes): Forbid themes from setting this.
5623 Eliminate use of custom-enabling-themes.
5624 (custom-push-theme): Quote "changed" custom var entry.
5626 2011-03-21 Leo Liu <sdl.web@gmail.com>
5628 * ido.el (ido-read-internal): Add ido-selected to history instead
5631 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5633 * subr.el (deferred-action-list, deferred-action-function):
5636 2011-03-21 Leo Liu <sdl.web@gmail.com>
5638 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
5639 change on 2011-02-13 (bug#8309).
5641 * minibuffer.el (read-file-name-function): Change default value.
5642 (read-file-name--defaults): Rename from read-file-name-defaults.
5643 (read-file-name-default): Rename from read-file-name.
5644 (read-file-name): Call read-file-name-function.
5646 2011-03-21 Glenn Morris <rgm@gnu.org>
5648 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
5651 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
5653 * cus-theme.el: Add missing provide statement.
5654 (customize-create-theme): Extract theme value correctly.
5655 (custom-theme-visit-theme): Autoload.
5656 (customize-create-theme): Prompt before inserting default faces.
5658 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
5660 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
5661 units and musical notes.
5663 2011-03-20 Leo <sdl.web@gmail.com>
5665 * ido.el (ido-read-internal): Use completing-read-default.
5666 (ido-completing-read): Fix compatibility with completing-read.
5668 2011-03-20 Christian Ohler <ohler@gnu.org>
5670 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
5671 (ert-delete-all-tests): Use `called-interactively-p' rather than
5673 (ert--make-xrefs-region): Respect END.
5675 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
5677 * dired-aux.el (dired-create-directory): Signal an error if the
5678 directory already exists (Bug#8246).
5680 * facemenu.el (list-colors-display): Call list-faces-display
5681 inside with-help-window.
5682 (list-colors-print): Use display property to align the final
5683 column, instead of checking window-width.
5685 2011-03-19 Eli Zaretskii <eliz@gnu.org>
5687 * emerge.el (emerge-metachars): Separate value for ms-dos and
5689 (emerge-protect-metachars): Quote correctly for ms-dos and
5692 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
5694 * info.el (info-initialize): Replace all uses of `:' with
5695 path-separator for compatibility with non-Unix systems.
5696 Cache quoting of path-separator. (Bug#8258)
5698 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
5700 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
5701 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
5702 (mouse-avoidance-mode): Fix typos in docstrings.
5704 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
5706 * startup.el (package-subdirectory-regexp): Move from package.el.
5707 Omit \\` and \\', and let callers add them.
5709 * emacs-lisp/package.el (package-strip-version)
5710 (package-load-all-descriptors): Add \\` and \\' to
5711 package-subdirectory-regexp before using it.
5712 (package-untar-buffer): New arg DIR; ensure that file untars only
5713 into this expected directory. Remove superfluous delete-region.
5714 (package-unpack): Caller changed.
5715 (package-tar-file-info): Use package-subdirectory-regexp.
5717 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
5719 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
5720 diff-mode-shared-map (bug#8284).
5721 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
5723 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5725 * calendar/time-date.el (format-seconds): Use assoc instead of
5726 assoc-string, since assoc-string doesn't exist in XEmacs.
5728 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
5730 * custom.el (custom-known-themes): Reflow docstring.
5731 (custom-theme-load-path): Fix typo in docstring.
5732 (load-theme): Fix typo in error message.
5733 (custom-available-themes, custom-variable-theme-value):
5734 Use `let', not `let*'.
5736 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
5738 * calc/README: Mention inclusion of musical notes.
5740 * calc/calc-units.el (calc-lu-quant): Rename from
5741 `calc-logunits-quantity'.
5742 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
5743 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
5744 (calc-db): Rename from `calc-dblevel'.
5745 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
5746 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
5747 (calc-np): Rename from `calc-nplevel'.
5748 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
5749 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
5750 (calc-lu-plus): Rename from `calc-logunits-add'.
5751 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
5752 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
5753 (calc-lu-minus): Rename from `calc-logunits-sub'.
5754 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
5755 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
5756 (calc-lu-times): Rename from `calc-logunits-mul'.
5757 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
5758 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
5759 (calc-lu-divide): Rename from `calc-logunits-div'.
5760 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
5761 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
5763 * calc/calc-ext.el (calc-init-extensions): Update the names of the
5764 functions being autoloaded.
5766 * calc/calc.el (calc-lu-power-reference): Rename from
5767 `calc-logunits-power-reference'.
5768 (calc-lu-field-reference): Rename from
5769 `calc-logunits-field-reference'.
5771 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
5773 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
5775 * minibuffer.el (completion-all-sorted-completions):
5776 Use :completion-cycle-penalty text property if present.
5778 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
5780 * allout.el (allout-yank-processing): Adjust for new rebulleting
5781 regime so bullet being yanked is used without prompting the user
5784 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
5786 * startup.el (command-line): Warn the user that _emacs is deprecated.
5788 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
5790 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
5791 (delphi-verbose, delphi-comment-face, delphi-string-face)
5792 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
5793 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
5794 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
5795 (delphi-new-comment-line, delphi-font-lock-defaults)
5796 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
5797 Fix typos in docstrings.
5799 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
5801 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
5802 Invert the roles of character and string values for INSTEAD, so a
5803 string is used for the more common case of a defaulting prompt.
5805 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5807 * progmodes/ruby-mode.el (ruby-backward-sexp):
5808 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
5809 * play/gamegrid.el (gamegrid-make-face):
5810 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
5811 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
5812 * notifications.el (notifications-notify):
5813 * net/xesam.el (xesam-search-engines):
5814 * net/quickurl.el (quickurl-list-insert):
5815 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
5817 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
5819 * startup.el (command-line): Update package subdirectory regexp.
5821 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5823 * allout.el (allout-abbreviate-flattened-numbering)
5824 (allout-mode-deactivate-hook): Fix up obsolescence "date".
5826 * subr.el (read-char-choice): Only show the cursor after the prompt,
5827 not after the answer.
5829 2011-03-15 Kevin Ryde <user42@zip.com.au>
5831 * help-fns.el (variable-at-point): Skip leading quotes, if any
5834 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5836 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
5839 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
5841 * shell.el (shell): When called interactively, offer to change the
5842 shell file name on remote hosts.
5844 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
5846 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
5847 integration for LDAP parameters. The host, base, user or binddn,
5848 and secret tokens can be specified in a netrc file, for instance.
5849 This is optional because an `auth-source' parameter must be
5850 specified in the search attributes.
5852 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
5854 * help.el (describe-mode): Link to the mode's definition (bug#8185).
5856 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5858 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
5859 into declaration. Remove redundant and harmful binding.
5861 2011-03-12 Eli Zaretskii <eliz@gnu.org>
5863 * files.el (file-ownership-preserved-p): Pass `integer' as an
5864 explicit 2nd argument to `file-attributes'. If the file's owner
5865 is the Administrators group on Windows, and the current user is
5866 Administrator, consider that a match.
5868 * server.el (server-ensure-safe-dir): Consider server directory
5869 safe on MS-Windows if its owner is the Administrators group while
5870 the current Emacs user is Administrator. Use `=' to compare
5871 numerical UIDs, since they could be integers or floats.
5873 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
5875 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
5877 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
5879 Sync with Tramp 2.2.1.
5881 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
5883 * net/trampver.el: Update release number.
5885 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5887 * progmodes/compile.el (compilation--previous-directory): Fix up
5888 various nil/dead-marker mismatches (bug#8014).
5889 (compilation-directory-properties, compilation-error-properties):
5890 Don't call it at a position past the one we're about to change.
5892 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
5893 Disable obsolescence warnings in the file that declares it.
5895 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
5897 * allout-widgets.el (allout-widgets-tally):
5898 Initialize allout-widgets-tally as a hash table rather than nil to
5899 prevent mode-line redisplay warnings. Also, clarify the module
5900 description and fix a comment typo.
5902 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
5904 * help-fns.el (describe-variable): Don't complete keywords.
5905 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
5907 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
5909 * emacs-lisp/package.el (package-version-join): Impose a standard
5910 string representation for pre/alpha/beta version lists.
5911 (package-unpack-single): Standardize the directory name by passing
5912 it through package-version-join.
5913 (package-strip-rcs-id): Accept any version string that does not
5914 signal an error in version-to-list.
5916 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
5918 * simple.el (delete-trailing-whitespace): Return nil for the
5919 benefit of `write-file-functions'.
5921 2011-03-10 Glenn Morris <rgm@gnu.org>
5923 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
5925 * vc/vc-git.el (vc-git-program): New option.
5926 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
5927 (vc-git--call): Use it.
5929 * eshell/esh-util.el (eshell-condition-case): Doc fix.
5931 * cus-edit.el (Custom-newline): If no button at point, look
5932 for a subgroup button at start-of-line. (Bug#2298)
5934 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
5936 2011-03-10 Julien Danjou <julien@danjou.info>
5938 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
5939 `cursor-type' is nil.
5941 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
5943 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
5945 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
5947 * allout.el Summary: Change so yank of distinctive-bullet items
5948 preserves the existing header prefix, rebulleting it if necessary,
5949 rather than replacing it. This is necessary for proper operation
5950 of cooperative addons like allout-widgets.
5951 (allout-make-topic-prefix, allout-rebullet-heading): Change
5952 SOLICIT arg to INSTEAD, and interpret additionally a string value
5953 as alternate bullet to be used, instead of prompting the user for
5956 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
5958 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5959 Do not use `tramp-file-name-port', because this returns also
5960 `tramp-default-port'.
5962 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5964 * net/rcirc.el (rcirc-handler-001): Remove useless
5965 with-rcirc-process-buffer.
5966 (rcirc-check-auth-status): Swap arguments to string-match.
5968 2011-03-09 Glenn Morris <rgm@gnu.org>
5970 * shell.el (shell-mode):
5971 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
5973 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
5974 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
5976 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
5978 * emacs-lisp/package.el (package-refresh-contents)
5979 (package-menu-execute): Use condition-case-no-debug.
5981 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
5983 * simple.el (shell-command-to-string): Use `process-file'.
5985 * emacs-lisp/package.el (package-tar-file-info): Handle also
5988 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5989 Use `equal' for upload base check.
5991 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
5993 * textmodes/texinfo.el (texinfo-environments):
5994 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
5996 2011-03-08 Glenn Morris <rgm@gnu.org>
5998 * cus-start.el (cursor-in-non-selected-windows):
5999 Fix :set quoting oddness. (Bug#8192)
6001 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
6002 in some setf expressions. (Bug#2159)
6004 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
6006 * custom.el (custom-available-themes): Return themes in
6009 See ChangeLog.15 for earlier changes.
6015 Copyright (C) 2011 Free Software Foundation, Inc.
6017 This file is part of GNU Emacs.
6019 GNU Emacs is free software: you can redistribute it and/or modify
6020 it under the terms of the GNU General Public License as published by
6021 the Free Software Foundation, either version 3 of the License, or
6022 (at your option) any later version.
6024 GNU Emacs is distributed in the hope that it will be useful,
6025 but WITHOUT ANY WARRANTY; without even the implied warranty of
6026 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6027 GNU General Public License for more details.
6029 You should have received a copy of the GNU General Public License
6030 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.