1 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3 * subr.el (make-composed-keymap): Move from C. Change calling
4 convention, and improve docstring to bring attention to a subtle point.
5 * minibuffer.el (completing-read-default): Adjust accordingly.
7 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
9 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10 (tramp-open-shell): Use `tramp-shell-quote-argument'.
12 * net/trampver.el: Update release number.
14 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
19 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21 * mail/sendmail.el (sendmail-query-once): Restore the current
22 buffer after querying (bug#9074).
24 * dired.el (dired-flagged): Use different faces for marked and
25 flagged files (bug#6117).
27 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
30 * ido.el (ido-mode): Switch off the message if called
33 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
34 before 587, since it appears that that's more likely to work for
37 * cus-edit.el (custom-file): When running under emacs -q, always
38 refuse to save the customisations, even if the .emacs file doesn't
41 * info.el: Remove the `Info-beginning-of-buffer' function
44 * net/network-stream.el (network-stream-open-starttls):
45 Use `starttls-available-p' to see whether starttls.el can be used.
47 2011-08-01 Martin Rudalics <rudalics@gmx.at>
49 * window.el (display-buffer-in-window): Don't set dedicated status
50 of window here (Bug#9215).
51 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
52 (display-buffer-pop-up-side-window)
53 (display-buffer-in-side-window): Set dedicated status of window here.
55 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
57 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
58 before binding generated-autoload-file.
60 2011-08-01 Deniz Dogan <deniz@dogan.se>
62 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
64 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
66 Sync with Tramp 2.2.2.
68 * net/trampver.el: Update release number.
70 2011-07-30 Juri Linkov <juri@jurta.org>
72 * dired-aux.el (dired-touch-initial): Remove function.
73 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
74 current time, and `default' to the last modification time of the
75 current marked file (bug#6887).
77 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
79 * simple.el (goto-line): Use string-to-number to provide a
80 numeric argument to read-number (bug#9163).
82 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
84 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
85 connection process, it could be nil.
87 2011-07-27 Leo Liu <sdl.web@gmail.com>
89 Simplify url handling in rcirc-mode.
91 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
92 (rcirc-browse-url-at-mouse): Remove.
93 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
95 2011-07-26 Alan Mackenzie <acm@muc.de>
97 Fontify bitfield declarations properly.
99 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
100 (c-symbol-chars): Now exported as a lang variable.
101 (c-not-primitive-type-keywords): New lang variable.
103 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
104 QT keyword "more" to prevent "more slots: ...." being spuriously
105 parsed as a bitfield declaraion.
107 * progmodes/cc-engine.el (c-beginning-of-statement-1):
108 Refactor and enhance to handle bitfield declarations.
109 (c-punctuation-in): New function.
110 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
111 declarations properly.
113 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
115 * calendar/icalendar.el (icalendar--all-events): Take care of
116 multiple vcalendars in a single file.
117 (icalendar--convert-float-to-ical): Checkdoc fixes.
119 2011-07-25 Deniz Dogan <deniz@dogan.se>
121 * image.el (insert-image): Clarifying docstring.
123 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
125 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
126 `tramp-send-command-and-check' if there is no error.
127 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
129 2011-07-22 Alan Mackenzie <acm@muc.de>
131 Prevent cc-langs.elc being loaded at run time.
133 * progmodes/cc-mode.el: Remove two autoload forms which loaded
136 * /progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
137 "(require 'cc-langs)". Quote a form so it will evaluate at
138 (cc-mode's) compilation time.
140 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
142 * net/tramp.el (tramp-file-name-handler): Avoid recursive
145 2011-07-21 Martin Rudalics <rudalics@gmx.at>
147 * window.el (display-buffer-pop-up-window)
148 (display-buffer-pop-up-side-window)
149 (display-buffer-in-side-window): Call display-buffer-set-height
150 and display-buffer-set-width after setting the new window's
151 buffer so `fit-window-to-buffer' and friends work on the right buffer.
153 2011-07-20 Sam Steingold <sds@gnu.org>
155 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
156 (etags-tags-included-tables): Call `convert-standard-filename' on
157 the file names contained in TAGS so that windows Emacs can handle
158 TAGS files created by cygwin ctags.
160 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
162 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
163 which apparently didn't work.
165 2011-07-19 Roland Winkler <winkler@gnu.org>
167 * proced.el (proced-send-signal): For *Marked Processes* buffer
168 put point at beginning of buffer.
170 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
172 * proced.el (proced-format): Make header lines align with the text
175 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
177 * view.el (view-buffer): Allow running in `special' modes if we're
178 visiting a file (bug#8615).
180 2011-07-19 Martin Rudalics <rudalics@gmx.at>
182 * window.el (display-buffer-alist-of-strings-p)
183 (display-buffer-alist-set-1, display-buffer-alist-set-2):
185 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
188 2011-07-18 Alan Mackenzie <acm@muc.de>
190 Fontify declarators properly when, e.g., a jit-lock chunk begins
191 inside a declaration.
193 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
195 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
197 (c-complex-decl-matchers): Insert reference to
198 c-font-lock-enclosing-decls.
200 * progmodes/cc-engine.el (c-backward-single-comment):
201 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
202 to nil around calls to (forward-comment -1).
204 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
206 * image.el (put-image): Doc typo fix.
208 * progmodes/etags.el (tags-search): Doc typo fix.
210 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
211 password if we get errors 550 to 554.
213 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
215 * net/gnutls.el (gnutls-log-level): Remove.
217 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
218 indentation character (bug#6380).
220 * files.el (buffer-offer-save): Made permanently local (bug#6241).
222 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
223 to clarify what the problem is (bug#4291).
225 * simple.el (current-kill): Clarify what
226 `interprogram-paste-function' does (bug#7500).
227 (auto-fill-mode): Document `auto-fill-function' in relation to
228 `auto-fill-mode' (bug#2470).
230 2011-07-16 Lawrence Mitchell <wence@gmx.li>
232 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
233 method if slot is read-only (bug#9035).
235 2011-07-16 Martin Rudalics <rudalics@gmx.at>
237 * frame.el (select-frame-set-input-focus): New argument NORECORD.
238 * window.el (pop-to-buffer): Select window used even if it was
239 selected before, see discussion of (Bug#8615), (Bug#6954).
240 Pass argument NORECORD on to select-frame-set-input-focus.
242 2011-07-15 Glenn Morris <rgm@gnu.org>
244 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
247 2011-07-09 Lawrence Mitchell <wence@gmx.li>
249 * net/gnutls.el (gnutls-min-prime-bits): New variable.
250 (gnutls-negotiate): Use it.
252 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
254 * net/gnutls.el (gnutls-negotiate):
255 Upcase `gnutls-algorithm-priority'.
257 2011-07-15 Glenn Morris <rgm@gnu.org>
259 * jka-compr.el (jka-compr-verbose): Move from here...
260 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
261 Add missing :version tag.
262 * info.el: No need to require jka-compr when compiling.
264 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
266 * net/gnutls.el (gnutls-algorithm-priority): New variable.
267 (gnutls-negotiate): Use it.
269 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
271 * info.el (Info-beginning-of-buffer): New command.
272 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
273 announcing `b' as the key (bug#8325).
274 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
276 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
278 * international/mule-cmds.el
279 (describe-specified-language-support): Make the error message
282 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
284 * isearch.el (isearch-barrier): Add a doc string, since it's
285 mentioned in a function doc string (bug#8678).
287 2011-07-15 Martin Rudalics <rudalics@gmx.at>
289 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
290 buffer argument (Bug#9083) and self-identifying label argument.
292 2011-07-15 Glenn Morris <rgm@gnu.org>
294 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
296 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
298 * man.el (Man-fontify-manpage): Fix message when formatting the
301 2011-07-14 Eli Zaretskii <eliz@gnu.org>
303 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
304 argument LRM; if non-nil, append an invisible LRM character to the
306 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
307 last argument non-nil, when formatting buffer names.
308 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
311 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
313 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
314 the man page name (bug#7929).
316 * image.el (put-image): Mention the `put-image' overlay property
319 * scroll-bar.el (set-scroll-bar-mode): Mention that
320 `scroll-bar-mode' lists the values (bug#7772).
322 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
325 * rect.el (apply-on-rectangle): Return the point after the last
327 (string-rectangle): Go to the point after the last operation
330 * simple.el (current-kill): Clarify what
331 `interprogram-paste-function' does (bug#7500).
333 * printing.el (pr-toggle-region): Clarify the documentation
336 * time.el (display-time-update):
337 Allow `display-time-mail-function' to return nil (bug#7158).
338 Fix suggested by Detlev Zundel.
340 * vc/diff.el (diff): Clarify the order the file names are read
343 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
344 the doc string (bug#7015).
346 * font-lock.el (font-lock-maximum-decoration): Mention what
347 numeric levels mean (bug#6935).
349 * startup.el (initial-buffer-choice): Don't mention the `none'
350 selection, which is against policy.
352 2011-07-14 Martin Rudalics <rudalics@gmx.at>
354 * window.el (display-buffer-normalize-special):
355 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
357 2011-07-14 Eli Zaretskii <eliz@gnu.org>
359 * subr.el (version<, version<=, version=): Mention "-CVS" and
360 "-12345" alpha version numbers.
362 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
364 * bindings.el: Add advertised binding for set-mark-command
367 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
369 * bindings.el (mode-line-other-buffer):
370 * bookmark.el (bookmark-bmenu-2-window):
371 * bs.el (bs-cycle-next, bs-cycle-previous):
372 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
375 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
378 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
380 * follow.el (follow-debug-message, follow-redisplay):
381 * jka-cmpr-hook.el (with-auto-compression-mode):
382 Fix typos in docstrings.
384 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
386 * subr.el (with-silent-modifications): Clarify somewhat what the
387 macro inhibits (bug#6525).
389 * simple.el (eval-expression): Note what it does if called
390 interactively (bug#6495).
392 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
394 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
395 Use pop-to-buffer buffer-or-name if it is nil.
397 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
398 Remove switch-to-buffer.
400 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
402 * files.el (make-directory): Clarify that an error will be raised
403 if there's an error (bug#6397).
405 * startup.el (initial-buffer-choice): Add `none' as a choice
408 * subr.el (add-hook): Clarify section about buffer-local hooks
411 * dired.el (dired-flagged): Clarify doc string (bug#6117).
413 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
415 * tabify.el (untabify): Preserve the current column so that point
416 doesn't move (bug#6032).
418 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
420 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
421 Rewrite to avoid awkward possessive "s" (bug#5986).
423 2011-07-13 Glenn Morris <rgm@gnu.org>
425 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
426 (dired-insert-directory): Give a message the first time
427 if ls is found not to support --dired.
429 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
431 * simple.el (toggle-truncate-lines): Clarify what is toggled
432 (bug#5580). Text by Drew Adams.
434 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
436 * simple.el (blink-matching-open): Make the error message from the
437 last change less verbose.
439 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
441 * font-lock.el (font-lock-comment-face): Use the high contrast
442 "yellow" color for font-lock-comment-face on low color terminals
443 using a dark background color (bug#4221).
445 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
447 * dired.el (dired-insert-set-properties): Make the doc string
448 reflect what it does now (bug#5325).
450 * simple.el (blink-matching-open): Say that we were unable to find
451 the match within the limit, if we're limited (bug#5122).
453 * international/mule-cmds.el (prefer-coding-system): Add an
456 * progmodes/etags.el (tags-search): Document `file-list-form'
459 2011-07-13 Lawrence Mitchell <wence@gmx.li>
461 * net/browse-url.el (browse-url-default-browser)
462 (browse-url-browser-function): Make the default browser choice a
463 bit more logical (bug#4300). Also clean up the doc string.
465 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
467 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
468 binary endings (bug#4440).
470 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
472 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
473 which can be pretty annoying (bug#8971).
475 * jka-compr.el (jka-compr-verbose): New variable, and use
476 throughout (bug#8971).
478 * info.el (Info-find-file): Fall back on the installation
479 directory if we can't find the info node anywhere else.
481 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
483 * vc/vc.el (vc-revert-file):
484 Don't set file time-stamp in the past. (Bug#5181)
486 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
488 * files.el (after-find-file): Give a better error message when
489 trying to find a symlink that points to a file that doesn't exist
492 * progmodes/cc-vars.el: Remove (probably) misleading comment
495 2011-07-12 Johan Bockgård <bojohan@gnu.org>
497 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
499 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
501 * mouse-sel.el: Hack restoring functionality, while keeping
502 compatibility with 2010-07-03 changes to mouse selection.
503 (mouse-sel-primary-overlay): New var.
504 (mouse-sel-selection-alist): Use it.
505 (mouse-sel-mode): Doc fix; remove points that are default features
508 2011-07-12 Johan Bockgård <bojohan@gnu.org>
510 * progmodes/compile.el (compilation-error-regexp-alist-alist):
511 Fix previous fix (bug#2490).
513 2011-07-12 Roland Winkler <winkler@gnu.org>
515 * textmodes/bibtex.el (bibtex-initialize):
516 Use pop-to-buffer-same-window.
517 (bibtex-search-entries): Fix interactive call.
519 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
521 * progmodes/compile.el (compilation-error-regexp-alist-alist):
522 Fontise bytecomp Error lines more correctly (bug#2490).
523 Fix suggested by Johan Bockgård.
525 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
527 * dired-x.el (dired-guess-default): Use `delete-dups'.
529 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
531 * dired.el (dired-mark-prompt):
532 * dired-aux.el (dired-read-shell-command): Doc fix.
534 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
536 * mail/sendmail.el (sendmail-query-once):
537 Use `customize-save-variable' unconditionally, now that it works under
540 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
542 * cus-edit.el (custom-file): Take an optional no-error variable.
543 (customize-save-variable): Set the variable, and give a warning if
544 running under "emacs -q".
546 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
548 * loadhist.el (unload-feature-special-hooks):
549 Add `auto-coding-functions', `fill-nobreak-predicate' and
550 `find-directory-functions' (bug#5327).
552 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
554 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
556 * cus-edit.el (custom-guess-name-alist): -alist variables should
557 use the `alist' type (bug#3120). Suggested by Drew Adams.
559 * printing.el: Add documentation to all the `pr-toggle-' commands.
561 2011-07-11 Leo <sdl.web@gmail.com> (tiny change)
563 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
564 backends where it makes sense (bug#2623).
566 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
568 * dired-x.el (dired-guess-default): Remove duplicate shell command
570 (dired-guess-default): Fix grammar in doc string (bug#2028).
571 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
573 * subr.el (remove-duplicates): New conveniency function.
575 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
577 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
580 2011-07-10 Martin Rudalics <rudalics@gmx.at>
582 * window.el (display-buffer-normalize-default): Don't invert
583 meaning of even-window-heights. Reported by Eli Zaretskii
586 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
588 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
590 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
592 * window.el (display-buffer): Fix arguments to
593 display-buffer-reuse-window in last change.
595 * faces.el (link): Use a less saturated blue on light backgrounds.
597 * startup.el (fancy-startup-text, fancy-about-text)
598 (fancy-startup-tail): Use font-lock faces, for background safety.
600 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
602 * emulation/viper-cmd.el (viper-change-state-to-vi):
603 Limit triggering of abbrev expansion (Bug#9038).
605 2011-07-09 Martin Rudalics <rudalics@gmx.at>
607 * window.el (display-buffer-default-specifiers): Remove.
608 (display-buffer-macro-specifiers): Remove default specifiers.
609 (display-buffer-alist): Default to nil.
610 (display-buffer-reuse-window): New optional argument other-window.
611 (display-buffer-pop-up-window): Allow splitting internal
612 windows. Check whether a live window was created.
613 (display-buffer-other-window-means-other-frame)
614 (display-buffer-normalize-arguments): Rename to
615 display-buffer-normalize-argument and rewrite. Set the
616 other-window specifier.
617 (display-buffer-normalize-special): New function.
618 (display-buffer-normalize-options): Rename to
619 display-buffer-normalize-default and rewrite.
620 (display-buffer-normalize-options-inhibit): Remove.
621 (display-buffer-normalize-specifiers): Rewrite.
622 (display-buffer): Process other-window specifier and call
623 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
625 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
626 (display-buffer-alist-set): Don't handle 'unset default values.
627 (display-buffer-in-window, display-buffer-alist-set):
628 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
629 <tassilo@member.fsf.org>.
631 2011-07-09 Leo Liu <sdl.web@gmail.com>
633 * register.el (insert-register): Restore accidental change on
634 2011-06-26. (Bug#9028)
636 2011-07-09 Glenn Morris <rgm@gnu.org>
638 * subr.el (remq): Handle the empty list. (Bug#9024)
640 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
642 * mail/sendmail.el (send-mail-function): No longer delay custom
644 * custom.el (custom-initialize-delay): Doc fix.
646 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
648 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
650 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
652 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
653 human-friendly prompt.
655 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
657 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
658 provided by a particular plugin.
660 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
662 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
663 save customizations (with "emacs -Q"), just set the variable
664 instead of erroring out.
666 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
668 2011-07-08 Juri Linkov <juri@jurta.org>
670 * arc-mode.el (archive-zip-expunge, archive-zip-update)
671 (archive-zip-update-case): Use 7z if found by `executable-find'.
672 The order of searching the available programs is the same as in
673 `archive-zip-extract' (bug#8968).
675 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
677 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
678 (menu-bar-options-menu): Tweak descriptions.
680 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
682 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
683 menu items into verb phrases (bug#1421). Also refill to fit under
686 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
688 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
689 (Info-read-node-name): Doc fix (Bug#1084).
691 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
692 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
693 (end-of-sexp, beginning-of-sexp)
694 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
695 (forward-symbol, forward-same-syntax, word-at-point)
696 (sentence-at-point): Doc fix (Bug#1144).
698 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
700 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
701 should cover it (bug#1281).
703 * cus-edit.el (custom-show): Mark as obsolete.
705 * net/network-stream.el (network-stream-open-starttls): If gnutls
706 negotiation fails, then possibly try again with a non-encrypted
707 connection (bug#9017).
709 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
712 2011-07-07 Richard Stallman <rms@gnu.org>
714 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
715 property, and handle its changed format.
716 Look for the correct line number.
717 Use file's line contents (but not past first =) to find
718 correct line in message.
720 2011-07-07 Kenichi Handa <handa@m17n.org>
722 * international/characters.el (build-unicode-category-table):
724 (unicode-category-table): Set it by unicode-property-table-internal.
726 * international/mule-cmds.el (char-code-property-alist): Move to
728 (get-char-code-property): Call unicode-property-table-internal to
729 load a file. Call get-unicode-property-internal where necessary.
730 (put-char-code-property): Call unicode-property-table-internal to
731 load a file. Call put-unicode-property-internal where necessary.
732 put-unicode-property-internal where necessary.
733 (char-code-property-description):
734 Call unicode-property-table-internal to load a file.
736 * international/charprop.el:
737 * international/uni-bidi.el:
738 * international/uni-category.el:
739 * international/uni-combining.el:
740 * international/uni-comment.el:
741 * international/uni-decimal.el:
742 * international/uni-decomposition.el:
743 * international/uni-digit.el:
744 * international/uni-lowercase.el:
745 * international/uni-mirrored.el:
746 * international/uni-name.el:
747 * international/uni-numeric.el:
748 * international/uni-old-name.el:
749 * international/uni-titlecase.el:
750 * international/uni-uppercase.el: Regenerate.
752 * loadup.el: Load international/charprop.el before
753 international/characters.
755 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
757 * window.el (next-buffer, previous-buffer): Signal an error if
758 called from a minibuffer window.
760 * bindings.el: Revert 2011-07-04 change.
762 2011-07-06 Richard Stallman <rms@gnu.org>
764 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
765 (rmail-mime-insert-bulk, rmail-mime-insert-text):
766 Treat markers like ints.
767 (rmail-mime-entity): Doc fix.
769 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
771 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
772 defcustom again for backwards compatibility.
774 * simple.el (shell-command-on-region): Fill.
776 * dired-aux.el (dired-kill-line): Add a doc string.
778 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
779 to "\\sw\\|\\s_" (bug#358).
781 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
782 (dired-unmark-backward): Ditto.
783 (dired-flag-backup-files): Ditto.
785 * dired-x.el (dired-mark-sexp): Ditto.
787 2011-07-06 Richard Stallman <rms@gnu.org>
789 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
790 (rmail-mime-entity): New arg TRUNCATED.
791 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
793 (rmail-mime-save): Warn if entity is truncated.
794 (rmail-mime-toggle-hidden): Likewise, for showing.
795 (rmail-mime-process-multipart): Record when an entity is truncated.
797 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
798 if ENTITY is a string.
800 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
802 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
803 of faces when `M-C-x'-ing their definitions (bug#8378).
804 Also clean up the code slightly.
806 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
807 because that makes the colours go away.
809 * mail/sendmail.el (send-mail-function): Change the default to
810 `sendmail-query-once'.
811 (sendmail-query-once): Add an autoload cookie.
813 * net/network-stream.el (network-stream-open-starttls): Try using
814 a plain connection even if the server offered STARTTLS, and we
815 kinda wanted to use it, if Emacs doesn't have any STARTTLS
816 capability. This should make smtpmail.el work in slightly more
819 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
821 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
823 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
825 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
827 * progmodes/sql.el: Version 3.0
828 (sql-product-alist): Add product :completion-object,
829 :completion-column, and :statement attributes.
830 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
831 (sql-mode-syntax-table): Mark all punctuation.
832 (sql-font-lock-keywords-builder): Temporarily remove fallback on
834 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
835 (sql-mode-oracle-font-lock-keywords): Improve.
836 (sql-oracle-show-reserved-words): New function for development.
837 (sql-product-font-lock): Simplify for source code buffers.
838 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
840 (sql-highlight-product): Set product specific syntax table.
841 (sql-mode-map): Add statement movement functions.
842 (sql-ansi-statement-starters, sql-oracle-statement-starters):
844 (sql-statement-regexp, sql-beginning-of-statement)
845 (sql-end-of-statement, sql-signum): New functions.
846 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
847 (sql-show-sqli-buffer): Bug fix.
848 (sql-interactive-mode): Store connection data as buffer local.
849 (sql-connect): Add NEW-NAME parameter. Redesign interaction
850 with sql-interactive-mode.
851 (sql-save-connection): Save buffer local settings.
852 (sql-connection-menu-filter): Change menu entry name.
853 (sql-product-interactive): Bug fix.
854 (sql-preoutput-hold): New variable.
855 (sql-interactive-remove-continuation-prompt): Bug fixes.
856 (sql-debug-redirect): New variable.
857 (sql-str-literal): New function.
858 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
860 (sql-oracle-save-settings, sql-oracle-restore-settings)
861 (sql-oracle-list-all, sql-oracle-list-table): New functions.
862 (sql-completion-object, sql-completion-column)
863 (sql-completion-sqlbuf): New variables.
864 (sql-build-completions-1, sql-build-completions)
865 (sql-try-completion): New functions.
866 (sql-read-table-name): Use them.
867 (sql-contains-names): New buffer local variable.
868 (sql-list-all, sql-list-table): Use it.
869 (sql-oracle-completion-types): New variable.
870 (sql-oracle-completion-object, sql-sqlite-completion-object)
871 (sql-postgres-completion-object): New functions.
873 2011-07-06 Glenn Morris <rgm@gnu.org>
875 * window.el (pop-to-buffer): Doc fix.
877 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
879 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
881 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
883 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
885 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
887 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
889 * button.el (button): Inherit from link face. Suggested by Dan
892 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
894 * progmodes/gdb-mi.el: Fit in 80 columns.
895 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
898 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
899 if imenu is simply not configured (bug#8941).
901 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
903 * allout.el (allout-post-undo-hook): New allout outline-change
904 event hook to signal undo activity.
905 (allout-post-command-business): Run allout-post-undo-hook if an
907 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
908 * allout-widgets.el (allout-widgets-after-undo-function):
909 Ensure the integrity of the current item's decoration after it has been
910 in the vicinity of an undo.
911 (allout-widgets-mode): Include allout-widgets-after-undo-function
912 on the new allout-post-undo-hook.
914 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
916 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
917 Let define-derived-mode define it.
918 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
919 cycles of abbrev-table inheritance (bug#8998).
921 2011-07-05 Roland Winkler <winkler@gnu.org>
923 * textmodes/bibtex.el: Add support for biblatex.
924 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
925 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
926 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
927 (bibtex-entry-alist, bibtex-field-alist): New variables.
928 (bibtex-entry-field-alist): Obsolete alias for
929 bibtex-BibTeX-entry-alist.
930 (bibtex-entry-alist, bibtex-field-alist): New widgets.
931 (bibtex-set-dialect): New command.
932 (bibtex-entry-type, bibtex-entry-head)
933 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
934 Bind via bibtex-set-dialect.
935 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
936 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
937 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
938 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
939 Define via bibtex-set-dialect.
940 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
941 Obey bibtex-no-opt-remove-re.
942 (bibtex-vec-push, bibtex-vec-incr): New functions.
943 (bibtex-format-entry, bibtex-field-list)
944 (bibtex-print-help-message, bibtex-validate)
945 (bibtex-search-entries): Use new format of bibtex-entry-alist.
947 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
949 * progmodes/compile.el (compilation-goto-locus):
950 * net/tramp-cmds.el (tramp-append-tramp-buffers):
951 * bs.el (bs-cycle-next, bs-cycle-previous):
952 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
953 * bindings.el (mode-line-other-buffer):
954 * autoinsert.el (auto-insert):
955 * arc-mode.el (archive-extract):
956 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
958 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
960 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
961 Fix check of `emacs-lock-unlockable-modes'.
962 Coerce true values of `emacs-lock--try-unlocking' to t.
964 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
966 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
967 * emacs-lock.el: New file.
969 2011-07-05 Julien Danjou <julien@danjou.info>
971 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
972 than `boundp' to check if face is set.
974 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
976 * register.el (registerv-make):
977 * window.el (window-min-height): Fix typos in docstrings.
979 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
981 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
984 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
986 * server.el (server-execute): Catch quit and call
987 `server-return-error' to pass the error back to emacsclient and
988 close the connection (bug#8942).
990 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
992 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
993 insecure exception for current topic. Also note that auto-saves
994 are handled differently.
996 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
997 State variables for tracking auto-save inhibition situation.
999 (allout-write-contents-hook-handler): Rename from
1000 'allout-write-file-hook-handler', and describe how it depends on
1001 write-contents-functions sensitivity to non-nil value to prevent
1004 (allout-auto-save-hook-handler): Remove. auto-save does not check
1005 this in individual buffers, only in the starting buffer, so this
1006 is not the right way for us to inhibit auto-save in a buffer
1007 according to its condition.
1009 (allout-mode): Use new allout-write-contents-hook-handler, and
1010 only with write-contents-functions. Remove auto-save provisions -
1011 they're implemented elsewhere.
1013 (allout-before-change-handler): If undo is in progress, note that
1014 for attention of allout-post-command-business.
1016 (allout-post-command-business): If the command we're following was
1017 an undo, check for change in the status of encrypted items and
1018 adjust auto-save inhibitions accordingly.
1020 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
1021 according to whether there are or aren't any plain-text topics
1024 (allout-inhibit-auto-save-info-for-decryption):
1025 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
1026 there are plain-text topics pending encryption.
1028 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
1029 buffer-saved-size and some allout state to not inhibit auto-saves
1030 if there are no longer any plain-text topics pending encryption.
1032 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
1033 No longer provide for exemption of the current topic.
1035 2011-07-04 Juri Linkov <juri@jurta.org>
1037 Add 7z operations to delete and save changed members (bug#8968).
1038 * arc-mode.el (archive-7z-expunge, archive-7z-update):
1040 (archive-7z-write-file-member): New function.
1041 (archive-7z-summarize): Fix the number of dashes in the
1044 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1046 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
1049 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
1051 * bindings.el: Ignore next-buffer and previous-buffer in
1052 minibuffer-local-map.
1054 * font-lock.el (font-lock-builtin-face): Change light background
1055 color to dark slate blue (Bug#6693).
1057 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
1059 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
1061 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1063 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
1064 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1065 Add switch-to-buffer.
1067 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1069 * isearch.el (isearch-search-fun-function): Clarify further the
1070 meaning of the function returned.
1072 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
1074 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
1076 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
1077 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
1079 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
1080 `tramp-default-remote-path' does not exist.
1081 (tramp-send-command-and-read): New optional argument NOERROR.
1082 (tramp-open-connection-setup-interactive-shell)
1083 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
1084 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
1085 (tramp-process-sentinel): Flush also process' connection property.
1086 (tramp-sh-handle-start-file-process): Do not set process
1087 sentinel. It is done now ...
1088 (tramp-maybe-open-connection): ... here. (Bug#8929)
1090 2011-07-04 MON KEY <monkey@sandpframing.com>
1092 * play/animate.el (animate-string): Doc fixes and allow changing
1093 the buffer name (bug#5417).
1095 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1097 * play/animate.el (animation-buffer-name): Rename from *animate*.
1099 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
1101 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
1102 This is simpler and helps future-proof the code.
1103 (timer-until): Use time-subtract and float-time.
1104 (timer--time-less-p): Use time-less-p.
1106 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
1108 * type-break.el (timep): Use the value of `float-time' to avoid a
1109 byte-compiler warning.
1111 * server.el (server-eval-and-print): Return any result, even nil.
1113 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
1115 * type-break.el: Accept time formats that the builtins accept.
1116 (timep, type-break-time-difference): Accept any format that
1117 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
1118 This is simpler and helps future-proof the code.
1119 (type-break-time-difference): Round rather than ignoring
1120 subseconds components.
1122 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1124 * info.el (Info-apropos-matches): Make non-interactive, since it
1125 doesn't seem to do anything useful as a command (bug#8829).
1127 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
1129 * frame.el (frame-background-mode, frame-set-background-mode):
1131 (frame-default-terminal-background): New function.
1133 * custom.el (custom-push-theme): Don't record faces in `changed'
1134 theme; this doesn't work correctly for per-frame face settings.
1135 (disable-theme): Use face-set-after-frame-default to reset faces.
1136 (custom--frame-color-default): New function.
1138 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1140 * dired.el (dired-flagging-regexp): Remove unused variable
1143 2011-03-29 Kevin Ryde <user42@zip.com.au>
1145 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1146 `perl-Test2' extend to match possible "fail #N" rep count
1149 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1151 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
1152 `smtpmail-via-smtp' now returns the error instead of nil.
1154 * isearch.el (isearch-search-fun-function): Clarify the doc string
1157 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
1159 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
1160 unnecessary spaces (bug#8987).
1162 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1164 * net/network-stream.el (open-network-stream): Use the
1165 :end-of-capability command thoughout.
1167 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
1169 * net/network-stream.el (open-network-stream): Add the
1170 :end-of-capability command parameter, used by pop3.el.
1172 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1174 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
1176 * fringe.el (fringe-query-style): Remove redundant text " (type ?
1177 for list)" (bug#6475).
1179 * files.el (file-expand-wildcards): Ignore non-readable
1180 sub-directories while trying to find matches instead of signalling
1181 an error (bug#6297).
1183 * man.el (Man-reference-regexp): Allow matching possible
1184 word-wrapped references (bug#6289).
1186 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
1187 for consistency with the other vc buffers (bug#6197).
1188 (vc-checkin): Ditto.
1190 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
1192 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
1194 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1196 * custom.el (defcustom): Clarify that :set is only used in the
1197 Customize user interface (bug#6089).
1199 * progmodes/flymake.el (flymake-mode): If the buffer isn't
1200 associated with a file, refuse to run instead of erroring out
1203 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
1204 the doc string, since it appears that using `fill-column' always
1205 controls the width (bug#7845).
1207 * simple.el (shell-command-on-region): Say where the error output
1208 went if `shell-command-default-error-buffer' is set (bug#6857).
1210 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
1212 * allout.el (allout-yank-processing): Adjust cursor position for
1213 backwards-deleted space.
1215 (allout-rebullet-heading): Register changes with
1216 allout-exposure-changed-hook, so the modified topic is properly
1219 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1221 * minibuffer.el (completion-in-region): Document PREDICATE
1224 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
1225 of keyword/argument pairs (bug#6904).
1227 * replace.el (multi-occur):
1228 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
1230 2011-07-02 Drew Adams <drew.adams@oracle.com>
1232 * dired.el (dired-mark-if): Make the message about whether it's
1233 marking or unmarking clearer (bug#8523).
1235 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1237 * disp-table.el (display-table-print-array): New function.
1238 (describe-display-table): Use it to print the vectors more pretty
1241 2011-07-02 Martin Rudalics <rudalics@gmx.at>
1243 * window.el (window-state-get-1): Don't assign clone numbers.
1244 Add clone-of item to list of window parameters.
1245 (window-state-put-2): Don't process clone numbers.
1246 (display-buffer-alist): Fix doc-string.
1248 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1250 * subr.el (remq): Don't allocate if it's not needed.
1251 (keymap--menu-item-binding, keymap--menu-item-with-binding)
1252 (keymap--merge-bindings): New functions.
1253 (keymap-canonicalize): Use them to refine the canonicalization.
1254 * minibuffer.el (minibuffer-local-completion-map)
1255 (minibuffer-local-must-match-map): Move initialization from C.
1256 (minibuffer-local-filename-completion-map): Move initialization from C;
1257 don't inherit from anything here.
1258 (minibuffer-local-filename-must-match-map): Make obsolete.
1259 (completing-read-default): Use make-composed-keymap to combine
1260 minibuffer-local-filename-completion-map with either
1261 minibuffer-local-must-match-map or
1262 minibuffer-local-filename-completion-map.
1264 2011-07-01 Glenn Morris <rgm@gnu.org>
1266 * type-break.el (type-break-time-sum): Use dolist.
1268 * textmodes/flyspell.el (flyspell-word-search-backward):
1269 Replace CL function.
1271 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1273 * mouse.el (mouse--strip-first-event): New function.
1274 (function-key-map): Use it to map fringe clicks to normal clicks
1277 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
1278 (vc-bzr-revision-completion-table): Add support for annotate and date.
1280 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
1281 inherit from parent.
1283 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1285 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
1286 (dired-show-file-type): Doc fixup (bug#8818).
1288 * dired.el (dired-mode): Fix up the doc string as suggested by
1289 Drew Adams (bug#8817).
1291 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
1292 cookie, since the manual says that it should be possible to add
1293 this function to `find-file-hook' (bug#8709).
1295 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
1297 * progmodes/cfengine.el: Moved all cfengine3.el functionality
1298 here. Noted Ted Zlatanov as the maintainer.
1299 (cfengine-common-settings, cfengine-common-syntax): New functions
1300 to set up common things between `cfengine-mode' and
1302 (cfengine3-mode): New mode.
1303 (cfengine3-defuns cfengine3-defuns-regex
1304 (cfengine3-class-selector-regex cfengine3-category-regex)
1305 (cfengine3-vartypes cfengine3-font-lock-keywords)
1306 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
1307 (cfengine3-indent-line): Add from cfengine3.el.
1309 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
1311 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
1313 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1315 2011-07-01 Martin Rudalics <rudalics@gmx.at>
1317 * window.el (same-window-buffer-names, same-window-regexps)
1318 (same-window-p, special-display-frame-alist)
1319 (special-display-popup-frame, special-display-function)
1320 (special-display-buffer-names, special-display-regexps)
1321 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
1322 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
1323 (split-window-preferred-function, split-height-threshold)
1324 (split-width-threshold, even-window-heights)
1325 (display-buffer-mark-dedicated, window-splittable-p)
1326 (split-window-sensibly, window-safely-shrinkable-p):
1328 (display-buffer): Don't spread args with function specifier
1329 because special-display-popup-frame won't like it.
1331 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
1333 Time-stamp simplifications and fixes.
1334 These improve accuracy slightly, and future-proof the code
1335 against some potential changes to current-time format.
1337 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
1338 by using time-since and float-time.
1340 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
1341 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
1342 + NNN microseconds".
1344 * type-break.el (type-break-time-sum): Rewrite using time-add.
1346 * play/hanoi.el (hanoi-current-time-float): Remove.
1347 All uses replaced by float-time.
1349 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
1350 This yields a more-accurate answer.
1351 (rng-time-to-float): Remove; no longer needed.
1353 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
1355 * calendar/timeclock.el (timeclock-seconds-to-time):
1356 Defalias to seconds-to-time, since they're the same thing.
1358 * emacs-lisp/elp.el (elp-elapsed-time):
1359 * emacs-lisp/benchmark.el (benchmark-elapse):
1360 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
1362 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1364 * window.el (bury-buffer): Don't iconify the only frame.
1365 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
1366 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
1368 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
1370 * eshell/em-smart.el (eshell-smart-display-navigate-list):
1371 Add mouse-yank-primary.
1373 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
1375 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
1377 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1379 * emacs-lisp/find-func.el (find-library--load-name): New fun.
1380 (find-library-name): Use it to find relative load names when provided
1381 absolute file name (bug#8803).
1383 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1385 * textmodes/flyspell.el (flyspell-word): Consider words that
1386 differ only in case as potential doublons (bug#5687).
1388 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
1389 Remove two rather uninteresting debugging-like messages to make
1390 debbugs.el more silent.
1392 * comint.el (comint-password-prompt-regexp): Accept "Response" as
1393 a password-like phrase.
1395 2011-06-30 Mastake YAMATO <yamato@redhat.com>
1397 * progmodes/cc-guess.el: New file.
1399 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
1401 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
1402 derived from `c-basic-common-init'.
1404 * progmodes/cc-mode.el (top-level): Require cc-guess.
1405 (c-basic-common-init): Use `cc-choose-style-for-mode'.
1407 2011-06-30 Lawrence Mitchell <wence@gmx.li>
1409 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
1411 2011-06-30 Alan Mackenzie <acm@muc.de>
1413 * progmodes/cc-engine.el (c-guess-continued-construct):
1414 Correct the handling of template-args-cont, particularly for when font
1415 lock is disabled. Name this case as "CASE G".
1417 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
1419 * allout.el (allout-yank-processing): Fix injection of extra space
1420 between bullet and non-whitespace character in first topic when
1421 pasting, ensuring that the actual spacing in the pasted topic
1422 following the bullet char is preserved. This extra space was
1423 causing pasted encrypted topics to get a decrypted status even
1424 when the content was actually still encrypted. Now the decryption
1425 status from before the paste is preserved.
1427 (allout-flag-region): Set all allout overlays so they evaporate
1428 when reduced to zero length (evanescent), to prevent overlay
1431 2011-06-30 Glenn Morris <rgm@gnu.org>
1433 * w32-fns.el (w32-charset-info-alist): Declare.
1435 * find-dired.el (find-grep-options): Simplify.
1437 * term/ns-win.el (ns-set-resource): Declare.
1439 * ses.el (row, col): Declare dynamic variables honestly.
1441 * textmodes/reftex-parse.el (index-tags): Declare.
1443 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
1445 * cus-edit.el (customize-push-and-save): New function.
1447 * files.el (hack-local-variables-confirm): Use it.
1449 * custom.el (load-theme): New arg NO-CONFIRM.
1450 Use customize-push-and-save (Bug#8720).
1451 (custom-enabled-themes): Doc fix.
1453 * cus-theme.el (customize-create-theme)
1454 (custom-theme-merge-theme): Callers to load-theme changed.
1456 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1458 * thingatpt.el (thing-at-point-short-url-regexp): Require that
1459 short URLs have at least one dot in them (bug #7614).
1461 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
1462 nil, because using a pty is apparently too slow (bug #895).
1464 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
1466 * mail/sendmail.el (sendmail-query-once): New function.
1467 (sendmail-query-once-function): New variable.
1469 2011-06-29 Glenn Morris <rgm@gnu.org>
1471 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
1473 * ses.el (top-level): Require cl when compiling.
1474 (ses-set-localvars): Fix error statement.
1475 Call it at compile time to silence a storm of warnings.
1477 2011-06-29 Martin Rudalics <rudalics@gmx.at>
1479 * window.el (normalize-live-buffer): Rename to
1480 window-normalize-buffer.
1481 (normalize-live-frame): Rename to window-normalize-frame.
1482 (normalize-any-window): Rename to window-normalize-any-window.
1483 (normalize-live-window): Rename to window-normalize-live-window.
1484 (make-window-atom): Rename to window-make-atom.
1485 (window-resize-reset): Rename to window--resize-reset.
1486 (window-resize-reset-1): Rename to window--resize-reset-1.
1487 (resize-mini-window): Rename to window--resize-mini-window.
1488 (resize-subwindows-skip-p): Rename to
1489 window--resize-subwindows-skip-p.
1490 (resize-subwindows-normal): Rename to
1491 window--resize-subwindows-normal.
1492 (resize-subwindows): Rename to window--resize-subwindows.
1493 (resize-other-windows): Rename to window--resize-siblings.
1494 (resize-this-window): Rename to window--resize-this-window.
1495 (resize-root-window): Rename to window--resize-root-window.
1496 (resize-root-window-vertically): Rename to
1497 window--resize-root-window-vertically.
1498 (normalize-buffer-to-display): Rename to
1499 window-normalize-buffer-to-display.
1500 (normalize-buffer-to-switch-to): Rename to
1501 window-normalize-buffer-to-switch-to.
1502 Correspondingly update all callers of the functions listed
1504 (display-buffer-alist, display-buffer-normalize-arguments)
1505 (display-buffer-normalize-options, display-buffer)
1506 (display-buffer-alist-set): Use "function" instead of
1509 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
1511 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
1512 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
1513 debbugs.gnu.org. Mention acknowledgment email.
1515 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
1517 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
1518 buffer multibyteness, since it shouldn't matter.
1520 2011-06-28 Martin Rudalics <rudalics@gmx.at>
1522 * window.el (display-buffer-in-side-window): Handle dedicated
1523 windows as in display-buffer-reuse-window.
1524 (display-buffer-normalize-alist): Use value of override
1526 (display-buffer-normalize-specifiers): Use value of
1527 other-window-means-other-frame specifier.
1528 (display-buffer-alist): Rewrite some texts in widgets.
1529 (display-buffer): Spread arguments when calling function
1530 specified by fun-with-args.
1532 2011-06-28 Deniz Dogan <deniz@dogan.se>
1534 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1537 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
1538 selectors (Bug#5732).
1539 (css-proprietary-nmstart-re): Use `regexp-opt'.
1541 2011-06-27 Jari Aalto <jari.aalto@cante.net>
1543 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
1544 (eshell-ls-date-format): New defcustom.
1545 (eshell-ls-file): Use it.
1547 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1549 * help-fns.el (describe-variable): Fix message for terminal-local vars.
1551 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
1553 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
1554 (ange-ftp-make-tmp-name): New arg.
1555 (ange-ftp-file-local-copy): Use it.
1557 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
1559 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
1560 no-conversion (Bug#8870).
1562 2011-06-27 Martin Rudalics <rudalics@gmx.at>
1564 * window.el (window-right, window-left, window-child)
1565 (window-child-count, window-last-child)
1566 (window-iso-combination-p, walk-window-tree-1)
1567 (window-atom-check-1, window-tree-1, delete-window)
1568 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
1569 new naming conventions - window-vchild, window-hchild,
1570 window-next and window-prev are now called window-top-child,
1571 window-left-child, window-next-sibling and window-prev-sibling
1573 (resize-window-reset): Rename to window-resize-reset.
1574 (resize-window-reset-1): Rename to window-resize-reset-1.
1575 (resize-window): Rename to window-resize.
1576 (window-min-height, window-min-width)
1577 (resize-mini-window, resize-this-window, resize-root-window)
1578 (resize-root-window-vertically, adjust-window-trailing-edge)
1579 (enlarge-window, shrink-window, maximize-window)
1580 (minimize-window, delete-window, quit-restore-window)
1581 (split-window, balance-windows, balance-windows-area-adjust)
1582 (balance-windows-area, window-state-put-2)
1583 (display-buffer-even-window-sizes, display-buffer-set-height)
1584 (display-buffer-set-width, set-window-text-height)
1585 (fit-window-to-buffer): Rename all "resize-window" prefixed
1586 calls to use the "window-resize" prefix convention.
1587 (display-buffer-alist): Fix symbol for label specifier.
1588 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
1589 corresponding specifier.
1590 Reported by Juanma Barranquero <lekktu@gmail.com>.
1592 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
1594 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
1596 (ses-call-printer): Does not pass an empty string to formatter when the
1597 cell is empty to keep from barking printer Calc math-format-value.
1599 2011-06-27 Richard Stallman <rms@gnu.org>
1601 * battery.el (battery-mode-line-limit): New variable.
1602 (battery-update): Handle it.
1604 * mail/rmailmm.el (rmail-mime-process-multipart):
1605 Handle truncated messages.
1607 2011-06-27 Glenn Morris <rgm@gnu.org>
1609 * progmodes/flymake.el (flymake-err-line-patterns):
1610 Allow for column numbers in the ant/javac pattern. (Bug#8866)
1612 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
1614 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
1615 (ses--clean-!, ses--clean-_): New functions.
1616 (ses-range): Add configurability of readout order, and conversion
1619 * ses.el (ses-repair-cell-reference-all): New function.
1620 (ses-cell-symbol): Set macro as safe, so that it can be used in
1623 * ses.el: Update cycle detection algorithm.
1624 (ses-localvars): Add ses--Dijkstra-attempt-nb and
1625 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
1626 (ses-set-localvars): New function.
1627 (ses-make-cell): Add property-list as a cell element.
1628 (ses-cell-property-get-fun, ses-cell-property-get)
1629 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
1630 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
1632 (ses-cell-property-set, ses-cell-property-pop)
1633 (ses-cell-property-get-handle): New macro.
1634 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
1635 New aliases, used for code readability.
1636 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
1638 (ses-self-reference-early-detection): New defcustom.
1639 (ses-formula-references): Robustify against self-refering cells.
1640 (ses-mode): Use ses-set-localvars.
1641 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
1642 before lauching the update processing.
1643 (ses-initialize-Dijkstra-attempt): New function.
1644 (ses-recalculate-cell): Update for cycle detection based on
1647 * ses.el: Fix commenting and indenting convention.
1649 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1651 * bs.el (bs-cycle-next): Complete last change.
1653 2011-06-27 Drew Adams <drew.adams@oracle.com>
1655 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
1657 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1659 * net/network-stream.el (network-stream-open-starttls):
1660 Don't re-get capabilities unless we've reestablished connection.
1661 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
1663 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
1664 to binary to possibly avoid line encoding issues on Windows (among
1667 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1669 * net/network-stream.el (open-network-stream): Return an :error
1670 saying what the problem was, if possible.
1672 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
1675 * net/network-stream.el (network-stream-open-starttls): If we
1676 wanted to use STARTTLS, and the server offered it, but we weren't
1677 able to because we had no STARTTLS support, then close the connection.
1678 (open-network-stream): Return an :error element, if present.
1680 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
1682 * hl-line.el (hl-line-sticky-flag): Doc fix.
1683 (global-hl-line-sticky-flag): New option (Bug#8323).
1684 (global-hl-line-highlight): Obey it.
1686 * vc/vc.el (vc-revert-show-diff): Default to t.
1688 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
1690 * allout-widgets.el (allout-widgets-post-command-business):
1691 Stop decorating intermediate isearch matches. They're not being
1692 undecorated when an isearch is continued past, and isearch
1693 automatically collapses them. This leads to "widget leaks", where
1694 decorated items accumulate in collapsed areas. Lines with lots of
1695 hidden widgets can slow down cursor travel, substantially.
1696 Too much complicated machinery would be needed to ensure undecoration,
1697 so we're doing without this nicety.
1699 (allout-widgets-tally-string): Don't try to do a hash-table-count
1700 of allout-widgets-tally when it's nil. This eliminates spurious "Error
1701 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
1702 *Messages* when allout-widgets-maintain-tally is t.
1704 2011-06-26 Martin Rudalics <rudalics@gmx.at>
1706 * window.el (display-buffer-normalize-argument): Rename to
1707 display-buffer-normalize-arguments. Handle special meaning of
1708 LABEL argument. Respect special-display-function when popping up
1709 a new frame. Fix code searching for a window showing the buffer
1711 (display-buffer-normalize-specifiers):
1712 Call display-buffer-normalize-arguments.
1713 (display-buffer-in-window): Don't undedicate the window if its
1714 buffer remains the same.
1715 Reported by Drew Adams <drew.adams@oracle.com>.
1716 (display-buffer-alist): Add choice for same-window macro
1718 (display-buffer): Mention special meaning of LABEL argument in
1719 doc-string. Fix quoting. Don't pop up a new frame even as
1722 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
1724 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
1725 avoid deleting the current window in some cases (bug#8911).
1727 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
1729 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
1732 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1734 * net/network-stream.el (network-stream-open-starttls):
1735 Use built-in TLS support if `gnutls-available-p' is true.
1736 (network-stream-open-tls): Ditto.
1738 2011-06-26 Leo Liu <sdl.web@gmail.com>
1740 * register.el (registerv): New struct.
1741 (registerv-make): New function.
1742 (jump-to-register, describe-register-1, insert-register):
1743 Support the jump-func, print-func and insert-func slot of a registerv
1746 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
1748 * vc/vc.el (vc-revert-show-diff): New defcustom.
1749 (vc-diff-internal): New arg specifying diff buffer.
1750 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
1751 reuse an existing *vc-diff* buffer (Bug#8927).
1753 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
1755 2011-06-26 Glenn Morris <rgm@gnu.org>
1757 * progmodes/f90.el (f90-critical-indent): New option.
1758 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
1759 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
1760 (f90-mode): Doc fix.
1761 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
1762 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
1763 (f90-beginning-of-block, f90-next-block, f90-indent-region)
1764 (f90-match-end): Handle block, critical.
1766 2011-06-25 Glenn Morris <rgm@gnu.org>
1768 * calendar/diary-lib.el (diary-included-files): Doc fix.
1769 (diary-include-files): New function, extracted from
1770 diary-include-other-diary-files and diary-mark-included-diary-files.
1771 (diary-include-other-diary-files, diary-mark-included-diary-files):
1772 Just call diary-include-files.
1773 (diary-mark-entries): Reset diary-included-files on first call.
1775 * calendar/diary-lib.el (diary-mark-entries)
1776 (diary-mark-included-diary-files):
1777 Visit included diary-files in temp buffers.
1779 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
1780 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
1781 (f90-start-block-re, f90-imenu-generic-expression)
1782 (f90-looking-at-program-block-start, f90-no-block-limit):
1783 Add support for submodules.
1785 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
1786 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
1788 2011-06-25 Eli Zaretskii <eliz@gnu.org>
1790 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
1791 buffer-file-type before setting its value, to avoid disastrous
1792 global effects on decoding files for DOS/Windows systems. (Bug#8780)
1794 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
1796 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
1798 * ses.el (ses-unload-function):
1799 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
1801 * proced.el (proced-unload-function):
1802 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
1804 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
1806 * server.el (server-create-window-system-frame): Add parameters arg.
1807 (server-process-filter): Doc fix. Handle frame-parameters.
1809 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
1811 Fix bug#8730, bug#8781.
1813 * loadhist.el (unload--set-major-mode): New function.
1814 (unload-feature): Use it.
1816 * progmodes/python.el (python-after-info-look): Add autoload cookie.
1817 (python-unload-function): New function.
1819 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1821 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
1823 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
1825 * net/browse-url.el (browse-url-firefox-program): Add icecat to
1826 the candidates list.
1828 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
1830 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
1832 2011-06-23 Richard Stallman <rms@gnu.org>
1834 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
1835 (rmail-variables): Set next-error-move-function.
1836 (rmail-what-message): Take argument POS.
1837 (rmail-next-error-move): New function.
1839 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1841 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
1842 messages for adjacent non-terminals.
1844 2011-06-23 Richard Stallman <rms@gnu.org>
1846 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
1847 (rmail-show-message-1): Preserve buffer modified flag.
1848 (rmail-start-mail): Don't specify use of rmail-mail-return;
1849 that's done by mail-bury now.
1850 (rmail-mail-return): Handle arg NEWBUF.
1852 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
1854 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
1857 2011-06-23 Martin Rudalics <rudalics@gmx.at>
1859 * window.el (get-lru-window, get-mru-window)
1860 (get-largest-window): Never return a minibuffer window.
1861 (display-buffer-pop-up-window): Fix a bug that could lead to
1862 reusing the minibuffer window.
1863 (display-buffer): Pass original specifier argument to
1864 display-buffer-function instead of the normalized one.
1865 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
1867 2011-06-22 Leo Liu <sdl.web@gmail.com>
1869 * minibuffer.el (completing-read-function)
1870 (completing-read-default): Move from minibuf.c
1872 2011-06-22 Richard Stallman <rms@gnu.org>
1874 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
1875 to Rmail even if not started by a special Rmail command.
1877 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1878 Copy the buffer currently showing just one message.
1880 2011-06-22 Roland Winkler <winkler@gnu.org>
1882 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
1883 (bibtex-clean-entry): First delete the old key so that a
1884 customized algorithm for generating the new key does not get
1885 confused by the old key.
1886 (bibtex-url): Obey regexp of first step.
1887 (bibtex-search-entries): Do not use add-to-list with local
1890 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1892 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
1893 stored a user name, then query for the password first, instead of
1894 waiting for SMTP to give an error message and the trying again.
1896 2011-06-22 Lawrence Mitchell <wence@gmx.li>
1898 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
1899 BUFFER in call-process.
1901 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1903 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
1905 (smtpmail-try-auth-methods): Require user name and password from
1908 2011-06-22 Martin Rudalics <rudalics@gmx.at>
1910 * window.el (display-buffer-default-specifiers)
1911 (display-buffer-alist): Remove entries for pop-up-frame-alist.
1912 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
1913 (split-window): Normalize SIDE argument (Bug#8916).
1915 * frame.el (pop-up-frame-alist, pop-up-frame-function)
1916 (special-display-frame-alist, special-display-popup-frame):
1917 Remove duplicate declarations. These are now in window.el.
1919 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1921 * mail/smtpmail.el (smtpmail-via-smtp):
1922 Set :use-starttls-if-possible so that we always use STARTTLS if the
1923 server supports it. SMTP servers that support STARTTLS commonly
1926 * net/network-stream.el (network-stream-open-starttls): Support
1927 upgrading to STARTTLS always, even if we don't have built-in support.
1928 (open-network-stream): Add the :always-query-capabilies keyword.
1930 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
1931 upgrades with `open-network-stream', and rely solely on
1932 auth-source for all credentials. Big changes throughout the file,
1934 (smtpmail-auth-credentials): Remove.
1935 (smtpmail-starttls-credentials): Remove.
1936 (smtpmail-via-smtp): Check for servers saying they want AUTH after
1939 * net/network-stream.el (network-stream-open-starttls):
1940 Provide support for client certificates both for external and built-in
1942 (auth-source): Require.
1943 (open-network-stream): Document the :client-certificate keyword.
1944 (network-stream-certificate): Change cert-cert to cert and
1947 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
1949 * net/tramp-cache.el (top): Don't load the persistency file when
1950 "emacs -Q" has been called.
1952 2011-06-21 Tim Harper <timcharper@gmail.com>
1954 * term/ns-win.el (ns-initialize-window-system):
1955 Set application-specific `ApplePressAndHoldEnabled' system
1956 resource to NO as it is not yet supported by the NS port.
1958 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
1960 * misc.el (list-dynamic-libraries--refresh): Compute header here...
1961 (list-dynamic-libraries): ...not here.
1963 2011-06-21 Leo Liu <sdl.web@gmail.com>
1965 * subr.el (sha1): Implement sha1 using secure-hash.
1967 2011-06-21 Martin Rudalics <rudalics@gmx.at>
1969 * window.el (display-buffer-alist): In default value do not
1970 enforce searching a window on any but the selected frame.
1971 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
1972 (display-buffer-select-window): Remove function.
1973 (display-buffer-in-window): When a window on another frame gets
1974 reused, do not select it any more but just raise its frame if
1975 necessary (Bug#8851) and (Bug#8856).
1976 (display-buffer-normalize-options): Handle pop-up-frames related
1977 options more faithfully.
1978 (pop-to-buffer): Don't rely on `display-buffer' selecting the
1979 window if it is on another frame.
1980 (display-buffer-alist, display-buffer-default-specifiers):
1981 Don't make new frame unsplittable by default.
1982 (display-buffer-normalize-argument): Fix doc-string typo and use
1983 'same-frame-other-window instead of 'other-window when associating
1984 with display-buffer-macro-specifiers.
1986 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
1988 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
1990 (5x5-mode-map, 5x5-mode-menu): Bind them.
1991 (5x5-draw-grid): Tweak the solver's rendering.
1993 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
1995 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
1996 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
1998 2011-06-21 Drew Adams <drew.adams@oracle.com>
2000 * menu-bar.el: Use function variable instead of switch-to-buffer.
2001 (menu-bar-select-buffer-function): New variable.
2002 (menu-bar-update-buffers): Use it (bug#8876).
2004 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2006 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
2009 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
2011 * x-dnd.el (x-dnd-version-from-flags)
2012 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
2013 and long as number (Bug#8899).
2014 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
2016 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
2018 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
2019 (completion-try-completion, completion-all-completions): Compute the
2020 metadata argument if it's missing; make it optional (bug#8795).
2022 * wid-edit.el: Use lex-bind and move towards completion-at-point.
2023 (widget-complete): Use new :completion-function property.
2024 (widget-completions-at-point): New function.
2025 (default): Use :completion-function instead of :complete.
2026 (widget-default-completions): Rename from widget-default-complete;
2028 (widget-string-complete, widget-file-complete, widget-color-complete):
2030 (file, symbol, function, variable, coding-system, color):
2031 * international/mule-cmds.el (default-input-method, charset)
2032 (language-info-custom-alist):
2033 * cus-edit.el (face): Use new property :completions.
2035 * progmodes/pascal.el (pascal-completions-at-point): New function.
2036 (pascal-mode): Use it.
2037 (pascal-mode-map): Use completion-at-point.
2038 (pascal-toggle-completions): Make obsolete.
2039 (pascal-complete-word, pascal-show-completions):
2040 * progmodes/octave-mod.el (octave-complete-symbol):
2041 Redefine as obsolete alias.
2042 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
2043 Signal absence of completion info for old Octave,
2044 (inferior-octave-complete): Redefine as obsolete alias.
2045 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
2046 (meta-completions-at-point): Rename from meta-complete-symbol and
2047 adapt it for use on completion-at-point-functions.
2048 (meta-common-mode): Use it.
2049 (meta-looking-at-backward, meta-match-buffer): Remove.
2050 (meta-complete-symbol): Redefine as obsolete alias.
2051 (meta-common-mode-map): Use completion-at-point.
2052 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
2053 (makefile-mode-map): Use completion-at-point.
2054 (makefile-completions-at-point): Rename from makefile-complete and
2055 adapt it for use on completion-at-point-functions.
2056 (makefile-mode): Use it.
2057 (makefile-complete): Redefine as obsolete alias.
2059 2011-06-20 Deniz Dogan <deniz@dogan.se>
2061 * net/rcirc.el: Delete trailing whitespaces once and for all.
2063 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
2065 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
2067 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
2069 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
2071 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
2073 2011-06-19 Martin Rudalics <rudalics@gmx.at>
2075 * window.el (display-buffer-other-window-means-other-frame):
2076 Call display-buffer-normalize-alist.
2077 (display-buffer-normalize-specifiers-1): Rename to
2078 display-buffer-normalize-argument. New argument other-frame.
2080 (display-buffer-normalize-specifiers-2): Rename to
2081 display-buffer-normalize-options.
2082 (display-buffer-normalize-alist-1): New function.
2083 (display-buffer-normalize-specifiers-3): Rename to
2084 display-buffer-normalize-alist.
2085 Call display-buffer-normalize-alist-1.
2086 (display-buffer-normalize-options-inhibit): New variable.
2087 (display-buffer-normalize-specifiers): Rewrite calling
2088 display-buffer-normalize-alist,
2089 display-buffer-normalize-argument, and
2090 display-buffer-normalize-options. Don't call the latter if
2091 display-buffer-normalize-options-inhibit is non-nil.
2092 (frame-auto-delete): New option.
2093 (window-deletable-p): Use frame-auto-delete.
2094 (window-list-no-nils, window-state-ignored-parameters)
2095 (window-state-get-1, window-state-get, window-state-put-list)
2096 (window-state-put-1, window-state-put-2, window-state-put):
2098 (display-buffer-normalize-options): Move special-display-p group
2099 after pop-up-frame group (Bug#8851) and (Bug#8856).
2101 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
2103 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
2105 (rx-submatch-n): New function.
2108 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
2111 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
2113 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
2115 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
2116 anytime existing face settings are present (Bug#8889).
2118 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
2119 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
2120 Remove unused argument.
2122 2011-06-18 Martin Rudalics <rudalics@gmx.at>
2124 * window.el (display-buffer-default-specifiers):
2125 Remove pop-up-frame. Add pop-up-window-min-height,
2126 pop-up-window-min-width, and another reuse-window specifier
2127 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
2128 (display-buffer-normalize-specifiers-2):
2129 Handle split-height-threshold and split-width-threshold also when
2130 pop-up-windows is unset. Add a reuse-window specifier for the
2131 case popping up a new window fails.
2132 (special-display-popup-frame): Remove double quoting.
2133 (display-buffer-normalize-specifiers-1): Fix thinko.
2135 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
2137 * shell.el (shell-completion-vars): Set pcomplete-termination-string
2138 according to comint-completion-addsuffix.
2140 * pcomplete.el: Convert to lexical binding and fix bug#8819.
2141 (pcomplete-suffix-list): Mark as obsolete.
2142 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
2143 pcomplete-seen in the closure.
2144 (pcomplete-comint-setup): Setup completion-at-point as well.
2145 (pcomplete--entries): New function.
2146 (pcomplete--env-regexp): New var.
2147 (pcomplete-entries): Rewrite to work with partial-completion and
2148 without relying on pcomplete-suffix-list.
2149 (pcomplete-pare-list): Remove, unused.
2151 2011-06-17 Martin Rudalics <rudalics@gmx.at>
2153 * window.el (display-buffer-alist): Set pop-up-window-min-height
2154 and pop-up-window-min-width in default value. Reported by
2155 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
2156 other-window-means-other-frame.
2157 (display-buffer-macro-specifiers): Comment out entry for
2158 other-window specifier.
2159 (display-buffer-other-window-means-other-frame): New function.
2160 (display-buffer-normalize-specifiers-1): New arguments
2161 buffer-name and label. Treat other-window case specially.
2162 (display-buffer-normalize-specifiers-2): Treat other-window case
2164 (display-buffer-normalize-specifiers-3): New function.
2165 (display-buffer-normalize-specifiers):
2166 Call display-buffer-normalize-specifiers-3.
2168 2011-06-17 Martin Rudalics <rudalics@gmx.at>
2170 * window.el (same-window-p): Fix two typos introduced when
2171 adding with-no-warnings.
2172 (display-buffer-normalize-specifiers-1): Don't check
2173 pop-up-frames for 'unset initialization.
2174 (display-buffer-normalize-specifiers-2): Major rewrite using
2175 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
2176 (pop-up-frames, display-buffer-reuse-frames)
2177 (display-buffer-mark-dedicated): Don't initialize to 'unset.
2178 Suggested by David Engster <deng@randomsample.de>.
2179 (even-window-heights): Initialize to 'unset.
2180 (display-buffer-alist-set): Handle new 'unset initializations.
2181 (display-buffer-macro-specifiers): Don't pop up a new frame in the
2184 2011-06-16 Martin Rudalics <rudalics@gmx.at>
2186 * window.el (display-buffer-normalize-specifiers-1):
2187 Respect current value of pop-up-frames for most reasonable values of
2188 second argument of display-buffer (Bug#8865).
2189 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
2190 (switch-to-buffer-other-window-same-frame)
2191 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
2193 (display-buffer): Don't check noninteractive when calling
2194 display-buffer-pop-up-frame.
2195 (display-buffer-pop-up-frame): Never pop up a frame in
2196 noninteractive mode (Bug#8857).
2197 (enlarge-window, shrink-window): Don't report an error when the
2198 window can't be resized as requested (Bug#8862).
2200 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2202 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
2204 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
2206 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
2208 2011-06-15 Alan Mackenzie <acm@muc.de>
2210 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
2211 for declarators, disable knr checking to speed up for normal files.
2212 2: Refactor, replacing a sequence of nested if forms by a cond form.
2214 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2216 * net/network-stream.el (open-network-stream): Add the keyword
2217 :always-query-capabilities for the case where you want to force a
2218 `plain' network connection, but the protocol still requires the
2219 capabilitiy command (i.e., SMTP and EHLO).
2221 * subr.el (process-live-p): Rename from `process-alive-p' for
2222 consistency with other `-live-p' functions.
2224 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2226 * window.el (same-window-buffer-names, same-window-regexps)
2227 (special-display-frame-alist, special-display-popup-frame)
2228 (special-display-function, special-display-buffer-names)
2229 (special-display-regexps, pop-up-frame-alist)
2230 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
2231 (pop-up-windows, split-window-preferred-function)
2232 (split-height-threshold, split-width-threshold, even-window-heights)
2233 (display-buffer-mark-dedicated): Don't encourage the use of
2234 display-buffer-alist from Elisp code.
2236 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
2238 * progmodes/python.el (python-mode): Derive from prog-mode.
2239 * progmodes/ps-mode.el (ps-mode):
2240 * progmodes/mixal-mode.el (mixal-mode):
2241 * progmodes/cfengine.el (cfengine-mode):
2242 * progmodes/ld-script.el (ld-script-mode): Likewise.
2244 2011-06-15 Martin Rudalics <rudalics@gmx.at>
2246 * window.el (display-buffer-alist): Trim default value to avoid
2247 popping up a new frame (Bug#8857) or reusing an arbitrary window
2249 (display-buffer): Do not fall back on popping up a new frame in
2250 batch mode (Bug#8857).
2252 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
2254 * cus-theme.el (describe-theme-1): Use custom-theme-p.
2255 (custom-theme-summary): New function.
2256 (customize-themes): Use it.
2258 2011-06-13 Glenn Morris <rgm@gnu.org>
2260 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
2262 2011-06-13 Martin Rudalics <rudalics@gmx.at>
2264 * help.el (help-window): Remove variable.
2265 (help-window-point-marker, temp-buffer-max-height)
2266 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
2267 (help-print-return-message): Don't set help-window.
2268 (resize-temp-buffer-window): Rewrite cod eand doc-string.
2269 (help-window-setup-finish): Remove.
2270 (help-window-display-message, help-window-setup)
2271 (with-help-window): Major rewrite based on new
2272 display-buffer-window variable.
2274 * help-mode.el (help-mode-finish): Remove help-window related
2277 * view.el (view-exits-all-viewing-windows): Remove reference to
2278 view-return-to-alist in doc-string.
2279 (view-return-to-alist): Make obsolete.
2280 (view-buffer): Call pop-to-buffer-same-window and remove
2282 (view-buffer-other-window): Call pop-to-buffer-other-window and
2283 simplify code. Ignore second argument.
2284 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
2285 simplify code. Ignore second argument.
2286 (view-return-to-alist-update): Make obsolete.
2287 (view-mode-enter): Rename second argument to QUIT-RESTORE.
2288 Rewrite using quit-restore window parameters.
2289 (view-mode-exit): Rename second argument to EXIT-ONLY.
2290 Rewrite using quit-restore-window.
2291 (View-exit, View-exit-and-edit, View-leave, View-quit)
2292 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
2293 appropriate arguments.
2294 (view-end-message): Use quit-restore window parameter.
2296 * window.el (display-buffer-function): Rewrite doc-string.
2297 (display-buffer-window, display-buffer-alist): New variables.
2298 (display-buffer-split-specifiers)
2299 (display-buffer-side-specifiers)
2300 (display-buffer-macro-specifiers): New constants.
2301 (display-buffer-even-window-sizes, display-buffer-set-height)
2302 (display-buffer-set-width, display-buffer-select-window)
2303 (display-buffer-in-window, display-buffer-reuse-window)
2304 (display-buffer-split-window-1, display-buffer-split-window)
2305 (display-buffer-split-atom-window, display-buffer-pop-up-window)
2306 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
2307 (display-buffer-in-side-window, normalize-buffer-to-display)
2308 (display-buffer-normalize-specifiers-1)
2309 (display-buffer-normalize-specifiers-2)
2310 (display-buffer-normalize-specifiers, display-buffer-frame):
2312 (display-buffer): Major rewrite.
2313 (display-buffer-other-window, display-buffer-other-frame)
2314 (pop-to-buffer, switch-to-buffer-other-window)
2315 (switch-to-buffer-other-frame): Rewrite.
2316 (display-buffer-same-window, display-buffer-same-frame)
2317 (display-buffer-same-frame-other-window)
2318 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
2319 (pop-to-buffer-other-window)
2320 (pop-to-buffer-same-frame-other-window)
2321 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
2322 (switch-to-buffer-other-window-same-frame): New functions.
2323 (same-window-p, special-display-p): Rewrite disabling warnings.
2325 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2326 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
2328 (same-window-buffer-names, same-window-regexps)
2329 (special-display-frame-alist, special-display-popup-frame)
2330 (special-display-function, special-display-buffer-names)
2331 (special-display-regexps, pop-up-frame-alist)
2332 (pop-up-frame-function, split-window-preferred-function)
2333 (split-height-threshold, split-width-threshold)
2334 (even-window-heights): Make obsolete.
2336 2011-06-12 Glenn Morris <rgm@gnu.org>
2338 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
2339 Misc simplifications.
2341 2011-06-12 Martin Rudalics <rudalics@gmx.at>
2343 * window.el (window-safely-shrinkable-p): Restore function which
2344 was inadvertently removed in change from 2011-06-11. Declare as
2347 * calendar/calendar.el (calendar-generate-window):
2348 Use window-iso-combined-p instead of combination of one-window-p and
2349 window-safely-shrinkable-p.
2351 2011-06-12 Glenn Morris <rgm@gnu.org>
2353 * progmodes/fortran.el (fortran-mode-syntax-table):
2354 * progmodes/f90.el (f90-mode-syntax-table):
2355 Set % to punctuation. (Bug#8820)
2356 (f90-find-tag-default): Remove, no longer needed.
2358 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
2360 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
2362 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
2364 * image.el (image-animated-p): Return animation delay in seconds.
2365 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
2366 (image-animate-timeout): Remove DELAY argument. Don't assume
2367 every subimage has the same delay; get it from image-animated-p.
2368 (image-animate): Caller changed.
2370 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
2372 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
2373 to ignored backtrace functions.
2375 2011-06-11 Glenn Morris <rgm@gnu.org>
2377 * calendar/appt.el (appt-disp-window-function): Doc fix.
2378 (appt-check): Handle overlapping appointments. (Bug#8337)
2380 2011-06-11 Martin Rudalics <rudalics@gmx.at>
2382 * window.el (window-tree-1, window-tree): New functions, moving
2383 the latter to window.el.
2384 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
2385 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
2386 (bw-refresh-edges): Remove.
2387 (balance-windows-1, balance-windows-2): New functions.
2388 (balance-windows): Rewrite in terms of window tree functions,
2389 balance-windows-1 and balance-windows-2.
2390 (bw-adjust-window): Remove.
2391 (balance-windows-area-adjust): New function with functionality of
2392 bw-adjust-window but using resize-window.
2393 (set-window-text-height): Rewrite doc-string.
2394 Use normalize-live-window and resize-window.
2395 (enlarge-window-horizontally, shrink-window-horizontally):
2396 Rename argument to DELTA.
2397 (window-buffer-height): New function.
2398 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
2399 Rewrite using new window resize routines.
2400 (kill-buffer-and-window, mouse-autoselect-window-select):
2401 Use ignore-errors instead of condition-case.
2402 (quit-window): Call delete-frame instead of delete-windows-on
2403 for the only buffer on frame.
2405 2011-06-10 Martin Rudalics <rudalics@gmx.at>
2407 * loadup.el (top-level): Load window before files for the sake
2408 of replace-buffer-in-windows.
2410 * files.el (read-buffer-to-switch)
2411 (switch-to-buffer-other-window)
2412 (switch-to-buffer-other-frame, display-buffer-other-frame):
2415 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
2416 (previous-buffer): Move to window.el.
2418 * bindings.el (unbury-buffer): Move to window.el.
2420 * window.el (delete-other-windows-vertically): Move after
2421 definition of delete-other-windows.
2422 (other-window, delete-windows-on, replace-buffer-in-windows):
2423 Move here from window.c.
2424 (record-window-buffer, unrecord-window-buffer)
2425 (set-window-buffer-start-and-point, switch-to-prev-buffer)
2426 (switch-to-next-buffer): New functions.
2427 (get-next-valid-buffer, last-buffer, next-buffer): Move here
2428 from simple.el. Call switch-to-next-buffer.
2429 (previous-buffer): Move here from simple.el.
2430 Call switch-to-prev-buffer.
2431 (bury-buffer): Move here from buffer.c. Switch to previous
2432 buffer when window cannot be deleted.
2433 (unbury-buffer): Move here from bindings.el.
2434 (ctl-x-map): Move binding for other-window from window.c to
2436 (read-buffer-to-switch, switch-to-buffer-other-window)
2437 (switch-to-buffer-other-frame): Move here from files.el.
2438 (normalize-buffer-to-switch-to): New functions.
2439 (switch-to-buffer): Move here from buffer.c.
2440 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
2442 2011-06-10 Martin Rudalics <rudalics@gmx.at>
2444 * window.el (window-min-height, window-min-width): Move here
2445 from window.c. Add defcustoms and rewrite doc-strings.
2446 (resize-mini-window, resize-window): New functions.
2447 (adjust-window-trailing-edge, enlarge-window, shrink-window):
2448 Move here from window.c.
2449 (maximize-window, minimize-window): New functions.
2450 (delete-window, delete-other-windows, split-window): Move here
2452 (window-split-min-size): New function.
2453 (split-window-keep-point): Mention split-window-above-each-other
2454 instead of split-window-vertically.
2455 (split-window-above-each-other, split-window-vertically):
2456 Rename split-window-vertically to split-window-above-each-other and
2457 provide defalias for old definition.
2458 (split-window-side-by-side, split-window-horizontally): Rename
2459 split-window-horizontally to split-window-side-by-side and provide
2460 defalias for the old definition.
2461 (ctl-x-map): Move bindings for delete-window,
2462 delete-other-windows and enlarge-window here from window.c.
2463 Replace bindings for split-window-vertically and
2464 split-window-horizontally by bindings for
2465 split-window-above-each-other and split-window-side-by-side.
2467 * cus-start.el (all): Remove entries for window-min-height and
2468 window-min-width. Add entries for window-splits and
2471 2011-06-09 Glenn Morris <rgm@gnu.org>
2473 * calendar/appt.el (appt-mode-line): New function.
2474 (appt-check, appt-disp-window): Use it.
2476 * files.el (hack-one-local-variable-eval-safep):
2477 Allow minor-modes with explicit +/-1 arguments.
2479 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
2481 * term/xterm.el (xterm): Add defgroup.
2482 (xterm-extra-capabilities): Add defcustom to supply known xterm
2483 capabilities, skip querying them, or query them (default).
2484 (terminal-init-xterm): Use it.
2485 (terminal-init-xterm-modify-other-keys): New function to set up
2486 modifyOtherKeys support to simplify `terminal-init-xterm'.
2488 2011-06-09 Martin Rudalics <rudalics@gmx.at>
2490 * window.el (resize-window-reset, resize-window-reset-1)
2491 (resize-subwindows-skip-p, resize-subwindows-normal)
2492 (resize-subwindows, resize-other-windows, resize-this-window)
2493 (resize-root-window, resize-root-window-vertically)
2494 (window-deletable-p, window-or-subwindow-p)
2495 (frame-root-window-p): New functions.
2497 2011-06-09 Glenn Morris <rgm@gnu.org>
2499 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
2500 (ange-ftp-get-files): Use it.
2502 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
2504 * mail/sendmail.el (mail-recover-1, mail-recover):
2505 * files.el (recover-file, recover-session):
2506 Handle dired-listing-switches not being just a single short option.
2508 2011-06-09 Glenn Morris <rgm@gnu.org>
2510 * calendar/appt.el (appt-display-message, appt-disp-window):
2511 Handle lists of appointments.
2513 2011-06-08 Martin Rudalics <rudalics@gmx.at>
2515 * window.el (one-window-p): Move down in code.
2517 (window-current-scroll-bars): Rewrite doc-string.
2518 Normalize live window argument.
2519 (walk-windows, get-window-with-predicate, count-windows):
2520 Rewrite doc-string. Use window-list-1.
2521 (window-in-direction-2, window-in-direction, get-mru-window):
2524 2011-06-08 Reuben Thomas <rrt@sc3d.org>
2526 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
2529 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
2531 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
2533 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
2535 * loadhist.el (unload-feature-special-hooks):
2536 Add `comint-output-filter-functions'.
2538 2011-06-08 Ivan Kanis <gnu@kanis.fr>
2540 * calendar/appt.el (appt-check): Move some initializations into the let.
2542 2011-06-08 Martin Rudalics <rudalics@gmx.at>
2544 * window.el (window-height): Defalias to window-total-height.
2545 (window-width): Defalias to window-body-width.
2547 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
2549 * image-mode.el (image-toggle-animation): New command.
2550 (image-mode-map): Bind it to RET.
2551 (image-mode): Update message.
2552 (image-toggle-display-image): Avoid a spurious cache flush.
2553 (image-transform-rotation): Doc fix.
2554 (image-transform-properties): Return quickly in the normal case.
2555 (image-animate-loop): Rename from image-animate-max-time.
2557 * image.el (image-animate-max-time): Move to image-mode.el.
2558 (create-animated-image): Remove unnecessary function.
2559 (image-animate): Rename from image-animate-start. New arg.
2560 (image-animate-stop): Remove; just use image-animate-timer.
2561 (image-animate-timer): Use car-safe.
2562 (image-animate-timeout): Rename argument.
2564 2011-06-07 Martin Rudalics <rudalics@gmx.at>
2566 * window.el (get-lru-window, get-largest-window): Move here from
2567 window.c. Rename first argument to ALL-FRAMES.
2568 Rephrase doc-strings.
2569 (get-buffer-window-list): Rewrite using window-list-1.
2570 Rephrase doc-string.
2571 (window-safe-min-height, window-safe-min-width): New constants.
2572 (window-size-ignore, window-min-size, window-min-size-1)
2573 (window-sizable, window-sizable-p, window-size-fixed-1)
2574 (window-size-fixed-p, window-min-delta-1, window-min-delta)
2575 (window-max-delta-1, window-max-delta, window-resizable)
2576 (window-resizable-p, window-total-height, window-total-width)
2577 (window-body-width): New functions.
2578 (window-full-height-p, window-full-width-p): Rewrite using
2580 (window-body-height): Rewrite using window-body-size.
2582 2011-06-06 Martin Rudalics <rudalics@gmx.at>
2584 * window.el (window-right, window-left, window-child)
2585 (window-child-count, window-last-child, window-any-p)
2586 (normalize-live-buffer, normalize-live-frame)
2587 (normalize-any-window, normalize-live-window)
2588 (window-iso-combination-p, window-iso-combined-p)
2589 (window-iso-combinations)
2590 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
2591 (windows-with-parameter, window-with-parameter)
2592 (window-atom-root, make-window-atom, window-atom-check-1)
2593 (window-atom-check, window-side-check, window-check):
2595 (ignore-window-parameters, window-sides, window-sides-vertical)
2596 (window-sides-slots): New variables.
2597 (window-size-fixed): Move down in code. Minor doc-string fix.
2599 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
2601 * comint.el (comint-dynamic-complete-as-filename)
2602 (comint-dynamic-complete-filename): Correctly call
2603 completion-in-region.
2605 2011-06-05 Deniz Dogan <deniz@dogan.se>
2607 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
2610 2011-06-05 Deniz Dogan <deniz@dogan.se>
2612 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
2613 (rcirc): Use it to prompt for encryption.
2615 2011-06-05 Roland Winkler <winkler@gnu.org>
2617 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
2618 (bibtex-search-entries): New command bound to C-c C-a.
2619 (bibtex-display-entries): New function.
2621 2011-06-05 Roland Winkler <winkler@gnu.org>
2623 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
2624 (bibtex-insert-kill): After yanking insert newline if necessary.
2625 (bibtex-initialize): Call bibtex-string-files-init only once.
2626 (bibtex-mode): Do not call easy-menu-add.
2627 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
2628 (bibtex-yank): Set arg properly if nil.
2630 2011-06-05 Roland Winkler <winkler@gnu.org>
2632 * textmodes/bibtex.el (bibtex-search-entry-globally):
2634 (bibtex-search-entry): Use it.
2636 2011-06-05 Roland Winkler <winkler@gnu.org>
2638 * textmodes/bibtex.el (bibtex-entry-format): New option
2640 (bibtex-format-entry, bibtex-reformat): Honor this option.
2641 (bibtex-parse-entry): Return fields in proper order.
2643 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
2645 * doc-view.el (doc-view-remove-if): Move computation of result out
2646 of `dolist' to silence misleading lexical-binding warning.
2648 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
2650 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
2651 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
2653 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
2655 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
2658 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
2660 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
2661 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
2662 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
2663 (tramp-parse-putty):
2664 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
2665 (tramp-completion-function-alist-ssh)
2666 (tramp-completion-function-alist-telnet)
2667 (tramp-completion-function-alist-su)
2668 (tramp-completion-function-alist-putty): Set `tramp-autoload'
2673 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
2674 load "tramp.el" `tramp-set-completion-function'.
2676 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2678 * shell.el: Require and use pcomplete.
2679 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
2680 (shell-completion-vars): Set pcomplete-default-completion-function.
2682 2011-06-04 Deniz Dogan <deniz@dogan.se>
2684 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
2687 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2689 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
2691 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
2693 * bs.el (bs--mark-unmark, bs--nth-wrapper):
2694 * mpc.el (mpc-select-extend, mpc-songpointer-context):
2695 * vc/log-view.el (log-view-beginning-of-defun):
2696 * vc/smerge-mode.el (smerge-apply-resolution-patch)
2697 (smerge-refine-forward, smerge-refine-chopup-region):
2698 Silence warning for unused `dotimes' counter variables.
2700 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2702 * net/tramp.el (tramp-with-progress-reporter): Rename from
2703 with-progress-reporter. Use `declare'.
2706 * net/tramp-gvfs.el: Update all uses.
2708 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
2710 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
2711 buffer isn't killed before making it current.
2713 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2715 Silence various byte-compiler warnings.
2716 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
2717 `access-type' and new obsolescence format.
2718 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
2720 (byte-compile-check-variable): New `access-type' argument.
2721 Only warn if the access-type is obsolete.
2722 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
2723 (byte-compile-variable-set): Adjust callers.
2724 * help-fns.el (describe-variable): Adjust to new obsolescence format.
2725 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
2726 setting it as obsolete.
2727 * simple.el (minibuffer-completing-symbol):
2728 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
2730 * minibuffer.el (minibuffer-completing-file-name): Don't make it
2732 * international/quail.el (quail-mouse-choose-completion): Remove unused
2733 code referring to obsolete var.
2734 (quail-choose-completion-string): Remove.
2735 * server.el (server-clients-with, server-kill-buffer-query-function)
2736 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
2737 * proced.el (proced-send-signal):
2738 * emacs-lisp/lisp.el (lisp-complete-symbol):
2739 Replace completion-annotate-function with completion-extra-properties.
2741 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2743 * simple.el (goto-line): Use read-number.
2744 (overriding-map-is-bound): Remove.
2745 (saved-overriding-map): Change default.
2746 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
2747 Take the map as argument.
2748 (universal-argument, negative-argument, digit-argument): Use it.
2749 (restore-overriding-map): Adjust.
2750 (do-auto-fill): Use fill-forward-paragraph.
2751 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
2753 * minibuffer.el (minibuffer-inactive-mode-map): New var.
2754 (minibuffer-inactive-mode): New major mode.
2755 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
2756 the *Messages* buffer" hack.
2757 (mouse-popup-menubar): Don't burp if the event is a normal key.
2759 Miscellaneous tweaks.
2760 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
2761 lexical scoping as in subr.el's dolist and dotimes.
2762 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
2763 Silence compiler warning.
2764 * thingatpt.el (forward-whitespace): Trivial coding style fix.
2765 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
2766 * international/ccl.el (ccl-compile): Trivial simplification.
2767 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
2768 * emacs-lisp/testcover.el (testcover-end): Remove spurious
2769 `printflag' argument.
2770 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
2771 Purecopy the whole obsolescence data.
2773 2011-06-01 Leo Liu <sdl.web@gmail.com>
2775 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
2776 improve doc-string as suggested by Marco Pessotto
2777 <melmothx@gmail.com>.
2778 (rcirc-print): Fix last change.
2780 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2782 * minibuffer.el (complete-with-action): Return nil for the metadata and
2783 boundaries of non-functional tables.
2784 (completion-table-dynamic): Return nil for the metadata.
2785 (completion-table-with-terminator): Add default case, using
2786 complete-with-action.
2787 (completion--metadata): New function.
2788 (completion-all-sorted-completions, minibuffer-completion-help): Use it
2789 to try and avoid pathological performance problems.
2790 (completion--embedded-envvar-table): Return `category' metadata.
2792 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
2794 * subr.el (process-alive-p): New tiny convenience function.
2796 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2798 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
2799 content but also its previous major mode.
2801 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
2803 * debug.el (debug): Restore the previous content of the
2804 *Backtrace* buffer when we exit with C-M-c.
2806 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2808 * minibuffer.el: Add metadata method to completion tables.
2809 (completion-category-overrides): New defcustom.
2810 (completion-metadata, completion--field-metadata)
2811 (completion-metadata-get, completion--styles)
2812 (completion--cycle-threshold): New functions.
2813 (completion-try-completion, completion-all-completions):
2814 Add `metadata' argument to choose completion-styles.
2815 (completion--do-completion): Use metadata to choose cycling.
2816 (completion-all-sorted-completions): Use metadata for sorting.
2817 Remove :completion-cycle-penalty which is not needed any more.
2818 (completion--try-word-completion): Add `metadata' argument.
2819 (minibuffer-completion-help): Check metadata for annotation function
2821 (completion-file-name-table): Return `category' metadata.
2822 (minibuffer-completing-file-name): Make obsolete.
2823 * simple.el (minibuffer-completing-symbol): Make obsolete.
2824 * icomplete.el (icomplete-completions): Pass new `metadata' param to
2825 completion-try-completion.
2827 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2829 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
2831 2011-05-30 Leo Liu <sdl.web@gmail.com>
2833 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
2834 (rcirc-print): Decode all incoming messages (bug#8744).
2835 (rcirc-decode-coding-system): Allow value nil for automatic coding
2838 2011-06-01 Glenn Morris <rgm@gnu.org>
2840 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
2842 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
2844 * image.el (image-animate-max-time): Allow nil and t values.
2846 (create-animated-image): Doc fix.
2847 (image-animate-start): Remove second arg; just use
2848 image-animate-max-time.
2849 (image-animate-timeout): Doc fix. Args changed.
2851 * image-mode.el (image-toggle-display-image): Ensure that the
2852 image spec passed to the animate timer is the same object as in
2853 the the buffer's display property (Bug#6981).
2854 (image-transform-properties): Doc fix.
2856 * image.el (image-animate-max-time): Default to nil.
2858 2011-05-29 Martin Rudalics <rudalics@gmx.at>
2860 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
2861 entire buffer list (Bug#8184).
2863 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
2865 * image.el (imagemagick-types-inhibit)
2866 (imagemagick-register-types): Doc fix.
2868 2011-05-29 Deniz Dogan <deniz@dogan.se>
2870 * net/rcirc.el (rcirc): Use the user's stored encryption method by
2873 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
2875 * select.el: Don't perform clipboard-manager saving in hooks;
2876 leave the hooks empty.
2878 2011-05-28 Leo Liu <sdl.web@gmail.com>
2880 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
2881 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
2882 (occur-edit-mode): New major mode (Bug#8463).
2883 (occur-after-change-function): New function.
2884 (occur-engine): Give Occur tags a read-only property.
2886 2011-05-28 Kevin Ryde <user42@zip.com.au>
2888 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
2890 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
2892 * bindings.el (help-echo): Make the initial non-indicator dash
2893 empty on graphical terminals (Bug#7295).
2895 * files.el (auto-mode-alist): Move config rule after the
2896 in-stripping one (Bug#8547).
2898 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
2900 * startup.el (normal-splash-screen): Remove gratuitous mode-line
2903 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
2905 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
2906 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
2909 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
2911 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
2913 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
2915 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
2916 (hs-hide-block-at-point, hs-find-block-beginning)
2917 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
2920 2011-05-28 Glenn Morris <rgm@gnu.org>
2922 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
2924 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
2926 * help-fns.el (describe-function-1): If the function is a derived
2927 major mode, print the parent mode.
2929 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
2930 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
2932 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2934 * minibuffer.el (completion--capf-wrapper): Check applicability before
2935 retuning non-nil for non-exclusive completion data.
2936 * progmodes/etags.el (tags-completion-at-point-function):
2937 * info-look.el (info-lookup-completions-at-point): Mark as
2939 (info-complete): Adjust accordingly.
2941 * info-look.el: Convert to lexical-binding and completion-at-point.
2942 (info-lookup-completions-at-point): New function.
2943 (info-complete): Use it and completion-in-region.
2945 2011-05-28 Drew Adams <drew.adams@oracle.com>
2947 * isearch.el: Let M-e start with point at the first mismatched char.
2948 (isearch-fail-pos): New function.
2949 (isearch-edit-string): Use it.
2951 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
2953 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
2955 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
2957 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
2958 traversal functions for avl-trees.
2959 (avl-tree--stack): New struct.
2960 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
2961 (avl-tree-enter): Add optional `updatefun' arg.
2962 (avl-tree--do-enter): Add optional `updatefun' arg.
2963 Change return value.
2964 (avl-tree-delete): Add optional `test' and `nilflag' args.
2965 (avl-tree--do-delete): Add `test' and `nilflag' args.
2966 Change return value.
2967 (avl-tree-member): Add optional `nilflag'
2968 (avl-tree-member-p): New function.
2969 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
2970 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
2971 (avl-tree-stack-empty-p): New functions.
2973 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
2975 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
2976 avl-tree--del-balance1 and make it work both ways.
2977 (avl-tree--del-balance2): Remove.
2978 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
2979 make it work both ways.
2980 (avl-tree--enter-balance2): Remove.
2981 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
2983 (avl-tree--mapc, avl-tree-map): Add direction argument.
2985 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
2987 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
2989 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
2991 * select.el: Support clipboard managers with built-in function
2992 x-clipboard-manager-save, via delete-frame-functions and
2994 (xselect-convert-to-targets): Add MULTIPLE target to list.
2995 (xselect-convert-to-save-targets): New function.
2997 2011-05-27 Kenichi Handa <handa@m17n.org>
2999 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
3000 let-binding rfc2047-encode-encoded-words to nil.
3002 2011-05-27 Glenn Morris <rgm@gnu.org>
3004 * mail/emacsbug.el: Don't require url-util.
3006 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
3008 * files.el (set-auto-mode):
3009 Also respect mode: entries at the end of the file. (Bug#8586)
3011 2011-05-26 Glenn Morris <rgm@gnu.org>
3013 * files.el (hack-local-variables-prop-line, hack-local-variables):
3014 Downcase mode names, as seems to be traditional.
3015 (hack-local-variables, hack-local-variables-apply): Doc fixes.
3017 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
3018 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
3020 2011-05-25 Julien Danjou <julien@danjou.info>
3022 * textmodes/rst.el (rst-define-level-faces): Do not define face
3023 symbol if it is already defined.
3025 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3027 * play/5x5.el (5x5-new-game, 5x5-randomize):
3028 Reset 5x5-solver-output to nil when a new grid is cast.
3029 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
3030 these debugging traces, as defmacro breaks the compiled code.
3032 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
3034 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
3036 2011-05-24 Leo Liu <sdl.web@gmail.com>
3038 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
3039 (vc-bzr-sha1): Adapt.
3041 * sha1.el: Remove. Function `sha1' is now builtin.
3043 * bindings.el: Provide sha1 feature.
3045 2011-05-24 Kenichi Handa <handa@m17n.org>
3047 * mail/sendmail.el: Require `rfc2047'.
3048 (mail-insert-from-field): Do not perform RFC2047 encoding.
3049 (mail-encode-header): New function.
3050 (sendmail-send-it): Set buffer-file-coding-system of the work
3051 buffer to the return value of select-message-coding-system.
3052 Call mail-encode-header.
3054 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
3056 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
3058 * mail/supercite.el (sc-default-cite-frame):
3059 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
3061 2011-05-24 Glenn Morris <rgm@gnu.org>
3063 * progmodes/python.el (brm-menu): Declare.
3065 * emulation/viper.el (viper-set-hooks): Declare.
3067 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
3068 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
3069 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
3070 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
3071 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
3072 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
3074 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
3076 Add an :exit-function for completion-at-point.
3078 * minibuffer.el (completion--done): New fun.
3079 (completion--do-completion): Use it. New arg `expect-exact'.
3080 (minibuffer-complete, minibuffer-complete-word): Don't output message,
3081 since completion--do-completion does it for us now.
3082 (minibuffer-force-complete): Use completion--done and
3083 completion--replace. Handle sole-completion case with more care.
3084 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
3085 (completion-extra-properties): New var.
3086 (completion-annotate-function): Make obsolete.
3087 (minibuffer-completion-help): Adjust accordingly.
3088 Use completion-list-insert-choice-function.
3089 (completion-at-point, completion-help-at-point):
3090 Bind completion-extra-properties.
3091 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
3092 * simple.el (completion-list-insert-choice-function): New var.
3093 (completion-setup-function): Preserve it.
3094 (choose-completion): Pay attention to it, shuffle the code a bit.
3095 (choose-completion-string): New arg `insert-function'.
3097 * textmodes/bibtex.el: Convert to lexical binding.
3098 (bibtex-mode-map): Use completion-at-point.
3099 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
3100 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
3101 (bibtex-complete): Define as obsolete alias.
3102 (bibtex-complete-internal): Remove.
3103 (bibtex-format-entry): Remove unused sub-group in regexp.
3104 * shell.el (shell--command-completion-data)
3105 (shell-environment-variable-completion):
3106 * pcomplete.el (pcomplete-completions-at-point):
3107 * comint.el (comint--complete-file-name-data): Use :exit-function
3108 instead of completion-table-with-terminator so it also works for
3111 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
3113 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
3115 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
3118 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
3120 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
3122 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
3123 customization variable and implement: If non-nil, auto-fill will
3124 be inhibited while on topic's header line.
3126 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
3128 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
3129 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
3130 always have a solution in grid size = 5 cases.
3131 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
3132 (5x5-solver-output, 5x5-log-buffer): New vars.
3133 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
3134 Make these variables buffer local to achieve 5x5 multi-session-ness.
3135 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
3136 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
3137 (5x5-solve-suggest): New funs.
3138 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
3139 randomize a grid so that we ensure that there is always a solution.
3140 (5x5-make-random-grid): Allow other movement than flipping.
3142 2011-05-23 Kevin Ryde <user42@zip.com.au>
3144 * emacs-lisp/advice.el (ad-read-advised-function):
3145 Use `function-called-at-point' as the default default, if it has
3146 advice and passes PREDICATE.
3148 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
3150 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
3151 byte-compile-lambda if it's actually a lambda.
3153 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
3154 Fix function quoting. Use backquote better.
3156 2011-05-22 Yuanle Song <sylecn@gmail.com>
3158 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
3159 matching (Bug#8516).
3161 2011-01-22 Jari Aalto <jari.aalto@cante.net>
3163 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
3164 different face (Bug#8178).
3166 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
3168 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
3171 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
3173 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
3174 funcall as well (bug#8712). Warn when performing those conversions.
3175 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
3177 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
3179 2011-05-22 Glenn Morris <rgm@gnu.org>
3181 * files.el (hack-local-variables-prop-line): Small simplifications.
3182 (hack-local-variables, hack-local-variables-prop-line):
3183 If MODE-ONLY, return the mode, rather than just `t'.
3185 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3187 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
3189 2011-05-21 Glenn Morris <rgm@gnu.org>
3191 * files.el (hack-local-variables-prop-line, hack-local-variables):
3192 If only interested in the mode, don't bother doing the other stuff.
3194 * image-mode.el (image-after-revert-hook):
3195 Redraw all frames on which the image is visible. (Bug#8567)
3197 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
3199 * wid-edit.el (widget-checklist-match-inline):
3200 Fix 2011-04-19 change. (Bug#8649)
3202 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
3204 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
3205 Also allow singlespace after single-letter capitals followed by a dot.
3207 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
3208 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
3210 2011-05-20 Nix <nix@esperi.org.uk>
3212 * files.el (basic-save-buffer-2):
3213 Fix handling of break-hardlink-on-save with non-existent files.
3215 2011-05-19 Deniz Dogan <deniz@dogan.se>
3217 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
3218 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
3220 2011-05-19 Glenn Morris <rgm@gnu.org>
3222 * progmodes/f90.el (f90-type-def-re):
3223 Handle "type, bind(c)". (Bug#8691)
3225 * emacs-lisp/autoload.el (batch-update-autoloads):
3226 Set autoload-excludes by parsing loadup.el rather than Makefiles.
3228 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
3230 * net/tramp.el (tramp-process-actions): Set "first-password-request"
3231 property for the correct connection in case of multihops.
3233 2011-05-18 Glenn Morris <rgm@gnu.org>
3235 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
3236 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
3238 Rationalize calendar handling of day and month abbrev-arrays.
3239 * calendar/calendar.el (calendar-customized-p): New function.
3240 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
3241 (calendar-day-name-array, calendar-month-name-array): Doc fix.
3243 (calendar-abbrev-length, calendar-day-abbrev-array)
3244 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
3245 (calendar-day-abbrev-array, calendar-month-abbrev-array):
3246 Elements may no longer be nil.
3247 (calendar-day-name, calendar-month-name):
3248 Update for changed nature of abbrev arrays.
3249 * calendar/diary-lib.el (diary-name-pattern):
3250 Update for changed nature of abbrev arrays.
3251 (diary-mark-entries-1): Update calendar-make-alist calls.
3252 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
3253 * calendar/cal-html.el (cal-html-day-abbrev-array):
3254 Simply inherit from calendar-day-abbrev-array.
3256 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3258 * progmodes/grep.el (grep-mode): Disable default
3259 compilation-directory-matcher setting (bug#8684).
3261 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
3263 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
3264 instead of "head" and "tail". There were problems with SunOS 5.9,
3265 and it performs better.
3267 2011-05-17 Glenn Morris <rgm@gnu.org>
3269 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
3271 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3272 Replace obsolete function.
3274 * shell.el (pcomplete-parse-arguments-function): Declare.
3276 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
3277 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
3278 (appt-check): Doc fixes.
3279 (appt-disp-window-function, appt-delete-window-function):
3280 Remove needless special case in custom :type.
3281 (appt-display-count): Default to 0, not nil.
3282 (appt-check): Reset appt-display-count to 0, not nil.
3284 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
3286 * progmodes/python.el (python-font-lock-keywords):
3287 Add the Python 3.X keyword "nonlocal" (bug#8639).
3289 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3291 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
3293 2011-05-16 Kevin Ryde <user42@zip.com.au>
3295 * info-look.el (makefile-automake-mode): New setups, looking in
3296 automake manual, then makefile-mode.
3297 (makefile-mode): Remove automake manual, have it just in
3298 makefile-automake-mode since there's various things different or
3299 not relevant to plain make.
3300 (makefile-mode): Remove "other-modes" non-existent automake-mode,
3301 believe a hypothetical automake-mode would go to makefile-mode,
3302 not the other way around.
3304 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
3306 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
3307 hunk-end tags (Bug#8672).
3309 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
3310 vc-annotate-show-diff-revision-at-line (Bug#8671).
3312 2011-05-14 Glenn Morris <rgm@gnu.org>
3314 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
3315 in the middle of an existing one with multiple authors. (Bug#8645)
3316 (change-log-font-lock-keywords): Also handle multiple author lines
3317 with leading tabs. (Bug#8644)
3319 * calendar/appt.el (appt-check): Rename some local variables.
3320 Some simplification/reordering.
3322 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
3323 (feedmail-sendmail-f-doesnt-sell-me-out)
3324 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
3325 (feedmail-debug-sit-for, feedmail-queue-express-hook)
3326 (feedmail-queue-runner-message-sender): Set :version.
3327 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
3328 (bbdb-dwim-net-address, vm-mail): Declare.
3329 (feedmail-binmail-gnulinuxish-template):
3330 Rename from feedmail-binmail-linuxish-template.
3331 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
3332 Use insert-buffer-substring.
3334 2011-05-14 Bill Carpenter <bill@carpenter.org>
3336 * mail/feedmail.el (feedmail-patch-level): Increase.
3337 (feedmail-debug): New custom group.
3338 (feedmail-confirm-outgoing-timeout)
3339 (feedmail-sendmail-f-doesnt-sell-me-out)
3340 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
3341 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
3342 (feedmail-sender-line, feedmail-from-line)
3343 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
3344 (feedmail-spray-this-address)
3345 (feedmail-spray-address-fiddle-plex-list)
3346 (feedmail-queue-use-send-time-for-date)
3347 (feedmail-queue-use-send-time-for-message-id)
3348 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
3349 (feedmail-buffer-eating-function):
3351 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
3352 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
3353 (feedmail-message-action-scroll-down): New functions.
3354 (feedmail-queue-directory, feedmail-queue-draft-directory):
3355 Use expand-file-name.
3356 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
3357 Remove C-v help entry.
3358 (feedmail-queue-buffer-file-name): New variable.
3359 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
3360 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
3361 (feedmail-message-action-send-strong, feedmail-message-action-edit)
3362 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
3363 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
3364 (feedmail-message-action-toggle-spray)
3365 (feedmail-run-the-queue-no-prompts)
3366 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
3367 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
3368 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
3369 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
3370 (feedmail-envelope-deducer, feedmail-fiddle-from)
3371 (feedmail-fiddle-sender, feedmail-default-date-generator)
3372 (feedmail-fiddle-date, feedmail-fiddle-message-id)
3373 (feedmail-fiddle-spray-address)
3374 (feedmail-fiddle-list-of-spray-fiddle-plexes)
3375 (feedmail-fiddle-list-of-fiddle-plexes)
3376 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
3377 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
3378 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
3379 Change default. Doc fix.
3380 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
3381 (feedmail-binmail-linuxish-template): New constant.
3382 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
3383 Respect feedmail-sendmail-f-doesnt-sell-me-out.
3384 (feedmail-send-it): Add debug call.
3385 Use feedmail-queue-buffer-file-name, and
3386 feedmail-send-it-immediately-wrapper.
3387 (feedmail-message-action-send): Add debug call.
3388 Use feedmail-send-it-immediately-wrapper.
3389 (feedmail-queue-express-to-queue): Add debug call.
3390 Run feedmail-queue-express-hook.
3391 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
3392 (feedmail-message-action-help-blat):
3393 Rename from feedmail-queue-send-edit-prompt-help-first.
3394 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
3395 Check line-endings. Handle errors better.
3396 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
3397 Doc fix. Add debug call.
3398 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
3399 Use feedmail-queue-send-edit-prompt-inner.
3400 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
3401 (feedmail-queue-send-edit-prompt-inner): New function, extracted
3402 from feedmail-queue-send-edit-prompt.
3403 (feedmail-queue-send-edit-prompt-help)
3404 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
3405 (feedmail-tidy-up-slug): Add debug call.
3406 Respect feedmail-queue-slug-suspect-regexp.
3407 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
3408 (feedmail-dump-message-to-queue): Add debug call.
3409 Expand queue-directory.
3410 (feedmail-dump-message-to-queue): Change message slightly.
3411 Use feedmail-say-chatter.
3412 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
3413 (feedmail-send-it-immediately-wrapper): New function.
3414 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
3415 Insert empty string rather than newline. Handle full-frame case.
3416 Use catch/throw. Use feedmail-say-chatter.
3417 (feedmail-fiddle-from): Try mail-host-address.
3418 (feedmail-default-message-id-generator): Doc fix.
3419 Bind system-time-locale. Handle missing end.
3420 (feedmail-fiddle-x-mailer): Add debug call.
3421 Handle feedmail-x-mailer-line being nil.
3422 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
3423 Add debug call. Use buffer-substring-no-properties.
3424 (feedmail-say-debug, feedmail-say-chatter): New functions.
3425 (feedmail-find-eoh): Give an explicit error.
3427 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
3429 * net/newst-treeview.el (newsticker-treeview-face): Change default
3430 family from helvetica to sans.
3431 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
3432 etc/images/newsticker.
3434 * net/newst-reader.el (newsticker-feed-face): Change default
3435 family from helvetica to sans.
3437 * net/newst-plainview.el (newsticker-new-item-face)
3438 (newsticker-old-item-face, newsticker-immortal-item-face)
3439 (newsticker-obsolete-item-face, newsticker-date-face)
3440 (newsticker-statistics-face): Change default family from
3442 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
3443 etc/images/newsticker.
3445 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
3446 (newsticker--process-auto-mark-filter-match): : Tell user about
3449 2011-05-13 Didier Verna <didier@xemacs.org>
3451 Common Lisp indentation improvements on defmethod and lambda-lists.
3452 * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
3453 (lisp-lambda-list-keyword-parameter-indentation)
3454 (lisp-lambda-list-keyword-parameter-alignment)
3455 (lisp-lambda-list-keyword-alignment): New customizable user options.
3456 (lisp-indent-defun-method): Improve docstring.
3457 (extended-loop-p): Fix comment.
3458 (lisp-indent-lambda-list-keywords-regexp): New variable.
3459 (lisp-indent-lambda-list): New function.
3460 (lisp-indent-259): Use it.
3461 (lisp-indent-defmethod): Support for more than one
3462 method qualifier and properly indent methods lambda-lists.
3463 (defgeneric): Provide a missing common-lisp-indent-function property.
3465 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3467 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
3468 bounds for the empty string (bug#8667).
3470 2011-05-13 Glenn Morris <rgm@gnu.org>
3472 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
3474 * mail/sendmail.el (sendmail-program): Try executable-find first.
3475 (sendmail-send-it): `sendmail-program' cannot be unbound.
3477 * calendar/appt.el (appt-make-list): Simplify.
3478 (appt-time-msg-list): Doc fix.
3479 (appt-check): Change mode-line message at the time of the appointment.
3481 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
3483 * progmodes/ld-script.el (ld-script-keywords)
3484 (ld-script-builtins): Update keywords list.
3486 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3488 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
3490 * shell.el (shell-completion-vars): New function.
3492 * simple.el (read-shell-command): Use it.
3493 (blink-matching-open): No need for " [...]" in minibuffer-message.
3495 2011-05-12 Glenn Morris <rgm@gnu.org>
3497 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
3498 (appt-check): Simplify.
3500 2011-05-12 Eli Zaretskii <eliz@gnu.org>
3502 * smerge-mode.el (smerge-resolve): Use null-device rather than a
3503 literal "/dev/null".
3505 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3507 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
3510 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
3512 * progmodes/which-func.el (which-function):
3513 Use add-log-current-defun instead of add-log-current-defun-function,
3514 which might not be defined (Bug#8260).
3516 2011-05-12 Glenn Morris <rgm@gnu.org>
3518 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
3519 Let byte-compile-initial-macro-environment always take precedence.
3521 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3523 * net/rcirc.el: Add support for SSL/TLS connections.
3524 (rcirc-server-alist): New field `encryption'.
3525 (rcirc): Check `encryption' settings.
3526 (rcirc-connect): New arg `encryption'. Use open-network-stream.
3527 Merge make-local-variable into `set'.
3528 (rcirc--connection-open-p): New function.
3529 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
3530 the process is not a network process (e.g. running gnutls-cli).
3531 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
3532 Make rcirc-(en|de)code-coding-system local here.
3533 (rcirc-mode): Merge make-local-variable into `set'.
3534 (rcirc-parent-buffer): Make permanent buffer-local.
3535 (rcirc-multiline-minor-mode): Don't do it here.
3536 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
3537 there's no server buffer.
3539 2011-05-11 Glenn Morris <rgm@gnu.org>
3541 * newcomment.el (comment-kill): Prefix "unused" local.
3543 * term/w32console.el (get-screen-color): Declare.
3545 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3546 Handle symbol elements of byte-compile-initial-macro-environment.
3548 2011-05-10 Leo Liu <sdl.web@gmail.com>
3550 * bookmark.el (bookmark-bmenu-mode-map):
3551 Bind bookmark-bmenu-search to `/'.
3553 * mail/footnote.el: Convert to utf-8 encoding.
3554 (footnote-unicode-string, footnote-unicode-regexp): New variable.
3555 (Footnote-unicode): New function.
3556 (footnote-style-alist): Add unicode style to the list.
3557 (footnote-style): Doc fix.
3559 2011-05-10 Jim Meyering <meyering@redhat.com>
3561 Fix doubled-word typos.
3562 * international/quail.el (quail-insert-kbd-layout): and and -> and
3563 * kermit.el: and and -> and
3564 * net/ldap.el (ldap-search-internal): to to -> to
3565 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
3566 * progmodes/js.el (js-mode): and and -> and
3567 * textmodes/artist.el (artist-move-to-xy): at at -> at
3568 (artist-draw-region-trim-line-endings): if if -> if
3569 And Safetyc -> Safety.
3570 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
3572 2011-05-10 Glenn Morris <rgm@gnu.org>
3573 Stefan Monnier <monnier@iro.umontreal.ca>
3575 * files.el (hack-one-local-variable-eval-safep):
3576 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
3578 2011-05-10 Glenn Morris <rgm@gnu.org>
3580 * calendar/diary-lib.el (diary-list-entries-hook)
3581 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
3582 (diary-nongregorian-marking-hook, diary-list-entries)
3583 (diary-include-other-diary-files, diary-mark-entries)
3584 (diary-mark-included-diary-files): Doc fixes.
3586 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
3588 * misc.el: Require tabulated-list.el during compilation.
3590 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
3592 * progmodes/compile.el (compilation-start):
3593 Run compilation-filter-hook for the async case too.
3594 (compilation-filter-hook): Doc fix.
3596 2011-05-09 Deniz Dogan <deniz@dogan.se>
3598 * wdired.el: Remove outdated installation comment. Fix usage
3601 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
3603 * misc.el: Implement new command `list-dynamic-libraries'.
3604 (list-dynamic-libraries--loaded-only-p): New variable.
3605 (list-dynamic-libraries--refresh): New function.
3606 (list-dynamic-libraries): New command.
3608 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
3610 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3611 Fix the ant regexp to handle end-line and end-column info from jikes.
3612 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
3613 higher priority to avoid clobbering by gnu.
3615 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
3617 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
3618 if the face has existing theme settings (Bug#8454).
3620 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
3622 * progmodes/perl-mode.el (perl-imenu-generic-expression):
3623 Only match variables declared via `my' or `our' (Bug#8261).
3625 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
3626 special file names `.' and `..' (Bug#8259).
3628 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
3630 * progmodes/grep.el (grep-mode-font-lock-keywords):
3631 Remove buffer-changing entries.
3632 (grep-filter): New function.
3633 (grep-mode): Add it to compilation-filter-hook.
3635 * progmodes/compile.el (compilation-filter-hook)
3636 (compilation-filter-start): New defvars.
3637 (compilation-filter): Call compilation-filter-hook prior to
3638 updating the process mark.
3640 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3642 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
3644 2011-05-07 Eli Zaretskii <eliz@gnu.org>
3646 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
3647 mailclient-send-it even if window-system is nil. (Bug#8595)
3649 * term/w32console.el (terminal-init-w32console):
3650 Call get-screen-color and use its output to set the frame
3651 background-mode. (Bug#8597)
3653 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3655 Make bytecomp.el understand that defmethod defines funs (bug#8631).
3656 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
3658 (defgeneric, eieio--defmethod): Use them.
3659 (eieio-defgeneric): Remove.
3660 (defmethod): Call defgeneric in a way visible to the byte-compiler.
3662 2011-05-07 Glenn Morris <rgm@gnu.org>
3664 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
3665 Use let rather than let*.
3666 (timeclock-find-discrep): Remove unused local.
3668 * calendar/diary-lib.el (diary-comment-start): Doc fix.
3670 * calendar/appt.el (appt-time-msg-list): Doc fix.
3672 2011-05-06 Noah Friedman <friedman@splode.com>
3674 * apropos.el (apropos-print-doc): Only use
3675 emacs-lisp-docstring-fill-column when it is bound to an integer,
3676 per that variable's documentation.
3678 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
3680 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
3681 and warnings are not silently discarded (e.g. use -d instead of -P).
3683 2011-05-06 Glenn Morris <rgm@gnu.org>
3685 * calendar/appt.el (appt-message-warning-time): Doc fix.
3686 (appt-warning-time-regexp): New option.
3687 (appt-make-list): Respect appt-message-warning-time.
3689 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
3691 (diary-add-to-list): Strip comments from the displayed string.
3692 (diary-mode): Set comment-start and comment-end.
3694 * vc/diff-mode.el (smerge-refine-subst): Declare.
3695 (diff-refine-hunk): Don't require smerge-mode when compiling.
3697 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
3699 * simple.el (list-processes): Return nil as the docstring says.
3701 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
3703 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
3705 (ange-ftp-write-region, ange-ftp-insert-file-contents)
3706 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
3707 determining of binary transfer. (Bug#7383)
3709 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
3711 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3712 Fix port computation bug. (Bug#8618)
3714 2011-05-05 Glenn Morris <rgm@gnu.org>
3716 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
3718 * simple.el (shell-dynamic-complete-functions)
3719 (comint-dynamic-complete-functions): Declare.
3721 * net/network-stream.el (gnutls-negotiate):
3722 * simple.el (tabulated-list-print): Fix declarations.
3724 * progmodes/gud.el (syntax-symbol, syntax-point):
3725 Remove unnecessary and incorrect declarations.
3727 * emacs-lisp/check-declare.el (check-declare-scan):
3728 Handle byte-compile-initial-macro-environment in bytecomp.el
3730 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3732 Fix earlier half-done eieio-defmethod change (bug#8338).
3733 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
3734 Streamline and change calling convention.
3735 (defmethod): Adjust accordingly and simplify.
3736 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
3737 new eieio--defmethod.
3738 (slot-boundp): Minor CSE simplification.
3740 2011-05-05 Milan Zamazal <pdm@zamazal.org>
3742 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
3743 (glasses-make-readable): Use glasses-separate-capital-groups.
3745 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
3747 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
3748 (warning-series): Doc fix.
3749 (display-warning): Don't try to create the buffer if we just found it.
3751 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
3753 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
3754 (autoload-find-generated-file): New function.
3755 (generate-file-autoloads): Bind generated-autoload-file to
3757 (update-file-autoloads, update-directory-autoloads):
3758 Use autoload-find-generated-file. If called interactively, prompt for
3759 output file (Bug#7989).
3760 (batch-update-autoloads): Doc fix.
3762 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
3764 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
3766 2011-05-04 Glenn Morris <rgm@gnu.org>
3768 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
3769 function, so it follows changes in calendar-date-style.
3770 (diary-fancy-date-matcher): New function.
3771 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
3772 (diary-fancy-font-lock-fontify-region-function):
3773 Use diary-fancy-date-pattern as a function.
3775 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
3776 non-numbers for `year' etc pseudo-variables. (Bug#8583)
3778 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
3780 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
3781 instead of positional arguments. Allow :keylist and :crlfiles
3783 (open-gnutls-stream): Call it.
3785 * net/network-stream.el (network-stream-open-starttls): Adjust to
3786 call `gnutls-negotiate' with :process and :hostname arguments.
3788 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3790 * minibuffer.el (completion--message): New function.
3791 (completion--do-completion, minibuffer-complete)
3792 (minibuffer-force-complete, minibuffer-complete-word): Use it.
3793 (completion--do-completion): Don't ignore completion-auto-help when in
3796 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
3797 internal encoding (e.g. tibetan zero is not whitespace).
3798 (global-whitespace-mode): Prefer save-current-buffer.
3799 (whitespace-trailing-regexp): Remove useless save-match-data.
3800 (whitespace-empty-at-bob-regexp): Minor simplification.
3802 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
3804 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
3806 2011-05-03 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
3808 * textmodes/ispell.el (ispell-add-per-file-word-list):
3809 Use `concat' to create string for insertion.
3811 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3813 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
3814 Avoid open-line which runs post-self-insert-hook.
3815 (bibtex-fill-entry): Remove unused `end' var.
3817 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
3819 * textmodes/ispell.el (ispell-add-per-file-word-list):
3820 Protect against `nil' value of `comment-start' (Bug#8579).
3822 2011-05-03 Leo Liu <sdl.web@gmail.com>
3824 * isearch.el (isearch-yank-pop): New command.
3825 (isearch-mode-map): Bind it to `M-y'.
3826 (isearch-forward): Mention it.
3828 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3830 * simple.el (minibuffer-complete-shell-command): Remove.
3831 (minibuffer-local-shell-command-map): Use completion-at-point.
3832 (read-shell-command): Setup completion vars here instead.
3833 (read-expression-map): Bind TAB to symbol completion.
3835 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
3836 error directly rather via storing it into `results'.
3838 2011-05-02 Leo Liu <sdl.web@gmail.com>
3840 * vc/diff.el: Fix description.
3842 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3844 * server.el (server-eval-at): New function.
3846 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3848 * net/network-stream.el (open-network-stream): Take a :nowait
3849 parameter and pass it on to `make-network-process'.
3850 (network-stream-open-plain): Ditto.
3852 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
3854 * faces.el (face-spec-set-match-display): Don't match toolkit
3855 options on terminal frames.
3857 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
3859 * progmodes/pascal.el: Use lexical binding.
3860 (pascal-mode-map): Remove author preferences.
3862 * pcomplete.el (pcomplete-std-complete): Don't abuse
3863 completion-at-point.
3865 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
3867 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
3868 removing code that has been dead since 1991 or so.
3870 * startup.el (command-line): When warning about "_emacs", use a
3871 delayed warning to allow the user to filter it out.
3873 2011-04-28 Deniz Dogan <deniz@dogan.se>
3875 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
3876 user has not joined.
3878 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3880 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
3881 aren't any completions at point.
3883 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
3885 * subr.el (display-delayed-warnings): New function.
3886 (delayed-warnings-hook): New variable.
3888 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3890 * minibuffer.el (completion-at-point, completion-help-at-point):
3891 Don't presume that a given completion-at-point-function will always
3892 use the same calling convention.
3894 * pcomplete.el (pcomplete-completions-at-point):
3895 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
3896 pcomplete-seen is non-nil.
3897 (pcomplete-comint-setup): Also recognize the new comint/shell
3898 completion functions.
3899 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
3900 pcomplete-seen is non-nil.
3902 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
3904 * calendar/icalendar.el (diary-lib): Add require statement.
3905 (icalendar--create-uid): Read out a uid from a text-property on
3906 the first character in the entry. This allows for code to add its
3907 own uid to the entry.
3908 (icalendar--convert-float-to-ical): Add export of
3909 `diary-float'-entries save for those with the optional DAY
3912 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
3914 * subr.el (shell-quote-argument): Use alternate escaping strategy
3915 when we spot a variable reference in a string.
3917 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
3919 * cus-start.el (all): Define customization for debug-on-event.
3921 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
3923 * subr.el (shell-quote-argument): Escape correctly under Windows.
3925 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3927 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
3929 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
3931 * net/tramp.el (tramp-process-actions): Add POS argument.
3932 Delete region between POS and (pos).
3934 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3935 Use `nil' position in `tramp-process-actions' call.
3936 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
3938 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
3939 position in `tramp-process-actions' call.
3941 * net/trampver.el: Update release number.
3943 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3945 * custom.el (defcustom): Obey lexical-binding.
3947 Fix octave-inf completion problems reported by Alexander Klimov.
3948 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
3949 Inherit from octave-mode-syntax-table.
3950 (inferior-octave-mode): Set info-lookup-mode.
3951 (inferior-octave-completion-at-point): New function.
3952 (inferior-octave-complete): Use it and completion-in-region.
3953 (inferior-octave-dynamic-complete-functions): Use it as well, and use
3954 comint-filename-completion.
3955 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
3956 symbol elements which shouldn't be word elements.
3957 (octave-font-lock-keywords, octave-beginning-of-defun)
3958 (octave-function-header-regexp): Adjust regexps accordingly.
3959 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
3961 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
3963 * net/gnutls.el (gnutls-errorp): Declare before first use.
3965 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
3967 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
3968 verify-error, and verify-hostname-error parameters. Check whether
3969 default trustfile exists before going to use it. Add missing
3970 argument to gnutls-message-maybe call. Return return value.
3971 Reported by Claudio Bley <claudio.bley@gmail.com>.
3972 (open-gnutls-stream): Add usage example.
3974 * net/network-stream.el (network-stream-open-starttls): Give host
3975 parameter to `gnutls-negotiate'.
3976 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
3977 * subr.el (shell-quote-argument): Escape correctly under Windows.
3979 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
3981 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3982 Use correct match group (bug#8438).
3984 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
3986 * emacs-lisp/package.el (package-built-in-p): Fix typo.
3987 (package-menu--generate): New arg specifying packages to show.
3988 (package-menu-refresh, package-menu-execute, list-packages):
3990 (package-show-package-list): New function, replacing deleted
3991 package--list-packages (renamed because it is non-internal).
3993 * finder.el (finder-list-matches): Use package-show-package-list
3994 instead of deleted package--list-packages.
3996 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
3997 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3998 (vc-annotate-mode-map): Bind it to RET.
4000 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
4002 * progmodes/etags.el (next-file): Don't use set-buffer to change
4005 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
4007 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
4009 * apropos.el (apropos-label-face): Avoid variable-pitch face.
4010 (apropos-accumulator): Doc fix.
4011 (apropos-function, apropos-macro, apropos-command)
4012 (apropos-variable, apropos-face, apropos-group, apropos-widget)
4013 (apropos-plist): Add face property.
4014 (apropos-symbols-internal): Fix indentation.
4015 (apropos-print): Simplify help, and recognize apropos-multi-type.
4016 (apropos-print-doc): Use button-type-get to extract the button's
4017 face property. Fill docstring (Bug#8352).
4019 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
4021 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
4023 * play/mpuz.el (mpuz-silent): Doc fix.
4024 (mpuz-mode-map): Use mapc.
4025 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
4026 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
4027 Fix typos in docstrings.
4029 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
4030 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
4032 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
4034 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
4036 * minibuffer.el (completion--do-completion): Avoid the "Next char
4037 not unique" prompt if icomplete-mode is enabled (Bug#5849).
4039 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
4040 mouse-2 into unread-command-events, it is interpreted correctly.
4042 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
4043 (image-toggle-display): Doc fix.
4045 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
4047 * textmodes/page.el (what-page): Use line-number-at-pos to
4048 calculate line number (Bug#6825).
4050 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
4052 * eshell/esh-mode.el (find-tag-interactive): Declare function.
4053 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
4054 Pass argument NO-DEFAULT to `find-tag-interactive'.
4056 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
4058 Lexical-binding cleanup.
4060 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
4061 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
4062 * progmodes/ada-prj.el (ada-prj-initialize-values)
4063 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
4064 (ada-prj-show-value):
4065 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
4066 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
4067 (antlr-invalidate-context-cache, antlr-options-menu-filter)
4068 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
4069 * progmodes/bug-reference.el (bug-reference-push-button):
4070 * progmodes/fortran.el (fortran-line-length):
4071 * progmodes/glasses.el (glasses-change):
4072 * progmodes/octave-mod.el (octave-fill-paragraph):
4073 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
4074 (python-pdbtrack-grub-for-buffer, python-sentinel):
4075 * progmodes/sql.el (sql-save-connection):
4076 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
4077 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
4078 Mark unused parameters.
4080 * progmodes/compile.el (compilation--flush-directory-cache)
4081 (compilation--flush-parse, compile-internal): Mark unused parameters.
4082 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
4083 (compilation-next-error-function): Remove unused variable `timestamp'.
4085 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
4086 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
4088 * progmodes/dcl-mode.el (dcl-end-of-command):
4089 Remove unused variable `start'.
4090 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
4091 (dcl-option-value-basic, dcl-option-value-offset)
4092 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
4093 Mark unused parameters.
4094 (dcl-save-local-variable): Remove unused variable `val'.
4097 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
4098 Mark unused parameters.
4099 (delphi-ignore-changes): Move before first use.
4100 (delphi-charset-token-at): Remove unused variable `start'.
4101 (delphi-else-start): Remove unused variable `if-count'.
4102 (delphi-comment-block-start, delphi-comment-block-end):
4103 Remove unused variable `kind'.
4104 (delphi-indent-line): Remove unused variable `new-point'.
4106 * progmodes/ebrowse.el (ebrowse-files-list)
4107 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
4108 Mark unused parameters. Don't quote `lambda'.
4109 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
4110 Don't quote `lambda'.
4111 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
4112 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
4113 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
4114 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
4115 Use `ignore-errors'.
4116 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
4117 (ebrowse-view/find-file-and-search-pattern)
4118 (ebrowse-view/find-member-declaration/definition):
4119 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
4120 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
4121 Rename parameter PREFIX-ARG to PREFIX.
4122 (ebrowse-tags-read-name): Remove unused variables `start' and
4124 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
4127 * progmodes/etags.el (local-find-tag-hook): Declare.
4128 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
4129 Mark unused parameters.
4131 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
4132 (executable-interpret): Mark unused parameter.
4134 * progmodes/flymake.el (flymake-process-sentinel)
4135 (flymake-after-change-function)
4136 (flymake-create-temp-with-folder-structure)
4137 (flymake-get-include-dirs-dot): Mark unused parameters.
4138 (flymake-safe-delete-directory): Remove unused variable `err'.
4140 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
4141 (speedbar-timer-fn, speedbar-line-text)
4142 (speedbar-change-expand-button-char, speedbar-delete-subblock)
4143 (speedbar-center-buffer-smartly): Declare functions.
4144 (gdb-find-watch-expression): Remove unused variable `array'.
4145 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
4146 (gdb-starting): Mark unused parameters.
4147 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
4148 (gdb-table-string): Remove unused variable `res'.
4149 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
4150 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
4151 (gdb-display-buffer): Remove unused variable `cur-size'.
4153 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
4154 allow lexical-binding compilation.
4155 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
4156 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
4157 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
4158 Mark unused parameters.
4159 (gud-gdb-marker-filter): Remove unused variable `match'.
4160 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
4161 lambda expressions and funcall them, instead of using `fset'.
4163 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
4164 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
4166 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
4167 variable `header-beg'; use `let'.
4169 * progmodes/icon.el (indent-icon-exp): Remove unused variables
4170 `restart', `last-sexp' and `at-do'.
4172 * progmodes/js.el (js--debug): Mark unused parameter.
4173 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
4174 (js--splice-into-items): Remove unused variable `item'.
4175 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
4177 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
4178 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
4179 (makefile-complete): Remove unused variable `try'.
4180 (makefile-fill-paragraph, makefile-match-function-end):
4181 Mark unused parameters.
4183 * progmodes/octave-inf.el (inferior-octave-complete):
4184 Remove unused variable `proc'.
4185 (inferior-octave-output-digest): Mark unused parameter.
4187 * progmodes/perl-mode.el (perl-calculate-indent):
4188 Remove unused variable `err'.
4190 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
4191 (prolog-indent-line): Mark unused parameters.
4192 (prolog-indent-line): Remove unused variable `beg'.
4194 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
4195 (reporter-dont-compact-list): Declare.
4197 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
4198 Remove unused variable `char'.
4199 (sh-debug): Mark unused parameter.
4200 (sh-get-indent-info): Remove unused variable `start'.
4201 (sh-calculate-indent): Remove unused variable `var'.
4203 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
4204 (simula-electric-keyword): Remove unused variable `null'.
4205 (simula-search-backward, simula-search-forward): Remove unused
4206 variables `begin' and `end'.
4208 * progmodes/vera-mode.el (vera-guess-basic-syntax):
4209 Remove unused variable `pos'.
4210 (vera-electric-tab, vera-comment-uncomment-region):
4211 Mark unused parameters.
4212 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
4214 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
4216 * emacs-lisp/package.el (package--builtins, package-alist)
4217 (package-load-descriptor, package-built-in-p, package-activate)
4218 (define-package, package-installed-p)
4219 (package-compute-transaction, package-buffer-info)
4220 (package--push): Doc fix. Distinguish more clearly between
4221 version strings and version lists.
4223 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
4225 Lexical-binding cleanup.
4227 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
4228 (5x5-make-mutate-best):
4229 * play/fortune.el (fortune-in-buffer):
4230 * play/gomoku.el (gomoku-init-display):
4231 * play/solitaire.el (solitaire, solitaire-do-check):
4232 * play/tetris.el (tetris-default-update-speed-function):
4233 Mark unused parameters.
4235 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
4236 (bubbles--shift): Remove unused variable `char-org'.
4237 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
4238 (bubbles--show-images): Remove unused variable `char'.
4240 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
4241 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
4242 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
4243 (decipher-analyze-buffer): Use ?\s.
4244 (decipher-make-checkpoint): Remove unused variable `mapping'.
4246 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
4248 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
4249 Remove unused variable `result'; use `let'.
4251 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
4252 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
4253 (gametree-children-shown-p, gametree-compute-reduced-score):
4254 Use `ignore-errors'.
4256 * play/handwrite.el (ps-lpr-switches): Declare.
4257 (handwrite): Remove unused variables `pmin' and `lastp'.
4259 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
4261 * play/landmark.el (landmark-init-display)
4262 (landmark-update-naught-weights): Mark unused parameters.
4263 (landmark-y): Remove unused variable `noise'. Simplify.
4264 (landmark-human-plays): Remove unused variable `score'.
4266 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
4267 (mpuz-try-proposal): Remove unused variable `game'.
4269 * play/zone.el (life-patterns): Declare.
4271 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
4273 * vc/vc.el (ediff-vc-internal): Declare function.
4275 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4277 * shell.el: Use lexical-binding and std completion UI.
4278 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
4279 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
4280 comint-preoutput-filter-functions rather than on
4281 comint-output-filter-functions.
4282 (shell-command-completion, shell--command-completion-data)
4283 (shell-filename-completion, shell-environment-variable-completion)
4284 (shell-c-a-p-replace-by-expanded-directory): New functions.
4285 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
4286 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
4287 (shell-dynamic-complete-environment-variable): Use them.
4288 (shell-dynamic-complete-as-environment-variable)
4289 (shell-dynamic-complete-as-command): Remove.
4290 (shell-match-partial-variable): Match past point.
4291 * comint.el: Clean up use of completion-at-point-functions.
4292 (comint-completion-at-point): New function.
4293 (comint-mode): Use it completion-at-point-functions.
4294 (comint-dynamic-complete): Make it obsolete.
4295 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
4296 (comint-c-a-p-replace-by-expanded-history): New function.
4297 (comint-dynamic-complete-functions)
4298 (comint-replace-by-expanded-history): Use it.
4299 * minibuffer.el (completion-table-with-terminator): Allow dynamic
4300 termination strings. Try harder to avoid second try-completion.
4301 (completion-in-region-mode-map): Disable bindings that don't work yet.
4303 * comint.el: Use lexical-binding. Require CL.
4304 (comint-dynamic-complete-functions): Use comint-filename-completion.
4305 (comint-completion-addsuffix): Tweak custom type.
4306 (comint-filename-completion, comint--common-suffix)
4307 (comint--common-quoted-suffix, comint--table-subvert)
4308 (comint--complete-file-name-data): New functions.
4309 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
4310 (comint-dynamic-list-filename-completions): Use them.
4311 (comint-dynamic-simple-complete): Make obsolete.
4313 * minibuffer.el (completion-in-region-mode):
4314 Keep completion-in-region-mode--predicate global.
4315 (completion-in-region--postch):
4316 Assume completion-in-region-mode--predicate is not null.
4318 * progmodes/flymake.el (flymake-start-syntax-check-process):
4319 Obey `dir'. Simplify.
4321 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
4322 we're in VC after all.
4324 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
4326 * vc/vc.el (vc-diff-build-argument-list-internal)
4327 (vc-version-ediff, vc-ediff): New commands.
4328 (vc-version-diff): Use vc-diff-build-argument-list-internal.
4330 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4332 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
4335 * obsolete/erc-hecomplete.el: Make obsolete.
4336 * obsolete/: Standardize obsolescence info in the header.
4338 2011-04-20 Glenn Morris <rgm@gnu.org>
4340 * calendar/solar.el (solar-horizontal-coordinates):
4341 Use the longitude argument rather than `calendar-longitude'.
4342 (solar-date-next-longitude): Remove unused locals.
4344 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4346 * whitespace.el: New version 13.2.1.
4348 2011-04-20 felix <EmacsWiki> (tiny change)
4350 * whitespace.el (global-whitespace-mode): Keep highlight when
4351 switching between major modes on a file.
4353 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4355 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
4356 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
4357 multi-line comments as well.
4359 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
4361 Lexical-binding cleanup.
4363 * arc-mode.el (archive-mode-revert):
4364 * cmuscheme.el (scheme-interactively-start-process):
4365 * custom.el (custom-initialize-delay):
4366 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
4367 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
4368 * emacs-lock.el (emacs-lock-clear-sentinel):
4369 * ezimage.el (defezimage):
4370 * follow.el (follow-avoid-tail-recenter):
4371 * fringe.el (set-fringe-mode-1):
4372 * generic-x.el (bat-generic-mode-compile):
4373 * help-mode.el (help-info-variable, help-do-xref)
4374 (help-mode-revert-buffer):
4375 * help.el (view-emacs-todo):
4376 * iswitchb.el (iswitchb-completion-help):
4377 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
4378 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
4379 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
4380 * locate.el (locate-update):
4381 * longlines.el (longlines-encode-region)
4382 (longlines-after-change-function):
4383 * outline.el (outline-isearch-open-invisible):
4384 * ps-def.el (declare-function, charset-dimension, char-width)
4386 * ps-mule.el (ps-mule-plot-string):
4387 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
4388 (recentf-edit-list-select, recentf-edit-list-validate)
4389 (recentf-open-files-action):
4390 * rect.el (delete-whitespace-rectangle-line)
4391 (rectangle-number-line-callback):
4392 * register.el (window-configuration-to-register)
4393 (frame-configuration-to-register):
4394 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
4395 * select.el (xselect-convert-to-string, xselect-convert-to-length)
4396 (xselect-convert-to-targets, xselect-convert-to-delete)
4397 (xselect-convert-to-filename, xselect-convert-to-charpos)
4398 (xselect-convert-to-lineno, xselect-convert-to-colno)
4399 (xselect-convert-to-os, xselect-convert-to-host)
4400 (xselect-convert-to-user, xselect-convert-to-class)
4401 (xselect-convert-to-name, xselect-convert-to-integer)
4402 (xselect-convert-to-atom, xselect-convert-to-identity):
4403 * subr.el (declare, ignore, process-kill-without-query)
4404 (text-clone-maintain):
4405 * terminal.el (te-get-char, te-tic-sentinel):
4406 * tool-bar.el (tool-bar-make-keymap):
4407 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
4408 * type-break.el (type-break-mode, type-break-noninteractive-query):
4409 * view.el (View-back-to-mark):
4410 * wid-browse.el (widget-browse-action, widget-browse-widget)
4411 (widget-browse-widgets, widget-browse-sexp):
4412 * widget.el (define-widget-keywords):
4413 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
4414 Mark unused parameters.
4416 * align.el (align-adjust-col-for-rule): Mark unused parameter.
4417 (align-areas): Remove unused variable `look'.
4418 (align-region): Remove unused variables `real-end' and `pos-list'.
4420 * apropos.el (apropos-score-doc): Remove unused variable `i'.
4422 * bindings.el (mode-line-modified, mode-line-remote):
4423 Mark unused parameters.
4424 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
4426 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
4427 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
4429 * comint.el (comint-history-isearch-pop-state)
4430 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
4431 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
4432 (comint-substitute-in-file-name): Doc fix.
4434 * completion.el (cmpl-statistics-block): Mark unused parameter.
4435 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
4436 (save-completions-to-file, load-completions-from-file):
4437 Remove unused local variable `e'.
4439 * composite.el (compose-chars): Remove unused variable `len'.
4440 (lgstring-insert-glyph): Remove unused variable `g'.
4441 (compose-glyph-string): Remove unused variables `ascent',
4442 `descent', `lbearing' and `rbearing'.
4443 (compose-glyph-string-relative): Remove unused variables
4444 `lbearing', `rbearing' and `wadjust'.
4445 (compose-gstring-for-graphic): Remove unused variables `header',
4446 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
4447 (compose-gstring-for-terminal): Remove unused variables `header'
4448 and `nchars'. Use `let', not `let*'.
4450 * cus-edit.el (Custom-set, Custom-save, custom-reset)
4451 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
4452 (Custom-buffer-done, custom-buffer-create-internal)
4453 (custom-browse-visibility-action, custom-browse-group-tag-action)
4454 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
4455 (widget-magic-mouse-down-action, custom-toggle-parent)
4456 (custom-add-parent-links, custom-toggle-hide-variable)
4457 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
4458 (custom-toggle-hide-face, face, hook, custom-group-link-action)
4459 (custom-face-menu-create, custom-variable-menu-create, get)
4460 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
4461 (custom-reset-standard-save-and-update): Remove unused variable `value'.
4462 (customize-apropos): Remove unused variable `tests'.
4463 (custom-group-value-create): Remove unused variable `hidden-p'.
4464 (sort-fold-case): Declare.
4466 * cus-theme.el (custom-reset-standard-faces-list)
4467 (custom-reset-standard-variables-list): Declare.
4468 (customize-create-theme, custom-theme-revert, custom-theme-write)
4469 (custom-theme-choose-mode, customize-themes, custom-theme-save):
4470 Mark unused parameters.
4472 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
4474 * delim-col.el (delimit-columns-max): Move defvar before first use.
4476 * descr-text.el (describe-char-categories): Don't quote `lambda'.
4477 (describe-char): Don't quote `lambda'. Mark unused parameter.
4479 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
4480 (auto-insert): Declare.
4481 (desktop-restore-file-buffer): Rename desktop-* parameters;
4483 (desktop-create-buffer): Rename desktop-* parameters and bind them.
4484 (desktop-buffer): Rename desktop-* parameters.
4486 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4487 (dframe-reposition-frame-xemacs, dframe-help-echo)
4488 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
4489 Mark unused parameters.
4491 * dired-aux.el (backup-extract-version-start, overwrite-query)
4492 (overwrite-backup-query, rename-regexp-query)
4493 (rename-non-directory-query): Declare.
4494 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
4495 (dired-add-entry): Remove unused variable `orig-file-name'.
4496 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
4497 Use parameter PRESERVE-TIME instead of accessing dynamic variable
4498 `dired-copy-preserve-time' directly.
4499 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
4500 (dired-insert-subdir-newpos): Rename unused variable `pos'.
4502 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
4503 (dired-virtual-revert, dired-make-relative-symlink):
4504 Mark unused parameters.
4505 (manual-program): Declare.
4506 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
4507 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
4508 wrapped in `with-no-warnings' to avoid replacing one warning by another.
4510 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
4512 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
4514 * echistory.el (electric-history-in-progress, Helper-return-blurb):
4517 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
4519 * electric.el (Electric-command-loop): Rename parameter
4520 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
4522 * expand.el (expand-in-literal): Remove unused variable `here'.
4524 * facemenu.el (facemenu-add-new-color):
4525 Remove unused variable `docstring'.
4527 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
4528 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
4529 (face-attr-construct): Mark unused parameter. Doc fix.
4530 (read-color): Remove unused variable `hex-string'.
4532 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
4533 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
4534 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
4535 (display-buffer-other-frame): Remove unused variable `old-window'.
4536 (kill-buffer-hook): Declare.
4537 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
4538 Mark unused parameters.
4539 (after-find-file): Pass 1 to `auto-save-mode', not t.
4541 * files-x.el (auto-insert): Declare.
4542 (modify-file-local-variable-prop-line): Remove unused variable `val'.
4544 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
4545 variable `buf'. Mark unused parameter.
4546 (find-lisp-insert-directory): Mark unused parameter.
4548 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
4549 (format-encode-region): Remove unused variables `cur-buf' and `result'.
4550 (format-common-tail): Remove, unused.
4551 (format-deannotate-region): Remove unused variable `loc'.
4552 (format-annotate-region): Remove unused variable `p'.
4553 (format-annotate-single-property-change): Remove unused variables
4554 `default' and `tail'.
4556 * forms.el (read-file-filter): Declare.
4557 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
4559 * frame.el (frame-creation-function-alist): Mark unused parameter.
4560 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
4562 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
4563 Remove unused parameters.
4564 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
4565 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
4567 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
4568 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
4569 (hfy-prepare-tag-map): Mark unused parameters.
4570 (htmlfontify-buffer): Use `called-interactively-p'.
4572 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
4573 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
4574 (ibuffer-do-occur): Mark unused parameters.
4575 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
4576 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
4578 * ibuffer.el: Don't quote `lambda'.
4579 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
4580 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
4581 Mark unused parameters.
4583 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
4584 (ido-completing-read): Mark unused parameters.
4585 (ido-copy-current-word): Mark unused parameters;
4586 remove unused variable `name'.
4587 (ido-sort-merged-list): Remove unused parameter `dirs'.
4589 * ielm.el (ielm-input-sender): Mark unused parameter.
4590 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
4591 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
4592 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
4593 `ielm-string' as a dynamic variable accessible from the IELM prompt.
4594 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
4596 * image-dired.el (image-dired-display-thumbs): Remove unused
4597 variables `curr-file' and `count'.
4598 (image-dired-remove-tag): Remove unused variable `start'.
4599 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
4600 variable `curr-file'
4601 (image-dired-rotate-original): Remove unused variable `temp-file'.
4602 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
4603 Remove unused variable `file'.
4604 (image-dired-gallery-generate): Remove unused variable `curr'.
4605 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
4607 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
4609 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
4611 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
4613 * isearch.el (minibuffer-history-symbol): Declare.
4614 (isearch-edit-string): Remove unused variable `err'.
4615 (isearch-message-prefix, isearch-message-suffix):
4616 Mark unused parameters.
4618 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
4620 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
4622 * makesum.el (double-column): Remove unused variable `cnt'.
4624 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
4625 (ido-ignore-item-temp-list): Declare.
4627 * mouse-drag.el (mouse-drag-throw): Remove unused variables
4628 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
4629 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
4630 (mouse-drag-drag): Remove unused variables `mouse-delta' and
4633 * mouse-sel.el (mouse-extend-internal):
4634 Remove unused variable `orig-window-frame'.
4636 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
4637 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
4638 Move declarations before first use.
4639 (pcomplete-opt): Mark unused parameters; doc fix.
4641 * proced.el (proced-revert): Mark unused parameter.
4642 (proced-send-signal): Remove unused variable `err'.
4644 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
4645 Rename parameter PREFIX-ARG to ARG.
4646 (ps-basic-plot-string, ps-basic-plot-whitespace):
4647 Mark unused parameters.
4649 * replace.el (replace-count): Define.
4650 (occur-revert-function): Mark unused parameters.
4651 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
4652 (isearch-case-fold-search, isearch-string): Declare.
4653 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
4654 bind `case-fold-search'. Remove unused variables `beg' and `end',
4656 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
4657 COUNT and bind `replace-count'.
4658 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
4661 * savehist.el (print-readably, print-string-length): Declare.
4663 * shadowfile.el (shadow-expand-cluster-in-file-name):
4664 Remove unused variable `cluster'.
4665 (shadow-copy-file): Remove unused variable `i'.
4666 (shadow-noquery, shadow-clusters, shadow-site-cluster)
4667 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
4668 (shadow-define-literal-group, shadow-define-regexp-group)
4669 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
4671 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
4672 (shell): Use `called-interactively-p'.
4673 (shell-directory-tracker): Remove unused variable `chdir-failure'.
4675 * simple.el (compilation-context-lines, comint-file-name-quote-list)
4676 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
4677 (delete-backward-char): Remove unused variable `ocol'.
4678 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
4679 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
4680 (event-apply-hyper-modifier, event-apply-shift-modifier)
4681 (event-apply-control-modifier, event-apply-meta-modifier):
4682 Mark unused parameters.
4683 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
4684 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
4686 * speedbar.el (speedbar-ignored-directory-expressions)
4687 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
4688 (speedbar-find-file, speedbar-dir-follow)
4689 (speedbar-directory-buttons-follow, speedbar-tag-find)
4690 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
4691 (speedbar-buffers-line-directory, speedbar-buffer-click):
4692 Mark unused parameters.
4693 (speedbar-tag-file): Remove unused variable `mode'.
4694 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
4696 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
4698 * talk.el (talk): Remove unused variable `display'.
4700 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
4701 (tar-write-region-annotate): Mark unused parameter.
4703 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
4704 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
4705 Declare them, wrapped in `with-no-warnings' to avoid replacing one
4708 * time-stamp.el (time-stamp-string-preprocess):
4709 Remove unused variable `require-padding'.
4711 * tree-widget.el (widget-glyph-enable): Declare.
4712 (tree-widget-action): Mark unused parameter.
4714 * w32-fns.el (x-get-selection): Mark unused parameter.
4715 (autoload-make-program, generated-autoload-file): Declare.
4717 * wdired.el (wdired-revert): Mark unused parameters.
4718 (wdired-xcase-word): Remove unused variable `err'.
4720 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
4721 (whitespace-help-scroll): Remove unused variable `data-help'.
4723 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
4724 (widget-image-insert, widget-after-change, default)
4725 (widget-default-format-handler, widget-default-notify)
4726 (widget-default-prompt-value, widget-info-link-action)
4727 (widget-url-link-action, widget-function-link-action)
4728 (widget-variable-link-action, widget-file-link-action)
4729 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
4730 (widget-field-prompt-internal, widget-field-action, widget-field-match)
4731 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
4732 (widget-insert-button-action, widget-delete-button-action, visibility)
4733 (widget-documentation-link-action, widget-documentation-string-action)
4734 (widget-const-prompt-value, widget-regexp-match, symbol)
4735 (widget-coding-system-prompt-value)
4736 (widget-key-sequence-value-to-external, sexp)
4737 (widget-sexp-value-to-internal, character, vector, cons)
4738 (widget-choice-prompt-value, widget-boolean-prompt-value)
4739 (widget-color--choose-action): Mark unused parameters.
4740 (widget-item-match-inline, widget-choice-match-inline)
4741 (widget-checklist-match, widget-checklist-match-inline)
4742 (widget-group-match): Rename parameter VALUES to VALS.
4743 (widget-field-value-set): Remove unused variable `size'.
4744 (widget-color-action): Remove unused variables `value' and `start'.
4746 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
4747 variable `dir'. Doc fix.
4748 (windmove-find-other-window): Don't pass it.
4750 * window.el (count-windows): Mark unused parameter.
4751 (bw-adjust-window): Remove unused variable `err'.
4753 * woman.el (woman-file-name): Remove unused variable `default'.
4754 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
4755 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
4756 (global-font-lock-mode): Declare.
4757 (woman-decode-region): Mark unused parameter.
4758 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
4760 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
4761 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
4762 (x-dnd-handle-moz-url): Remove unused variable `title'.
4763 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
4765 * xml.el (xml-parse-tag, xml-parse-attlist):
4766 Remove unused variable `pos'.
4768 2011-04-19 Glenn Morris <rgm@gnu.org>
4770 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
4771 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4772 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4773 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
4774 * calendar/cal-html.el (cal-html-insert-minical):
4775 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
4776 (calendar-mark-date-pattern):
4777 Prefix "unused" locals.
4779 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
4780 optional argument `style'.
4782 * calendar/appt.el (appt-make-list):
4783 * calendar/cal-china.el (calendar-chinese-date-string):
4784 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
4785 (diary-hebrew-yahrzeit):
4786 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
4787 * calendar/calendar.el (calendar-generate-window):
4788 * calendar/time-date.el (time-to-days):
4789 Remove unused local variables.
4791 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
4793 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
4794 glyphless-char-display table.
4795 (tabulated-list-glyphless-char-display): New var.
4797 2011-04-18 Sam Steingold <sds@gnu.org>
4799 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
4802 2011-04-17 Glenn Morris <rgm@gnu.org>
4804 * calendar/diary-lib.el (diary-sexp-entry):
4805 * calendar/holidays.el (holiday-sexp):
4806 Set debug-on-error rather than the removed stack-trace-on-error.
4808 2011-04-16 Glenn Morris <rgm@gnu.org>
4810 * progmodes/f90.el: Use lexical-binding.
4811 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
4813 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4815 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
4816 (mail-mode): Setup mailalias completion here instead.
4817 * mail/mailalias.el: Use lexical-binding.
4818 (pattern, mailalias-done): Declare dynamic.
4819 (mail-completion-at-point-function): New function, from mail-complete.
4820 (mail-complete): Use it.
4821 (mail-completion-expand): New function.
4822 (mail-get-names): Use it.
4823 (mail-directory, mail-directory-process, mail-directory-stream):
4824 Don't use `pattern' for lexically bound arg.
4826 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
4828 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
4829 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
4830 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
4832 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
4833 (byte-save-window-excursion, byte-temp-output-buffer-setup)
4834 (byte-interactive-p): Define them again, for use when inlining
4837 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
4839 * loadup.el: Use `string-to-number', not `string-to-int'.
4841 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4843 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
4844 gud-gdb-complete-command.
4845 (gud-gdb-completions): New function, from gud-gdb-complete-command.
4846 (gud-gdb-completion-at-point): New function.
4847 (gud-gdb-completions): Remove.
4849 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
4851 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
4852 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
4853 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
4854 whether `executable-find' is bound.
4856 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
4858 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4860 * minibuffer.el (completion-in-region-mode-predicate)
4861 (completion-in-region-mode--predicate): New vars.
4862 (completion-in-region, completion-in-region--postch)
4863 (completion-in-region-mode): Use them.
4864 (completion--capf-wrapper): Also return the hook function.
4865 (completion-at-point, completion-help-at-point):
4866 Adjust and provide a predicate.
4868 Preserve arg names for advice of subr and lexical functions (bug#8457).
4869 * help-fns.el (help-function-arglist): Consolidate the subr and
4870 new-byte-code cases. Add argument `preserve-names' to extract names
4871 from the docstring when needed.
4872 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
4873 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
4874 (ad-arglist): Use help-function-arglist's new arg.
4875 (ad-definition-type): Use cond.
4877 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
4879 * autorevert.el (auto-revert-handler):
4880 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
4881 which was removed in revno:101730 (2010-10-02).
4884 * image-mode.el (image-transform-set-scale):
4885 Fix change in revno:103877 (2011-04-09).
4887 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4889 * net/network-stream.el (network-stream-open-starttls): Only do
4890 opportunistic STARTTLS upgrades if we have built-in gnutls support.
4891 Upgrades via gnutls-cli are too slow to be done opportunistically.
4893 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
4895 * dframe.el (dframe-current-frame): Remove spurious quote.
4897 2011-04-12 Glenn Morris <rgm@gnu.org>
4899 * calendar/cal-tex.el (cal-tex-end-document):
4900 Try to automatically use latin1 input if needed.
4902 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
4903 Don't try to cons a mark onto an empty element.
4905 2011-04-11 Leo Liu <sdl.web@gmail.com>
4907 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
4909 (ido-kill-buffer-at-head): Support killing virtual buffers.
4911 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
4913 * minibuffer.el (completion-show-inline-help): New var.
4914 (completion--do-completion, minibuffer-complete)
4915 (minibuffer-force-complete, minibuffer-complete-word):
4916 Inhibit minibuffer messages if completion-show-inline-help is nil.
4918 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
4919 to avoid interference from inline help (Bug#5849).
4921 2011-04-10 Leo Liu <sdl.web@gmail.com>
4923 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4926 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
4928 * image-mode.el (image-toggle-display-image): Signal an error if
4930 (image-transform-mode, image-transform-resize)
4931 (image-transform-set-rotation): Doc fix.
4932 (image-transform-set-resize): Delete.
4933 (image-transform-set-scale, image-transform-fit-to-height)
4934 (image-transform-fit-to-width): Handle image-toggle-display-image
4935 and image-transform-resize directly.
4937 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
4939 * doc-view.el (doc-view-fit-width-to-window)
4940 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
4941 New functions for fitting the shown image to the Emacs window size.
4942 (doc-view-mode-map): Add bindings for the new functions.
4944 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
4946 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
4947 Fix typo in docstring.
4949 2011-04-08 Eli Zaretskii <eliz@gnu.org>
4951 * files.el (file-size-human-readable): Produce one digit after
4952 decimal, like "ls -lh" does.
4954 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
4955 the file size representation.
4957 * simple.el (list-processes): If async subprocesses are not
4958 available, error out with a clear error message.
4960 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
4962 * help.el (help-form-show): New function, to be called from C.
4963 Put help-form output in a buffer named differently than *Help*.
4965 2011-04-08 Eli Zaretskii <eliz@gnu.org>
4967 * files.el (file-size-human-readable): New function.
4969 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
4970 computing the representation inline. Don't require `cl'.
4972 2011-04-08 Glenn Morris <rgm@gnu.org>
4974 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
4976 * net/browse-url.el (browse-url-firefox):
4977 Test system-type, not system-configuration.
4979 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
4980 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
4981 Use log-edit-empty-buffer-p. (Bug#7598)
4983 * net/rlogin.el (rlogin-process-connection-type): Simplify.
4984 (rlogin-mode-map): Initialize in the defvar.
4985 (rlogin): Use ignore-errors.
4987 * replace.el (occur-mode-map): Some fixes for menu items.
4989 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4991 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
4993 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
4995 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
4996 issuing unused warnings.
4998 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
5001 * simple.el: Lisp reimplement of list-processes. Based on an
5002 earlier reimplementation by Leo Liu, but using tabulated-list.el.
5003 (process-menu-mode): New major mode.
5004 (list-processes--refresh, list-processes):
5005 (process-menu-visit-buffer): New functions.
5007 * files.el (save-buffers-kill-emacs): Don't assume any return
5008 value of list-processes, which is undocumented anyway.
5010 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
5012 * emacs-lisp/tabulated-list.el: New file.
5014 * emacs-lisp/package.el: Use Tabulated List mode.
5015 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
5016 (package-menu-mode): Derive from tabulated-list-mode. Set up the
5017 table format using Tabulated List mode variables.
5018 (package--push): New macro, replacing package-list-maybe-add.
5019 (package-menu--generate): Use package--push. Renamed from
5020 package--generate-package-list.
5021 (package-menu-refresh, list-packages): Use it.
5022 (package-menu--print-info): Rename from package-print-package.
5023 Return insertion data instead of inserting it directly.
5024 (package-menu-describe-package, package-menu-execute):
5025 Use tabulated-list-get-id.
5026 (package-menu-mark-delete, package-menu-mark-install)
5027 (package-menu-mark-unmark, package-menu-backup-unmark)
5028 (package-menu-mark-obsolete-for-deletion):
5029 Use tabulated-list-put-tag.
5030 (package--list-packages, package-menu-revert)
5031 (package-menu-get-package, package-menu-get-version)
5032 (package-menu-sort-by-column): Functions deleted.
5033 (package-menu-package-list, package-menu-sort-key): Vars deleted.
5034 (package-menu--status-predicate, package-menu--version-predicate)
5035 (package-menu--name-predicate)
5036 (package-menu--description-predicate): Handle arguments in the
5037 Tabulated List format.
5038 (package-list-packages-no-fetch): Call list-packages.
5040 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
5042 * files.el (after-find-file-from-revert-buffer): Remove variable.
5043 (after-find-file): Don't bind it.
5044 (revert-buffer-in-progress-p): New variable.
5045 (revert-buffer): Bind it.
5046 Pass nil for `after-find-file-from-revert-buffer'.
5048 * saveplace.el (save-place-find-file-hook): Use new variable
5049 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
5051 2011-04-06 Glenn Morris <rgm@gnu.org>
5053 * Makefile.in (AUTOGEN_VCS): New variable.
5054 (autoloads): Use $AUTOGEN_VCS.
5056 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
5057 * calendar/calendar.el (calendar-mode-map):
5058 Check for toolkit scroll bars. (Bug#8305)
5060 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
5062 * minibuffer.el (completion-in-region--postch)
5063 (completion-in-region-mode): Remove unnecessary messages.
5065 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
5067 * font-lock.el (font-lock-refresh-defaults):
5068 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
5069 revno:99634.2.463 (2010-10-09) and revno:101913 (2010-10-12).
5071 * info.el (Info-directory-list, Info-read-node-name-2)
5072 (Info-split-parameter-string): Doc fixes.
5073 (Info-virtual-nodes): Reflow docstring.
5074 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
5075 (Info-apropos-toc-nodes, info-finder, Info-get-token)
5076 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
5077 Fix typos in docstrings.
5078 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
5079 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
5080 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
5081 (Info-restore-desktop-buffer): Mark unused parameters.
5082 (Info-directory-find-file, Info-directory-find-node)
5083 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
5084 (Info-virtual-index-find-node, Info-apropos-find-file)
5085 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
5086 Mark unused parameters; fix typos in docstrings.
5087 (Info-virtual-index): Remove unused local variable `nodename'.
5089 2011-04-05 Deniz Dogan <deniz@dogan.se>
5091 * net/rcirc.el: Update my e-mail address.
5092 (rcirc-mode-map): Remove M-o binding.
5094 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
5096 * startup.el (command-line): Save the cursor's theme-face
5097 directly, instead of using face-override-spec.
5099 * custom.el (load-theme): Minor optimization in assigning faces.
5101 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
5103 * help-fns.el (describe-variable): Complete all variables having
5104 documentation, including keywords.
5105 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
5107 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
5109 Convert to lexical-binding.
5111 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
5112 (bs--get-marked-string, bs--get-modified-string)
5113 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
5114 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
5115 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
5117 * ehelp.el (electric-help-execute-extended)
5118 (electric-help-ctrl-x-prefix):
5119 * hexl.el (hexl-revert-buffer-function):
5120 * linum.el (linum-after-change, linum-after-scroll):
5121 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
5123 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
5125 2011-04-04 Daiki Ueno <ueno@unixuser.org>
5132 * epg.el: Use lexical binding.
5134 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
5136 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
5138 * textmodes/flyspell.el (flyspell-word): Recognize default
5139 dictionary case for flyspell-mark-duplications-exceptions.
5140 Use regexp matching for languages.
5141 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
5142 default dictionary (Bug#7926).
5144 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
5146 * emacs-lisp/package.el (package--with-work-buffer):
5147 Recognize https URLs.
5149 * net/network-stream.el: Move from gnus/proto-stream.el.
5150 Change prefix to network-stream throughout.
5151 (open-protocol-stream): Merge into open-network-stream, leaving
5152 open-protocol-stream as an alias. Handle nil BUFFER args.
5154 * subr.el (open-network-stream): Move to net/network-stream.el.
5156 2011-04-02 Glenn Morris <rgm@gnu.org>
5158 * find-dired.el (find-exec-terminator): New option.
5159 (find-ls-option): Test for -ls support.
5160 (find-ls-subdir-switches): Test for -b in find-ls-option.
5161 (find-dired, find-grep-dired): Doc fixes.
5162 (find-dired): Use find-exec-terminator.
5164 * find-dired.el (find-ls-option, find-ls-subdir-switches)
5165 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
5166 (find-name-arg): Remove purecopy.
5168 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
5169 (grep-compute-defaults): Check for `-exec COMMAND +' support.
5170 Set grep-find-use-xargs, grep-find-command, and grep-find-template
5171 accordingly. Don't add the null-device if not needed.
5173 * files.el (save-some-buffers): Doc fix.
5175 2011-04-02 Eli Zaretskii <eliz@gnu.org>
5177 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
5179 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
5181 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
5182 Use `dolist' rather than `mapcar'.
5184 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
5186 Add lexical binding.
5188 * subr.el (apply-partially): Use new closures rather than CL.
5189 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
5190 (dolist, dotimes): Use slightly different expansion for lexical code.
5191 (functionp): Move to C.
5192 (letrec): New macro.
5193 (with-wrapper-hook): Use it and apply-partially instead of CL.
5194 (eval-after-load): Preserve lexical-binding.
5195 (save-window-excursion, with-output-to-temp-buffer): Turn them
5198 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
5200 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
5202 (help-add-fundoc-usage): Don't add `Not documented'.
5203 (help-function-arglist): Handle closures, subroutines, and new
5204 byte-code-functions.
5205 (help-make-usage): Remove leading underscores.
5206 (describe-function-1): Handle closures.
5207 (describe-variable): Use special-variable-p for completion.
5209 * files.el (lexical-binding): Declare safe.
5211 * emacs-lisp/pcase.el: Don't use destructuring-bind.
5212 (pcase--memoize): Rename from pcase-memoize. Change weakness.
5213 (pcase): Add `let' pattern.
5214 Change memoization so it actually works.
5215 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
5216 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
5219 * emacs-lisp/macroexp.el: Use lexical binding.
5220 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
5221 Don't convert ' to #' without checking that it's indeed quoting
5224 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
5225 Use eval-sexp-add-defvars.
5226 (eval-sexp-add-defvars): New fun.
5228 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
5230 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
5232 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
5233 than the internal `byte-compile-lambda'.
5234 (defmethod): Don't hide code under quotes.
5235 (eieio-defmethod): New `code' argument.
5237 * emacs-lisp/eieio-comp.el: Remove.
5239 * emacs-lisp/edebug.el (edebug-eval-defun)
5240 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
5241 (edebug-toggle): Avoid `eval'.
5243 * emacs-lisp/disass.el (disassemble-internal): Handle new
5245 (disassemble-1): Handle new byte codes.
5247 * emacs-lisp/cl.el (pushnew): Silence warning.
5249 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
5250 (cl-byte-compile-throw): Remove.
5251 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
5253 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
5256 * emacs-lisp/cconv.el: New file.
5258 * emacs-lisp/bytecomp.el: Use lexical binding instead of
5259 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
5260 (byte-compile-initial-macro-environment):
5261 Handle declare-function here.
5262 (byte-compile--lexical-environment): New var.
5263 (byte-stack-ref, byte-stack-set, byte-discardN)
5264 (byte-discardN-preserve-tos): New lap codes.
5265 (byte-interactive-p): Don't use any more.
5266 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
5268 (byte-compile-lapcode): Use them and handle new lap codes.
5269 (byte-compile-obsolete): Remove.
5270 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
5271 (byte-compile-arglist-warn): Check late def of inlinable funs.
5272 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
5273 since they should have been expanded by now.
5274 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
5275 (byte-compile-from-buffer): Remove unused second arg.
5276 (byte-compile-preprocess): New function.
5277 (byte-compile-toplevel-file-form): New function to distinguish
5278 file-form calls from outside from file-form calls from hunk-handlers.
5279 (byte-compile-file-form): Simplify.
5280 (byte-compile-file-form-defsubst): Remove.
5281 (byte-compile-file-form-defmumble): Simplify now that
5282 byte-compile-lambda always returns a byte-code-function.
5283 (byte-compile): Preprocess.
5284 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
5285 Remove, not used any more.
5286 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
5287 (byte-compile-make-args-desc): New funs.
5288 (byte-compile-lambda): Handle lexical functions. Always return
5289 a byte-code-function.
5290 (byte-compile-reserved-constants): New var, to make up room for
5291 closed-over variables.
5292 (byte-compile-constants-vector): Obey it.
5293 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
5294 (byte-compile-macroexpand-declare-function): New function.
5295 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
5296 byte-code-functions.
5297 (byte-compile-form): Check obsolescence here.
5298 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
5299 (byte-compile-variable-ref): Remove.
5300 (byte-compile-dynamic-variable-op): New fun.
5301 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5302 (byte-compile-variable-set): New funs.
5303 (byte-compile-discard): Add 2 args.
5304 (byte-compile-stack-ref, byte-compile-stack-set)
5305 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
5306 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
5307 macroexpand-all instead.
5308 (byte-compile-quote-form): Remove.
5309 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
5310 (byte-compile-bind, byte-compile-unbind): New funs.
5311 (byte-compile-let): Handle let* and lexical binding.
5312 (byte-compile-let*): Remove.
5313 (byte-compile-catch, byte-compile-unwind-protect)
5314 (byte-compile-track-mouse, byte-compile-condition-case):
5315 Handle a new :fun-body form, used for lexical scoping.
5316 (byte-compile-save-window-excursion)
5317 (byte-compile-with-output-to-temp-buffer): Remove.
5318 (byte-compile-defun): Simplify.
5319 (byte-compile-stack-adjustment): New fun.
5320 (byte-compile-out): Use it.
5321 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
5323 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
5326 * emacs-lisp/byte-opt.el: Use lexical binding.
5327 (byte-inline-lapcode): Remove (to bytecomp).
5328 (byte-compile-inline-expand): Pay attention to inlining to/from
5329 lexically bound code.
5330 (byte-compile-unfold-lambda): Don't handle byte-code-functions
5332 (byte-optimize-form-code-walker): Don't handle save-window-excursion
5333 any more and don't call compiler-macros.
5334 (byte-compile-splice-in-already-compiled-code): Remove.
5335 (byte-code): Don't inline any more.
5336 (disassemble-offset): Receive `bytes' as argument rather than via
5338 (byte-compile-tag-number): Declare before first use.
5339 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
5340 `return' even if make-spliceable.
5341 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
5342 obsolete interactive-p.
5343 (byte-optimize-lapcode): Optimize new lap-codes.
5344 Don't trip up on new form of `byte-constant' lap code.
5346 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
5348 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
5350 * custom.el (custom-initialize-default, custom-declare-variable):
5353 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
5355 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
5356 (COMPILE_FIRST): Add macroexp and cconv.
5357 * makefile.w32-in: Mirror changes in Makefile.in.
5363 * vc/smerge-mode.el:
5364 * textmodes/bibtex-style.el:
5373 * emacs-lisp/smie.el:
5376 * abbrev.el: Use lexical binding.
5378 2011-04-01 Eli Zaretskii <eliz@gnu.org>
5380 * info.el (info-display-manual): New function.
5382 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
5384 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
5386 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
5388 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
5389 an entry for that server in rcirc-authinfo. (Bug#8385)
5391 2011-03-31 Glenn Morris <rgm@gnu.org>
5393 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
5395 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
5397 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
5399 * progmodes/python.el (python-default-interpreter)
5400 (python-python-command-args, python-jython-command-args)
5401 (python-which-shell, python-which-args, python-which-bufname)
5402 (python-file-queue, python-comint-output-filter-function)
5403 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
5404 variables and functions.
5406 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5408 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
5409 (completion-in-region-mode): New minor mode.
5410 (completion-in-region): Use it.
5411 (completion-in-region--data, completion-in-region-mode-map): New vars.
5412 (completion-in-region--postch): New function.
5413 (completion--capf-misbehave-funs, completion--capf-safe-funs):
5415 (completion--capf-wrapper): New function.
5416 (completion-at-point): Use it to track well-behavedness of
5418 (completion-help-at-point): New command.
5420 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
5422 * vc/add-log.el (add-change-log-entry): Don't use whitespace
5423 syntax class to search for whitespace on a single line
5424 (Message-ID: <4D938140.4030905@redhat.com>).
5426 2011-03-30 Leo Liu <sdl.web@gmail.com>
5428 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
5430 (edit-abbrevs-map): Bind them here.
5431 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
5433 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
5435 * allout.el (allout-hide-by-annotation, allout-flag-region):
5436 Reduce possibility of overlay leakage by making them volatile.
5438 * allout-widgets.el (allout-widgets-tally): Define as nil so the
5439 hash is not shared between buffers. Mode initialization is
5440 responsible for giving it a useful starting value.
5441 (allout-item-span): Reduce possibility of overlay leakage by
5442 making them volatile.
5443 (allout-widgets-count-buttons-in-region): Add diagnostic function
5444 for tracking down button overlay leaks.
5446 2011-03-29 Leo Liu <sdl.web@gmail.com>
5448 * ido.el (ido-read-internal): Use the default history var
5449 minibuffer-history if no HISTORY is specified.
5451 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
5453 * net/imap.el (imap-shell-open, imap-process-connection-type):
5454 Use imap-process-connection-type for 'shell' streams as well as
5455 Kerberos, SSL, other subprocesses.
5457 2011-03-28 Leo Liu <sdl.web@gmail.com>
5459 * abbrev.el (abbrev-table-empty-p): New function.
5460 (prepare-abbrev-list-buffer): Place empty abbrev tables after
5461 nonempty ones. (Bug#5937)
5463 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
5465 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
5467 2011-03-27 Leo Liu <sdl.web@gmail.com>
5469 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
5470 for foreground and background colors.
5471 (ansi-color-make-color-map): Adapt.
5473 2011-03-25 Leo Liu <sdl.web@gmail.com>
5475 * midnight.el (midnight-time-float): Remove. Note it calculates
5476 the microsecond component incorrectly and seconds-to-time does the
5478 Remove redundant (require 'timer).
5480 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
5481 (ido-completions): Remove unused arguments. (Bug#8329)
5483 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
5485 * minibuffer.el (completion--flush-all-sorted-completions):
5486 Remove itself from hook.
5487 (completion-at-point): Let the functions perform the completion
5488 immediately and return nil or t.
5489 * comint.el (comint-dynamic-complete-functions): Now identical to
5490 completion-at-point-functions.
5491 (comint-dynamic-list-input-ring): Remove unused var `index'.
5492 (comint--match-partial-filename, comint--unquote&expand-filename):
5493 New funs, split from comint-match-partial-filename.
5494 (comint-dynamic-complete): Use completion-at-point.
5495 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
5497 2011-03-24 Drew Adams <drew.adams@oracle.com>
5499 * thingatpt.el: Support `defun'.
5501 2011-03-23 Leo Liu <sdl.web@gmail.com>
5503 * abbrevlist.el: Move to obsolete/abbrevlist.el.
5505 * help-mode.el (help-mode-finish): Tweak regexp.
5507 2011-03-23 Glenn Morris <rgm@gnu.org>
5509 * eshell/esh-opt.el (eshell-eval-using-options):
5510 Do not bind unused local variable `eshell-option-stub'.
5512 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
5514 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
5516 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
5517 keymap variable in `with-no-warnings' to avoid a warning when the
5518 keymap has been already `defconst'ed.
5520 2011-03-22 Leo Liu <sdl.web@gmail.com>
5522 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
5523 encode all chars in abbrevs; otherwise use emacs-mule or
5524 utf-8-emacs. (Bug#8308)
5526 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
5528 * simple.el (backward-delete-char-untabify):
5529 Avoid warning about using `delete-backward-char'.
5531 * image.el (image-type-file-name-regexps): Make it variable.
5532 `imagemagick-register-types' modifies it, and the user may want
5533 to add new extensions for known image types.
5534 (imagemagick-register-types): Throw error if not using ImageMagick.
5536 2011-03-22 Leo Liu <sdl.web@gmail.com>
5538 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
5539 located before rcirc-prompt-end-marker.
5540 (rcirc-complete): Error if point is not after rcirc prompt.
5541 Handle the case when table is nil.
5542 (rcirc-user-authenticated): Define to fix compiler warning.
5544 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
5546 * custom.el (custom--inhibit-theme-enable): Make it affect only
5547 custom-theme-set-variables and custom-theme-set-faces.
5548 (provide-theme): Ignore custom--inhibit-theme-enable.
5549 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
5550 (custom-enabling-themes): Delete variable.
5551 (enable-theme): Accept only loaded themes as arguments.
5552 Ignore the special custom-enabled-themes variable.
5553 (custom-enabled-themes): Forbid themes from setting this.
5554 Eliminate use of custom-enabling-themes.
5555 (custom-push-theme): Quote "changed" custom var entry.
5557 2011-03-21 Leo Liu <sdl.web@gmail.com>
5559 * ido.el (ido-read-internal): Add ido-selected to history instead
5562 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5564 * subr.el (deferred-action-list, deferred-action-function):
5567 2011-03-21 Leo Liu <sdl.web@gmail.com>
5569 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
5570 change on 2011-02-13 (bug#8309).
5572 * minibuffer.el (read-file-name-function): Change default value.
5573 (read-file-name--defaults): Rename from read-file-name-defaults.
5574 (read-file-name-default): Rename from read-file-name.
5575 (read-file-name): Call read-file-name-function.
5577 2011-03-21 Glenn Morris <rgm@gnu.org>
5579 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
5582 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
5584 * cus-theme.el: Add missing provide statement.
5585 (customize-create-theme): Extract theme value correctly.
5586 (custom-theme-visit-theme): Autoload.
5587 (customize-create-theme): Prompt before inserting default faces.
5589 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
5591 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
5592 units and musical notes.
5594 2011-03-20 Leo <sdl.web@gmail.com>
5596 * ido.el (ido-read-internal): Use completing-read-default.
5597 (ido-completing-read): Fix compatibility with completing-read.
5599 2011-03-20 Christian Ohler <ohler@gnu.org>
5601 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
5602 (ert-delete-all-tests): Use `called-interactively-p' rather than
5604 (ert--make-xrefs-region): Respect END.
5606 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
5608 * dired-aux.el (dired-create-directory): Signal an error if the
5609 directory already exists (Bug#8246).
5611 * facemenu.el (list-colors-display): Call list-faces-display
5612 inside with-help-window.
5613 (list-colors-print): Use display property to align the final
5614 column, instead of checking window-width.
5616 2011-03-19 Eli Zaretskii <eliz@gnu.org>
5618 * emerge.el (emerge-metachars): Separate value for ms-dos and
5620 (emerge-protect-metachars): Quote correctly for ms-dos and
5623 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
5625 * info.el (info-initialize): Replace all uses of `:' with
5626 path-separator for compatibility with non-Unix systems.
5627 Cache quoting of path-separator. (Bug#8258)
5629 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
5631 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
5632 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
5633 (mouse-avoidance-mode): Fix typos in docstrings.
5635 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
5637 * startup.el (package-subdirectory-regexp): Move from package.el.
5638 Omit \\` and \\', and let callers add them.
5640 * emacs-lisp/package.el (package-strip-version)
5641 (package-load-all-descriptors): Add \\` and \\' to
5642 package-subdirectory-regexp before using it.
5643 (package-untar-buffer): New arg DIR; ensure that file untars only
5644 into this expected directory. Remove superfluous delete-region.
5645 (package-unpack): Caller changed.
5646 (package-tar-file-info): Use package-subdirectory-regexp.
5648 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
5650 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
5651 diff-mode-shared-map (bug#8284).
5652 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
5654 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5656 * calendar/time-date.el (format-seconds): Use assoc instead of
5657 assoc-string, since assoc-string doesn't exist in XEmacs.
5659 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
5661 * custom.el (custom-known-themes): Reflow docstring.
5662 (custom-theme-load-path): Fix typo in docstring.
5663 (load-theme): Fix typo in error message.
5664 (custom-available-themes, custom-variable-theme-value):
5665 Use `let', not `let*'.
5667 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
5669 * calc/README: Mention inclusion of musical notes.
5671 * calc/calc-units.el (calc-lu-quant): Rename from
5672 `calc-logunits-quantity'.
5673 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
5674 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
5675 (calc-db): Rename from `calc-dblevel'.
5676 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
5677 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
5678 (calc-np): Rename from `calc-nplevel'.
5679 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
5680 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
5681 (calc-lu-plus): Rename from `calc-logunits-add'.
5682 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
5683 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
5684 (calc-lu-minus): Rename from `calc-logunits-sub'.
5685 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
5686 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
5687 (calc-lu-times): Rename from `calc-logunits-mul'.
5688 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
5689 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
5690 (calc-lu-divide): Rename from `calc-logunits-div'.
5691 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
5692 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
5694 * calc/calc-ext.el (calc-init-extensions): Update the names of the
5695 functions being autoloaded.
5697 * calc/calc.el (calc-lu-power-reference): Rename from
5698 `calc-logunits-power-reference'.
5699 (calc-lu-field-reference): Rename from
5700 `calc-logunits-field-reference'.
5702 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
5704 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
5706 * minibuffer.el (completion-all-sorted-completions):
5707 Use :completion-cycle-penalty text property if present.
5709 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
5711 * allout.el (allout-yank-processing): Adjust for new rebulleting
5712 regime so bullet being yanked is used without prompting the user
5715 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
5717 * startup.el (command-line): Warn the user that _emacs is deprecated.
5719 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
5721 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
5722 (delphi-verbose, delphi-comment-face, delphi-string-face)
5723 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
5724 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
5725 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
5726 (delphi-new-comment-line, delphi-font-lock-defaults)
5727 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
5728 Fix typos in docstrings.
5730 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
5732 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
5733 Invert the roles of character and string values for INSTEAD, so a
5734 string is used for the more common case of a defaulting prompt.
5736 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5738 * progmodes/ruby-mode.el (ruby-backward-sexp):
5739 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
5740 * play/gamegrid.el (gamegrid-make-face):
5741 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
5742 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
5743 * notifications.el (notifications-notify):
5744 * net/xesam.el (xesam-search-engines):
5745 * net/quickurl.el (quickurl-list-insert):
5746 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
5748 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
5750 * startup.el (command-line): Update package subdirectory regexp.
5752 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5754 * allout.el (allout-abbreviate-flattened-numbering)
5755 (allout-mode-deactivate-hook): Fix up obsolescence "date".
5757 * subr.el (read-char-choice): Only show the cursor after the prompt,
5758 not after the answer.
5760 2011-03-15 Kevin Ryde <user42@zip.com.au>
5762 * help-fns.el (variable-at-point): Skip leading quotes, if any
5765 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5767 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
5770 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
5772 * shell.el (shell): When called interactively, offer to change the
5773 shell file name on remote hosts.
5775 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
5777 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
5778 integration for LDAP parameters. The host, base, user or binddn,
5779 and secret tokens can be specified in a netrc file, for instance.
5780 This is optional because an `auth-source' parameter must be
5781 specified in the search attributes.
5783 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
5785 * help.el (describe-mode): Link to the mode's definition (bug#8185).
5787 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5789 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
5790 into declaration. Remove redundant and harmful binding.
5792 2011-03-12 Eli Zaretskii <eliz@gnu.org>
5794 * files.el (file-ownership-preserved-p): Pass `integer' as an
5795 explicit 2nd argument to `file-attributes'. If the file's owner
5796 is the Administrators group on Windows, and the current user is
5797 Administrator, consider that a match.
5799 * server.el (server-ensure-safe-dir): Consider server directory
5800 safe on MS-Windows if its owner is the Administrators group while
5801 the current Emacs user is Administrator. Use `=' to compare
5802 numerical UIDs, since they could be integers or floats.
5804 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
5806 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
5808 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
5810 Sync with Tramp 2.2.1.
5812 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
5814 * net/trampver.el: Update release number.
5816 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5818 * progmodes/compile.el (compilation--previous-directory): Fix up
5819 various nil/dead-marker mismatches (bug#8014).
5820 (compilation-directory-properties, compilation-error-properties):
5821 Don't call it at a position past the one we're about to change.
5823 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
5824 Disable obsolescence warnings in the file that declares it.
5826 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
5828 * allout-widgets.el (allout-widgets-tally):
5829 Initialize allout-widgets-tally as a hash table rather than nil to
5830 prevent mode-line redisplay warnings. Also, clarify the module
5831 description and fix a comment typo.
5833 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
5835 * help-fns.el (describe-variable): Don't complete keywords.
5836 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
5838 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
5840 * emacs-lisp/package.el (package-version-join): Impose a standard
5841 string representation for pre/alpha/beta version lists.
5842 (package-unpack-single): Standardize the directory name by passing
5843 it through package-version-join.
5844 (package-strip-rcs-id): Accept any version string that does not
5845 signal an error in version-to-list.
5847 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
5849 * simple.el (delete-trailing-whitespace): Return nil for the
5850 benefit of `write-file-functions'.
5852 2011-03-10 Glenn Morris <rgm@gnu.org>
5854 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
5856 * vc/vc-git.el (vc-git-program): New option.
5857 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
5858 (vc-git--call): Use it.
5860 * eshell/esh-util.el (eshell-condition-case): Doc fix.
5862 * cus-edit.el (Custom-newline): If no button at point, look
5863 for a subgroup button at start-of-line. (Bug#2298)
5865 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
5867 2011-03-10 Julien Danjou <julien@danjou.info>
5869 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
5870 `cursor-type' is nil.
5872 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
5874 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
5876 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
5878 * allout.el Summary: Change so yank of distinctive-bullet items
5879 preserves the existing header prefix, rebulleting it if necessary,
5880 rather than replacing it. This is necessary for proper operation
5881 of cooperative addons like allout-widgets.
5882 (allout-make-topic-prefix, allout-rebullet-heading): Change
5883 SOLICIT arg to INSTEAD, and interpret additionally a string value
5884 as alternate bullet to be used, instead of prompting the user for
5887 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
5889 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5890 Do not use `tramp-file-name-port', because this returns also
5891 `tramp-default-port'.
5893 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5895 * net/rcirc.el (rcirc-handler-001): Remove useless
5896 with-rcirc-process-buffer.
5897 (rcirc-check-auth-status): Swap arguments to string-match.
5899 2011-03-09 Glenn Morris <rgm@gnu.org>
5901 * shell.el (shell-mode):
5902 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
5904 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
5905 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
5907 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
5909 * emacs-lisp/package.el (package-refresh-contents)
5910 (package-menu-execute): Use condition-case-no-debug.
5912 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
5914 * simple.el (shell-command-to-string): Use `process-file'.
5916 * emacs-lisp/package.el (package-tar-file-info): Handle also
5919 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5920 Use `equal' for upload base check.
5922 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
5924 * textmodes/texinfo.el (texinfo-environments):
5925 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
5927 2011-03-08 Glenn Morris <rgm@gnu.org>
5929 * cus-start.el (cursor-in-non-selected-windows):
5930 Fix :set quoting oddness. (Bug#8192)
5932 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
5933 in some setf expressions. (Bug#2159)
5935 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
5937 * custom.el (custom-available-themes): Return themes in
5940 See ChangeLog.15 for earlier changes.
5946 Copyright (C) 2011 Free Software Foundation, Inc.
5948 This file is part of GNU Emacs.
5950 GNU Emacs is free software: you can redistribute it and/or modify
5951 it under the terms of the GNU General Public License as published by
5952 the Free Software Foundation, either version 3 of the License, or
5953 (at your option) any later version.
5955 GNU Emacs is distributed in the hope that it will be useful,
5956 but WITHOUT ANY WARRANTY; without even the implied warranty of
5957 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5958 GNU General Public License for more details.
5960 You should have received a copy of the GNU General Public License
5961 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.