2009-04-30 Alan Mackenzie Enhancements for Objective-C: * progmodes/cc-vars.el (c-objc-method-arg-min-delta-to-bracket) (c-objc-method-arg-unfinished-offset) (c-objc-method-parameter-offset): New variables. (c-offsets-alist): Use c-lineup-ObjC-method-call-colons in entry for objc-method-call-cont. * progmodes/cc-langs.el (c-constant-kwds): New ObjC keywords "YES", "NO", "NS_DURING", "NS_HANDLER", "NS_ENDHANDLER". * progmodes/cc-align.el (c-lineup-ObjC-method-call-colons): New function. 2009-04-29 Chong Yidong * subr.el (assoc-default): Doc fix. 2009-04-29 Ulrich Mueller * files.el (hack-local-variables-prop-line) (hack-local-variables, dir-locals-read-from-file): Bind read-circle to nil before reading. 2009-04-28 Geert Kloosterman (tiny change) * progmodes/which-func.el (which-function): Don't assume that entries from `imenu--index-alist' are ordered by buffer position, which fails when submenus are present (Bug#3153). 2009-04-28 Stefan Monnier * international/quail.el (quail-vunion): Remove unexplained nreverse. 2009-04-28 Nick Roberts * progmodes/gdb-ui.el (gdb-tooltip-print): Avoid "Non-X frame used" error with gud-tooltip-mode in the Linux console. 2009-04-28 Chong Yidong * tooltip.el (tooltip-show-help): Fall back on tooltip-show-help-non-mode for text-only displays. 2009-04-27 Jay Belanger * calc/calc.el (calc-mode): Replace `copy-list' with `copy-sequence'. 2009-04-26 Jay Belanger * calc/calc.el (calc-set-mode-line): Check to make sure that the correct Calc buffer gets "Embed" in the mode line. (calc-mode): Copy stack list for additional Calc buffers. 2009-04-25 Chong Yidong * simple.el (line-move-visual): If point is stuck moving backwards against a display string, temporarily ignore the goal column (Bug#3020). * startup.el (normal-top-level): Implement a work-around to handle changes to face-font-rescale-alist during initialization (Bug#1785). 2009-04-24 Michael Albinus * net/tramp.el (tramp-handle-directory-files-and-attributes-with-stat) (tramp-handle-file-name-all-completions): Don't use "-b" as ls arg. It does not work on OpenBSD. Reported by Taylor Venable . 2009-04-23 Chong Yidong * hi-lock.el (hi-lock--inhibit-font-lock-hook): New var. (hi-lock-set-pattern, hi-lock-font-lock-hook): Use it (Bug#3068). 2009-04-21 Martin Rudalics * diff-mode.el (diff-find-source-location): Don't call diff-sanity-check-hunk when NOPROMPT is non-nil. (Bug#3033) 2009-04-21 Kenichi Handa * international/uni-decomposition.el: Re-generated. 2009-04-20 Roland Winkler * proced.el (proced-sort): Declare it buffer-local. (proced-send-signal): Handle non-nil signals. 2009-04-18 Jason Rumney * facemenu.el (list-colors-duplicates): w32-default-color-map is a function (Bug#3044). 2009-04-18 ARISAWA Akihiro * epa-file.el (epa-file-decode-and-insert): Use string-to-multibyte instead of set-buffer-multibyte. 2009-04-18 Yann Hodique (tiny change) * net/rcirc.el (rcirc): Use correct property names (Bug#3037). 2009-04-18 Chong Yidong * thingatpt.el (thing-at-point-bounds-of-list-at-point): New function (Bug#3027). 2009-04-17 Kenichi Handa * international/uni-decomposition.el: Re-generated. 2009-04-16 Chong Yidong * textmodes/flyspell.el (flyspell-correct-word-before-point): Don't create markers. (tex-mode-flyspell-verify): Don't create markers. Use line-end-position. (sgml-mode-flyspell-verify): Don't create markers. Simplify code using looking-at and looking-back. 2009-04-16 Robert Brown (tiny change) * emacs-lisp/lisp-mode.el: Give `deftype' a doc-string-elt property (Bug#2984). 2009-04-16 Leo (tiny change) * ediff-wind.el (ediff-make-wide-display): Fix typo in frame parameter alist. 2009-04-15 William Xu * outline.el (hide-sublevels): Ensure that arguments are passed to outline-flag-region in the correct order (Bug#3000). 2009-04-15 Katsumi Yamaoka * net/browse-url.el (browse-url-filename-alist): Correct file URI (Bug#2922). 2009-04-15 Chong Yidong * subr.el (posn-col-row): Properly compute line spacing. Suggested by Nikolaj Schumacher (Bug#2933). 2009-04-15 Ulf Jasper * net/newst-treeview.el (newsticker-treeview-jump): Enable virtual feeds. 2009-04-15 Dan Nicolaescu * vc-svn.el (vc-svn-after-dir-status): Fix regexp to allow for file names with leading spaces. Ignore "." if it appears as a filename. 2009-04-14 Juanma Barranquero * help-at-pt.el (help-at-pt-kbd-string): Reflow docstring. (scan-buf-previous-region): Fix typo in docstring. 2009-04-14 Edward Wiebe (tiny change) * jit-lock.el (jit-lock-stealth-chunk-start): Fix typo in docstring. 2009-04-14 Michael Albinus * net/tramp.el (tramp-handle-dired-recursive-delete-directory): Fix an error in flushing cache data. (tramp-handle-process-file): Flush all file cache values for the connection, because the remote process could have changed them. Suggested by Stefan Monnier . Handle QUIT. * net/tramp-cmds.el (tramp-cleanup-connection): Flush cache data of directory "". 2009-04-14 Stefan Monnier * minibuffer.el (completion--try-word-completion): Don't disable `partial-completion' any more. Mark the added char instead. (completion-pcm--string->pattern): Notice chars added by completion--try-word-completion and treat them specially. (bug#2957) 2009-04-13 Jason Rumney * faces.el (frame-set-background-mode): Window system frames default to light. Use default in cases where specified color does not exist (Bug#2969). 2009-04-13 Kenichi Handa * language/japanese.el (cp932): Delete alias for japanese-shift-jis. 2009-04-12 Michael Albinus * net/tramp.el (tramp-do-copy-or-rename-file-directly): Overwrite always the tmpfile. (Bug#2962). 2009-04-11 Chong Yidong * files.el (dir-locals-directory-cache): Change format to include the mtime of the directory-local variables file (Bug#2833). (dir-locals-set-directory-class): New arg mtime. Store it in dir-locals-directory-cache. (dir-locals-find-file): Check cache validity using the mtime. (dir-locals-read-from-file): Save the file mtime in the cache. (hack-dir-local-variables): Adapt to new dir-locals-directory-cache entry format. * international/mule-diag.el (describe-font-internal): Rename ignored argument to IGNORED. (describe-font): Elide unnecessary argument to describe-font-internal (Bug#2945). 2009-04-10 Richard M Stallman * mail/rmailedit.el (rmail-cease-edit): Call rmail-modify-format. * vc-dir.el (vc-dir): Doc fix. 2009-04-10 Eli Zaretskii * mail/unrmail.el (unrmail): If "Mail-From" header is found, append a newline to it. * mail/rmail.el (rmail-unrmail-new-mail) (rmail-unrmail-new-mail-maybe): New functions. (rmail-insert-inbox-text): Use rmail-unrmail-new-mail-maybe to convert Babyl-formatted new mail to mbox format. (Bug#2942) 2009-04-09 Kim F. Storm * emulation/cua-rect.el (cua--indent-rectangle): Insert tabs using tab-to-tab-stop to respect indent-tabs-mode. 2009-04-09 Richard M Stallman * mail/rmailkwd.el (rmail-set-label): Warn if multipe labels spec'd. (rmail-kill-label, rmail-add-label): Doc fixes. * mail/rmailout.el (rmail-output): If file is visited, check the buffer's format. * mail/rmailout.el (rmail-convert-to-babyl-format): Don't set "unseen". * mail/rmailout.el (rmail-output-to-rmail-buffer): Call rmail-modify-format. Don't query before visiting a Babyl file. Instead, query before modifications that would save it. * mail/rmail.el (rmail-was-converted): New variable. (rmail-seriously-modified): New variable. (rmail-perm-variables): Set them to nil. (rmail-convert-babyl-to-mbox): Don't query about converting Babyl file. Instead, set rmail-was-converted. (rmail-modify-format): New function. Query if save will change format. (rmail-dont-modify-format): New function. (rmail-duplicate-message, rmail-get-new-mail): Call rmail-modify-format. (rmail-set-header): Call rmail-dont-modify-format. (rmail-set-attribute): Likewise. (rmail-expunge-confirmed): Call rmail-modify-format. * mail/sendmail.el (sendmail-send-it): Replace any pre-existing Content-type header if we insert one. 2009-04-09 Michael Albinus * net/tramp.el (tramp-file-name-handler-alist): Add `vc-registered'. (tramp-handle-vc-registered): New defun. (Bug#1741) * net/tramp-cache.el (tramp-flush-directory-property): Use the localname of KEY for check. 2009-04-09 Kenichi Handa * international/charprop.el: Re-generated. * international/uni-bidi.el: Re-generated. * international/uni-category.el: Re-generated. * international/uni-combining.el: Re-generated. * international/uni-decomposition.el: Re-generated. * international/uni-mirrored.el: Re-generated. * international/uni-name.el: Re-generated. 2009-04-08 Eli Zaretskii * files.el (append-to-file): Doc fix. * term/pc-win.el (msdos-last-help-message): New defvar. (msdos-show-help): Use it to avoid saving the last message if it was also a help message (Bug#2895). * mail/rmail.el (rmail-simplified-subject): Normalize whitespace in subject. This resurrects a feature, lost in transition to mbox, whereby Subject is matched even if it's broken into several lines at arbitrary places. 2009-04-08 Nick Roberts * progmodes/gdb-ui.el: Give hint for GDB in Emacs on Mac OSX. 2009-04-08 Chong Yidong * textmodes/fill.el (fill-paragraph): Doc fix. 2009-04-07 Chong Yidong * vc-bzr.el (vc-bzr-log-view-mode): Fix last fix. 2009-04-07 Glenn Morris * term/ns-win.el (ns-pop-up-frames): Make it a defcustom. * mail/rmail.el (rmail-expunge-and-save): Let rmail-expunge show the message. (rmail-quit): Mark summary unmodified. (rmail-expunge): Doc fix. Always show a message. (Bug#2763) 2009-04-07 Chong Yidong * vc-bzr.el (vc-bzr-log-view-mode): Tweak log-view-message-re (Bug#2872). * descr-text.el (describe-property-list, describe-char): Add follow-link properties to buttons that need them. * tooltip.el (tooltip-show-help-non-mode): Don't save the last message if it was also a help message (Bug#2895). 2009-04-06 Roland Winkler * textmodes/bibtex.el (bibtex-format-entry) (bibtex-search-crossref): Allow OPT prefix for name of crossref field. 2009-04-06 Sam Steingold * simple.el (completion-list-mode-map): Bind "q" to quit-window, just like in all other read-only buffers. 2009-04-05 Chong Yidong * simple.el (handle-shift-selection): Clarify docstring. 2009-04-05 Michael Albinus * dired-aux.el (dired-copy-file-recursive): Set mode to "700" if `file-modes' returns nil. * net/ange-ftp.el (ange-ftp-set-file-modes): New defun. Change `ange-ftp' property of `set-file-modes' to `ange-ftp-set-file-modes' (Bug#2865). (ange-ftp-call-chmod): Add error handling. * net/tramp.el (tramp-default-file-modes): New defun. Replace all calls of `file-modes' by this (Bug#2869). (tramp-handle-find-backup-file-name): Use `symbol-value' instead of `boundp'. * net/tramp-fish.el (tramp-fish-do-copy-or-rename-file-directly): Use `tramp-default-file-modes'. 2009-04-04 Chong Yidong * frame.el (make-frame): Doc fix. 2009-04-04 Eli Zaretskii * mail/rmailsum.el (rmail-new-summary-1): Don't show zero count of summary lines. 2009-04-02 Chong Yidong * dired.el (dired-get-filename): Always pass filename through `read' to ensure unquoting is performed (Bug#2862). 2009-04-02 Stefan Monnier * doc-view.el (doc-view-mode): Don't give up if the file doesn't exist. 2009-04-02 Glenn Morris * calendar/diary-lib.el (diary-cyclic): Check for +ve N. * calendar/holidays.el (calendar-holidays): Don't autoload it. (Bug#2811) 2009-04-02 Kenichi Handa * international/fontset.el (setup-default-fontset): Specify iso10646-1 font for characters in PUA of BMP. (Bug#2830) 2009-04-02 Stefan Monnier * simple.el (auto-fill-function): Mark it as safe for nil. Suggested by Leo . 2009-04-01 Dan Nicolaescu * vc-mtn.el (vc-mtn-register): Fix optional arguments. * vc-hooks.el (vc-name): Avoid calling vc-backend twice. (vc-mode-line): Accept and use an optional argument for the backend. (vc-find-file-hook): Use when instead of if. Avoid calling vc-backend multiple times, pass down the value computed the first time. 2009-03-30 Andreas Schwab * ansi-color.el (ansi-color-get-face): Use ansi-color-parameter-regexp to match parameters. (ansi-color-regexp): Include final `m' in first group. 2009-03-30 Jason Rumney * files.el (locate-dominating-stop-dir-regexp): Stop searching when a UNC mount point is reached. 2009-03-30 Jay Belanger * calc/calc-embed.el (calc-embedded-restore-original-modes): Add argument for Calculator buffer. (calc-do-embedded): Use specific Calculator buffer when cancelling embedded mode. * calc/calc.el (calc-buffer-list): New variable. (calc-kill-stack-buffer): New function. (calc-mode): Add `calc-kill-stack-buffer' to `kill-buffer-query-functions'. Add current buffer to `calc-buffer-list'. 2009-03-30 Kenichi Handa * language/chinese.el (chinese-big5): Change type to `big5'. 2009-03-30 Chong Yidong * help-mode.el (help-buffer): Add docstring. 2009-03-28 David Reitter * term/ns-win.el (ns-expand-space): Remove defvar. (S-,): Bind to `customize' in line with menu item. ([global-map windows]): Remove (in line with other platforms). (menu-bar-update-frames, force-menu-bar-update-buffers): Remove, not needed. (menu-bar-update-hook): Do not alter. (generate-fontset-menu, mouse-set-font): Amend doc string of these defaliases to point out their altered meaning in NS. 2009-03-28 Juri Linkov * simple.el (minibuffer-default-add-completions): Remove `(interactive)'. (Bug#2805) 2009-03-28 Eli Zaretskii * files.el (shell-quote-wildcard-pattern): Doc fix. 2009-03-27 Eli Zaretskii * ls-lisp.el (ls-lisp-insert-directory): Allow for a trailing '/' when looking for "." and "..". (Bug#2801) 2009-03-27 Andreas Schwab * simple.el (shift-select-mode): Make it a defcustom. * cus-start.el: Remove shift-select-mode. 2009-03-26 Stefan Monnier * simple.el (shift-select-mode): Move declaration from callint.c. (handle-shift-selection): Remove `deactivate' arg and check shift-select-mode instead. 2009-03-26 Juanma Barranquero * align.el (align-large-region, align-perl-modes, align-rules-list) (align-open-comment-modes): Fix typos in docstrings. (align-region-separate): Doc fixes. 2009-03-26 Stefan Monnier * arc-mode.el (archive-ar-summarize): Don't burp on special GNU extension entries for lookup tables or extended file name tables. Distinguish the internal and external name, so lookup is easier. (archive-ar-extract): Take advantage of more precise name. Preserve point. 2009-03-25 Chong Yidong * play/bubbles.el (bubbles): Doc fix (Bug#2776). 2009-03-25 Juanma Barranquero * composite.el (auto-compose-chars): Fix typo in docstring. 2009-03-24 Michael Albinus * net/ange-ftp.el (ange-ftp-skip-msgs): Add 534. 2009-03-24 Glenn Morris * wid-edit.el (widget-specify-field): Don't add a second overlay for a field with just a newline character. (widget-field-value-get): Don't reduce fields with just a space character to null. (character): Accept newline. (Bug#2689) 2009-03-24 Kenichi Handa * international/fontset.el (font-encoding-alist): Add an entry for muletibetan-0. (Bug#2722) 2009-03-23 Dan Nicolaescu * vc-bzr.el (vc-bzr-working-revision): Add support for lightweight checkouts. (Bug#2157) (vc-bzr-after-dir-status): Ignore a warning for bzr status. (vc-bzr-dir-extra-headers): Add headers for lightweight checkouts. 2009-03-22 Richard M Stallman * mail/rmail.el (rmail-expunge): Update summary buffer even if DONT-SHOW. (rmail-expunge): Without DONT-SHOW, show the message even after updating summary. 2009-03-21 Jari Aalto * time.el (display-time-default-load-average): Doc fix. 2009-03-21 Eli Zaretskii * simple.el (handle-shift-selection): Doc fix. (Bug#2738) 2009-03-21 Chong Yidong * files.el (file-modes-rights-to-number): Doc fix. (file-modes-symbolic-to-number): Handle empty permissions arg (Bug#2729). 2009-03-21 Dan Nicolaescu * vc.el (Todo): Add note on simplifying vc-register. 2009-03-21 Eli Zaretskii * eshell/em-ls.el (eshell-ls-dir): Call eshell-directory-files-and-attributes with additional argument 'integer or 'string, according to numeric-uid-gid. (eshell-ls-file): Don't convert UID and GID to strings, as eshell-ls-dir already did. Enlarge max user-name string length to 14 characters. (eshell-do-ls): Fix the long name of the -L option. * eshell/esh-util.el (directory-files-and-attributes): Accept and ignore additional optional argument id-format. (eshell-directory-files-and-attributes): Call directory-files-and-attributes with additional argument id-format. * eshell/em-ls.el (eshell-ls-file): Enlarge default size-width to 8. (eshell-ls-dir): Under -l, call eshell-ls-printable-size with last argument nil. 2009-03-21 David Reitter * cus-start.el (all): Use existing `ns' rather than new `nextstep' group for variables affected by last two changes. 2009-03-21 Eli Zaretskii * cus-start.el (all): Fix last change. 2009-03-21 David Reitter * cus-start.el (all): Add ns-control-modifier, ns-command-modifier, ns-alternate-modifier, ns-function-modifier, ns-antialias-text, and ns-use-qd-smoothing. 2009-03-20 Dan Nicolaescu * vc-dir.el (vc-dir-deduce-fileset): Make the error message more explicit. 2009-03-19 Juanma Barranquero * subr.el (forward-point): Add obsolescence declaration. * paren.el (show-paren-function): * simple.el (kill-forward-chars, kill-backward-chars): Use (+/- (point) N), instead of `forward-point'. 2009-03-19 Glenn Morris * mail/rmail.el (rmail-retry-ignored-headers): Add :version tag. * mail/supercite.el (sc-version): Doc fix. 2009-03-19 Leo (tiny change) * mail/supercite.el (sc-version): Fix typo in interactive spec. 2009-03-19 Kenichi Handa * international/quail.el (quail-update-leim-list-file): Save leim-list.el in utf-8. * international/mule-cmds.el (leim-list-header): Use utf-8 coding tag. * term/ns-win.el: Call create-default-fontset, not setup-default-fontset. Call create-fontset-from-fontset-spec within condition-case. * term/w32-win.el (w32-initialize-window-system): Call create-default-fontset, not setup-default-fontset. Call create-fontset-from-fontset-spec within condition-case. * term/x-win.el (x-initialize-window-system): Call create-default-fontset, not setup-default-fontset. Call create-fontset-from-fontset-spec within condition-case. * international/fontset.el (create-default-fontset): New function. (create-fontset-from-x-resource): Use display-warning instead of message. 2009-03-18 Richard M Stallman * mail/rmail.el (rmail-retry-ignored-headers): Add usual mime headers. (rmail-retry-failure): Undo previous change. 2009-03-18 Kenichi Handa * international/mule.el (after-insert-file-set-coding): Set buffer-file-coding-system directly without calling set-buffer-file-coding-system. (Fixes bug described in follow-up to bug#2317). 2009-03-17 Juanma Barranquero * emacs-lisp/benchmark.el (benchmark): Reflow docstring. 2009-03-17 ARISAWA Akihiro (tiny change) * international/characters.el (cjk-char-width-table): Add cp932-2-byte. 2009-03-17 Chong Yidong * minibuffer.el (minibuffer-complete-and-exit): Doc fix. 2009-03-16 David Reitter * faces.el (set-face-attributes-from-resources) (face-set-after-frame-default): Do not import X resources on NS because NS does not have system-wide X resources. 2009-03-16 Richard M Stallman * mail/rmail.el (rmail-retry-failure): Discard rmail-ignored-headers. (rmail-expunge): Show the message only once, and only if needed. If the current message was current before, just re-swap. 2009-03-16 Kenichi Handa * international/ccl.el (ccl-compile-if): Signal an error for invalid operator. 2009-03-16 Chong Yidong * minibuffer.el (read-file-name): Doc fix. * tooltip.el (tooltip-show-help-non-mode): Don't set tooltip-previous-message if called with the same tooltip that is showing (Bug#2680). * emacs-lisp/crm.el (crm--choose-completion-string): New function. (completing-read-multiple): Set and restore choose-completion-string-functions (Bug#1080). 2009-03-15 Glenn Morris * calendar/cal-tex.el (cal-tex-preamble-extra): Add an example string value to help people with the formatting. * mail/sendmail.el (mail-yank-prefix): Doc fix. (mail-mode-map): Only enable the "Cite Original" menu-item when appropriate. Standardize the text used for other headers re hyphens. * mail/rmail.el (rmail-font-lock-keywords): Treat "Mail-Reply-To" like "Reply-To". 2009-03-15 Chong Yidong * minibuffer.el (completion-styles): Add emacs22 completion style as fallback. 2009-03-15 Dan Nicolaescu * vc.el (vc-checkin): Add an extra argument for the VC backend, pass it down to vc-start-logentry. (vc-next-action, vc-transfer-file): Pass the VC backend to vc-checkin. (vc-next-action): Do not assume that all backends in vc-handled-backends are upper case. 2009-03-15 Chong Yidong * files.el (get-free-disk-space): Ensure that default-directory is usable before calling call-process. Suggested by Kevin Ryde (Bug#2631). 2009-03-14 David Reitter * term/ns-win.el (ns-expand-space): Remove. (ns-show-prefs event): Run `customize'. (ns-power-off): Run `save-buffers-kill-emacs', but ask user whether to save files (as is standard). (clipboard-yank, clipboard-kill-ring-save, clipboard-kill-region) (menu-bar-enable-clipboard): Do not undefine these. (ns-save-preferences, ns-save-options, ns-show-preferences-help): Remove. 2009-03-14 Glenn Morris * mail/mailalias.el: Remove leading `*' from defcustom docs. * mail/sendmail.el (mail-interactive): Doc fix. (mail-yank-ignored-headers): Add X-RMAIL- headers, bump :version. (mail-setup): Use the function mail-signature. (mail-mode-hook): Doc fix. (mail-to, mail-subject, mail-cc, mail-bcc, mail-reply-to) (mail-mail-reply-to, mail-mail-followup-to): Doc fixes. (mail-signature): Check the signature file is readable. With the argument ATPOINT, really insert at point. Handle the case when the variable mail-signature is an expression. 2009-03-14 Chong Yidong * simple.el (undo-outer-limit-truncate): Mention that warning-suppress-types is defined in the warnings library (Bug#2668). 2009-03-14 Dan Nicolaescu * vc.el (vc-default-receive-file): The 'register method now expects a list, pass a list. 2009-03-14 Chong Yidong * doc-view.el (doc-view-sentinel): Strip trailing newline from event message. 2009-03-14 Stefan Monnier * tar-mode.el (tar-extract): Setup the buffer's name, undo-list, and modified status before running the major-mode. * simple.el (undo): Don't loop when encountering empty undo records. 2009-03-13 Tassilo Horn * doc-view.el (doc-view-mode-map): Bind RET to image-next-line. 2009-03-13 Alexandre Julliard * vc-git.el (vc-git-previous-revision, vc-git-next-revision): Fall back to original commit if vc-git-symbolic-commit fails to find a symbolic name. (vc-git-symbolic-commit): Don't limit search to tags. Treat "undefined" as an error. (Bug #2110) 2009-03-13 D. Goel * ibuf-ext.el: * midnight.el (midnight-next): * progmodes/ebrowse.el: * progmodes/flymake.el (flymake-float-time): When calling (multiple-value-bind/setq .. ls) replace ls by (values-list ls) throughout. 2009-03-13 Agustín Martín * textmodes/ispell.el (ispell-get-word): Initialize spellchecker params. (Bug #2654) 2009-03-13 Stefan Monnier * files.el (auto-mode-alist): Add rules for OpenOffice extension packages, as well as Opkg/Ipkg packages. * tar-mode.el (tar-header-block-tokenize): Presume less, check more. (tar-summarize-buffer): Don't silently skip incomplete headers. (tar-mode): Revert to fundamental-mode in case of malformed tar data. (tar-extract): Try to make sure set-auto-mode doesn't mistakenly treat a tar file member as being a tar file itself, just because its own filename includes the parent tar file's. 2009-03-13 Kenichi Handa * international/mule-diag.el (print-fontset): Handling of the argument FONTSET changed for consistency. Reorder the printed information to match with the font searching strategy. (describe-fontset): Use face-attribute to get the fontset of the selected frame. (mule-diag): Likewise. Print both font and fontset of the frame. 2009-03-13 Chong Yidong * term.el (term-send-raw-string): Deactivate mark. (term-send-raw, term-send-raw-meta): Undo 2009-03-08 change. 2009-03-12 Juanma Barranquero * register.el (get-register): Rename arg REG to REGISTER for consistency with other register functions. (set-register, jump-to-register): Fix typos in docstrings. (copy-to-register, copy-rectangle-to-register): Reflow docstrings. 2009-03-12 Glenn Morris * mail/mailabbrev.el (mail-abbrev-next-line) (mail-abbrev-end-of-buffer): Doc fixes. 2009-03-11 Jason Rumney * term/w32-win.el (w32-initialize-window-system): Don't override Japanese font settings. (xlfd-regexp-registry-subnum): Remove unused declaration. (w32-drag-n-drop-debug): Comment out unused debug function. 2009-03-11 Glenn Morris * mail/rmailedit.el (rmail-edit-mode): Set write-region-annotate-functions. (Bug#2625) 2009-03-10 Juanma Barranquero * w32-vars.el (w32-list-proportional-fonts): Fix typos in last change. 2009-03-10 Jason Rumney * w32-vars.el (w32-list-proportional-fonts): Make obsolete. 2009-03-10 Stefan Monnier * server.el (server-process-filter): Use expand-file-name rather than command-line-normalize-file-name so as to use the `dir' when provided. * doc-view.el (doc-view-convert-current-doc): Fix last change. 2009-03-10 Glenn Morris * mail/sendmail.el (mail-archive-file-name, mail-default-headers): Doc fixes. (mail-mailing-lists): Remove leading `*' from defcustom doc. * simple.el (compose-mail): Doc fix. 2009-03-10 Alexander Becher (tiny change) * vc-annotate.el (vc-annotate): Use widened line number (Bug#2612). 2009-03-09 Jason Rumney * minibuffer.el (read-file-name): Only split dir name when default filename is missing. (Bug#2585) 2009-03-08 Chong Yidong * finder.el (finder-commentary): Don't delete other windows (Bug#2291). * term.el (term-send-raw, term-send-raw-meta): Deactivate the mark first (Bug#2449). 2009-03-08 Andreas Schwab * net/ange-ftp.el (ange-ftp-multi-msgs): Add 150-. 2009-03-07 Eli Zaretskii * woman.el (woman-parse-colon-path): Return a list even if there's only one directory in PATHS. (woman-mode): Restore tab-width value after the call to Man-mode, since Man-mode resets it to the default, and that makes right margin extend beyond woman-fill-column. * man.el (Man-init-defvars) [windows-nt]: Use a special command list. Don't invoke Awk. 2009-03-06 Glenn Morris * mail/rmailmm.el (rmail-mime-media-type-handlers-alist): Fix doc and custom type. 2009-03-05 Tassilo Horn * doc-view.el (doc-view-convert-current-doc): Save the current resolution in the cache directory. (doc-view-initiate-display): Restore the saved resolution when using cached image files. 2009-03-05 Glenn Morris * mail/rmail.el (rmail-perm-variables): rmail-overlay-list needs to be buffer-local in the view buffer, not the rmail buffer. * mail/rmailout.el (rmail-output-to-rmail-buffer): Add the new message at the end of the existing messages, ensuring there is a blank line between them. (Bug#2521) * mail/rmail.el (rmail-ensure-blank-line): New function. * mail/rmailedit.el (rmail-cease-edit): * mail/rmailout.el (rmail-output-as-mbox): * mail/rmailsort.el (rmail-sort-messages): Use rmail-ensure-blank-line. * mail/rmailmm.el (rmail-mime-media-type-handlers-alist) (rmail-mime-attachment-dirs-alist): Doc fixes. Fix custom-type. Add version. (rmail-mime-total-number-of-bulk-attachments): Doc fix. (rmail-mime): Doc fix. Use rmail-apply-in-message. Disable undo in the mime buffer, mark unmodified. 2009-03-04 David Reitter * menu-bar.el (clipboard-yank): Avoid checking (x-selection-exists-p) if unbound in order to enable the item. For paste menu item, same, and check kill-ring. 2009-03-04 Sam Steingold * progmodes/compile.el (compilation-error-regexp-alist-alist): Handle "omake -P" messages "file foo changed". 2009-03-04 Glenn Morris * mail/rmailedit.el (rmail-edit-mode): Doc fix. * mail/rmailsort.el: Replace `(function (lambda' by `(lambda'. (rmail-sort-by-date, rmail-sort-by-subject) (rmail-sort-by-author, rmail-sort-by-recipient) (rmail-sort-by-correspondent, rmail-select-correspondent) (rmail-sort-by-lines, rmail-sort-by-labels, rmail-sort-messages) (rmail-make-date-sortable): Doc fixes. (rmail-sort-by-correspondent): Downcase correspondents. (rmail-sort-by-labels): Make it work. (rmail-sort-messages): Restore undo if it was initially enabled. Fix bobp/bolp typo that was adding a line on every sort. * mail/rmailsum.el (rmail-get-create-summary-buffer): Doc fix. Disable undo in the summary buffer. (rmail-summary-sort-by-date, rmail-summary-sort-by-subject) (rmail-summary-sort-by-author, rmail-summary-sort-by-recipient) (rmail-summary-sort-by-correspondent, rmail-summary-sort-by-lines) (rmail-summary-sort-by-labels, rmail-sort-from-summary): Doc fixes. (rmail-summary-sort-by-labels): Replace `(function (lambda' by `(lambda'. 2009-03-03 Sam Steingold * progmodes/compile.el (compilation-move-to-column): Guard against negative col values. 2009-03-03 Simon Josefsson * mail/smtpmail.el (smtpmail-auth-supported): Mention that list is in preference order. (smtpmail-try-auth-methods): Improve which authentication mechanism to use, so that the locally most preferred and mutually supported mechanism is used. 2009-03-03 Stefan Monnier * emacs-lisp/lisp.el (end-of-defun-function): Make it more clear that the function takes no argument. 2009-03-03 Glenn Morris * mail/rmail.el (rmail-highlighted-headers, rmail-highlight) (rmail-header-name): Doc fixes. (rmail-show-message-verbose-min): Add :version. (rmail-highlight-headers): Add doc string. Simplify. * mail/rmailsum.el (rmail-summary-scroll-between-messages) (rmail-summary-line-count-flag, rmail-summary-by-regexp): Doc fixes. (rmail-summary-by-senders): Doc fix. (rmail-summary-mode-map): Bind C-o to output-as-seen, not output. Make the output menu-items consistent with rmail-mode-map. Bind rmail-summary-by-senders to C-M-f. (rmail-summary-search): Ensure the selected message shows. 2009-03-03 Kenichi Handa * files.el (basic-save-buffer-1): Set car part of buffer-file-coding-system-explicit. (revert-buffer): Check car part of buffer-file-coding-system-explicit. * international/mule-cmds.el (select-safe-coding-system): If cdr part of buffer-file-coding-system-explicit is set, ignore default-buffer-file-coding-system and the most preferred coding system. * international/mule.el (set-buffer-file-coding-system): Set cdr part of buffer-file-coding-system-explicit. (after-insert-file-set-coding): Set buffer-file-coding-system-explicit to a cons. 2009-03-02 Glenn Morris * calendar/calendar.el (diary-date-forms, calendar-date-display-form): Add :set-after listing variables on which we might depend. * mail/rmail.el (rmail-reply): Use rmail-apply-in-message so that this function has access to all the headers, not just the visible ones. Avoid extraneous leading whitespace in `References'. (rmail-dont-reply-to-names, rmail-default-dont-reply-to-names): Doc fixes. (rmail-retry-failure): Use rmail-get-header rather than a magical save-excursion/restriction combination that does nothing. (rmail-delete-headers): New function. (rmail-retry-failure): Restore yet another feature mbox Rmail removed without telling anyone, namely rmail-retry-ignored-headers. 2009-03-01 Chong Yidong * abbrev.el (clear-abbrev-table): Always return nil (Bug#2515). 2009-03-01 Glenn Morris * mail/rmail.el (rmail-mode-map): Add explicit keybinding for rmail-resend in the menu. * files.el (confirm-nonexistent-file-or-buffer): `other' must be last custom choice. (Bug#2506) 2009-02-28 Eli Zaretskii * progmodes/grep.el (grep-process-setup) [windows-nt msdos]: Use "--color=always". 2009-02-28 Glenn Morris * mail/rmailout.el (rmail-output-as-seen): Add autoload cookie. * mail/rmailmm.el (rmail-mime): Add autoload cookie. * mail/rmail.el (rmail-mode-map): * mail/rmailsum.el (rmail-summary-mode-map): Bind rmail-mime to `v'. * mail/rmail.el (rmail-primary-inbox-list): Doc fix. Fix custom choice to match default. (rmail-get-new-mail): Doc fix. (rmail-beginning-of-message, rmail-end-of-message): Preserve the current header style. 2009-02-27 Chong Yidong * replace.el (keep-lines-read-args): Use empty string as default (Bug#2495). * menu-bar.el (menu-set-font): Fix last fix. 2009-02-27 Glenn Morris * help-fns.el (find-lisp-object-file-name): Need a buffer position, not just a buffer, to find a definition. * mail/rmail.el (rmail-speedbar-move-message): Preserve the directory part against rmail-output's oddness. 2009-02-27 Chong Yidong * menu-bar.el (menu-set-font): Assign the same font object to all frames (Bug#2476). 2009-02-26 Michael Albinus * net/tramp.el (tramp-remote-coding-commands): Add "base64". (Bug#2463) 2009-02-26 Juanma Barranquero * x-dnd.el (x-dnd-test-function, x-dnd-get-state-cons-for-frame) (x-dnd-get-state-for-frame, x-dnd-handle-moz-url) (x-dnd-handle-uri-list, x-dnd-choose-type, x-dnd-get-drop-width-height) (x-dnd-init-motif-for-frame): Fix typos in docstrings. (x-dnd-drop-data, x-dnd-types-alist, x-dnd-default-test-function): Reflow docstrings. 2009-02-26 Glenn Morris * mail/rmailsum.el (rmail-summary-rmail-update): Use rmail-message-unseen-p. (Bug#2477) (rmail-summary-mark-seen): Add option to mark as unseen. (rmail-summary-rmail-update): Store a position in rmail-summary-put-back-unseen rather than just a flag, and use it to put back the "-" mark in the summary. * progmodes/cc-vars.el (c-style-variables-are-local-p): Mark as safe if boolean. (Bug#2197) 2009-02-26 Tobias C. Rittweiler (tiny change) * mail/sendmail.el (sendmail-send-it): `call-process-region' can return a string. (Bug#2428) 2009-02-25 Juanma Barranquero * bs.el (bs--down): * ibuffer.el (ibuffer-redisplay-engine): Use `point-min' instead of 1. 2009-02-25 Glenn Morris * dired-x.el (dired-guess-shell-alist-user): Fix doc typo. * simple.el (eval-expression): * emacs-lisp/lisp-mode.el (eval-last-sexp): Mention truncation in doc. 2009-02-25 Dan Nicolaescu * vc-dir.el (vc-dir-update): Make sure ./ is always first in the listing. 2009-02-25 David Reitter * mail/mailclient.el (clipboard-kill-ring-save): Declare. 2009-02-25 Kenichi Handa * ps-mule.el (ps-mule-begin-job): Don't call auto-compose-region. * composite.el (auto-composition-mode): Don't add a hook to after-change-functions. Don't decompose the buffer. (auto-composition-after-change): Delete it. (toggle-auto-composition): Make it an alias of auto-composition-mode. (auto-compose-region): Delete it. 2009-02-24 Stefan Monnier * term/ns-win.el (ns-working-overlay): Don't make it buffer-local. (ns-working-overlay-len): Remove. Use ns-working-overlay instead. (ns-delete-working-text): Merge with ns-unecho-working-text. Decide which to use based on ns-working-overlay. (ns-unecho-working-text): Remove. (ns-insert-working-text, ns-echo-working-text): Adjust accordingly. 2009-02-24 Juanma Barranquero * textmodes/ispell.el (ispell-region): Adapt "done" message to coding conventions. (Bug#2447) * scroll-bar.el (scroll-bar-mode): Turn off scroll bars when argument is 0. Doc fix. (Bug#1527) * w32-vars.el (w32-system-shells): Doc fix. * image.el (image-load-path-for-library, insert-sliced-image): Fix typos in docstrings. 2009-02-24 Glenn Morris * textmodes/flyspell.el (flyspell-use-meta-tab): Add a custom :set function. (Bug#2429) * eshell/esh-util.el (eshell-parse-ange-ls): Define `name' before potential use. * progmodes/cperl-mode.el (cperl-find-pods-heres): Don't globally bind `name'. * emacs-lisp/elint.el (elint-unknown-builtin-args): Fix encode-time spec. (Bug#2453) (elint-find-builtin-args): Make the match more restrictive. Handle errors. Return a result actually containing the function name. * mail/rmail.el (rmail): Don't show a message if rmail-get-new-mail already did. (Bug#2440) (rmail-quit): Don't swap buffers. (Bug#2441) (rmail-list-to-menu): Don't globally bind `name'. 2009-02-23 Chong Yidong * net/ange-ftp.el (ange-ftp-insert-directory): Adapt switch manipulation to 2009-02-11 change to dired-add-entry (Bug#2410). 2009-02-23 Juanma Barranquero * bs.el (bs--down): When wrapping around, use `forward-line', not `goto-line', to avoid distracting "Mark set" message. 2009-02-23 Geoff Gole (tiny change) * ibuffer.el (ibuffer-redisplay-engine): Avoid "Mark set" message clobbering useful message from `ibuffer-toggle-sorting-mode' (Bug#2439). 2009-02-23 Miles Bader * proced.el (proced-process-attributes): * server.el (server-running-p): Rename `system-process-attributes' to `process-attributes'. 2009-02-22 Juri Linkov * dired-aux.el (minibuffer-default-add-dired-shell-commands): Doc fix. * dired-x.el (dired-guess-shell-command): Use read-shell-command instead of read-from-minibuffer. (dired-read-shell-command): Add code that uses minibuffer-with-setup-hook to set minibuffer-default-add-function to minibuffer-default-add-dired-shell-commands exactly like `dired-read-shell-command' in dired-aux.el already does. Doc fix. * dired-x.el (dired-smart-shell-command): Remove code that uses minibuffer-with-setup-hook to set minibuffer-default-add-function to minibuffer-default-add-shell-commands because the same code was already moved to `read-shell-command' 2008-07-31. (Bug#2414) 2009-02-21 Jay Belanger * calc/calc-math.el (math-use-emacs-fn): Make sure that the lisp number is in decimal. 2009-02-21 Chong Yidong * progmodes/compile.el (compilation-error-regexp-alist-alist): Tweak regexp (Bug#2173). * textmodes/flyspell.el (flyspell-mouse-map): Undefine mouse-2 to avoid yanks (Bug#2408). 2009-02-21 Alan Mackenzie * progmodes/cc-langs.el (c-case-kwds-regexp): New variable. * progmodes/cc-engine.el (c-beginning-of-statement-1): Enhance to parse case clauses with (compile-time) expressions. 2009-02-21 Eli Zaretskii * mail/rmailedit.el (rmail-cease-edit): Notice changes in buffer's encoding during editing. Make sure to use encoding that can safely encode the message. Rewrite MIME charset= header if the new encoding is different from the old one. 2009-02-21 Glenn Morris * mail/supercite.el (sc-mail-glom-frame): Handle a "From " line at the start of the headers. (sc-mail-check-from): New function. 2009-02-20 Martin Rudalics * progmodes/python.el (python-shift-left, python-shift-right): When the mark is not active shift the current line. (Bug#2381) Suggested by Guillaume Salagnac 2009-02-20 Andreas Schwab * startup.el (command-line): Don't match an empty argument as an option. (command-line-1): Likewise. 2009-02-20 Daniel Jensen (tiny change) * apropos.el (apropos-library): Check for null filename in load-history. 2009-02-20 Glenn Morris * apropos.el (apropos-library): Remove the element with null filename, if present, from the completion list. * mail/rmail.el (rmail-speedbar-buttons): Only add regular files. (rmail-speedbar-find-file): Use rmail rather than find-file. 2009-02-20 Roland Winkler * textmodes/bibtex.el (bibtex-autokey-titleword-ignore): Doc fix. 2009-02-20 Era Eriksson (tiny change) * textmodes/bibtex.el (bibtex-autokey-titleword-ignore): Fix regexp (Bug#2385). (bibtex-autokey-get-title): Observe case for bibtex-autokey-titleword-ignore. 2009-02-20 Chong Yidong * server.el (server-start): Make the warning more verbose (Bug#2395). 2009-02-19 Stefan Monnier * font-lock.el (font-lock-fontify-syntactic-keywords-region): Make sure we stop when we reach the limit. * progmodes/sh-script.el (sh-font-lock-quoted-subshell): ' inside a "..." does not quote anything. (Bug#2384) * textmodes/rst.el (rst-mode-abbrev-table): Mark entries as `system'. 2009-02-19 Andreas Schwab * term.el: Remap self-insert-command to term-send-raw in term-raw-map. (Bug#2386) 2009-02-19 Stefan Monnier * emacs-lisp/lisp.el (end-of-defun): Consider the ".*\n" after the end of the function as being part of the function. 2009-02-19 Nick Roberts * progmodes/compile.el (compilation-error-regexp-alist-alist): Move entry for maven (alphabetical order). 2009-02-19 Glenn Morris * mail/rmailsum.el (rmail-summary-by-topic): Doc fix. Regexp-quote default argument taken from current subject. (rmail-new-summary-1): Error if empty summary. (Bug#2333) * mail/rmail-spam-filter.el (rmail-get-new-mail-filter-spam): Move here from rmail.el. Be more careful about error-handling. Restore the feature of temporarily setting all old messages undeleted before expunging (removed 2009-02-18). * mail/rmail.el (rsf-beep, rsf-sleep-after-message, rmail-spam-filter): Don't declare. (rmail-get-new-mail-filter-spam): Declare. Move definition to rmail-spam-filter.el. (rmail-get-new-mail-1): Move the beep and sleep to rmail-get-new-mail-filter-spam. 2009-02-18 Martin Rudalics * cus-edit.el (custom-group-value-create): Insert some informatory text in the WIDGET-misses-doc-string case. 2009-02-18 Sam Steingold * progmodes/compile.el: Require comint at top level to fix the last patch. 2009-02-18 Martin Rudalics * cus-edit.el (custom-group-value-create): Don't throw an error when WIDGET has no doc-string. (Bug#2356) 2009-02-18 Juanma Barranquero * progmodes/cc-menus.el (imenu-progress-message): Remove bogus cc-bytecomp-defun. (cc-imenu-objc-function): Don't call `imenu-progress-message'. Don't let-bind variable `stupid'. (Bug#1638) 2009-02-18 Glenn Morris * mail/rmail.el (rmail-get-new-mail-filter-spam): * mail/rmail-spam-filter.el (rmail-spam-filter): Show a message rather than the raw mbox while prompting. 2009-02-18 Martin Rudalics * progmodes/flymake.el (flymake): Add defgroup. (Bug#2356) 2009-02-18 Glenn Morris * mail/rmail-spam-filter.el (rmail-summary-mode-map): Remove unneeded declaration. (top-level): No need for cl now. (rmail-spam-filter, rmail-use-spam-filter, rsf-file, rsf-no-blind-cc) (rsf-beep, rsf-sleep-after-message, rsf-min-region-to-spam-list) (rsf-autosave-newly-added-definitions, rsf-white-list) (rsf-definitions-alist, rsf-check-field, rsf-add-subject-to-spam-list) (rsf-add-sender-to-spam-list, rsf-add-region-to-spam-list) (rsf-customize-spam-definitions, rsf-customize-group) (rsf-custom-save-all, rsf-add-content-type-field): Doc fixes. (rsf-check-field): Use setcar and setcdr rather than setf. (rmail-spam-filter): Simplify. (rsf-add-subject-to-spam-list, rsf-add-sender-to-spam-list) (rsf-add-region-to-spam-list): Use rmail-get-header or buffer-substring-no-properties. Regexp-quote the extracted data. Make the messages less verbose. (rmail-summary-mode-map, rmail-mode-map): Use easy-menu and dolist to simplify things. (rsf-add-content-type-field): Make the message less verbose. * mail/rmail.el (rmail-get-new-mail-1): Fix the spam beep test. (rmail-get-new-mail-filter-spam): Simplify. Don't mess with rmail-deleted-vector. (rmail-insert-inbox-text, rmail-collect-deleted) (rmail-set-message-deleted-p, rmail-only-expunge) (rmail-make-in-reply-to-field): Replace ?\ with ?\s. (rmail-get-labels): Remove unused local `blurb'. (rmail-message-attr-p, rmail-message-unseen-p, rmail-message-labels-p) (rmail-msgend, rmail-msgbeg, rmail-message-deleted-p) (rmail-set-message-deleted-p): Doc fixes. * mail/rmailout.el (rmail-mbox-from): Move to mail-utils. Update callers for associated name change. * mail/mail-utils.el (mail-mbox-from): Move here from rmailout.el. * mail/unrmail.el (unrmail): Use mail-mbox-from. 2009-02-17 Richard M Stallman * mail/rmailmsc.el (set-rmail-inbox-list): Doc fix. * mail/rmail.el (rmail-copy-headers): When copying full headers, correctly put point at the end. 2009-02-17 Sam Steingold * progmodes/compile.el (compilation-filter): Call `comint-carriage-motion', just like `comint-output-filter'. 2009-02-17 Jason Rumney * files.el (make-directory): Stop recursing if parent is self. (Bug#2309) 2009-02-17 Juanma Barranquero * net/newst-treeview.el (newsticker--treeview-load): Remove bogus `if'. * progmodes/cc-menus.el (cc-imenu-objc-function): Doc fix. 2009-02-17 Miles Bader * emacs-lisp/copyright.el (copyright-regexp): Tweak to match copyright statements where the years follow the name. 2009-02-17 Glenn Morris * emacs-lisp/copyright.el (copyright-update-year): Don't let y-or-n-p move point. (Bug#2209) * mail/rmailout.el (rmail-fields-not-to-output): Doc fix. (rmail-delete-unwanted-fields): Ignore case. Use line-beg-pos. (rmail-output, rmail-output-as-seen): Change the "from-gnus" argument to "not-rmail", and make it work. Simplify. (rmail-mbox-from): New function. (rmail-output-as-mbox): Use rmail-mbox-from. (rmail-output): Ensure a From line in the not-rmail Babyl case. * mail/rmail.el (rmail-get-attr-names): Give a warning rather than an error if the header is corrupt. 2009-02-16 Ulf Jasper * net/newst-treeview.el (newsticker--treeview-load): Offer deletion of old groups file. 2009-02-16 Glenn Morris * mail/rmailout.el (rmail-delete-unwanted-fields) (rmail-output-as-babyl, rmail-output-to-babyl-buffer) (rmail-convert-to-babyl-format, rmail-nuke-pinhead-header) (rmail-output-as-mbox, rmail-output-to-rmail-buffer, rmail-output) (rmail-output-as-seen, rmail-output-body-to-file): Doc fixes. 2009-02-15 Glenn Morris * mail/rmailsum.el (rmail-summary-output-as-seen): Doc fix. * mail/rmailout.el (rmail-output-decode-coding): Fix custom type, group. (rmail-output-as-babyl, rmail-output-to-babyl-buffer): Remove unnecessary use of with-no-warnings. (rmail-output-as-mbox, rmail-output-as-seen): Doc fix. (rmail-output-as-mbox): Start search from point-min. If constructing a "From " line, prefer the date header over the current time. (rmail-update-summary): Move declaration earlier in file. 2009-02-15 Richard M Stallman * mail/rmailedit.el (rmail-edit-diff-headers): Delete spurious reference to OLD. 2009-02-14 Stefan Monnier * jit-lock.el (with-buffer-prepared-for-jit-lock): Swap the `let' and the `with-buffer-unmodified' to avoid useless `readlink' calls. 2009-02-14 Roland Winkler * textmodes/bibtex.el (bibtex-global-key-alist) (bibtex-initialize): Exclude current buffer if it does not use bibtex-mode. (bibtex-parse-strings, bibtex-strings, bibtex-initialize) (bibtex-sort-buffer, bibtex-search-entry) (bibtex-prepare-new-entry, bibtex-clean-entry): Use functionp to test whether bibtex-strings and bibtex-reference-keys have their initial values. 2009-02-14 Eli Zaretskii * textmodes/ispell.el (ispell-insert-word): Use `with-no-warnings' around forms that refer to translation-table-for-input. * isearch.el (isearch-search-string): Use `with-no-warnings' around forms that refer to translation-table-for-input. * international/quail.el (quail-input-string-to-events) (quail-store-decode-map-key, quail-char-equal-p): Use `with-no-warnings' around forms that refer to translation-table-for-input. * simple.el (quoted-insert, zap-to-char): Use `with-no-warnings' around forms that refer to translation-table-for-input. * subr.el (translation-table-for-input): Declare obsolete again. 2009-02-14 Glenn Morris * mail/rmail.el (rmail): When reverting, swap buffers before setting counters. (Bug#2229) (rmail-revert): Swap buffers before replacing contents. 2009-02-14 Ian Eure (tiny change) * progmodes/sql.el (sql-product-alist, sql-connect-sqlite): Remove host, user, password options not applicable to SQlite. (Bug#1904) 2009-02-14 Richard M Stallman * mail/rmailedit.el: Handle editing of header fields. (rmail-old-headers): New variable. (rmail-edit-current-message): Set it, recording current headers. (rmail-cease-edit): Compute new headers and diff against old ones. Update the mbox buffer with the changes that were made. (rmail-edit-headers-alist): New function. (rmail-edit-diff-headers, rmail-edit-update-headers): New functions. * mail/rmailout.el (rmail-output-body-to-file): Avoid space and colon in default file name. * mail/rmail.el (rmail-convert-file-maybe): Turn off case-fold-search. (rmail-add-mbox-headers): Likewise. 2009-02-13 Eli Zaretskii * files.el (load-library): Doc fix. * subr.el (locate-library): Doc fix. (Bug#2291) 2009-02-13 Alan Mackenzie * progmodes/cc-cmds.el (c-defun-name): Widen, to allow it to work in narrowed buffers. 2009-02-13 Kenichi Handa * international/titdic-cnv.el (tit-process-header): Use buffer-substring-no-properties instead of buffer-substring. (tit-process-body): Likewise. (tsang-quick-converter): Handle superfluous CR at eol. (py-converter): Use buffer-substring-no-properties instead of buffer-substring. Handle superfluous CR at eol. (ziranma-converter): Likewise. (ctlau-converter): Likewise. (miscdic-convert): Read a file without eol conversion. (Bug#2307) 2009-02-13 Juanma Barranquero * minibuffer.el (internal-complete-buffer-except): Doc fix. (Bug#2315) 2009-02-13 Glenn Morris * mail/rmail.el (rmail-show-message-1): New name for the old rmail-show-message. * mail/rmail.el, mail/rmailkwd.el, mail/rmailmsc.el, mail/rmailout.el: * mail/rmailsort.el: Update for rmail-show-message name change. * mail/rmail.el (rmail-show-message): New name for the old rmail-show-message-maybe. * mail/rmail.el, mail/rmailsum.el: Update for rmail-show-message-maybe name change. * mail/rmailsum.el (msgnum): Remove declaration. (rmail-summary-redo): Add missing initialization value. (rmail-summary-overlay, rmail-summary-mode-map): Add doc string. (rmail-summary-mark-deleted, rmail-summary-deleted-p): Fix skip-chars-forward calls. (rmail-summary-mark-seen): New function. As well as removing the '-' mark, update the summary-vector. (Bug#2135) (rmail-summary-rmail-update, rmail-summary-goto-msg): Use rmail-summary-mark-seen. * mail/rmail.el (rmail-summary-vector, rmail-mode-map): Add doc string. * mail/unrmail.el (unrmail): When getting message keywords, don't include a leading space, but do include the space after the separating comma. (Bug#2303) * mail/rmail.el (rmail-set-header-1): If VALUE is nil, remove the header altogether. (rmail-set-header): Doc fix. * mail/rmailkwd.el (rmail-set-label): Delete the keyword header if all labels are removed. (Bug#2302) 2009-02-12 Juri Linkov * image-mode.el (image-toggle-display): Let-bind `buffer-file-truename' to nil around the call to `add-text-properties' to prevent directory time modification by lock_file. Replace `set-buffer-modified-p' with `restore-buffer-modified-p'. (Bug#2295) 2009-02-12 Stefan Monnier * progmodes/python.el (python-use-skeletons): Re-add. (def-python-skeleton): Use it. (Bug#2238) * international/quail.el (quail-make-guidance-frame): Remove the `parent-id' parameter. (quail-show-guidance): Make the new window dedicated. 2009-02-12 Juanma Barranquero * international/characters.el (?1, ?2, ?3, ?4, ?7, ?^): Fix typos in docstrings. 2009-02-12 Alan Mackenzie * progmodes/cc-defs.el (c-emacs-features): Crash-fix: change `=' to `eq'. (Bug#2304) 2009-02-12 Glenn Morris * mail/rmailkwd.el (rmail-set-label): Fix the test for a label being already present. (Bug#2210) 2009-02-12 Kenichi Handa * international/characters.el (?.): New character category for Base characters. Set them in the standard category table. * composite.el: Use "\\c." instead of "[[:alpha:]]" to match with a base character. 2009-02-12 Stefan Monnier * isearch.el (isearch-yank-char-in-minibuffer) (isearch-other-meta-char): Use with-current-buffer. * progmodes/verilog-mode.el (verilog-mode): Avoid circular use of syntax-ppss. (Bug#1243) * emacs-lisp/lisp.el (end-of-defun): Rewrite, to use the ARG argument to beginning-of-defun-raw. * emacs-lisp/lisp.el (end-of-defun): Don't skip to next line after calling end-of-defun-function if it already moved to BOL. 2009-02-12 Richard M Stallman * mail/rmail.el (rmail-show-message-verbose-min): New option. (rmail-show-message): Conditionally show start and finish in echo area. 2009-02-12 Glenn Morris * mail/rmailsum.el (rmail-get-summary-labels): Store any message labels for use in completion. * mail/rmailkwd.el (rmail-read-label): Don't scan for labels if the summary exists, since it's already done. * mail/rmail.el (rmail-unix-mail-delimiter): Doc fix. (rmail-enable-multibyte): Don't really define, only for compiler. 2009-02-12 Stefan Monnier * files.el (read-buffer-to-switch): Add table to icomplete-with-completion-tables. 2009-02-11 Chong Yidong * dired-aux.el (dired-add-entry): Avoid munging long-form Dired switches (Bug#2261). 2009-02-11 Juanma Barranquero * server.el (server-with-environment): Don't fail for negative entries in ENV. 2009-02-11 Dan Nicolaescu * vc-dir.el (vc-dir-filename-mouse-map): Rename from vc-dir-mouse-map. (vc-default-dir-printer): Add a comment about updating this function. * vc-git.el (vc-git-dir-printer): Use vc-dir-filename-mouse-map for the file name. 2009-02-11 Glenn Morris * calendar/calendar.el (calendar-window-list): Ignore invisible windows. (calendar-set-mode-line): Fall back to a default width if we seem to be called from daemon. (Bug#2199) * mail/rmailkwd.el (rmail-make-label): Doc fix. (rmail-read-label): Add current labels to completion list. (Bug#2222) (rmail-set-label): Use `or'. 2009-02-11 Chong Yidong * emacs-lisp/find-func.el (find-library-name, find-library): Doc fixes. (Part of bug#2270) 2009-02-10 Eric Hanchrow (tiny change) * env.el (getenv): When FRAME is non-nil, pass the frame environment to `getenv-internal', not the frame. (Bug#2259) 2009-02-10 Kenichi Handa * descr-text.el (describe-char-display): On terminal, if terminal coding system is nil, assume us-ascii. (describe-char): Don't show the composition information if it is trivial. 2009-02-10 Nick Roberts * vc-svn.el (vc-svn-after-dir-status): Use shy group for revision number as it isn't present for unregistered files. * vc-dir.el (vc-dir-find-file-other-window): Allow mouse events. (vc-dir-mouse-map): New keymap. (vc-default-dir-printer): Use it locally. 2009-02-10 Glenn Morris * speedbar.el: Avoid messing up font-lock-global-modes. * mail/mail-utils.el (mail-use-rfc822): Remove * from defcustom doc. (mail-file-babyl-p): Use with-temp-buffer. * mail/rmailsort.el: Just require rmail. * mail/rmailedit.el: Just require rmail. (rmail-old-pruned): Add doc string. (rmail-edit-current-message): Use rmail-msg-is-pruned. (rmail-cease-edit): Don't mangle the leading From line. Don't mark as edited if there were no changes. (Bug#2256) Correctly restore header state. * mail/rmail.el (rmail-automatic-folder-directives): Doc fix. (rmail-current-message, rmail-total-messages) (rmail-message-vector, rmail-deleted-vector): Add doc strings. (rmail-duplicate-message): Doc fix. (rmail-get-header-1, rmail-set-header-1, rmail-set-attribute-1): New functions. (rmail-get-header, rmail-set-header, rmail-set-attribute): Use rmail-apply-in-message. (rmail-message-attr-p): Use rmail-get-header, hence no longer requires unswapped-ness. (rmail-get-attr-names): Check for missing or corrupt attribute headers. (rmail-auto-file): Set the filed attribute, rather than explicitly not doing so. (Bug#2231) (rmail-set-attribute): Allow ATTR to be a string. 2009-02-09 Ulf Jasper * net/newst-treeview.el (newsticker-treeview-save) (newsticker--treeview-load): Kill groups buffer after saving/loading. 2009-02-09 Tassilo Horn * doc-view.el (doc-view-scroll-up-or-next-page) (doc-view-scroll-down-or-previous-page, doc-view-goto-page): Reset the old hscroll value after switching pages. 2009-02-09 Glenn Morris * calendar/calendar.el (diary-entry-marker, calendar-today-marker) (calendar-holiday-marker): Drop test for color display. 2009-02-08 Glenn Morris * calendar/calendar.el (diary-entry-marker, calendar-today-marker) (calendar-holiday-marker, calendar-mark-visible-date): * calendar/diary-lib.el (diary-fancy-display): It doesn't make sense to check font-lock-mode (see comments; reverts 2008-04-02 change). (Bug#2199) 2009-02-08 Juri Linkov * simple.el (toggle-word-wrap): New command. 2009-02-07 Chong Yidong * progmodes/ps-mode.el (ps-run-tmp-dir): Doc fix. (ps-run-make-tmp-filename): Use temporary-file-directory. * textmodes/artist.el (artist-system): Allow make-temp-file to use temporary-file-directory. * mail/rmailmm.el (rmail-mime-attachment-dirs-alist): Use temporary-file-directory. 2009-02-07 Glenn Morris * mail/unrmail.el (rmime-magic-string): Define for compiler. 2009-02-07 Eli Zaretskii * mail/rmail.el (rmail): Bind coding-system-for-read to no-conversion before calling find-file-noselect. (Bug#2015) 2009-02-07 Roland Winkler * proced.el (proced-after-send-signal-hook): Use defcustom. (proced-header-line): Handle header lines that are shorter than window-hscroll. (proced-send-signal): Rebind split-width-threshold analogous to dired-pop-to-buffer. 2009-02-07 Eli Zaretskii * mail/rmail.el (rmail-redecode-body): Don't encode/decode the message; instead, just rewrite the X-Coding-System header with the new encoding, and let rmail-show-message do the rest. Remove unused argument RAW. Fix doc string to be consistent with the new implementation. (rmail-show-message): Honor X-Coding-System header, if present, in preference to Content-Type header. 2009-02-07 Stefan Monnier * server.el (server-execute): Enable quit. 2009-02-07 Andreas Schwab * image-mode.el (image-mode): Always set image-type. (image-minor-mode): Likewise. 2009-02-07 Eli Zaretskii * mail/rmailedit.el (rmail-cease-edit): Look for the message's encoding, and its "content-transfer-encoding" and "content-type" headers only in the headers' portion. (Bug#2017) 2009-02-07 Ulf Jasper * net/newst-treeview.el (newsticker-treeview-next-new-or-immortal-item): New arg DONT-WRAP-TREES to prevent infinite recursion. 2009-02-07 Stefan Monnier * mail/rmailedit.el (rmail-cease-edit): narrow-to-region before extracting mail message headers. Use encode-coding-region instead of insert-buffer-substring for re-encoding edited message. Add qp/b64 encoding only after text was encoded. 2009-02-07 Eli Zaretskii * subr.el: Don't declare `translation-table-for-input' obsolete. Equivalent info added to its doc string, q.v. * files.el (save-buffer): Display "Saving file FOO..." message regardless of buffer's size. (Bug#2137) 2009-02-07 Chong Yidong * simple.el (line-move-visual): Handle overflow-newline-into-fringe. 2009-02-07 Alex Schroeder * mail/unrmail.el (unrmail): Use regexps to find message separators so as not to match any fake rmime.el separators. Remove any sections added by rmime.el. 2009-02-07 Glenn Morris * mail/metamail.el (metamail-interpret-body): Remove Rmail-specific hack that is no longer appropriate to mbox Rmail. * mail/rmailsum.el (rmail-create-summary-line): Widen the view buffer before trying to move to the start of the message. (rmail-summary-undelete-many, rmail-summary-rmail-update): Fix rmail-set-attribute calls. * mail/sendmail.el (mail-bury-selects-summary, mail-yank-original): Doc fix. (rmail-output-to-rmail-buffer): Autoload it. (mail-do-fcc): Give it a doc string. Update for mbox Rmail, simplify. 2009-02-06 Glenn Morris * mail/unrmail.el (unrmail): Use current-time-string. * simple.el (kill-whole-line): Provide a default argument of 1. * mail/undigest.el (rmail-mail-separator): Delete. (undigestify-rmail-message, unforward-rmail-message): Update for mbox Rmail. 2009-02-05 Kenichi Handa * international/fontset.el (script-representative-chars): Remove mathematical. (setup-default-fontset): Add entries for each subgroup of mathematical script. 2009-02-05 Juri Linkov * image-mode.el (image-mode): Use `image-get-display-property' instead of `get-text-property'. (image-minor-mode): Sync the logic with `image-mode' including the displaying an image file as the actual image by default. 2009-02-05 Alan Mackenzie * progmodes/cc-defs.el (c-emacs-features): Check the working of beginning/end-of-defun-function more rigorously before setting argumentative-bod-function. 2009-02-05 Dan Nicolaescu * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal) (turn-off-xterm-mouse-tracking-on-terminal): Do not turn on the mode on the initial terminal. 2009-02-05 Glenn Morris * mail/rmail.el (rmail-what-message, rmail-duplicate-message): Make these functions work. * net/mairix.el (rmail-buffer): Remove unneeded eval-when-compile. (rmail-narrow-to-non-pruned-header): Remove autoload. (mairix-rmail-fetch-field): Handle mbox Rmail. 2009-02-04 Dave Love * net/imap.el (imap-fetch-safe): Bind debug-on-error. (imap-debug): Add imap-fetch-safe. 2009-02-04 Teodor Zlatanov * net/netrc.el (netrc-machine-user-or-password): Use list of auth-source modes. 2009-02-04 Nick Roberts * vc-svn.el (vc-svn-diff): Revert previous change but add a test for newvars is nil. (C-u C-x v = with default values). 2009-02-04 Dan Nicolaescu * vc-bzr.el (vc-bzr-working-revision): Recognize a newer branch format. Use when instead of if. 2009-02-04 Miles Bader * emacs-lisp/lisp.el (forward-sexp, backward-sexp, forward-list) (backward-list, backward-up-list, beginning-of-defun) (beginning-of-defun-raw, end-of-defun): Add "^" to interactive spec. 2009-02-04 Glenn Morris * mail/mail-utils.el (mail-fetch-field): Previous doc fix was ill-advised. * mail/rmail.el: No need for mule-util when compiling. (rmail-first-message): Unbreak it. * mail/rmailmsc.el: Require rmail not just when compiling. Remove unneeded declarations. * term/ns-win.el (ns): Define as a custom group. 2009-02-04 Kenichi Handa * international/mule-cmds.el (select-safe-coding-system): Use buffer-chars-modified-tick instead of buffer-modified-tick. * descr-text.el (describe-char): Check font-object by fontp. * composite.el (compose-gstring-for-terminal): If a character is not supported by the current terminal, don't make a multi-glyph grapheme cluster. (auto-compose-chars): Check font-object by fontp. 2009-02-03 Glenn Morris * mail/unrmail.el (unrmail): In the absence of Mail-from, prefer Date over current-time. (Bug#2175) * mail/rmail.el (rmail-convert-babyl-to-mbox): Disable undo while inserting the converted mailbox. (rmail-get-new-mail): Restore the loop over inboxes when two or more have the same basename. (Bug#2164) Set the return value according to whether any mail was found, not just in the last inbox. Only show a message and run the hook after checking all inboxes. (rmail-get-new-mail-1): Move message display and running the hook to rmail-get-new-mail. * mail/rmailkwd.el (rmail-label-obarray): Initialize using rmail-attr-array. (rmail-make-label, rmail-read-label): Give it a doc string. (rmail-add-label, rmail-kill-label): Change argument name to match the doc. Doc fix. (rmail-set-label): Doc fix. Also update summary in attr case. Accept labels as a string or a symbol. (Bug#2165) * mail/rmailsum.el (rmail-get-summary-labels): Treat empty labels as null. 2009-02-02 Stefan Monnier * progmodes/vhdl-mode.el (vhdl-prepare-search-1) (vhdl-prepare-search-2): Properly cleanup on `quit'. * progmodes/vhdl-mode.el (vhdl-mode-abbrev-table-init): Mark the entries as being "system" entries rather than "user" entries. 2009-02-02 Thien-Thi Nguyen * smerge-mode.el (smerge-start-session): Add interactive spec. 2009-02-02 Glenn Morris * mail/rmail.el (rmail-ignored-headers, rmail-displayed-headers) (rmail-retry-ignored-headers, rmail-highlighted-headers): Restore autoloads. 2009-02-02 Stefan Monnier * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Fix up EOB. 2009-02-01 Stefan Monnier * cmuscheme.el (scheme-args-to-list): Remove. (run-scheme): Use split-string-and-unquote instead, so as to allow spaces in the command name and/or the arguments. 2009-02-01 Adrian Robert * term/ns-win.el (ns-save-preferences): Save ns-confirm-quit option. 2009-02-01 Michael Albinus Sync with Tramp 2.1.15. * net/tramp.el (tramp-read-passwd): Cache passwords shall still be used. * net/tramp-cache.el (top): Autoload `tramp-run-real-handler'. * net/trampver.el: Update release number. 2009-02-01 Stefan Monnier * mail/rmail.el (rmail-view-buffer): Make buffer-local. (rmail-select-summary, rmail-perm-variables, rmail-redecode-body) (rmail-undelete-previous-message, rmail-mark-message) (rmail-speedbar-buttons): Use with-current-buffer. (rmail-mode-map): Move initialization into declaration. (rmail-swap-buffers, rmail-unfontify-buffer-function) (rmail-fontify-message): Use restore-buffer-modified-p. (rmail-expunge-and-save): Don't swap buffer. (rmail-get-header, rmail-set-header, rmail-set-attribute) (rmail-apply-in-message): Swap save-excursion and save-restriction. * mail/rmailsort.el (rmail-sort-messages): Use car-less-than-car if possible. * mail/rmailedit.el (rmail-edit-map): Move init into declaration. (rmail-edit-mode, rmail-cease-edit): Use with-current-buffer. 2009-01-31 Stefan Monnier * mouse.el (mouse-drag-mode-line-1): Obey mouse-1-click-follows-link. * progmodes/ebrowse.el: * international/robin.el: * emulation/viper-util.el: * emulation/viper-mous.el: * emulation/viper-keym.el: * ediff.el: * ediff-wind.el: * ediff-vers.el: * ediff-ptch.el: * ediff-mult.el: * ediff-merg.el: * ediff-diff.el: Follow commenting conventions. 2009-01-31 Eli Zaretskii * mail/rmail.el (rmail-redecode-body): Use eight-bit instead of obsolete eight-bit-control and eight-bit-graphic. 2009-01-31 Stefan Monnier * emacs-lisp/elp.el (elp-results-symname-map): Add follow-link. 2009-01-31 Chong Yidong * emacs-lisp/lisp.el (end-of-defun): Protect against infloops (Bug#2106). 2009-01-31 Dan Nicolaescu * vc-dir.el (vc-dir-mouse-map): (vc-default-dir-printer): (vc-dir-find-file-other-window): Undo previous change, it breaks the behavior of mouse-2. (vc-dir-mode): Fix docstring. * vc-svn.el (vc-svn-dir-status): Disable the vc-stay-local-p logic, it makes the makes the normal case too slow. 2009-01-31 Eli Zaretskii * mail/unrmail.el (unrmail): Set coding-system of the old Rmail file to `raw-text-unix'. Bind coding-system-for-write when writing out the converted message, and make sure it uses Unix EOLs. * mail/rmail.el (rmail-convert-babyl-to-mbox): Set Rmail's buffer encoding to `raw-text-unix'. (rmail-perm-variables): Set encoding of rmail-view-buffer to `undecided-unix'. (rmail-redecode-body): Don't change EOL conversion of the new encoding if the old one left it unspecified. (rmail-automatic-folder-directives, rmail): Doc fixes. (rmail-swap-buffers): New function. (rmail-change-major-mode-hook, rmail-swap-buffers-maybe) (rmail-show-message): Use rmail-swap-buffers. (rmail-decode-region): If DESTINATION is a buffer, set the encoding of that buffer, rather than the current buffer. (rmail-show-message): Make error message about uuencoded mail more explicit. (rmail-show-message-maybe): Simplify code. Doc fix. (rmail-show-message): Doc fix. 2009-01-31 Glenn Morris * mail/rmailsum.el (rmail-new-summary): Don't try to summarize an empty folder. * mail/rmail.el (rmail-msg-is-pruned): New function. (rmail-toggle-header): Doc fix. Use rmail-msg-is-pruned. (rmail-reply): Set up to yank from the decoded message rather than the raw one. (Bug#2104). * mail/mail-utils.el (mail-fetch-field): Doc fix. * mail/uce.el (rmail-current-message): Remove unneeded declaration. (uce-message-text, uce-default-headers): Fix custom type. (rmail-buffer, rmail-msg-is-pruned): Declare. (uce-reply-to-uce): Add autoload cookie. Doc fix. Update for mbox Rmail. 2009-01-31 Nick Roberts * vc-dir.el (vc-dir-mouse-map): New keymap. (vc-default-dir-printer): Use it locally. (vc-dir-find-file-other-window): Allow mouse events. 2009-01-30 Eli Zaretskii * mail/unrmail.el (unrmail): Fix conversion of BABYL attributes into Rmail-mbox attributes. * mail/rmail.el (rmail-convert-babyl-to-mbox): Bind coding-system-for-read to `raw-text', and use insert-file-contents instead of insert-file-contents-literally. Fixes bug #2019. (rmail-resent-attr-index): Fix index value. 2009-01-30 Nick Roberts * vc-hooks.el (vc-stay-local-p): Let vc-BACKEND-stay-local take precedence even when its value is t. (Bug#2093) * vc-svn.el (vc-svn-dir-status): Correct logic for remote connection. (Bug#2093) (vc-svn-diff): Use old version number even when it is the working revision. This is needed, e.g, in the vc-print-log buffer. (Bug#2092) 2009-01-30 Glenn Morris * mail/rmail.el (rmail-reply): Handle empty folders. (rmail-speedbar-buttons) (rmail-speedbar-move-message-to-folder-on-line): Use line-end-position. * mail/rmailsum.el (rmail-summary-update-line): Replace duplicate line-beginning-position calls. (rmail-header-summary): Use line-end-position. 2009-01-30 Toby Speight (tiny change) * generic-x.el (hosts-generic-mode, named-database-generic-mode): Fix regexp quoting. (Bug#1739) 2009-01-29 Michael Albinus * net/tramp.el (tramp-process-actions, tramp-read-passwd): Allow correction of passwords. 2009-01-29 Chong Yidong * mail/rmail.el (rmail-toggle-header): Determine current header style using the buffer-local value of rmail-header-style in the view buffer. (rmail-show-message): Set a buffer-local value of rmail-header-style in the view buffer. (Bug#2016) 2009-01-29 Juanma Barranquero * vc-dir.el (vc-dir-menu-map, vc-dir-at-event, vc-dir-resynch-file): Fix typos in docstrings. 2009-01-29 Juanma Barranquero * bindings.el (completion-ignored-extensions): Add entries for VCS metadata directories (CVS/, .svn, etc). * pcvs.el (completion-ignored-extensions): * vc-svn.el (completion-ignored-extensions): Don't add VCS-specific directory, now done in bindings.el. 2009-01-29 Klaus Straubinger (tiny change) * pcmpl-rpm.el (pcmpl-rpm): Doc fix. (Bug#2094) 2009-01-29 Glenn Morris * mail/rmail.el (rmail-file-name): Remove duplicate definition. (rmail-set-header): Ensure header changes get saved. * mail/rmailedit.el (rmail-summary-disable): Fix declaration. * mail/rmailkwd.el (rmail-set-label): Update the summary, if there is one, after a label is added. * mail/rmailsum.el (rmail-summary-update-line): New function. (rmail-summary-goto-msg): Return a value according to whether message was found. (rmail-summary-update-highlight): Give the overlay an 'rmail-summary property. Use line-end-position. 2009-01-29 Chong Yidong * mail/rmailedit.el (rmail-cease-edit): Add additional quotes to quoted From lines. * mail/rmail.el (rmail-redecode-body): New function, based on old version removed in 2009-01-22 change. (rmail-show-message): Unquote From lines. 2009-01-28 Tassilo Horn * doc-view.el (doc-view-mode): Don't use string-match and file extension to choose fallback mode on empty/non-existing files but let-bind auto-mode-alist and call normal-mode. 2009-01-28 Eli Zaretskii * ls-lisp.el (ls-lisp-classify): Propertize file name before concatenating the type indicating character. (ls-lisp-format): Don't propertize file-name only if ls-lisp-classify already did. 2009-01-28 Michael Albinus * net/dbus.el (dbus-event-error-hooks): Fix docstring. Describe second parameter of hook functions. (dbus-handle-event): Apply it. 2009-01-28 Chong Yidong * mail/rmail.el (rmail-toggle-header): Don't reset rmail-header-style permanently (bug#2016). 2009-01-28 Denis Howe * complete.el (PC-do-completion): Correct case when completion is unambiguous. 2009-01-28 Stephen Berman * calendar/todo-mode.el (todo-insert-item-here): Prevent insertion of a new entry inside of an existing entry. Minor code cleanup. (Bug#2084) (todo-add-category): Change the interactive spec. Signal an error if the Todo file is non-empty but contains no category. Reject category names that could induce bugs and confusion. Call todo-mode if the Todo file is new and unsaved. Simplify handling of local variables cookie. Properly display the newly added category in Todo mode. (todo-show): Call todo-initial-setup only if there is neither a Todo file nor a corresponding unsaved buffer. (Bug#2085) (todo-category-alist): Delete function. (todo-completing-read): New function. (todo-insert-item, todo-jump-to-category): Use it. (todo-insert-item): Make the use of the prefix argument conform to the doc string. (Bug#2086) 2009-01-28 Glenn Morris * mail/rmail.el (rmail-expunge-and-save): Always show a message, even when called from the summary. (Bug#2075) (rmail-no-mail-p): New func, extracted from rmail-show-message-maybe. (rmail-show-message-maybe): Use rmail-no-mail-p. (rmail-show-message): If empty folder, do nothing. (Bug#2076) (rmail-get-labels): Separate status and label fields with a semicolon, rather than a comma, for consistency with old Rmail. * mail/rmailsum.el (rmail-message-recipients-p-1): Don't bother starting from the beginning, since mail-fetch-field does not care. (rmail-create-summary-line): Fix unseen handling. (Bug#2089) (rmail-get-summary-status): New name for old rmail-get-summary-labels. (rmail-get-summary-labels): New function. Returns labels rather than status (edited, etc). (rmail-create-summary): Insert an extra space after the status flags, for consistency with old rmail, and with current rmail-summary-font-lock-keywords. 2009-01-28 Chong Yidong * progmodes/perl-mode.el (perl-indent-line-command): Call indent-region if region is active. Use cond instead of nested ifs. (Bug#2053) 2009-01-27 Chong Yidong * mail/rmail.el (rmail-convert-babyl-to-mbox): Prompt user before converting. * mail/unrmail.el (unrmail): Record labels in X-RMAIL-* fields, which are recognized by the new Rmail, instead of X-BABYL-V6-*. 2009-01-27 Christopher Oliver * mouse.el (mouse-select-font): Return a string instead of a list. 2009-01-27 Chong Yidong * bindings.el: Swap C-delete and C-backspace bindings here, so we don't have to do it in normal-erase-is-backspace-mode. * simple.el (normal-erase-is-backspace-mode): Don't swap C-delete and C-backspace; the latter is not available on ttys anyway. 2009-01-27 Tassilo Horn (doc-view-mode): Fix broken call to string-match. 2009-01-27 Tassilo Horn * doc-view.el (doc-view-mode): Enhance docstring and fallback to fundamental-mode or ps-mode if the file is empty or doesn't exist at all. (doc-view-initiate-display): Better info message if doc-view-mode cannot be used. (Missing utility or no png support/no X frame.) (Bug#2058) 2009-01-27 Glenn Morris * mail/rmail.el (rmail-copy-headers): Doc fix. Leave point at the end of the headers in the full header case. (Bug#2073) 2009-01-27 Kenichi Handa * mail/rmail.el (rmail-get-coding-system): Re-search rmail-mime-charset-pattern directly instead of using mail-fetch-field. Use coding-system-from-name. * international/mule-cmds.el (canonicalize-coding-system-name) (coding-system-from-name): New functions. 2009-01-27 Glenn Morris * dired-x.el (dired-bind-vm): Doc fix. * mail/rmail-spam-filter.el: Remove leading `*' from defcustom docs. Replace `first' and `rest' with `car' and `cdr' throughout. (rsf-auto-delete-spam-bbdb-entries): Remove unused variable. (rsf-scanning-messages-now): Doc fix. (rsf-check-field): Rename from `check-field' and update callers. (rmail-spam-filter): Fix bbdb/mail_auto_create_p oddness. Use rmail-output rather than deleted rmail-output-to-rmail-file. * mail/rmail.el: Remove leading `*' from defcustom docs. Remove needless autoloads of many defcustoms and hooks. (rmail-enable-mime, rmail-insert-mime-resent-message-function) (rmail-search-mime-message-function, rmail-search-mime-header-function) (rmail-decode-mime-charset): Doc fix. (rmail-search-message, rmail-resend): Check functions set before use. * mail/rmailout.el: Remove leading `*' from defcustom docs. Remove needless autoloads of many defcustoms. (rmail-output-to-babyl-buffer): Rename from rmail-output-to-r-mail-buffer and update caller. (rmail-output): Doc fix. * mail/rmailsum.el: Remove leading `*' from defcustom docs. Remove needless autoloads of many defcustoms. (rmail-message-regexp-p-1): Check rmail-search-mime-header-function is set. * mail/unrmail.el (command-line-args-left): Remove unneeded declaration. (batch-unrmail, unrmail): Doc fix. * mail/rmailsum.el (rmail-message-recipients-p-1) (rmail-message-regexp-p-1): Ensure searches start from the beginning of the header. 2009-01-27 Chong Yidong * mail/rmailsum.el (rmail-summary-mark-deleted): Recache summary. 2009-01-27 Jay Belanger * calc/calc-sel.el (cal-sel-mult-both-sides): Add an option to expand the denominator. 2009-01-26 Michael Albinus * net/dbus.el (dbus-event-error-hooks): New variable. (dbus-handle-event): Use it. 2009-01-26 Glenn Morris * Makefile.in (ELCFILES): Update. * mail/rmail.el (rmail-reply): Don't include Resent-To and Resent-Cc in replies. (Bug#512) 2009-01-25 Ulf Jasper * calendar/icalendar.el (icalendar-uid-format): Fix doc string. 2009-01-25 Adrian Robert * term/ns-win.el (ns-insert-working-text, ns-delete-working-text): Remove from global map and key definitions. (ns-toggle-toolbar, ns-info-prefs): Add to global map and key definitions. (ns-show-preferences-help, ns-unput-working-text): New functions. (ns-unecho-working-text): Update message. 2009-01-25 Craig Markwardt * calendar/icalendar.el (icalendar-uid-format): New defcustom variable to allow the user to choose icalendar UID format. (icalendar--diarytime-to-isotime): Bug fix, now times in the range 12:00am-12:59am are correctly converted to 0000-0059, instead of 12pm. (icalendar-export-region, icalendar--create-uid): Use custom function to compute icalendar UID for each entry. (icalendar--parse-summary-and-rest): Bug fix for parsing of lines with description, location, etc. fields (need to keep active count of fields encountered). Another bug fix to the regex that matches multiple lines (need \' regex instead of $ to match end-of-entry). 2009-01-25 Juri Linkov * progmodes/grep.el (grep-mode-map): Put grep-find before grep and change its title from "Recursive grep..." to "Grep via Find...". Add menu items for lgrep and rgrep. 2009-01-24 Vinicius Jose Latorre * ps-print.el (ps-print-version): New version 7.3.4. 2009-01-24 Eduard Wiebe (tiny change) * ps-print.el: Fix face background/foreground extraction. (ps-face-extract-color): New fun. (ps-face-attributes, ps-face-attribute-list): Code fix. 2009-01-24 Geoff Gole (tiny change) * align.el (align-region): Avoid infloop. 2009-01-24 Eli Zaretskii * env.el (environment): Function removed. * international/mule-cmds.el (set-language-environment-coding-systems): If default-buffer-file-coding-system is nil, set up to have EOLs that are native for the underlying system-type. (Bug#1853) (prefer-coding-system, set-default-coding-systems): Doc fix. 2009-01-24 Juanma Barranquero * emacs-lisp/eldoc.el (eldoc-function-argstring-format): Revert 2007-09-26 change; use `string-match-p' to check for &keywords. (eldoc-get-fnsym-args-string, eldoc-highlight-function-argument): Use `string-match-p'. 2009-01-24 Ulf Jasper * net/newst-treeview.el (newsticker--treeview-first-feed): New. (newsticker-treeview-next-new-or-immortal-item): Try first-feed if next-feed does not succeed. Fixes bug#1710 even more. (newsticker-treeview-next-feed): Simplify. (newsticker--group-get-feeds): Suppress group names in result. 2009-01-24 Adrian Robert * term/ns-win.el (menu-bar-select-frame): Drop this override. (menu-bar-update-frames): Update call to menu-bar-select-frame. 2009-01-24 Glenn Morris * mail/rmail.el (rmail-insert-inbox-text): Revert replacement of "popmail" by "pormail". * language/ethio-util.el (rmail-current-message, rmail-message-vector): Remove unneeded declarations. 2009-01-24 Jay Belanger * calc/calc-poly.el (calcFunc-apart): Improve test for rational functions. 2009-01-23 Chong Yidong * mail/rmailsum.el (rmail-summary-by-labels): Correctly handle return value of rmail-get-labels. * mail/rmailkwd.el (rmail-next-labeled-message): Correctly handle return value of rmail-get-labels. * mail/rmail.el (rmail-get-labels): Obey the MSG argument. (rmail-buffer-swapped): Fix last change. (Bug#1997) 2009-01-23 Ulf Jasper * net/newst-backend.el (newsticker--cache-read): Offer deletion of old cache file. Fixes bug#1710. 2009-01-23 Chong Yidong * mail/rmail.el (rmail-generate-viewer-buffer): Fix typo. 2009-01-23 Adrian Robert * term/ns-win.el (ns-insert-working-text, ns-put-working-text): Switch names and update comments for clarity. 2009-01-23 Stefan Monnier * mail/rmail.el (rmail-write-region-annotate): Only switch buffer if start is nil, as was done in tar-mode.el. 2009-01-23 Glenn Morris * mail/sendmail.el (mail-bury): Revert previous change now pmail is no more. * mail/uce.el (rmail-msg-is-pruned): Remove declaration of deleted func. 2009-01-23 Chong Yidong * server.el (server-name): Make it a defcustom. (Bug#1995) * mail/rmail.el (rmail-buffer-swapped): Mark as permanent local. 2009-01-23 Glenn Morris * Makefile.in (ELCFILES): Update. 2009-01-22 Ulf Jasper * net/newst-treeview.el (newsticker-treeview-next-new-or-immortal-item): New optional arg current-item-counts. Move to next feed if necessary. (Bug#1569) (newsticker-treeview-prev-new-or-immortal-item): Move to previous feed if necessary. (Bug#1569) (newsticker-treeview-next-feed) (newsticker-treeview-prev-feed): New optional arg stay-in-tree. Don't activate node nil. (Bug#1569) 2009-01-22 Paul Reilly Henrik Enberg Alex Schroeder Chong Yidong Richard M Stallman Glenn Morris Juanma Barranquero * mail/rmail.el: Code implementing Rmail-mbox functionality. (rmail-attribute-header, rmail-keyword-header) (rmail-answered-attr-index, rmail-deleted-attr-index) (rmail-edited-attr-index, rmail-filed-attr-index) (rmail-retried-attr-index, rmail-forwarded-attr-index) (rmail-unseen-attr-index, rmail-resent-attr-index) (rmail-attr-array, rmail-header-style, rmail-file-name) (rmail-buffer-swapped): New vars. (rmail-convert-file-maybe, rmail-error-bad-format) (rmail-convert-babyl-to-mbox, rmail-get-coding-system) (rmail-generate-viewer-buffer, rmail-change-major-mode-hook) (rmail-buffers-swapped-p, rmail-swap-buffers-maybe) (rmail-mode-kill-buffer-hook, rmail-get-new-mail-1) (rmail-get-new-mail-filter-spam, rmail-add-mbox-headers) (rmail-get-header, rmail-set-header, rmail-get-attr-names) (rmail-get-keywords, rmail-get-labels, rmail-get-attr-value) (rmail-message-attr-p, rmail-message-unseen-p) (rmail-apply-in-message, rmail-collect-deleted, rmail-widen) (rmail-show-message-maybe, rmail-copy-headers) (rmail-simplified-subject, rmail-simplified-subject-regexp) (rmail-write-region-annotate): New functions. (rmail-keywords, rmail-default-rmail-file): Delete vars. (rmail-convert-mailpath, rmail-convert-file) (rmail-insert-rmail-file-header, rmail-decode-babyl-format) (rmail-parse-file-inboxes, rmail-convert-to-babyl-format) (rmail-reformat-message, rmail-clear-headers, rmail-msg-is-pruned) (rmail-redecode-body) (rmail-msg-restore-non-pruned-header, rmail-msg-prune-header) (rmail-narrow-to-non-pruned-header, rmail-message-recipients-p) (rmail-count-screen-lines, rmail-message-regexp-p) (rmail-current-subject, rmail-current-subject-regexp): Delete functions. (rmail-nuke-pinhead-header): Move to rmailout.el. (rmail-ignored-headers): Add additional headers. (rmail-mode-map): Update key commands. (rmail-tool-bar-map): Build tool-bar unconditionally. (rmail, rmail-mode, rmail-get-new-mail): Handle babyl-to-mbox conversion and new buffer swapping mechanism. (rmail-perm-variables): Use new vars, and remove deleted ones. (rmail-revert): Use rmail-convert-file-maybe. (rmail-duplicate-message): Use rmail-show-message-maybe. (rmail-get-new-mail): Don't leave the buffer screwed up if we get a disk-full error. (rmail-parse-url): Strip embedded password. (rmail-insert-inbox-text): Default to movemail if rmail-movemail-program is null. Handle mbox format. (rmail-decode-region): New arg. (rmail-display-labels): Don't perform Babyl processing. (rmail-set-attribute, rmail-message-labels-p, rmail-search) (rmail-set-message-counters, rmail-count-new-messages) (rmail-set-message-counters-counter, rmail-show-message) (rmail-next-same-subject, rmail-reply): Use mbox format. (rmail-toggle-header, rmail-show-message, rmail-only-expunge) (rmail-expunge, rmail-expunge-and-save, rmail-quit): Use new buffer swapping mechanism. * mail/rmailedit.el: Require rmailsum.el. (rmail-edit-mode): First check if buffer is swapped. (rmail-edit-saved-coding-system): Delete var. (rmail-edit-current-message): Don't call deleted vars. (rmail-cease-edit): Handle mbox format. (rmail-abort-edit): Widen buffer. * mail/rmailkwd.el: Require rmail.el. Remove unneeded function declarations. (rmail-buffer, rmail-current-message, rmail-last-label) (rmail-last-multi-labels, rmail-summary-vector) (rmail-total-messages, rmail-attributes, rmail-deleted-label) (rmail-keywords): Delete vars. (rmail-attribute-p, rmail-keyword-p, rmail-make-label) (rmail-force-make-label, rmail-quote-label-name, rmail-keywords) (rmail-parse-file-keywords, rmail-install-keyword): Delete functions. (rmail-make-label): New function. (rmail-read-label): Don't call rmail-parse-file-keywords. (rmail-set-label): Rewrite using rmail-set-attribute. (rmail-next-labeled-message): Use rmail-get-labels. * mail/rmailmm.el: New file. * mail/rmailmsc.el: Require rmail.el. (set-rmail-inbox-list): Set rmail-inbox-list directly. * mail/rmailout.el (rmail-output-decode-coding): New var. (rmail-output-as-babyl, rmail-output-to-r-mail-buffer) (rmail-convert-to-babyl-format, rmail-output-as-mbox) (rmail-output-to-rmail-buffer): New functions. (rmail-output-read-rmail-file-name, rmail-output-to-rmail-file): Delete functions. (rmail-nuke-pinhead-header): Move from rmail.el. (rmail-output): Rewrite to accept both mbox and babyl output. (rmail-output-as-seen, rmail-output-body-to-file): Rewrite to use mbox internal format. * mail/rmailsort.el: Eval mail-utils when compiled. Require rmail.el. (rmail-sort-by-date, rmail-sort-by-subject, rmail-sort-by-author) (rmail-sort-by-recipient, rmail-sort-by-correspondent): Use rmail-get-header. (rmail-sort-messages): Use new buffer swapping mechanism. Handle mbox internal format. * mail/rmailsum.el (rmail-summary): Make sure rmail buffer is shown. (rmail-message-recipients-p, rmail-message-recipients-p-1) (rmail-message-regexp-p, rmail-new-summary-1) (rmail-get-create-summary-buffer, rmail-get-summary) (rmail-create-summary-line, rmail-get-summary-labels) (rmail-create-summary, rmail-header-summary) (rmail-summary-output, rmail-summary-output-as-seen): New functions. (rmail-summary-by-topic, rmail-message-senders-p) (rmail-header-summary, rmail-summary-next-same-subject): Use mbox internal format. (rmail-new-summary): Rewrite window handling. (rmail-make-summary-line, rmail-make-summary-line-1) (rmail-make-basic-summary-line) (rmail-summary-output-to-rmail-file): Functions deleted. (rmail-summary-undelete, rmail-summary-rmail-update) (rmail-summary-scroll-msg-up, rmail-summary-scroll-msg-down) (rmail-summary-show-message, rmail-summary-wipe) (rmail-summary-toggle-header, rmail-summary-reply): Use rmail-buffer instead of rmail-view-buffer. (rmail-summary-mode-map): Rebind "o" to rmail-summary-output. (rmail-summary-goto-msg): Use rmail-show-message-maybe. (rmail-summary-expunge-and-save): Use rmail-expunge-and-save. 2009-01-22 Adrian Robert * term/ns-win.el (ns-show-manual): Fix node name. (x-open-connection): Fix typo in declaration filename. 2009-01-22 Romain Francoise * Makefile.in (ELCFILES): Update. 2009-01-22 Dan Nicolaescu * frame.el (make-frame-on-tty): Remove function, inline contents in the only user ... * server.el (server-create-tty-frame): ... here. 2009-01-22 Chong Yidong * format.el (format-annotate-function): Set write-region-post-annotation-function. 2009-01-21 John Wiegley * eshell/esh-mode.el: Add eshell-handle-ansi-color to the default list of output filters. (eshell-mode): Change the default binding of C-a to eshell-bol. I don't think it's actually bound at all by default in eshell; it just falls back to the default binding of C-a. 2009-01-21 Stefan Monnier * minibuffer.el (completion--insert-strings): Fix up computation of column position which manifested e.g. in proced's signal completion. 2009-01-21 Chong Yidong * server.el (server-start): Allow server to shut down when no frames are available in daemon-mode. 2009-01-21 Juanma Barranquero * term.el (term-previous-matching-input, term-next-matching-input) (term-previous-matching-input-from-input) (term-next-matching-input-from-input, term-backward-matching-input) (term-forward-matching-input): Change argument name to match docstring. 2009-01-21 Glenn Morris * emacs-lisp/authors.el (authors-aliases): Remove some "ignore" entries that are no longer needed. (authors-scan-change-log): Doc fix. (authors-scan-el): Restore let*, foolishly removed 2009-01-11. 2009-01-20 Agustín Martín * textmodes/ispell.el (ispell-find-aspell-dictionaries): Use aspell default dict. 2009-01-20 Kenichi Handa * descr-text.el (describe-char): Improve description of eight-bit char in a unibyte buffer. (Bug#1935) 2009-01-20 Glenn Morris * emacs-lisp/authors.el (authors-aliases, authors-fixed-case): Add some entries. 2009-01-19 Chong Yidong * progmodes/ruby-mode.el: Autoload other interpreter names. 2009-01-19 Juanma Barranquero * descr-text.el (describe-char-categories): New defsubst. (describe-char): Use it. 2009-01-19 Michael Albinus * net/tramp.el (tramp-ipv6-regexp): The regexp shall cover also IPv4 mapped IPv6 addresses. 2009-01-18 Juanma Barranquero * textmodes/css-mode.el (css-backward-sexp): Stop once it reaches the beginning of the buffer. (Bug#1949) 2009-01-18 Markus Triska * linum.el (linum-update-window): Use `delq' instead of `delete'; compare strings with `equal-including-properties'. 2009-01-17 Glenn Morris * progmodes/cc-langs.el (declare-function): Add compatibility stub. (delete-duplicates, mapcan, cl-macroexpand-all): Declare. * emacs-lisp/eldoc.el (eldoc-minor-mode-string) (eldoc-message-commands, eldoc-print-current-symbol-info): Doc fix (consistent case of "ElDoc"). 2009-01-17 Roland Winkler * textmodes/bibtex.el (bibtex-format-entry): Simplify previous change. 2009-01-17 Eli Zaretskii * dos-w32.el (find-buffer-file-type-coding-system): If `(car TARGET)' does not exist, try again with its basename replaced by `(cdr TARGET)'. (Related to Bug #1853.) * international/mule-conf.el (raw-text, eight-bit): Doc fixes. 2009-01-16 Agustín Martín * textmodes/flyspell.el (flyspell-post-command-hook): Do nothing unless flyspell-mode is enabled. (flyspell-pre-point): Make buffer-local. 2009-01-16 Roland Winkler * textmodes/bibtex.el (bibtex-format-entry): For updating field delimiters, allow fields that are composed of strings and string constants. (bibtex-mode): Doc fix. 2009-01-16 Agustín Martín * textmodes/ispell.el: Protect against declare-function undefined in XEmacs. (ispell-program-name): Search also for hunspell when setting default. (ispell-find-aspell-dictionaries): Better error message. Use correct dictionary alist for default. Better fallback default dictionary. 2009-01-16 Ulrich Mueller * international/quail.el (quail-insert-kbd-layout): Delete superfluous handling of 8-bit code. (Bug#1418) 2009-01-16 Glenn Morris * emacs-lisp/eldoc.el: Remove leading `*' from defcustoms. (eldoc-argument-case, eldoc-echo-area-use-multiline-p) (eldoc-highlight-function-argument): Doc fix - mention effect of eldoc-documentation-function. (eldoc-message-commands-table-size, eldoc-message-commands) (eldoc-current-idle-delay, eldoc-get-fnsym-args-string): Doc fix. (eldoc-documentation-function): Mention effect on user options. * emacs-lisp/copyright.el (copyright-update): Doc fix. 2009-01-16 Kevin Ryde * tar-mode.el (tar-rename-entry): Only test the magic string, without its version number, and then set both. 2009-01-16 Richard M Stallman * textmodes/paragraphs.el (sentence-end): Accept non-break space. 2009-01-15 Dan Nicolaescu * buff-menu.el (Buffer-menu-mode): Derive from special-mode. Refer to revert-buffer, not Buffer-menu-revert. (Buffer-menu-sort): Use revert-buffer, not Buffer-menu-revert. (Buffer-menu-revert): Remove function, unused. (Buffer-menu-mode-map): Don't bind keys already bound by special-mode. (Buffer-menu-mode-map): Add a menu. 2009-01-15 Stephen Eglen * emacs-lisp/lisp-mode.el (lisp-mode-variables): Doc fix. 2009-01-15 Dan Nicolaescu * vc-hg.el (vc-hg-diff): Pass relative file names. (Bug#1903) 2009-01-15 Martin Rudalics * window.el (special-display-p): Revert 2009-01-14 change. 2009-01-15 Glenn Morris * emacs-lisp/authors.el (authors-aliases, authors-fixed-case): (authors-obsolete-files-regexps, authors-ignored-files): (authors-renamed-files-alist): Add some entries. (authors-fixed-entries): Change some entries. (authors-canonical-file-name): Doc fix. (authors-scan-change-log): Handle joint authorship in ChangeLogs. 2009-01-14 Juri Linkov * info.el (Info-isearch-filter): Don't filter out invisible text when search-invisible is t. (Bug#1848) * simple.el (blink-matching-open): Use `minibuffer-message' to display messages in the minibuffer. * help.el (view-help-file): * menu-bar.el (menu-bar-help-extra-packages): Use goto-address-mode instead of goto-address. * net/goto-addr.el (goto-address-url-face): Change default value from `bold' to `link'. 2009-01-14 Juanma Barranquero * international/mule-diag.el (print-list): Fix 2008-12-03 change. 2009-01-14 Martin Rudalics * frame.el (special-display-popup-frame): Rewrite doc-string and simplify code. * window.el (special-display-buffer-names) (special-display-regexps): Add customization support for function/other-args elements. Rewrite doc-strings. (special-display-function): Rewrite doc-string. (same-window-buffer-names, same-window-regexps): Minor doc-string fixes. (special-display-p): Minor rewrite. 2009-01-14 Glenn Morris * textmodes/bibtex.el (bibtex-copy-field-as-kill): Doc fix. 2009-01-14 Juanma Barranquero * minibuffer.el (minibuffer-message): Fix regexp so it doesn't exclude MESSAGEs with internal square brackets (i.e., " this [test] message"). Use `string-match-p'. (completion--make-envvar-table, completion--file-name-table) (completion-pcm--string->pattern, completion-pcm--all-completions) (completion-pcm--filename-try-filter): Use `string-match-p'. 2009-01-14 Juri Linkov * progmodes/bug-reference.el (bug-reference-fontify): Check for non-nil `bug-reference-url-format' before putting an overlay property `bug-reference-url'. (bug-reference-mode, bug-reference-prog-mode): Don't check for `bug-reference-url-format'. Doc fix. (Bug#1744) 2009-01-13 Chong Yidong * menu-bar.el (menu-bar-file-menu): Do not hardbind key display for exit-emacs item. Bind it to save-buffers-kill-terminal. * diff-mode.el (diff-mode-menu): Do not assume whitespace-mode is loaded. 2009-01-13 Jason Rumney * faces.el (face-valid-attribute-values): No stipple on w32. (Bug#884) 2009-01-12 Juanma Barranquero * subr.el (play-sound): Doc fix. (Bug#250) (shell-quote-argument, field-at-pos): Fix typos in docstrings. 2009-01-12 Alan Mackenzie * textmodes/paragraphs.el (forward-sentence): Change limit of re-search-backward to allow values of `sentence-end' anchored at BOL. 2009-01-12 Stefan Monnier * tar-mode.el (tar-header-block-tokenize): Properly ignore the version subfield of the magic string. 2009-01-11 Jay Belanger * calc/calc-lang.el (math-compose-tex-sqrt): New function. (math-special-function-table): Use `math-compose-tex-sqrt' to compose sqrts in TeX and LaTeX mode. 2009-01-11 Chong Yidong * faces.el (describe-face): Ignore anonymous faces. * server.el (server-save-buffers-kill-terminal): Args changed. Handle nowait client frames. * files.el (save-buffers-kill-terminal): Args for server-save-buffers-kill-terminal changed. 2009-01-11 Juanma Barranquero * international/fontset.el (create-fontset-from-fontset-spec): Doc fix. 2009-01-11 Glenn Morris * diff-mode.el (whitespace-style, whitespace-trailing-regexp): Silence compiler. * emacs-lisp/authors.el (authors-aliases): Add, remove, and adjust some entries. (authors-fixed-case, authors-ignored-files, authors-valid-file-names): (authors-renamed-files-alist): Add entries. (authors-fixed-entries): Update for renamed and removed files. (authors-canonical-file-name): Add entries to authors-checked-files-alist based on their full names, expanded relative to each log-file directory. (authors-scan-el, authors-add-to-author-list, authors): Handle multiple authors in a file, via a new :cowrote category. * emacs-lisp/copyright.el (copyright-update): Add doc-string. 2009-01-10 Richard M Stallman * mail/mail-utils.el (mail-quote-printable-region): New function. 2009-01-10 Glenn Morris * calendar/cal-move.el (calendar-scroll-left-three-months) (calendar-scroll-right-three-months): * calendar/holidays.el (calendar-list-holidays) (calendar-mark-holidays): * calendar/lunar.el (calendar-lunar-phases): Add event handling, for when called from menus with the calendar buffer not current. 2009-01-10 Dan Nicolaescu * diff-mode.el (diff-show-trailing-whitespaces): Remove function. Move setting up whitepace-mode ... (diff-mode): ... here. (diff-mode-menu): Add a menu entry for showing trailing whitespace. 2009-01-10 Chong Yidong * faces.el (x-font-family-list): Remove entirely. 2009-01-10 Eli Zaretskii Fix Bug #876: * info.el (info-insert-file-contents, Info-insert-dir): Bind inhibit-null-byte-detection to non-nil. 2009-01-10 Martin Rudalics * tool-bar.el (tool-bar-mode): Modify all frame parameters when toggling tool bars on. (Bug#1754) 2009-01-09 Chong Yidong * faces.el (face-valid-attribute-values): Use string as value for :family attribute. Now, font-family-list returns a list of strings. (x-font-family-list): Obsolete compatibility version of function from xfaces.c. 2009-01-09 Martin Rudalics * window.el (special-display-buffer-names) (special-display-regexps, special-display-function): In doc-strings say "same-window" instead of "same-buffer". 2009-01-09 Michael Albinus * net/tramp.el: Revert previous patch. `last-command-char' is used in code intended only for XEmacs, where it is different from `last-command-event'. 2009-01-09 Glenn Morris * subr.el (last-input-char, last-command-char): Move here from src/keyboard.c. * allout.el, autoarg.el, complete.el, ediff-mult.el, ediff-util.el: * electric.el, hexl.el, isearch.el, isearchb.el, kmacro.el: * minibuffer.el, repeat.el, simple.el, skeleton.el, terminal.el, tmm.el: * wdired.el: * calc/calc-aent.el, calc/calc-ext.el, calc/calc-incom.el: * calc/calc-keypd.el, calc/calc-misc.el, calc/calc-prog.el: * calc/calc-sel.el, calc/calc-store.el, calc/calc-stuff.el: * calc/calc-units.el, calc/calc-yank.el, calc/calc.el: * emacs-lisp/lisp.el, emacs-lisp/re-builder.el: * emulation/vi.el, emulation/vip.el, emulation/viper-cmd.el: * eshell/em-smart.el, eshell/esh-mode.el: * international/mule-cmds.el: * mail/mailabbrev.el: * net/tramp.el: * play/mpuz.el: * progmodes/ada-mode.el, progmodes/antlr-mode.el, progmodes/cc-align.el: * progmodes/cc-cmds.el, progmodes/cperl-mode.el, progmodes/f90.el: * progmodes/fortran.el, progmodes/icon.el, progmodes/idlwave.el: * progmodes/octave-mod.el, progmodes/pascal.el, progmodes/perl-mode.el: * progmodes/prolog.el, progmodes/sh-script.el, progmodes/simula.el: * progmodes/tcl.el, progmodes/vera-mode.el, progmodes/verilog-mode.el: * progmodes/vhdl-mode.el, progmodes/xscheme.el: * textmodes/sgml-mode.el, textmodes/table.el, textmodes/two-column.el: Replace last-command-char with last-command-event. * double.el, electric.el, replace.el, term.el, terminal.el: * calc/calc.el: * emulation/viper-cmd.el: * international/mule-cmds.el: * obsolete/iso-acc.el: * progmodes/vhdl-mode.el: Replace last-input-char with last-input-event. * emacs-lisp/edebug.el: Remove references to last-command-char and last-input-char, since these have been identical to last-command-event and last-input-event since at least Emacs 19. (edebug-outside-last-command-char, edebug-outside-last-input-char): Remove. 2009-01-09 Dave Love * calendar/time-date.el: Require cl for `declare'. 2009-01-09 Reiner Steib * calendar/time-date.el (format-seconds): Explain `assoc-string'. Suggested by Dave Love. 2009-01-09 Dave Love * net/imap.el (imap-string-to-integer): Fix typo. (imap-fetch-safe): New function. (imap-message-copyuid-1, imap-message-appenduid-1): Use it. * net/imap.el (imap-process-connection-type, imap-debug, imap-open): (imap-parse-greeting): Fix doc strings. (imap-tls-open, imap-search, imap-message-appenduid-1): Add FIXMEs. (imap-parse-flag-list): Make messages unique. (imap-parse-body): Fix comments. Add comment on Exchange 2007. * net/imap.el (imap-message-appenduid-1): Fix typo in imap-fetch-safe call. * net/imap.el: Fix author email. Doc fixes. (imap-parse-body): Work around assertion failure in bogus Exchange 2007 reply. 2009-01-09 Reiner Steib * net/dns.el (dns-set-servers): Check "Address". Fix typo. 2009-01-09 Reiner Steib * net/dns.el (dns-set-servers): Rename from dns-parse-resolv-conf. Call nslookup if resolv.conf isn't available. (dns-query): Rename from query-dns. (dns-query-cached): Rename from query-dns-cached. 2009-01-09 Reiner Steib * net/imap.el (imap-enable-exchange-bug-workaround): Explain auto-detection in the doc string. 2009-01-09 Juanma Barranquero * textmodes/ispell.el (ispell-check-minver, ispell-last-program-name) (ispell-html-skip-alists, ispell-send-replacement, ispell-show-choices) (ispell-begin-skip-region-regexp, ispell-skip-region-list) (ispell-ignore-fcc, ispell-skip-region, ispell-process-line) (ispell-horiz-scroll, ispell-mime-skip-part, ispell-buffer-local-words): Fix typos in docstrings. (ispell-command-loop): Reflow docstring. 2009-01-08 Agustín Martín * textmodes/ispell.el (ispell-encoding8-command): New variable. (ispell-aspell-supports-utf8): Mark as obsoleted by ispell-encoding8-command. (ispell-check-version): Set ispell-encoding8-command. (ispell-check-spellchecker-params, ispell-start-process): Use ispell-encoding8-command. * textmodes/flyspell.el (flyspell-large-region): Use ispell-encoding8-command. 2009-01-08 Glenn Morris * calendar/cal-menu.el (cal-menu-scroll-menu): Remove entries that don't scroll the calendar. * international/mule-cmds.el (universal-coding-system-argument): last-input-char need not be a char. * textmodes/ispell.el (ispell-check-minver): Declare. Use string-to-number rather than string-to-int. 2009-01-07 Juanma Barranquero * add-log.el (change-log-search-tag-name): Reflow docstring. (change-log-mode): Fix typo in docstring. * international/mule.el (define-coding-system): Doc fix. 2009-01-07 Kenichi Handa * international/mule.el (define-coding-system): Fix docstring about :bom usage. 2009-01-07 Martin Rudalics * dired.el (dired-pop-to-buffer): Don't split windows horizontally. (Bug#1806) 2009-01-07 Stefan Monnier * tar-mode.el (tar-mode, tar-mode-write-contents) (tar-write-region-annotate): Undo Andreas's last change. 2009-01-06 Michael Albinus * net/tramp.el (tramp-do-copy-or-rename-file-directly) (tramp-handle-file-local-copy, tramp-handle-write-region) * net/tramp-smb.el (tramp-smb-handle-copy-file) (tramp-smb-handle-rename-file): Delete temporary file in case of quit. 2009-01-06 Stefan Monnier * minibuffer.el (completion-hilit-commonality): Don't presume all-completions always include the input as prefix. (completion-pcm--pattern-trivial-p): Accept a few more patterns as trivial. (completion-pcm--hilit-commonality): Remove leftover code that used to deal with the now removed cdr-in-last-cons. 2009-01-06 Juanma Barranquero * international/mule.el (define-coding-system): Fix typos in docstring. 2009-01-05 Alan Mackenzie * progmodes/cc-styles.el (c-setup-paragraph-variables): Ensure paragraph-\(start\|separate\) match blank lines. For AWK Mode. 2009-01-05 Michael Albinus * net/tramp.el (tramp-handle-load) (tramp-do-copy-or-rename-file-directly) (tramp-handle-file-local-copy, tramp-handle-insert-file-contents) (tramp-handle-write-region) * net/tramp-smb.el (tramp-smb-handle-copy-file) (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Delete temporary file in case of error. 2009-01-05 Agustín Martín * textmodes/ispell.el (ispell-check-version): Use with-temp-buffer. 2009-01-05 Richard M Stallman * mail/sendmail.el (mail-bury): Treat pmail-mode like rmail-mode. 2009-01-05 Martin Rudalics * window.el (display-buffer): Fix last fix. 2009-01-05 Juanma Barranquero * desktop.el (desktop-save-in-desktop-dir): Use `abbreviate-file-name' to shorten the desktop file directory shown in message. 2009-01-05 Glenn Morris * version.el (emacs-copyright): * net/tramp.el (tramp-perl-encode, tramp-perl-decode): Update copyrights for 2009. 2009-01-04 Stephen Leake * progmodes/ada-mode.el (ada-mode): Simplify doc string. (ada-get-indent-paramlist): Use ada-broken-indent instead of hard-coded 0. (ada-get-indent-loop): Fix list access bug. 2009-01-04 Juanma Barranquero * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode) (lisp-interaction-mode): Add a blank line in the docstring before the keymap listing. 2009-01-04 Martin Rudalics * window.el (display-buffer): When a buffer is displayed in the selected and some other window, and not-this-window is non-nil, try to return that other window instead of popping up a new frame. (Bug#30) 2009-01-04 Chong Yidong * simple.el (visual-line-mode-map): Remove M-[ and M-] bindings. 2009-01-04 Ulrich Mueller * progmodes/sh-script.el (sh-ancestor-alist): Doc fix. 2009-01-03 Michael Olson * net/imap.el (imap-parse-fetch): Courier can insert spurious blank characters which will confuse `read', so skip past them. 2009-01-03 Reiner Steib * emacs-lisp/authors.el (authors-aliases): Addition. (authors): Allow to use it for other projects. * emacs-lisp/copyright.el (copyright-update-directory): Autoload. Clarify MATCH argument. Print filenames. 2009-01-03 Michael Albinus * net/dbus.el (dbus-string-to-byte-array): Handle empty string. * net/tramp.el (tramp-local-host-regexp) (tramp-prefix-domain-format) (tramp-prefix-domain-regexp, tramp-domain-regexp) (tramp-user-with-domain-regexp, tramp-prefix-ipv6-format) (tramp-prefix-ipv6-regexp, tramp-ipv6-regexp) (tramp-postfix-ipv6-format, tramp-postfix-ipv6-regexp): New defconst. (tramp-file-name-structure, tramp-file-name-regexp-unified) (tramp-completion-dissect-file-name, tramp-parse-hosts-group) (tramp-dissect-file-name, tramp-make-tramp-file-name) (tramp-completion-make-tramp-file-name): Handle IPv6 addresses. (tramp-handle-insert-file-contents): Fix setting of `buffer-read-only'. (tramp-compute-multi-hops, tramp-local-host-p): Use `tramp-local-host-regexp'. (tramp-file-name-real-user, tramp-file-name-domain): Use `tramp-user-with-domain-regexp'. * net/tramp-smb.el (top): Use `tramp-prefix-domain-regexp'. (tramp-smb-maybe-open-connection): Use `tramp-file-name-*' methods. 2009-01-03 Roland Winkler * proced.el (proced-grammar-alist): Refiner can be a list (function help-echo) instead of a cons pair. (proced-post-display-hook): New variable. (proced-tree-depth): Rename from proced-tree-indent. (proced-mode): Derive mode from special-mode. (proced-mode-map): Change accordingly. (proced, proced-update): Run proced-post-display-hook. (proced-do-mark-all): Count processes for which mark has been updated. (proced-format): Check for ppid attribute. (proced-process-attributes): Take time and ctime attribute from system-process-attributes. (proced-send-signal): Doc fix. Collect properly the info on marked processes. Use fit-window-to-buffer instead of dired-pop-to-buffer. 2009-01-03 Stefan Monnier * progmodes/vhdl-mode.el (vhdl-current-line): Don't hardcode point-min==1. 2009-01-02 Juanma Barranquero * bindings.el (mode-line-eol-desc): Fix typo in help message. (mode-line-client): Fix typo in help message and docstring. 2009-01-02 Jason Rumney * term/w32-win.el (image-library-alist): Add gobject library. 2009-01-02 Martin Rudalics * frame.el (window-system-default-frame-alist) (initial-frame-alist, minibuffer-frame-alist) (pop-up-frame-alist, pop-up-frame-function) (special-display-frame-alist): Rewrite and reformat doc-strings. 2009-01-01 Martin Rudalics * simple.el (minibuffer-default-add-shell-commands): Fix doc-string typo. 2009-01-01 Chong Yidong * language/cham.el: Fix setting of composition-function-table. * language/khmer.el: Fix setting of composition-function-table. * language/tibet-util.el (tibetan-composition-function): Remove unused function, obsoleted by 2008-09-05 change to tibetan.el. * simple.el (minibuffer-default): Add defvar. * hippie-exp.el: Require comint. 2008-12-31 Martin Rudalics * simple.el (last-buffer): Don't set major mode of *scratch* if that buffer exists already. Rewrite doc-string. 2008-12-31 Andreas Schwab * tar-mode.el (tar-mode): Set write-contents-functions instead of write-region-annotate-functions. (tar-mode-write-contents): New function. (tar-write-region-annotate): Remove. 2008-12-31 Chong Yidong * files.el (basic-save-buffer): Revert 2008-12-22 change. (buffer-swapped-with): Var removed. 2008-12-30 Kenichi Handa * language/japanese.el (compose-gstring-for-variation-glyph): New function. Register it in composition-function-table. * composite.el (lglyph-set-code): New function. 2008-12-30 Stefan Monnier * tar-mode.el (tar-data-swapped): New var. (tar-data-swapped-p, tar-swap-data): Use it instead of buffer-swapped-with. (tar-write-region-annotate): Re-add (partial undo of last change). (tar-mode): Use it again (partial undo as well). 2008-12-30 Ed Swarthout (tiny change) * textmodes/table.el (table-capture): Fix symbol quoting typo. 2008-12-30 Chong Yidong * follow.el (follow-select-if-visible): Improve the check for the last line of the window. (follow-post-command-hook): Perform redisplay in more circumstances, to avoid getting point stuck on partially visible lines. 2008-12-30 Chong Yidong * follow.el (follow-calc-win-end): Use with-selected-window. (follow-windows-start-end, follow-pos-visible) (follow-windows-aligned-p): Code cleanup. (follow-select-if-visible): Try to avoid partially-visible lines. (follow-select-if-visible-from-first): Call follow-redisplay and move point to destination. (follow-redisplay): New arg, to keep selected window unchanged. (follow-post-command-hook): In final check for destination visibility, use window-start and window-end instead of the less accurate follow-pos-visible. If the selected window is redrawn, tell follow-redisplay to preserve it. (follow-calculate-first-window-start-from-below): Avoid looping forever if vertical-motion returns an unexpected value. 2008-12-30 Andreas Schwab * server.el (server-running-p): Remove interactive spec. Fix regexp. 2008-12-30 Chong Yidong * follow.el (follow-calc-win-start): Don't use `inline'. (follow-update-window-start, follow-select-if-visible) (follow-calculate-first-window-start-from-below) (follow-post-command-hook): Code cleanup. (follow-downward, follow-calculate-first-window-start): Delete function and merge into follow-redisplay. (follow-redisplay): Merge code from follow-downward and follow-calculate-first-window-start. 2008-12-30 Juanma Barranquero * proced.el (proced-tree-flag): Fix typo in docstring. 2008-12-29 Roland Winkler * proced.el (proced-temp-alist): Rename from variable proced-children-alist. (proced-process-tree, proced-toggle-tree): Fix docstring. (proced-tree): Fix docstring. Simplify. Use proced-temp-alist. (proced-temp-internal): Use proced-temp-alist. 2008-12-29 Dan Nicolaescu * subr.el (mkdir): New defalias. 2008-12-29 Juri Linkov * proced.el (proced-mode-map): Bind " " to next-line instead of the command `proced-next-line' removed on 2008-09-06. 2008-12-28 Juri Linkov * misearch.el (multi-isearch-next-buffer-function): Doc fix. (multi-isearch-search-fun): Set the second arg WRAP to nil explicitly. * textmodes/reftex-global.el (reftex-isearch-switch-to-next-file): Use `find-file-noselect' instead of `find-file' (for Emacs 22 and 23). (reftex-isearch-minor-mode): If `multi-isearch-next-buffer-function' is bound set it to `reftex-isearch-switch-to-next-file'. Otherwise, set 4 obsolete variables for backward-compatibility with Emacs 22. 2008-12-28 Juri Linkov * misc.el (butterfly): Doc fix. Add `animate-string' and `browse-url'. 2008-12-28 Raffael Mancini (tiny change) * misc.el (butterfly): New command. 2008-12-28 Roland Winkler * proced.el (proced-grammar-alist): Allow predicate nil. New attribute tree. (proced-format-alist): Use attribute tree. (proced-tree-flag, proced-tree-indent): New variables. (proced-children-alist): Rename from proced-process-tree. PPID must refer to a process in process-alist. Ignore PPIDs that equal PID (Bug#1718). Children alist inherits sorting order from process-alist. (proced-process-tree): New variable. New function. (proced-process-tree-internal, proced-toggle-tree) (proced-tree, proced-tree-insert, proced-format-tree): New functions. (proced-mark-process-alist): Add docstring. (proced-filter-parents): PPID must refer to a process in process-alist. Ignore PPIDs that equal PID (Bug#1718). (proced-sort): Throw error if attribute is not sortable. (proced-sort-interactive): Restrict completion to sortable attributes. (proced-format): Include tree in standard attributes if proced-tree-flag is non-nil. Make header clickable only if corresponding predicate is non-nil. (proced-update): Use proced-tree. 2008-12-28 Chong Yidong * diff.el (diff): Doc fix. * emacs-lisp/rx.el (rx): Doc fix. * files.el (move-file-to-trash): Bind backup-directory-alist to nil before uniquifying backup trash file name. 2008-12-27 Andreas Schwab * vc-git.el (vc-git-dir-printer): Fix filename column. 2008-12-27 Nicholas Maniscalco (tiny change) * term.el (term-emulate-terminal): Decode substring just prior to inserting it, i.e. revert part of the 2008-09-24 change. (Bug#1469) 2008-12-27 Eli Zaretskii * makefile.w32-in (MH_E_DIR): New variable. ($(MH_E_DIR)/mh-alias.elc $(MH_E_DIR)/mh-comp.elc) ($(MH_E_DIR)/mh-folder.elc $(MH_E_DIR)/mh-funcs.elc) ($(MH_E_DIR)/mh-identity.elc $(MH_E_DIR)/mh-inc.elc) ($(MH_E_DIR)/mh-junk.elc $(MH_E_DIR)/mh-letter.elc) ($(MH_E_DIR)/mh-limit.elc $(MH_E_DIR)/mh-mime.elc) ($(MH_E_DIR)/mh-print.elc $(MH_E_DIR)/mh-scan.elc) ($(MH_E_DIR)/mh-search.elc $(MH_E_DIR)/mh-seq.elc) ($(MH_E_DIR)/mh-show.elc $(MH_E_DIR)/mh-speed.elc) ($(MH_E_DIR)/mh-thread.elc $(MH_E_DIR)/mh-tool-bar.elc) ($(MH_E_DIR)/mh-utils.elc $(MH_E_DIR)/mh-xface.elc) ($(MH_E_DIR)/mh-e.elc $(MH_E_DIR)/mh-limit.elc): New dependencies. * Makefile.in ($(MH_E_DIR)/mh-alias.elc $(MH_E_DIR)/mh-comp.elc) ($(MH_E_DIR)/mh-folder.elc $(MH_E_DIR)/mh-funcs.elc) ($(MH_E_DIR)/mh-identity.elc $(MH_E_DIR)/mh-inc.elc) ($(MH_E_DIR)/mh-junk.elc $(MH_E_DIR)/mh-letter.elc) ($(MH_E_DIR)/mh-limit.elc $(MH_E_DIR)/mh-mime.elc) ($(MH_E_DIR)/mh-print.elc $(MH_E_DIR)/mh-scan.elc) ($(MH_E_DIR)/mh-search.elc $(MH_E_DIR)/mh-seq.elc) ($(MH_E_DIR)/mh-show.elc $(MH_E_DIR)/mh-speed.elc) ($(MH_E_DIR)/mh-thread.elc $(MH_E_DIR)/mh-tool-bar.elc) ($(MH_E_DIR)/mh-utils.elc $(MH_E_DIR)/mh-xface.elc) ($(MH_E_DIR)/mh-e.elc $(MH_E_DIR)/mh-limit.elc): New dependencies. 2008-12-26 Eli Zaretskii * files.el (dosified-file-name): Declare. 2008-12-26 Andreas Schwab * subr.el (keymap-canonicalize): Properly preserve keymap prompt. * tar-mode.el (tar-swap-data): New function. (tar-change-major-mode-hook): Use it instead of buffer-swap-text. (tar-mode-revert): Likewise. (tar-mode): Likewise. Don't set write-region-annotate-functions. (tar-data-swapped-p): Test buffer-swapped-with. (tar-write-region-annotate): Remove. (tar-header-block-tokenize): Add argument `coding' and use it instead of tar-file-name-coding-system. (tar-summarize-buffer): Pass tar-file-name-coding-system here. 2008-12-26 Eli Zaretskii * dos-fns.el (dosified-file-name): New function. * files.el (dir-locals-find-file): Run dir-locals-file through dosified-file-name. Compare files case-insensitively on systems whose filesystems are case-insensitive. 2008-12-25 Martin Rudalics * help.el (help-for-help-internal): Fix entry for "l". 2008-12-25 Richard M Stallman * shadowfile.el (shadow-copy-file): Revert previous change. This code as it was should work properly with buffer-swapped-with. 2008-12-24 Francois Fleuret (tiny change) * textmodes/tex-mode.el (tex-bibtex-file): Use tex-main-file. 2008-12-24 Dan Nicolaescu * subr.el (chmod): New defalias for set-file-modes. 2008-12-23 Juri Linkov * isearch.el (isearch-filter-predicate, isearch-search): Replace `isearch-filter-invisible' with `isearch-filter-visible'. (isearch-filter-visible): Rename from `isearch-filter-invisible'. Doc fix. * dired-aux.el (dired-isearch-filenames-toggle): Use the original value from `dired-isearch-filter-predicate-orig' instead of the symbol `isearch-filter-invisible'. Doc fix. (dired-isearch-filter-filenames): Doc fix. Replace `isearch-filter-invisible' with `isearch-filter-visible'. * info.el (Info-find-node-2): Use negative offset 2 instead of 1 for Info-point-loc since it is more correct in all cases. (Info-isearch-filter): Rename from `Info-isearch-filter-predicate'. Doc fix. (Info-mode): Replace `Info-isearch-filter-predicate' with `Info-isearch-filter'. 2008-12-23 Daiki Ueno * pgg.el: Add obsolescence info. 2008-12-22 Richard M Stallman * shadowfile.el (shadow-copy-file): Handle buffer-swapped-with. * files.el (buffer-swapped-with): New variable. (basic-save-buffer-0): Most of basic-save-buffer moved here. (basic-save-buffer): Unswap the buffer temporarily if nec. * dired.el (dired-readin): Inhibit modification hooks. 2008-12-22 Ulf Jasper * net/newst-backend.el (newst-backend): Remove wrong duplicate provide statement. 2008-12-22 Michael Albinus * net/tramp.el (tramp-rfn-eshadow-update-overlay): Move overlay to end, before updating. (tramp-convert-file-attributes): Add "l" indicator to file modes. (tramp-file-name-real-user, tramp-file-name-domain): New defuns. 2008-12-21 Martin Rudalics * window.el (set-window-text-height): Fix doc-string. 2008-12-21 Stefan Monnier * minibuffer.el (completion-all-completions-with-base-size): Remove. (completion-all-completions): Don't set it. (completion-table-with-context, completion--file-name-table): Don't add base-size in last cdr. (completion-hilit-commonality): Add argument `base-size'. (display-completion-list, completion-emacs21-all-completions) (completion-emacs22-all-completions, completion-basic-all-completions): Provide it. (completion-pcm--all-completions): Don't need to remove the base-size in last-cdr any more. 2008-12-20 Agustín Martín * textmodes/ispell.el (ispell-check-minver): New function. (ispell-check-version): Rewrite spellchecker and version checking. Use (ispell-check-minver). Handle hunspell versions. 2008-12-20 Chong Yidong * ido.el (ido-read-internal): Handle `confirm' and `confirm-after-completion' values for the require-match argument. 2008-12-20 Jason Rumney * international/mule.el (auto-coding-regexp-alist): Use utf-8-with-signature for files starting with UTF-8 BOM. (Bug#269) 2008-12-20 Ami Fischman * bindings.el (mode-line-eol-desc): Use assoc to query mode-line-eol-desc-cache. 2008-12-20 Glenn Morris * comint.el (comint-save-input-ring-index): Add missing initial value. 2008-12-19 Juanma Barranquero * proced.el (proced-grammar-alist): Doc fix. (proced-marker-char, proced-mark, proced-help-string, proced-mode-map) (proced-filter-parents, proced-sort-header, proced-update, proced-help) (proced-undo): Fix typos in docstrings. 2008-12-19 Glenn Morris * emacs-lisp/authors.el (authors-aliases): Add some more aliases. (authors-fixed-case): New constant. (authors-public-domain-files, authors-ignored-files): (authors-valid-file-names, authors-renamed-files-alist): Update lists. (authors-renamed-files-regexps): Add some new entries. (authors-canonical-file-name): Don't complain about ignored files. (authors-canonical-author-name): Doc fix. Respect authors-fixed-case. (authors): Ensure error buffer is writable. 2008-12-18 Agustín Martín (ispell-really-hunspell): New variable to signal hunspell. (ispell-check-version): Check if hunspell and set ispell-really-hunspell if needed. (ispell-send-string, ispell-start-process, flyspell-large-region): Pass right options for hunspell if needed. 2008-12-18 Kenichi Handa * international/fontset.el (script-representative-chars) (setup-default-fontset): Add more scripts. * international/characters.el: Add more scripts. 2008-12-19 Juri Linkov * info.el (Info-isearch-search): Implement lax version of incremental word search in Info. (Info-isearch-start): Set Info-isearch-initial-node to the current node when search is nonincremental to not stop at the initial node in this case. (Info-mode-map): Unbind "\M-s" from `Info-search'. 2008-12-18 Juanma Barranquero * textmodes/rst.el (rst-promote-region): Reflow docstring. (rst-mode-map, rst-mode-hook, rst-section-tree-rec) (rst-repeat-last-character): Fix typos in docstrings. (rst-mode, rst-backward-section): Doc fixes. 2008-12-18 Ulf Jasper * net/newst-treeview.el (newsticker-groups-filename): Made obsolete. (newsticker-treeview-quit): Call `newsticker-treeview-save'. (newsticker--treeview-load): Check whether groups file exists. * net/newst-backend.el (newsticker-cache-filename): Made obsolete. (newsticker-dir): Use `locate-user-emacs-file'. 2008-12-18 Martin Rudalics * emulation/cua-base.el (cmd): Add beginning-of-visual-line and end-of-visual-line to CUA's recognized commands. (Bug#1549) 2008-12-18 Dan Nicolaescu * newcomment.el (comment-style): Default to `indent'. (Bug#1153) * startup.el (command-line): Do not mention the server name in case the user has not mentioned it, print a more explicit message. * vc-dir.el (vc-dir-at-event): Rename from vc-at-event. Change all callers. 2008-12-18 Sam Steingold * vc-dir.el (vc-at-event): Handle (tool-bar) events. Fix bug#1585. 2008-12-18 Juri Linkov * isearch.el (minibuffer-local-isearch-map): Unbind "C-w" from `isearch-edit-string-set-word'. (isearch-edit-string-set-word): Remove. (isearch-occur): Imitate the C function `wordify' by replacing non-word character with the \\W+ regexp. (isearch-search-fun): Add `isearch-nonincremental' to the condition of using a non-lax version of `word-search-forward'. 2008-12-17 Daiki Ueno * epa-file.el (epa-file-insert-file-contents): Set buffer-file-name before decrypting a file. 2008-12-16 Juanma Barranquero * server.el (server-start): If unable to start the server, display a warning instead of raising an error. * startup.el (server-process): Add defvar. (command-line): If the daemon is unable to start the server, display a message and exit Emacs. 2008-12-15 Sam Steingold * progmodes/cc-cmds.el (c-defun-name): Handle DEFFOO(name,...), mostly for CLISP modules, but could also be useful elsewhere. 2008-12-15 Juanma Barranquero * face-remap.el (text-scale-mode-step, buffer-face-mode-face): * icomplete.el (icomplete-prospects-height): * textmodes/bibtex.el (bibtex-cite-matcher-alist): Add :version tags. 2008-12-15 Juanma Barranquero * international/mule.el (find-auto-coding): Fix typo in docstring. * international/mule-cmds.el (select-safe-coding-system): * mail/rmail.el (rmail-require-mime-maybe): Fix arguments of `display-warning'. * simple.el (bad-package-check): Fix arguments of `display-warning', using the package name as TYPE. Use `string-match-p'. 2008-12-14 Roland Winkler * proced.el (proced-sort-interactive, proced-sort-pcpu) (proced-sort-pmem, proced-sort-start, proced-sort-time) (proced-sort-user, proced-sort-header): Prefix arg determines sorting order. Suggested by Dan Nicolaescu. (proced-revert): Doc fix. 2008-12-14 Roland Winkler * proced.el (proced-grammar-alist): Allow refiner elements that are cons pairs (function . help-echo) or nil. (proced-refine): Use them. (proced-format-alist): Allow alternatives. (proced-descend): New variable. (proced-sort): New arg descend. (proced-sort-interactive): Repeated calls toggle sort order. (proced-format): Accomodate changes of proced-format-alist. Undefined attributes are displayed as "?". (proced-process-attributes): New optional arg pid-list. Ignore processes with empty attribute list. 2008-12-14 Roland Winkler * proced.el (proced-auto-update-interval): Rename from proced-timer-interval. (proced-auto-update-flag): Rename from proced-timer-flag. (proced-auto-update-timer): Rename from proced-timer. (proced-toggle-auto-update): Rename from proced-toggle-timer-flag. (proced-available): Initialize appropriately. 2008-12-13 Glenn Morris * subr.el (declare-function): Doc fix. * font-core.el (font-lock-defaults): Doc fix: mention levels; refer to elisp manual. 2008-12-12 Martin Rudalics * window.el (fit-window-to-buffer): Return non-nil when height was orderly adjusted, nil otherwise. 2008-12-12 Juanma Barranquero Stefan Monnier * server.el (server-sentinel): Uncomment code to delete connection file. (server-start): Save the connection file in the server property list. Delete it only when we are reasonably convinced that it is not owned by a running server. (server-force-delete): New command to force-delete the connection file, and stop the server if it is running. (server-running-p): Return t also for local TCP servers when we find a process with a matching PID, and :other for undecided cases. 2008-12-11 Martin Rudalics * window.el (fit-window-to-buffer): Use with-selected-window and condition-case. Do not delete more windows than necessary in the shrinking (delta < 0) case. Do not raise an error when the containing frame is too small to show all of buffer. (Bug#1488) * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with min-height arg 1 to make sure that small buffers are shown. 2008-12-11 Juanma Barranquero * progmodes/ruby-mode.el (ruby-mode-abbrev-table, ruby-mode-map) (ruby-mode-syntax-table, ruby-indent-tabs-mode, ruby-indent-level) (ruby-mode-variables, ruby-indent-line, ruby-indent-size) (ruby-calculate-indent, ruby-electric-brace, ruby-beginning-of-defun) (ruby-here-doc-beg-syntax, ruby-here-doc-end-syntax) (ruby-font-lock-syntax-table, ruby-font-lock-keywords) (ruby-end-of-defun, ruby-move-to-block, ruby-forward-sexp) (ruby-backward-sexp, ruby-add-log-current-method) (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax) (ruby-in-here-doc-p, ruby-mode): Fix typos in docstrings. (ruby-deep-indent-paren): Doc fix. (ruby-insert-encoding-magic-comment): Remove * from docstring. (ruby-here-doc-find-end): Reflow docstring. 2008-12-11 Stephen Berman * dired.el (dired-pop-to-buffer): Use fit-window-to-buffer when dired-shrink-to-fit is non-nil. (Bug#1488) 2008-12-11 Juanma Barranquero * w32-fns.el (w32-list-locales): Revert part of 2008-10-17 change; decoding of long locale info is now done in `w32-get-locale-info'. 2008-12-11 Chong Yidong * progmodes/ruby-mode.el: Fix auto-mode-alist entry. 2008-12-10 Chong Yidong * Makefile.in (ELCFILES): Add ruby-mode.elc. * term/xterm.el (xterm-remove-modify-other-keys): Fix error in terminal variable assignment. 2008-12-10 Yukihiro Matsumoto Nobuyoshi Nakada * progmodes/ruby-mode.el: New file. 2008-12-10 Juanma Barranquero * net/tramp.el (top): Don't fail if there is no current message. [Ulrich Mueller sent a patch, which I saw too late.] (Bug#1514) 2008-12-10 Kenichi Handa * international/fontset.el (setup-default-fontset): Add an entry for characters in the Unicode SIP area. 2008-12-10 Glenn Morris * vc-mcvs.el: Move to obsolete/, with warning comment. * Makefile.in (ELCFILES): Update. 2008-12-10 Daiki Ueno * epa-hook.el (epa-file-find-file-hook): Don't mark the current buffer unmodified. (Bug#1509) * epa-file.el (epa-file-insert-file-contents): Set buffer's modification time if visiting a file and the content is successfully decrypted. 2008-12-09 Chong Yidong * files.el (save-some-buffers): At each map-y-or-n-p iteration, check whether the buffer is still alive. 2008-12-09 Stefan Monnier * emacs-lisp/rx.el (rx-submatch): Pass : to rx-form. 2008-12-09 Glenn Morris * Makefile.in (ELCFILES): Update. 2008-12-08 Stefan Monnier * autoinsert.el (auto-insert): Use expand-file-name instead of concat. Suggested by Eric Hanchrow . 2008-12-06 Chong Yidong * term/xterm.el (terminal-init-xterm): Discard pending input before reading a reply to the terminal attributes query. 2008-12-05 Andreas Schwab * dired.el (dired-font-lock-keywords): Fix last change. 2008-12-05 Vinicius Jose Latorre * ps-bdf.el (bdf-directory-list): Transform (defvar ... "*..") into (defcustom ... "..." :type ... :group...). 2008-12-05 Juanma Barranquero * international/mule-diag.el (mule-diag): Display the window system version in a less laconic way. 2008-12-04 Juanma Barranquero * ibuffer.el (ibuffer-sort-bufferlist): Require ibuf-ext if the sorting functions are not loaded. (Bug#1432) 2008-12-04 Sam Steingold * progmodes/compile.el (compilation-read-command): Extract from compile. (compile): Use it. (recompile): Accept an optional argument to enable editing the command line. 2008-12-04 Michael Albinus * net/tramp.el (top): Write a message, when loading Tramp. * net/tramp-cache.el (tramp-dump-connection-properties): Polish the check, whether to dump the data. 2008-12-04 Lute Kamstra * vc-cvs.el (vc-cvs-could-register): Don't use file-directory-p to check if the file "CVS/Entries" exists. 2008-12-04 Juanma Barranquero * international/mule-diag.el (list-character-sets): Doc fix. (list-character-sets-2): Fix info in header. Simplify. (print-coding-system): Simplify. (list-input-methods-1): Simplify. (mule-diag): Display current font/fontset for all window systems, not just X. Simplify. 2008-12-04 Glenn Morris * vc-cvs.el (vc-cvs-register-switches): Doc fix. Add t as option. (vc-cvs-register): Doc fix. * vc-mcvs.el (vc-mcvs-register-switches): Doc fix. Add t as option. (vc-mcvs-register): Doc fix. * vc-rcs.el (vc-rcs-register-switches): Doc fix. Add t as option. (vc-rcs-register): Doc fix. * vc-sccs.el (vc-sccs-register-switches): Doc fix. Add t as option. (vc-sccs-register): Doc fix. * vc-svn.el (vc-svn-register-switches): Doc fix. Add t as option. (vc-svn-register): Doc fix. * files.el (toggle-read-only): Doc fix. 2008-12-03 Stefan Monnier * apropos.el (apropos-print-doc): Fix thinko that caused long labels to be used in compact layout and vice-versa. 2008-12-03 Juanma Barranquero * w32-fns.el (w32-list-locales): Use `with-output-to-temp-buffer', like most list-* commands. * international/mule-diag.el (unicodedata-file, unicode-data): Remove. They already exist in descr-text.el as `describe-char-unicodedata-file' and `describe-char-unicode-data'. (print-list): Simplify. (read-charset): Reflow docstring. (list-coding-systems): Doc fix. 2008-12-03 Glenn Morris * vc.el (vc-diff-switches): Doc fix. * vc-bzr.el (vc-bzr-diff-switches): Doc fix. Add t as option. (vc-bzr-log-switches): Doc fix. * vc-cvs.el (vc-cvs-diff-switches): Doc fix. Add t as option. * vc-git.el (vc-git-diff-switches): Doc fix. * vc-hg.el (vc-hg-diff-switches): Doc fix. * vc-mcvs.el (vc-mcvs-diff-switches): Doc fix. * vc-mtn.el (vc-mtn-diff-switches): Doc fix. * vc-rcs.el (vc-rcs-diff-switches): Doc fix. Add t as option. * vc-sccs.el (vc-sccs-diff-switches): Doc fix. Add t as option. * vc-arch.el (vc-arch-diff-switches): New option, for consistency with other backends. (vc-arch-diff): Apply switches. * vc-cvs.el (vc-cvs-diff): Use vc-diff-switches or diff-switches rather than appending. * vc-sccs.el (vc-sccs-register-switches): Remove leading * from doc. 2008-12-03 Daiki Ueno * epa.el (epa--show-key): Use past tense of "expire" if the key has already been expired. Thanks to Peter BARABAS. 2008-12-03 Lute Kamstra * align.el: * allout.el: * apropos.el: * arc-mode.el: * autoinsert.el: * avoid.el: * battery.el: * bookmark.el: * buff-menu.el: * calculator.el: * chistory.el: * cmuscheme.el: * comint.el: * compare-w.el: * dabbrev.el: * delim-col.el: * desktop.el: * diff-mode.el: * diff.el: * dired-aux.el: * dired-x.el: * dired.el: * dos-vars.el: * ediff-diff.el: * ediff-help.el: * ediff-init.el: * ediff-merg.el: * ediff-mult.el: * ediff-ptch.el: * ediff-vers.el: * ediff-wind.el: * ediff.el: * emerge.el: * facemenu.el: * faces.el: * ffap.el: * filecache.el: * find-dired.el: * font-core.el: * font-lock.el: * forms.el: * fringe.el: * help-at-pt.el: * hippie-exp.el: * ido.el: * image-file.el: * imenu.el: * indent.el: * info.el: * isearchb.el: * iswitchb.el: * jit-lock.el: * jka-compr.el: * log-edit.el: * lpr.el: * ls-lisp.el: * man.el: * menu-bar.el: * midnight.el: * mouse-sel.el: * mouse.el: * msb.el: * outline.el: * paren.el: * pcmpl-cvs.el: * pcmpl-gnu.el: * pcomplete.el: * pcvs-info.el: * pcvs-parse.el: * printing.el: * ps-mule.el: * ps-print.el: * replace.el: * ruler-mode.el: * saveplace.el: * sb-image.el: * scroll-bar.el: * sha1.el: * shadowfile.el: * shell.el: * sort.el: * speedbar.el: * strokes.el: * tempo.el: * term.el: * terminal.el: * time-stamp.el: * time.el: * tree-widget.el: * type-break.el: * vc-cvs.el: * vc-hg.el: * vc-mcvs.el: * vc-rcs.el: * vc-sccs.el: * vc.el: * view.el: * w32-vars.el: * whitespace.el: * wid-edit.el: Remove leading * from docstrings of defcustoms, deffaces, defconsts and defuns. 2008-12-02 Stefan Monnier * complete.el (PC-do-completion): Fix leftover bug from Emacs-21 when the prompt was added to the minibuffer. 2008-12-02 Glenn Morris * format.el (format-write-file): Rewrite doc yet again. * progmodes/cc-vars.el (c-tab-always-indent, c-insert-tab-function): Doc fix. (Bug#1368) * textmodes/texinfo.el (texinfo-insert-quote): Tweak previous change. 2008-12-02 Aaron S. Hawley * textmodes/texinfo.el (texinfo-insert-quote): Handle corner case where point is at the beginning of the buffer. (Bug#1239) 2008-12-02 Lennart Borgman * nxml/nxml-mode.el (nxml-indent-line): Don't re-indent lines that already have the correct indentation. (Bug#859) 2008-12-02 Kenichi Handa * international/uni-decomposition.el: Re-generated. 2008-12-01 Andreas Schwab * dired.el (dired-font-lock-keywords): Avoid fontifying file names ending in a colon as directory header. 2008-12-01 Kenichi Handa * international/uni-numeric.el: Re-generated. * international/charprop.el: Re-generated. 2008-12-01 Juanma Barranquero * international/mule-cmds.el (locale-preferred-coding-systems): Fix alist item. 2008-12-01 Michael Albinus * net/tramp-cache.el (tramp-cache-data-changed): New defvar. (tramp-set-connection-property, tramp-flush-connection-property) (tramp-dump-connection-properties): Use it. 2008-11-30 Chong Yidong * wdired.el (wdired-finish-edit): If displaying a single file, change dired-directory if that file was renamed. * emacs-lisp/byte-run.el (macro-declaration-function): Disallow declare specs with lengths of 3 or more. * dirtrack.el (dirtrack): Fix error message. 2008-11-30 Glenn Morris * vc-svn.el (vc-svn-diff-switches): Doc fix. (vc-svn-diff): Fix the case where vc-svn-diff-switches is nil. * vc-git.el (vc-git-diff): * vc-hg.el (vc-hg-diff): * vc-mtn.el (vc-mtn-diff): No need to duplicate vc-switches logic. * eshell/esh-proc.el (eshell-needs-pipe): New variable. (eshell-needs-pipe-p): New function. (eshell-gather-process-output): Set process-connection-type according to eshell-needs-pipe-p. (Bug#1388) 2008-11-30 Juanma Barranquero * calendar/diary-lib.el (diary-cyclic): Doc fix. (diary-remind-message, diary-number-of-entries) (diary-include-other-diary-files, diary-mark-included-diary-files) (diary-view-entries, diary-date, diary-block, diary-insert-entry-1) (diary-font-lock-keywords-1): Reflow docstrings. (diary-add-to-list, calendar-mark-1, diary-entry-time, diary-make-date) (diary-anniversary, diary-date-display-form): Fix typos in docstrings. * emacs-lisp/timer.el (timer-duration-words): Fix typo in docstring. (timer-duration): Use `string-match-p'. 2008-11-29 Chong Yidong * complete.el (PC-do-complete-and-exit): Use minibuffer-confirm-exit-commands. * minibuffer.el (minibuffer-confirm-exit-commands): Add PC-complete and PC-complete-word to the list. 2008-11-29 Juanma Barranquero * files.el (break-hardlink-on-save): Fix typo in docstring. Add :version tag. * emacs-lisp/re-builder.el (reb-mode-map): Fix typo in menu tooltip. (reb-mode): Define with `define-derived-mode'. 2008-11-29 Karl Fogel * files.el (break-hardlink-on-save): New variable. (basic-save-buffer-2): Honor new variable break-hardlink-on-save. (file-precious-flag): Mention it in doc string. 2008-11-29 Miles Bader * minibuffer.el (minibuffer-confirm-exit-commands): New variable. (minibuffer-complete-and-exit): Use it. 2008-11-29 Chong Yidong * term/x-win.el (x-gtk-stock-cache): New hash table. (x-gtk-map-stock): Perform caching to prevent excess consing during redisplay. 2008-11-29 Stefan Monnier * minibuffer.el (completion--try-word-completion): Don't ignore partial-completion if it's the only style. 2008-11-28 Juanma Barranquero * emacs-lisp/re-builder.el (reb-auto-update): Remove redundant code. (re-builder): Reuse window displaying the *RE-Builder* buffer, if any. (reb-initialize-buffer): Update matches, in case we're reentering RE Builder mode. 2008-11-28 Chong Yidong * complete.el (PC-do-complete-and-exit): Synch to 2008-11-24 change to minibuffer.el; recognize `confirm' and `confirm-after-completion' values for minibuffer-completion-confirm. 2008-11-28 Martin Rudalics * emacs-lisp/eldoc.el (eldoc-docstring-first-line): Don't match any but the first "*" in a doc-string. 2008-11-28 Glenn Morris * format.el (format-write-file): Improve previous doc fix. 2008-11-27 Chong Yidong * simple.el (use-empty-active-region, use-region-p) (region-active-p): Doc fix. 2008-11-27 Martin Rudalics * window.el (display-buffer): Fix handling of not-this-window argument. (Bug#1415) 2008-11-27 Kenichi Handa * international/characters.el: Set category 'C' to characters #x20000..#x2AFFF, #x2F800..#x2FFFF. * loadup.el: Set inhibit-load-charset-map to t while preloading files. 2008-11-27 Chong Yidong * tool-bar.el (tool-bar-find-image-cache): Var deleted. (tool-bar-find-image): Function deleted. (tool-bar-local-item, tool-bar-local-item-from-menu): Use find-image instead of tool-bar-find-image. (tool-bar-keymap-cache): New hash table. (tool-bar-make-keymap): Use it. (tool-bar-make-keymap-1): Move body of tool-bar-make-keymap here. 2008-11-26 Michael Albinus * net/dbus.el (dbus-handle-event): The result of a message call handler can also be an object, which is not a consp. 2008-11-25 Alan Mackenzie * emacs-lisp/lisp.el (forward-sexp, backward-sexp, mark-sexp) (forward-list, backward-list, down-list, backward-up-list) (up-list, kill-sexp, backward-kill-sexp, kill-backward-up-list) (insert-pair, insert-parentheses): State that the command assumes that point is not in a string or comment. 2008-11-26 Michael Albinus * net/dbus.el (dbus-string-to-byte-array) (dbus-byte-array-to-string, dbus-escape-as-identifier) (dbus-unescape-from-identifier): New defuns. (dbus-handle-event): The result of a message call is a list of arguments, which must be expanded when passing to `dbus-method-return-internal'. * net/tramp.el (tramp-handle-write-region): Improve the check for calling direct copy. (tramp-find-inline-encoding): Don't raise an error but a warning, when no inline encoding is found. (tramp-get-remote-coding): Check for a symbol. The negative check for a string fails, when there is an empty string. 2008-11-26 Glenn Morris * vc-git.el (vc-git-diff-switches): New option. (vc-git-diff): Apply diff switches. (Bug#1386) Give it a basic doc string. * term/pc-win.el (x-font-family-list): Replace redefinition with ifdef in src/xfaces.c, since it confuses make-docfile. (Bug#1383) 2008-11-26 Vincent Belaïche * calc/calc-alg.el (calcFunc-collect): Normalize the coefficients of the polynomial rather than the whole polynomial. 2008-11-25 Chong Yidong * mail/mailabbrev.el (define-mail-abbrev): When reading from mailrc, recognize string quoting. When reading from Lisp, accept rfc822-like addresses. * mail/mailalias.el (define-mail-alias): Sync code with define-mail-abbrev. 2008-11-25 Glenn Morris * eshell/esh-proc.el (eshell-gather-process-output): Revert previous change. (re-opens Bug#1388) * select.el (x-set-cut-buffer): Fix signal arguments. * speedbar.el (speedbar-restricted-move): Fix signal arguments. 2008-11-25 Juanma Barranquero * play/bubbles.el (bubbles-mode): Define with `define-derived-mode'. (bubbles-shift-mode, bubbles--update-score): Fix typos in docstrings. (bubbles--empty-char): Use "\s". 2008-11-25 Jay Belanger * calc/calc.el (calc-settings-file, calc-language-alist) (calc-embedded-announce-formula) (calc-embedded-announce-formula-alist) (calc-embedded-open-formula, calc-embedded-close-formula) (calc-embedded-open-close-formula-alist) (calc-embedded-word-regexp-alist, calc-embedded-open-plain) (calc-embedded-close-plain, calc-embedded-open-close-plain-alist) (calc-embedded-open-new-formula, calc-embedded-close-new-formula) (calc-embedded-open-close-new-formula-alist) (calc-embedded-open-mode, calc-embedded-close-mode) (calc-embedded-open-close-mode-alist, calc-gnuplot-name) (calc-gnuplot-plot-command, calc-gnuplot-print-command) (calc-multiplication-has-precedence): Remove unnecessary asterisks from docstrings. 2008-11-25 Juanma Barranquero * calculator.el (calculator-op-or-exp): Reflow docstring. (calculator-remove-zeros, calculator-repR, calculator-repL): Fix typos in docstrings. 2008-11-24 Chong Yidong * log-view.el (log-view-annotate-version): Let vc-annotate manage windows instead of calling switch-to-buffer. * diff.el (diff-sentinel): Take note of diff error return value. 2008-11-24 Martin Rudalics * calendar/appt.el (appt-disp-window): Do a set-buffer when the frame can't be split. 2008-11-24 Ulf Jasper * net/newst-treeview.el (newsticker--treeview-current-feed): Docstring. (newsticker--treeview-item-show): Rename arg FEED to FEED-NAME-SYMBOL. (newsticker--treeview-tree-update-tag): Remove dead code. (newsticker-treeview-update): Don't update cache. (newsticker-treeview-quit): Don't save cache. (newsticker-treeview-save): Don't save cache. Use `newsticker-dir'. (newsticker-treeview-save): Use `newsticker-dir'. (newsticker--treeview-load): Use `newsticker-dir'. (newsticker--treeview-mark-item): Call `newsticker--cache-save-feed'. Update tags. (newsticker-treeview-tree-do-click): Slightly simplified. * net/newst-backend.el (newsticker-dir): New. (newsticker-start): Use `newsticker--cache-read'. (newsticker-stop): Use `newsticker--cache-save'. (newsticker--sentinel-work): Use `newsticker--cache-save-feed'. (newsticker--images-dir): New. (newsticker--image-get, newsticker--image-sentinel): Use `newsticker--images-dir'. (newsticker--cache-save-version1): Backup version of `newsticker--cache-save'. (newsticker--cache-update): Create newsticker-dir if necessary. (newsticker--cache-dir): New. (newsticker--cache-save): Save feeds separately in `newsticker-dir'. (newsticker--cache-save-feed): New. (newsticker--cache-read-version1): New. Backuped version for reading cache data.. (newsticker--cache-read, newsticker--cache-do-read): New. * net/newst-reader.el (newsticker--image-read): Use `newsticker--images-dir'. 2008-11-24 Chong Yidong * files.el (confirm-nonexistent-file-or-buffer): Allow `after-completion' value to request confirm only after TAB. (confirm-nonexistent-file-or-buffer): New function. (read-buffer-to-switch, find-file, find-file-other-window) (find-file-other-frame, find-file-read-only) (find-file-read-only-other-window) (find-file-read-only-other-frame): Use it. (switch-to-buffer-other-window, switch-to-buffer-other-frame): Doc fix. Thanks to Alan Mackenzie for suggesting the new behavior. * minibuffer.el (minibuffer-complete-and-exit): Change `confirm-only' value of minibuffer-completion-confirm to `confirm', and handle a `confirm-after-completion' value. 2008-11-24 Juanma Barranquero * emacs-lisp/elp.el (elp-instrument-list): Fix 2nd arg of `signal'. 2008-11-24 Andreas Schwab * image.el (image-type-header-regexps): Recognize more xbm format variants. 2008-11-24 Juanma Barranquero * textmodes/artist.el (artist-charlist-to-string): Simplify. (artist-mode-name, artist-mt, artist-vaporize-fuzziness) (artist-prev-next-op-alist, artist-mode-line-show-curr-operation) (artist-replace-string, artist-draw-rect, artist-draw-line) (artist-undraw-line, artist-draw-sline, artist-undraw-rect) (artist-rect-corners-squarify, artist-undraw-square, artist-fill-square) (artist-pen, artist-pen-line, artist-text-insert-common) (artist-text-overwrite, artist-spray-get-interval) (artist-spray-clear-circle, artist-erase-char) (artist-ellipse-generate-quadrant, artist-copy-square, artist-paste) (artist-flood-fill, artist-key-draw-continously, artist-key-draw-poly) (artist-key-draw-1point, artist-key-draw-2points) (artist-mouse-draw-continously): Fix typos in docstrings. (artist-aspect-ratio, artist-mode, artist-go-get-symbol-shift) (artist-go-get-symbol-shift-sub, artist-previous-line, artist-next-line) (artist-backward-char, artist-forward-char): Doc fixes. (artist-vaporize-line, artist-spray-chars, artist-spray-new-char): Reflow docstrings. 2008-11-24 Stefan Monnier * international/quail.el (quail-vunion): New function. (quail-defrule-internal): Use it to prevent accumulating redundant alternatives when `append' is set. (quail-insert-decode-map): Simplify computation of the max-key-width. Compute it right for multiple-list. 2008-11-24 Chong Yidong * emacs-lisp/elp.el (elp-instrument-list): Check argument type explicitly. Doc fix. 2008-11-24 Martin Rudalics * calendar/appt.el (appt-disp-window): Move minibuffer check after binding this-window and do not set-buffer to make sure we won't deselect the minibuffer. (Bug#1413) 2008-11-24 Dan Nicolaescu * vc-hg.el (vc-hg-program): Remove. (vc-hg-state, vc-hg-working-revision, vc-hg-command): Undo previous change. 2008-11-23 Martin Rudalics * info-look.el (info-lookup): When Info buffer is visible on another frame, raise that frame. 2008-11-23 Juanma Barranquero * allout.el (allout-mode): Fix typo in docstring. * vc-annotate.el (vc-annotate-warp-revision): Reflow docstring. (vc-annotate-very-old-color, vc-annotate-display): Fix docstring typos. 2008-11-23 Stefan Monnier * vc-hooks.el (vc-follow-link): Complete last change. 2008-11-23 Juanma Barranquero * textmodes/remember.el (remember-region): Doc fix. (remember-filter-functions, remember-handler-functions) (remember-save-after-remembering, remember-mailbox) (remember-default-priority, remember-data-file, remember-leader-text) (remember-diary-file): Remove * from defcustom docstrings. (remember-run-all-annotation-functions-flag) (remember-all-handler-functions): Reflow docstrings. (remember-store-in-mailbox): Fix typo in docstring. (remember-mode): Define with `define-derived-mode'. Doc fix. 2008-11-23 Glenn Morris * eshell/esh-cmd.el (eshell-in-pipeline-p): Add doc-string. (eshell-do-pipelines): Add optional argument to distinguish recursive calls. Use to set eshell-in-pipeline-p to 'first for the first command in a pipeline. * eshell/esh-proc.el (eshell-gather-process-output): Set process-connection-type nil for all but the first element of a pipeline. (Bug#1388) 2008-11-22 Michael Kifer * ediff-hook.el: Add tooltips to Emacs menus. * ediff.el: Change date of last update. 2008-11-22 Juri Linkov * dired-aux.el (dired-isearch-filenames): Add new context-dependent option `dwim'. Change non-dwim option from `dired-filename' to `t'. Doc fix. (dired-isearch-filenames-setup): Run filename Isearch only when dired-isearch-filenames is t or dired-isearch-filenames is `dwim' and the text property `dired-filename' at point is non-nil. In this case also set isearch-message-prefix-add to "filename ". (dired-isearch-filenames-end): Set isearch-message-prefix-add to nil. (dired-isearch-filenames, dired-isearch-filenames-regexp): Don't let-bind isearch-message-prefix-add since this is done now in dired-isearch-filenames-setup. * isearch.el (isearch-mode): Change the order of calling `isearch-update' and running the `isearch-mode-hook' to call `isearch-update' with Isearch parameters set in this hook. * progmodes/compile.el (compilation-auto-jump-to-first-error): Fix docstring - change "during `compile'" to "during compilation". * descr-text.el (describe-char-unidata-list): Move `old-name' to be immediately after `name'. * startup.el (initial-buffer-choice): Change an abstract file name "file.txt" to more reasonable default file name value "~/.emacs". 2008-11-22 Juri Linkov * files.el (hack-local-variables-confirm): Rename arg `project' to `dir-name'. Move `(or dir-name name)' to let-binding of `name'. (hack-local-variables-filter): Rename arg `project' to `dir-name'. (hack-local-variables): Rename call of `hack-project-variables' to `hack-dir-local-variables'. Change error text to "Directory-local variables error". (dir-locals-class-alist): Rename from `project-class-alist'. (dir-locals-directory-alist): Rename from `project-directory-alist'. (dir-locals-get-class-variables): Rename from `project-get-alist'. (dir-locals-collect-mode-variables): Rename from `project-collect-bindings-from-alist'. Rename arg `mode-alist' to `mode-variables', and arg `settings' to `variables'. (dir-locals-collect-variables): Rename from `project-collect-binding-list'. Rename arg `binding-list' to `class-variables', and arg `settings' to `variables'. (dir-locals-set-directory-class): Rename from `set-directory-project'. (dir-locals-set-class-variables): Rename from `define-project-bindings'. Rename arg `settings' to `variables'. (dir-locals-file): New defconst. (dir-locals-find-file): Rename from `project-find-settings-file'. Use `dir-locals-file'. Rename let-bound `settings' to `locals-file', and `pda' to `dir-elt'. (dir-locals-read-from-file): Rename from `project-define-from-project-file'. Rename arg `settings-file' to `file'. Rename let-bound `list' to `variables'. (hack-dir-local-variables): Rename from `hack-project-variables'. Rename let-bound `settings' to `variables-file', `root-dir' to `dir-name', and `bindings' to `variables'. 2008-11-22 Lute Kamstra * simple.el (goto-line): Rename argument. 2008-11-22 Eli Zaretskii * makefile.w32-in (compile-first): New target. (recompile): Depend on compile-first. * Makefile.in (recompile): Depend on compile-first. 2008-11-22 Martin Rudalics * files.el (switch-to-buffer-other-window) (switch-to-buffer-other-frame): Rename buffer argument to buffer-or-name. Reword and mention new option confirm-nonexistent-file-or-buffer in doc-string. 2008-11-22 Michael Kifer * emulation/viper.el: Date change. * emulation/viper-cmd.el (viper-envelop-ESC-key): viper-translate-all-ESC-keysequences is now a function. * emulation/viper-init.el (viper-translate-all-ESC-keysequences): Make this variable. 2008-11-22 Stefan Monnier * vc-hooks.el (vc-follow-link, vc-find-file-hook): Use buffer-file-truename to handle symlinks in any part of the filename. 2008-11-22 Glenn Morris * vc-mtn.el (vc-mtn-diff-switches): New option. (vc-mtn-program): Rename from vc-mtn-command, for consistency with other backends. Keep old name as alias. Update callers. Make it a defcustom. (vc-mtn-diff): Give it a doc string. Apply diff switches. * vc-arch.el (vc-arch-program): Rename from vc-arch-command, for consistency with other backends. Keep old name as alias. Make it a defcustom. (vc-arch-command, vc-arch-trim-revlib): Adapt for above change. * vc-hg.el (vc-hg-program): New option. (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use vc-hg-program rather than hard-coded "hg". * vc-svn.el: Remove leading `*' from defcustom doc-strings. (vc-svn-program): Move defcustom to start. (vc-svn-create-repo, vc-svn-modify-change-comment): Use vc-svn-program rather than hard-coded "svn". * menu-bar.el: Stylistic consistency fixes for various menu and help texts. * kmacro.el (kmacro-insert-counter): Doc fix. 2008-11-21 Ivan Shmakov (tiny change) * progmodes/tcl.el (tcl-filter): Don't forcibly move point. 2008-11-21 Stefan Monnier * international/quail.el (quail-indent-to): New function. (quail-completion-1, quail-completion-list-translations) (quail-insert-decode-map): Use it to improve alignment. (quail-build-decode-map): Don't ignore latin-1 chars. (quail-help): Increase the max decode-map size so that even the TeX map gets printed. * bookmark.el (bookmark-get-bookmark): Add `noerror' arg. Signal error for invalid bookmark. (bookmark-get-bookmark-record): Undo last change. (bookmark-store, bookmark-delete): Use new arg `noerror'. * bookmark.el (bookmark-buffer-file-name): Also abbreviate dired-dir. Suggested by Toru TSUNEYOSHI. 2008-11-21 Shigeru Fukaya * byte-opt.el (byte-compile-butlast): Move up in file. (byte-optimize-plus): Don't call byte-optimize-delay-constants-math (bug#1334). Use byte-optimize-predicate to optimize constants. (byte-optimize-minus): Don't call byte-optimize-delay-constants-math. Remove zero arguments first if possible. Call byte-optimize-predicate to optimize constants. (byte-optimize-multiply): Remove optimizations for arguments of 0 and 2, which may be inaccurate. Optimize (* x -1) to (- x). Call byte-optimize-predicate. (byte-optimize-divide): Leave runtime errors unchanged. Optimize (/ x 1) to (+ x 0). Remove optimizations for arguments of 0 and 2.0, which may be inaccurate. Call byte-optimize-predicate. 2008-11-21 Juanma Barranquero * bookmark.el (bookmark-jump-noselect): Add obsolescence declaration and remove redundant info from docstring. * isearch.el (isearch-search-string): Doc fix. (search-exit-option, search-slow-window-lines, search-slow-speed) (search-upper-case, search-nonincremental-instead) (search-whitespace-regexp, search-ring-max, regexp-search-ring-max) (search-ring-update, search-highlight, isearch-lazy-highlight) (lazy-highlight-cleanup, lazy-highlight-initial-delay) (lazy-highlight-interval): Remove * from defcustom docstrings. (isearch-resume-in-command-history, lazy-highlight-max-at-a-time): Remove * from defcustom docstrings; fix typos. (isearch-push-state-function, isearch-help-for-help-internal) (isearch-help-for-help, isearch-describe-bindings) (isearch-describe-mode, minibuffer-local-isearch-map, isearch-mode) (isearch-pop-fun-state, isearch-search-fun-function) (isearch-lazy-highlight-search): Fix typos in docstrings. (isearch-yank-internal, isearch-fallback): Reflow docstrings. (isearch-forward): Fix typo and reflow docstring. (isearch-help-map): Remove unused `i' binding. Fix typos in docstring. (isearch-mode-map): Don't use `let*'. 2008-11-21 Chong Yidong * files.el (confirm-nonexistent-file-or-buffer): Change default to nil. 2008-11-21 Stefan Monnier * isearch.el (isearch-search-string): Simplify and convert docstring. * buff-menu.el (Buffer-menu-short-ellipsis): Partly undo last change. 2008-11-20 Juanma Barranquero * international/mule-util.el (set-nested-alist): Doc fix. Use `when'. (lookup-nested-alist): Doc fix. (with-coding-priority): Reflow docstring. (detect-coding-with-priority): Fix typos in obsolescence declaration. (char-displayable-p): Reflow docstring. Use `when'. 2008-11-20 Dan Nicolaescu * calendar/cal-menu.el (cal-menu-scroll-menu): Add bindings for week forward/backward. 2008-11-20 Juanma Barranquero * ehelp.el (electric-help-map, ehelp-map): Define within defvar. (with-electric-help): Fix typo and reflow docstring. 2008-11-20 Stefan Monnier * buff-menu.el (Buffer-menu-short-ellipsis): New constant. (Buffer-menu-buffer+size): Use it, fix last change, and simplify. (list-buffers-noselect): Don't need to pad. 2008-11-20 Toru TSUNEYOSHI * buff-menu.el (Buffer-menu-buffer+size, list-buffers-noselect): Pay attention to char widths when computing string sizes. 2008-11-20 Juanma Barranquero * emacs-lisp/bytecomp.el (byte-compile-dynamic-docstrings) (byte-compile-output-docform): Reflow docstrings. (no-byte-compile): Fix typo in docstring. (byte-recompile-directory, compile-defun): Doc fixes. (emacs-lisp-file-regexp, byte-compile-verbose) (byte-compile-compatibility, byte-optimize, byte-compile-delete-errors) (byte-compile-dynamic-docstrings, byte-optimize-log) (byte-compile-error-on-warn, byte-compile-warnings) (byte-compile-generate-call-tree, byte-compile-call-tree-sort): Remove * from defcustom docstrings. 2008-11-20 Glenn Morris * format.el (format-alist, format-write-file): Doc fix. * proced.el (proced-available): New variable. (proced-process-attributes): Move availability check from previous change from here... (proced): ... to here. * vc-hg.el (vc-hg-diff-switches): New option. (vc-hg-diff): Apply diff switches. (Bug#1017) * calc/calc-units.el (math-additional-units): Doc fix (active voice). * progmodes/fortran.el (fortran-mode-map): Add some menu :help. 2008-11-20 Stephen Berman * files.el (auto-mode-alist): Recognize more OpenOffice.org extensions. 2008-11-19 Juanma Barranquero * calc/calc-units.el (math-units-table): Doc fix. (math-standard-units): Fix typo in constant's description. (math-additional-units): Fix typo in docstring. 2008-11-19 Ulrich Mueller * calc/calc-units.el (math-standard-units): Add eps0, permittivity of vacuum. 2008-11-19 Dan Nicolaescu * files.el (project-settings-file): Remove. (project-find-settings-file): Undo previous change that added the use of project-settings-file. 2008-11-19 Glenn Morris * proced.el (proced, proced-format-time): Doc fixes. (proced-process-attributes): Signal an error if unsupported. (Bug#1314) 2008-11-19 Karl Fogel * bookmark.el (bookmark-jump-noselect): Move the deprecation notice into the doc string, following up to revision 1.117. 2008-11-19 Lute Kamstra * autoinsert.el (auto-insert-alist): Don't use match data. 2008-11-19 Glenn Morris * progmodes/f90.el (f90-mode-map): Add some menu :help. * autoinsert.el (auto-insert-alist): Update template to FDL 1.3+. * emacs-lisp/cl.el (floor*, ceiling*, truncate*, round*, mod*): * term/w32-win.el (x-select-font): Declare. * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Fix a/an typo. Use the imperative for all help strings. 2008-11-18 Stefan Monnier * textmodes/ispell.el (ispell-dictionary-base-alist): Adjust to the case where the default dictionary is French, Spanish, younameit. * window.el (window--frame-usable-p): Consider dedicated windows as usable. * files.el (confirm-nonexistent-file-or-buffer): Rename from find-file-confirm-nonexistent-file. (read-buffer-to-switch): Use it. 2008-11-18 Juanma Barranquero * server.el (server-temp-file-p): Use `string-match-p'. (server-socket-dir): Set to nil if local sockets are unsupported. (server-start): Don't try to delete local socket if unsupported. (server-kill-new-buffers): Reflow docstring. (server-delete-client, server-handle-delete-frame) (server-save-buffers-kill-terminal): Doc fixes. (server-send-string): Fix typo in docstring. 2008-11-18 Sam Steingold * progmodes/compile.el (compilation-start-hook): New hook. (compilation-start): Run it on the compilation process. 2008-11-18 Juanma Barranquero * international/mule-cmds.el (update-leim-list-file): Simplify. (prefer-coding-system, find-coding-systems-for-charsets): Fix docstring typos. (select-safe-coding-system, input-method-exit-on-first-char) (language-info-alist, language-info-custom-alist): Reflow docstrings. (toggle-input-method, read-multilingual-string): Doc fixes. Reflow docstrings. (locale-name-match, sort-coding-systems, find-multibyte-characters) (read-char-by-name): Use `string-match-p'. (get-char-code-property, put-char-code-property) (char-code-property-description): Be silent while loading uni-* files. (ucs-names): Use `dotimes-with-progress-reporter', because loading the Unicode character names is *slow*. 2008-11-17 Chong Yidong * wid-edit.el (widget-image-insert): Don't add a mouse-face. * cus-edit.el (custom-group-value-create): Don't insert docstring twice. 2008-11-17 Juanma Barranquero * international/mule-cmds.el (ucs-completions): Mark as risky. 2008-11-17 Martin Rudalics * help-macro.el (three-step-help): Remove * from defcustom. (make-help-screen): Don't iconify selected frame. (Bug#1322) Use when instead of if and cond within condition-case. * window.el (quit-window): Bind window to selected window when trying to delete it. 2008-11-17 Glenn Morris * progmodes/cc-defs.el (c-put-char-property-fun): Add fallback definition of 'ignore, rather than nil. (Bug#1353) 2008-11-17 Stefan Monnier * window.el (window--frame-usable-p): Allow use for soft-dedication. 2008-11-17 Juanma Barranquero * emulation/viper-cmd.el (viper-harness-minor-mode): Fix docstring typo. * simple.el (quoted-insert, minibuffer-history-isearch-pop-state, undo) (undo-only, rotate-yank-pointer, kill-whole-line, push-mark-command) (exchange-point-and-mark, set-goal-column, kill-line, backward-word) (kill-word, backward-kill-word, zap-to-char): Doc fixes. (shell-command, repeat-complex-command): Reflow docstrings. (pop-to-mark-command): Fix typos in docstring. 2008-11-17 Juri Linkov * isearch.el (isearch-filter-predicate): Rename from `isearch-success-function'. Rename default value from `isearch-success-function-default' to `isearch-filter-invisible'. Doc fix. (isearch-filter-invisible): Rename from `isearch-success-function-default'. Doc fix. (isearch-search, isearch-lazy-highlight-search): Rename `isearch-success-function' to `isearch-filter-predicate'. * dired-aux.el (dired-isearch-filter-predicate-orig): Rename from `dired-isearch-orig-success-function'. (dired-isearch-filenames-toggle, dired-isearch-filenames-setup) (dired-isearch-filenames-end): Rename `isearch-success-function' to `isearch-filter-predicate'. Doc fix. (dired-isearch-filter-filenames): Rename from `dired-isearch-success-function'. * info.el (Info-search, Info-mode): Rename `isearch-success-function' to `isearch-filter-predicate'. (Info-isearch-filter-predicate): Rename from `Info-search-success-function'. * simple.el (minibuffer-default-add-function): Fix docstring to use clear text "default values" instead of obscure references to the dynamic variable `minibuffer-default'. 2008-11-16 Glenn Morris * term/ns-win.el (ns-extended-platform-support-mode): Tweak menu entry from previous change. * wid-edit.el (advertised-widget-backward): Remove autoload cookie. * cus-edit.el (custom-buffer-create-internal): Always insert the in-buffer buttons, regardless of tool-bar. (Bug#1326) 2008-11-16 Chong Yidong * subr.el (read-passwd): Use read-event instead of read-char-exclusive. 2008-11-16 Stefan Monnier * ielm.el (ielm-eval-input): Fix thinko in last change. 2008-11-16 Chong Yidong * subr.el (read-passwd): Yank current kill if the user enters C-y. 2008-11-16 Michael Albinus * net/tramp.el (tramp-handle-file-name-as-directory): New defun. (tramp-file-name-handler-alist): Handle `file-name-as-directory'. * net/tramp-fish.el (tramp-fish-file-name-handler-alist) * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Handle `file-name-as-directory'. 2008-11-16 Chong Yidong * startup.el (fancy-startup-text): Give "Emacs tutorial" line the usual variable-pitch face. 2008-11-16 Juanma Barranquero * net/ange-ftp.el (ange-ftp-multi-msgs, ange-ftp-good-msgs) (ange-ftp-try-passive-mode, ange-ftp-data-buffer-name) (ange-ftp-account-hashtable, ange-ftp-ls-cache-lsargs) (ange-ftp-ls-cache-file, ange-ftp-ls-cache-res, ange-ftp-get-user) (ange-ftp-ftp-name-component, ange-ftp-kill-ftp-process) (ange-ftp-quote-string, ange-ftp-process-handle-line) (ange-ftp-start-process, ange-ftp-send-cmd, ange-ftp-add-dumb-unix-host) (ange-ftp-before-parse-ls-hook, ange-ftp-after-parse-ls-hook) (ange-ftp-ls, ange-ftp-add-dl-dir, ange-ftp-get-file-entry) (ange-ftp-set-binary-mode, ange-ftp-set-ascii-mode, ange-ftp-get-pwd) (ange-ftp-file-name-as-directory-alist, ange-ftp-reread-dir) (ange-ftp-vms-filename-regexp, ange-ftp-bs2000-fix-name-regexp-reverse) (ange-ftp-bs2000-fix-name-regexp): Fix typos in docstrings. (ange-ftp-name-format, ange-ftp-gateway-fatal-msgs) (ange-ftp-xfer-size-msgs, ange-ftp-tmp-name-template) (ange-ftp-netrc-filename, ange-ftp-disable-netrc-security-check) (ange-ftp-default-user, ange-ftp-default-password) (ange-ftp-default-account, ange-ftp-netrc-default-password) (ange-ftp-netrc-default-account, ange-ftp-dumb-unix-host-regexp) (ange-ftp-binary-file-name-regexp, ange-ftp-gateway-host) (ange-ftp-gateway-prompt-pattern, ange-ftp-smart-gateway-port) (ange-ftp-send-hash, ange-ftp-binary-hash-mark-size) (ange-ftp-ascii-hash-mark-size, ange-ftp-process-verbose) (ange-ftp-ftp-program-name, ange-ftp-gateway-ftp-program-name) (ange-ftp-ftp-program-args, ange-ftp-nslookup-program) (ange-ftp-make-backup-files, ange-ftp-retry-time) (ange-ftp-bs2000-special-prefix): Remove * from defcustom docstrings. (ange-ftp-skip-msgs, ange-ftp-potential-error-msgs) (ange-ftp-gateway-tmp-name-template) (ange-ftp-generate-anonymous-password, ange-ftp-local-host-regexp) (ange-ftp-gateway-program-interactive, ange-ftp-smart-gateway) (ange-ftp-raw-login): Remove * from defcustom docstrings; fix typos. (ange-ftp-fatal-msgs): Remove * from defcustom docstring; doc fix. (ange-ftp-gateway-program): Remove * from docstring and reflow. (ange-ftp-hash-entry-exists-p, ange-ftp-hash-table-keys) (ange-ftp-raw-send-cmd, ange-ftp-get-files, ange-ftp-canonize-filename) (ange-ftp-file-name-as-directory, ange-ftp-directory-file-name): (ange-ftp-copy-files-async, ange-ftp-rename-remote-to-remote): (ange-ftp-rename-local-to-remote): Doc fixes. (ange-ftp-set-xfer-size, ange-ftp-call-cont, ange-ftp-process-filter): Use `when', `unless'. (ange-ftp-set-passwd): Rename arg PASSWD to PASSWORD. (ange-ftp-process-handle-hash): Rename arg STR to STRING. (ange-ftp-nslookup-host): Rename arg HOST to HOSTNAME. (ange-ftp-smart-login): Rename arg PASS to PASSWORD. (ange-ftp-normal-login): Rename arg PASS to PASSWORD. Fix typo. (ange-ftp-process-sentinel): Use `when'. Fix typo. (ange-ftp-gwp-start): Use `let', not `let*'; use `when'. Fix typo. (ange-ftp-fix-name-func-alist, ange-ftp-fix-dir-name-func-alist) (ange-ftp-parse-list-func-alist, ange-ftp-add-file-entry-alist) (ange-ftp-delete-file-entry-alist): Fix typos and reflow docstring. (ange-ftp-dumb-unix-host, ange-ftp-binary-file) (ange-ftp-directory-files, ange-ftp-file-modtime, ange-ftp-vms-host) (ange-ftp-mts-host, ange-ftp-cms-host, ange-ftp-bs2000-host) (ange-ftp-bs2000-posix-host): Use `string-match-p' instead of `(save-match-data (string-match ...))'. (ange-ftp-use-gateway-p, ange-ftp-use-smart-gateway-p) (ange-ftp-file-name-directory, ange-ftp-file-name-nondirectory): Use `string-match-p' instead of `(save-match-data (string-match ...))'. Doc fixes. 2008-11-16 Michael Kifer * emulation/viper-init.el (viper-ESC-keyseq-timeout): Make it into a function instead of a variable. * emulation/viper-util.el (viper-fast-keysequence-p): Change to use viper-ESC-keyseq-timeout as a function. (viper-get-saved-cursor-color-in-replace-mode): Use defun instead of defsubst. * emulation/viper-cmd.el: Let line-move-visual to nil when using next-line or previous-line. (viper-R-state-post-command-sentinel): Use defun instead of defsubst. * emulation/viper-keym.el (viper-ESC-key): Use (kbd "ESC"). * ediff-util.el (ediff-toggle-multiframe): Check if control window is live. (ediff-save-buffer): Let window-min-height to 2. * ediff-wind.el (ediff-setup-windows-plain-compare): Avoid selecting the minibuffer. 2008-11-16 Juanma Barranquero * ielm.el (ielm-noisy, ielm-dynamic-return, ielm-mode-hook) (ielm-dynamic-multiline-inputs): Remove * from defcustom docstrings. (ielm-prompt-read-only, ielm-font-lock-keywords): Fix docstring typos. (ielm-map): Define within defvar. Add docstring. (ielm-tab, ielm-eval-input, ielm-get-old-input, ielm-return) (ielm-complete-filename): Use `when', `unless'. (ielm-is-whitespace-or-comment): Use `string-match-p'. (ielm-return, ielm-get-old-input): Use `looking-at-p'. (ielm-change-working-buffer): Check that the buffer is live. (inferior-emacs-lisp-mode): Define with `define-derived-mode'. Simplify. Reflow docstring. (inferior-emacs-lisp-mode-hook, inferior-emacs-lisp-mode-map): New aliases, to satisfy `define-derived-mode' expectations. 2008-11-15 Glenn Morris Martin Rudalics * emacs-lisp/find-func.el (find-function-advised-original): New. (find-function-C-source, find-function-noselect): Use find-function-advised-original to handle advised funcs. (Bug#789) 2008-11-15 Glenn Morris * emacs-lisp/find-func.el (find-function-noselect): Add missing "is" in alias message. * uniquify.el (uniquify-maybe-rerationalize-w/o-cb): Remove uniquify-after-kill-buffer-p dependency. (uniquify-kill-buffer-function): New function. (kill-buffer-hook): Use uniquify-kill-buffer-function. (Bug#1315) * term/ns-win.el (ns-do-applescript, ns-popup-font-panel): Declare. (ns-show-manual, menu-bar-help-menu): Update for merge of ns-emacs into main Emacs manual. 2008-11-15 Martin Rudalics * window.el (quit-window): Restore delete window with second arg non-nil behavior as of before 2008-10-30 change. 2008-11-15 Chong Yidong * help-fns.el (describe-function-1): Do char-range check for self-insert-command. 2008-11-14 Karl Fogel * files.el (file-precious-flag): Document that this flag is advisory. 2008-11-14 Shigeru Fukaya * emacs-lisp/bytecomp.el (byte-compile-associative) (byte-compile-minus, byte-compile-quo): If there are more than two operands, don't use binary operation code (bug#1334). 2008-11-14 Juanma Barranquero * w32-fns.el (w32-shell-dos-semantics): * calendar/diary-lib.el (diary-face-attrs): * international/mule-cmds.el (set-default-coding-systems) (prefer-coding-system): * net/tramp.el (tramp-set-completion-function): * progmodes/vhdl-mode.el (vhdl-file-header): * term/pc-win.el (msdos-show-help): Fix typos in docstrings. * emacs-lisp/authors.el (authors-fixed-entries): Fix typo in value. * files.el (enable-local-eval, not-modified, kill-buffer-ask) (kill-matching-buffers, save-buffers-kill-emacs) (save-buffers-kill-terminal): Fix typos in docstrings. (switch-to-buffer-other-window): Reflow docstring. (revert-buffer): Doc fix. (define-project-bindings): Rename arg LIST to SETTINGS. (project-find-settings-file): Use `let', not `let*'. Use `when'. 2008-11-13 Juanma Barranquero * files.el (project-settings-file, locate-dominating-file): Fix typos in docstrings. (find-file-visit-truename): Remove * from defcustom docstring. 2008-11-13 T. V. Raman (tiny change) * files.el (project-settings-file): New variable. (project-find-settings-file): Use it, instead of hardcoding .dir.settings.el. 2008-11-13 Glenn Morris * nxml/nxml-enc.el: Remove some charset code not needed since Emacs 22. 2008-11-13 Henry Weller (tiny change) * net/mairix.el (mairix-widget-fields-list): Fix bug regarding searching in mail bodies. 2008-11-12 Juanma Barranquero * international/mule.el (autoload-coding-system, with-category-table) (ctext-non-standard-encodings-alist): Fix typos in docstrings. (coding-system-equal, set-buffer-process-coding-system): Doc fixes. (set-buffer-file-coding-system, revert-buffer-with-coding-system) (set-file-name-coding-system, ctext-pre-write-conversion) (auto-coding-functions, find-auto-coding, modify-coding-system-alist): Reflow docstrings. (charset-list, set-coding-priority): Remove redundant obsolescence info. (charset-id, charset-bytes, make-coding-system): Add obsolescence info. (char-valid-p): Define with `define-obsolete-function-alias'. * textmodes/artist.el (artist-mode): Fix typos in docstring. 2008-11-12 Sam Steingold * vc-cvs.el (vc-cvs-parse-root): Handle roots without colon between hostname and path. 2008-11-11 Juri Linkov * dired-aux.el (dired-isearch-filenames) (dired-isearch-filenames-regexp): Let-bind isearch-message-prefix-add to "filename ". * isearch.el (isearch-message-prefix-add) (isearch-message-suffix-add): New variables. (isearch-message-prefix): Show additional text from `isearch-message-prefix-add' before "I-search". (isearch-message-suffix): Show additional text from `isearch-message-suffix-add' at the end. * isearch.el (isearch-lazy-highlight-search): Use a loop like in `isearch-search'. Call isearch-success-function to skip matches outside the current isearch scope. Let-bind search-invisible to nil to not match invisible text. * isearch.el (isearch-query-replace, isearch-highlight-regexp): Let-bind `isearch-recursive-edit' to nil to prevent calling `exit-recursive-edit' in `isearch-done' that terminates the execution of these commands when it is non-nil. Call `exit-recursive-edit' explicitly at the end. (isearch-occur): For word search construct the correct regexp with word boundaries to proceed with occur. * isearch.el (isearch-search-fun): Compare the length of the current search string with the length of the string from the previous search state to detect the situation when the user adds or removes characters in the search string. Use word-search-forward-lax and word-search-backward-lax in this case, and otherwise word-search-forward and word-search-backward. 2008-11-11 Sam Steingold * mouse.el (mouse-buffer-menu-mode-groups): Place "Annotate" into the "Version Control" group (for C-x v g). 2008-11-11 Juanma Barranquero * server.el (server-process-filter): Fix typos and reflow docstring. 2008-11-11 Martin Rudalics * mail/footnote.el (footnote-mode): Improve doc-string. Suggested by . (Bug#1318) 2008-11-11 Chong Yidong * cus-edit.el (Custom-mode): Set up tool-bar-map unconditionally. 2008-11-10 Teodor Zlatanov * mail/smtpmail.el (smtpmail-open-stream): Use `starttls-any-program-available'. Auto-load starttls.el for it. 2008-11-08 Chong Yidong * dired.el (dired-read-dir-and-switches): Revert to 2007-11-22 version (bug@1285). 2008-11-08 Eli Zaretskii * startup.el (command-line): Ignore init-file-user when checking user's home directory on MS-DOS as well. 2008-11-07 Sam Steingold * progmodes/cc-cmds.el (c-defun-name): Fix CLISP DEFUN handling. 2008-11-07 Juanma Barranquero * frame.el (make-frame-on-display): Use `string-match-p'. 2008-11-07 Glenn Morris * progmodes/cc-defs.el (cl-macroexpand-all): Fix declaration. 2008-11-07 Dan Nicolaescu * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add new argument to initialize font-lock keyword case sensitivity. (lisp-mode): Use it. 2008-11-06 Glenn Morris * eshell/esh-maint.el: Remove unused file. * progmodes/cc-defs.el (cl-macroexpand-all): Declare. * cus-edit.el (custom-comment-tag): Doc fix. (custom-comment, custom-variable-value-create, custom-face): Use face names sans -face suffix rather than aliases. 2008-11-05 Jay Belanger * calc/calc.el (calc-quit): Use `window-full-width-p' to check window width. 2008-11-05 Chong Yidong * server.el (server-process-filter): Only default to emacsclient's terminal in daemon mode. 2008-11-05 Martin Rudalics * window.el (quit-window): Restore prefix argument behavior removed in 2008-10-30 change. (Bug#1308) 2008-11-05 Tassilo Horn * doc-view.el (doc-view-mode): Bugfix: Add conversion killing function to kill-buffer-hook, not to kill-buffer. Reported by Markus Triska 2008-11-04 Jay Belanger * calc/calc.el (calc-quit): Make sure that the keypad buffer exists before deleting its windows. 2008-11-04 Chong Yidong * server.el (server-process-filter): Don't call server-create-tty-frame when no tty name is specified. 2008-11-04 Christian Faulhammer (tiny change) * vc-bzr.el (vc-bzr-dir-extra-headers): New function. 2008-11-04 Juanma Barranquero * international/mule-cmds.el (toggle-enable-multibyte-characters) (define-char-code-property): * textmodes/reftex.el (reftex-index): * textmodes/reftex-index.el (reftex-index): Fix typos in docstrings. 2008-11-04 Chong Yidong * vc-bzr.el (vc-bzr-dir-printer): Rename from vc-bzr-status-printer. * startup.el (startup-echo-area-message): Display a different message in daemon mode. Suggested by Stephen Turnbull. * frame.el (make-frame-on-display): Ignore DISPLAY argument on Windows. 2008-11-04 Juanma Barranquero * dframe.el (dframe-mouse-position-function) (dframe-reposition-frame-emacs, dframe-pass-event-to-popup-mode-menu) (dframe-mouse-set-point): Fix typos in docstrings. 2008-11-04 Dan Nicolaescu * vc-dir.el (vc-dir-headers): Undo previous change. 2008-11-04 Nick Roberts * vc-cvs.el (vc-cvs-dir-extra-headers): Add tag name to header. * vc-dir.el (vc-dir-headers): Order headers as in PCL-CVS. 2008-11-04 Martin Rudalics * subr.el (looking-back): Fix doc-string typo. * electric.el (Electric-pop-up-window): Call window-end with UPDATE set to t. * window.el (save-selected-window): Make it behave like save-selected-window-norecord. (save-selected-window-norecord): Remove, since functionality fully taken over by save-selected-window. (walk-windows, set-window-text-height, fit-window-to-buffer): Use save-selected-window instead of save-selected-window-norecord. * font-lock.el (lisp-font-lock-keywords-2): Remove entry for save-selected-window-norecord. * emacs-lisp/lisp-mode.el (save-selected-window): Remove indent-function for save-selected-window-norecord. 2008-11-03 Alan Mackenzie * progmodes/cc-engine.el (c-forward-label): Fix for QT macros. 2008-11-03 Chong Yidong * subr.el (looking-back): Doc fix. * term/x-win.el (x-initialize-window-system): Call x-wm-set-size-hint after initialization. * eshell/em-hist.el (eshell-save-history-on-exit): Change default to t. * emacs-lisp/lisp-mode.el (lisp-mode): Remove bogus change from 2000-12-08 (bug#1297). * font-lock.el (font-lock-keywords-case-fold-search): Doc fix. 2008-11-03 Vincent Belaïche * calc/calc-alg.el (calcFunc-collect): Return constant polynomial when appropriate. 2008-11-02 Martin Rudalics * window.el (save-selected-window-norecord): New macro. (walk-windows): Use save-selected-window-norecord and call select-window with NORECORD set. (Bug#1237) (set-window-text-height, fit-window-to-buffer): Use save-selected-window-norecord and call select-window with NORECORD set. * subr.el (with-selected-window): Call set-frame-selected-window with new argument NORECORD set. Update doc-string. (with-selected-frame): Call select-frame with new argument NORECORD set. Update doc-string. * emacs-lisp/lisp-mode.el (save-selected-window-norecord): Put indent-function for save-selected-window-norecord. * font-lock.el (lisp-font-lock-keywords-2): Add save-selected-window-norecord. 2008-11-01 Juanma Barranquero * cus-edit.el (customize-apropos-options, custom-comment) (custom-comment-tag, custom-face-edit-attribute-tag): Fix typos in docstrings. (custom-buffer-done-kill): Remove * from defcustom docstring. (custom-file): Fix typo in doc of defcustom choice. * frame.el (display-visual-class): Fix typo in docstring. (initial-frame-alist, minibuffer-frame-alist, pop-up-frame-alist) (special-display-frame-alist, show-trailing-whitespace) (auto-hscroll-mode, blink-cursor-delay, blink-cursor-interval) (display-hourglass, hourglass-delay, cursor-in-non-selected-windows): Remove * from defcustom docstrings. * md4.el (md4-buffer): Fix typo in docstring. (md4, md4-64): Doc fixes. (md4-pack-int32): Reflow docstring. * paths.el (rmail-file-name): Remove * from defcustom docstring. (prune-directory-list, gnus-nntp-service): Fix typos in docstrings. * rect.el (open-rectangle): Reflow docstring. (spaces-string): Fix docstring typo. Use "?\s" instead of "? ". * select.el (x-get-cut-buffer): Fix typo in docstring. * timezone.el (timezone-zone-to-minute, timezone-time-from-absolute) (timezone-time-zone-from-absolute, timezone-leap-year-p): Fix typos in docstrings. * emacs-lisp/assoc.el (asort, aelement, aput, aget, amake): Fix typos in docstrings. 2008-10-31 Ulf Jasper * net/newst-backend.el (newsticker--cache-update): Fix no-save case. * net/newst-treeview.el (newsticker--treeview-list-update-faces) (newsticker--treeview-list-update, newsticker--treeview-item-show) (newsticker--treeview-tree-update) (newsticker--treeview-tree-update-highlight) (newsticker-treeview-update) (newsticker-treeview-next-item, newsticker-treeview-prev-item) (newsticker-treeview-next-new-or-immortal-item) (newsticker-treeview-prev-new-or-immortal-item) (newsticker-treeview-next-feed, newsticker-treeview-prev-feed) (newsticker-treeview-tree-click): Watch for layout changes. (newsticker--treeview-set-current-node): Cleanup. (newsticker--treeview-restore-layout): Rename from newsticker--treeview-restore-buffers. (newsticker--treeview-mark-item): Update cache file. 2008-10-31 Ulf Jasper * calendar/icalendar.el (icalendar--uid-count): New. (icalendar--create-uid): New. Extracted from `icalendar-export-region' and add uid counter. (icalendar-export-region): Use `icalendar--create-uid'. 2008-10-31 Juanma Barranquero * tooltip.el (tooltip-frame-parameters): Doc fix. 2008-10-31 Martin Rudalics * window.el (window-body-height, window-current-scroll-bars) (walk-windows, get-window-with-predicate, get-buffer-window-list) (minibuffer-window-active-p, count-windows) (window-safely-shrinkable-p, window--splittable-p) (window--try-to-split-window, window--frame-usable-p) (window--even-window-heights, window--display-buffer-1) (window--display-buffer-2, set-window-text-height) (fit-window-to-buffer, shrink-window-if-larger-than-buffer) (truncated-partial-width-window-p): Rewrite doc-string. (window-fixed-size-p): Simplify code. Rewrite doc-string. (split-window-vertically, split-window-horizontally): Rename args, rewrite doc-string, and simplify code. (split-window-save-restore-data): Rename args and use when instead of if. 2008-10-30 Chong Yidong * indent.el (indent-for-tab-command): Use use-region-p. * vc.el (vc-revert): Limit the length of the query string. 2008-10-30 Juanma Barranquero * simple.el (idle-update-delay, next-error-highlight) (next-error-highlight-no-select, next-error-recenter, next-error-hook) (minibuffer-history-case-insensitive-variables, kill-ring-max) (kill-read-only-ok, backward-delete-char-untabify-method) (kill-whole-line, mark-ring-max, global-mark-ring-max) (set-mark-command-repeat-pop, next-line-add-newlines, track-eol) (goal-column, line-move-ignore-invisible, fill-prefix) (auto-fill-inhibit-regexp, blink-matching-paren) (blink-matching-paren-on-screen, blink-matching-paren-distance) (blink-matching-delay, blink-matching-paren-dont-ignore-comments) (read-mail-command, mail-user-agent): Remove * in defcustom docstrings. (minibuffer-history-isearch-wrap, transient-mark-mode) (next-logical-line, auto-fill-mode, line-number-mode) (column-number-mode, size-indication-mode, clone-indirect-buffer) (normal-erase-is-backspace-mode): Doc fixes. (current-kill, transient-mark-mode, toggle-truncate-lines) (visible-mode): Reflow docstrings. (minibuffer-local-shell-command-map, interprogram-paste-function): Fix typos in docstrings. 2008-10-30 Chong Yidong * server.el (server-process-filter): In daemon mode, default to emacsclient's tty if not opening a new frame and only the terminal-frame is available. 2008-10-30 Martin Rudalics * window.el (quit-window): Simplify code. Say in doc-string that it operates on the selected window's buffer. (Bug#1259) 2008-10-30 Nick Roberts * vc-svn.el (vc-svn-diff): If files is nil don't set oldvers to nil so that log-view-diff-changeset works. 2008-10-30 Glenn Morris * files.el (locate-dominating-stop-dir-regexp): Fix typo. * resume.el: Move to obsolete/. * Makefile.in (ELCFILES): Update. 2008-10-29 Chong Yidong * electric.el (Electric-pop-up-window): Don't shrink the window if it's already big enough. * minibuffer.el (delete-minibuffer-contents): Delete all minibuffer contents instead of just the current field. * tmm.el (tmm-get-keymap): Handle case where keyseq cache is omitted. * bookmark.el (bookmark-handle-bookmark): Rename from bookmark-jump-noselect. (bookmark--jump-via, bookmark-insert): Callers changed. (bookmark-jump-noselect): Wrapper function for bookmark-handle-bookmark. (bookmark-get-bookmark-record): Signal error for invalid bookmark. * textmodes/ispell.el (ispell-word): Use use-region-p. 2008-10-29 Juanma Barranquero * tooltip.el (tooltip-functions): Rename from `tooltip-hook', to follow naming conventions for abnormal hooks. Doc fix. (tooltip-mode, tooltip-timeout): Use it. (tooltip-hook): New obsolete alias. (tooltip-help-tips): Doc fix. * progmodes/gud.el (gud-tooltip-mode): Use `tooltip-functions'. 2008-10-29 Ulrich Mueller * server.el (server-socket-dir): Use TMPDIR (default /tmp) instead of hardcoded /tmp. 2008-10-29 Glenn Morris * net/xesam.el (dbus-get-unique-name, dbus-debug): Declare. * vc-hooks.el (vc-find-root): Remove bogus alias. 2008-10-29 Stefan Monnier * international/quail.el (quail-show-guidance): Don't create a guidance-frame if current buffer is not a minibuffer, since even if selected-window is mini-p, the buffer will never be displayed in it, so it wil be usable for guidance. 2008-10-28 Stefan Monnier * smerge-mode.el: Require diff-mode at run-time as well. 2008-10-28 Martin Rudalics * vc-cvs.el (vc-cvs-stay-local): Fix typo in choice. * vc-hooks.el (vc-stay-local): Likewise. 2008-10-28 Phil Sung * follow.el (follow-scroll-down, follow-calc-win-end) (follow-estimate-first-window-start): Reduce effective window height when header line is present. (Bug#925) 2008-10-28 Juanma Barranquero * subr.el (locate-user-emacs-file): Simplify. Don't create `user-emacs-directory' when Emacs is running in batch mode. * startup.el (inhibit-startup-screen): Reflow docstring. (user-mail-address, tool-bar-images-pixel-height): Fix docstring typos. 2008-10-27 Kenichi Handa * descr-text.el (describe-char): Fix terminal case (where font is nil). 2008-10-27 Juanma Barranquero * face-remap.el (text-scale-increase, text-scale-decrease) (text-scale-adjust): Remove &optional keyword from the arg list; the INC argument is not really optional, if the functions happen to be called from elisp. 2008-10-27 Dan Nicolaescu * vc.el: Rename VC methods that were missed when vc-status was renamed to vc-dir. * vc-svn.el (vc-svn-dir-extra-headers): Rename from vc-svn-status-extra-headers. * vc-hg.el (vc-hg-dir-printer): Rename from vc-hg-status-printer. (vc-hg-dir-extra-header): Rename from vc-hg-status-extra-headers. * vc-git.el (vc-git-dir-printer): Rename from vc-dir-status-printer. (vc-git-dir-extra-headers): Rename from vc-git-status-extra-headers. * vc-dir.el (vc-dir-mode): Use vc-dir-printer instead of vc-dir-status-printer. (vc-dir-headers): Use `dir-extra-headers' instead of `status-extra-headers'. (vc-dir-printer): Rename from vc-dir-status-printer. (vc-default-dir-extra-headers): Rename from vc-default-status-extra-headers. * vc-cvs.el (vc-cvs-dir-extra-headers): Rename from vc-cvs-status-extra-headers. * startup.el (server-name): Pacify byte compiler. (command-line): If --daemon=SERVER_NAME was used, set server-name before calling server-start. 2008-10-26 Romain Francoise * startup.el (command-line): Call daemon-initialized after starting the server. 2008-10-26 Kenichi Handa * help-fns.el (describe-categories): Display the terse legend at the head. * international/characters.el: Docstrings of categories improved. 2008-10-26 Stefan Monnier * progmodes/python.el (python-mode): Don't impose ourselves on hippie. * faces.el (face-font-family-alternatives): Add "CMU Typewriter Text" to the courier family. * textmodes/tex-mode.el (tex-verbatim): Don't use "monospace" which is usually not serif'd and hence rather unlike verbatim's printed output. 2008-10-25 Chong Yidong * vc-cvs.el (vc-cvs-status-extra-headers): Use full directory name when reporting the module. * vc-dir.el (vc-dir-mode-map): Add follow-link behavior. * wid-edit.el (widget-color-complete): Sort completions alphabetically. 2008-10-25 Stefan Monnier * files.el (locate-dominating-stop-dir-regexp): New var. (locate-dominating-file): Change arg from a regexp to a file name. Rewrite using the vc-find-root code to avoid directory-files which is too slow. Obey locate-dominating-stop-dir-regexp. Don't pay attention to changes in owner. (project-find-settings-file): Adjust call to locate-dominating-file. * progmodes/flymake.el (flymake-find-buildfile): Adjust call to locate-dominating-file. * vc-hooks.el (vc-find-root): Use locate-dominating-file. (vc-ignore-dir-regexp): Use locate-dominating-stop-dir-regexp. 2008-10-25 Martin Rudalics * subr.el (with-current-buffer): Rename buffer argument to buffer-or-name. * window.el (get-buffer-window-list): Rename buffer argument to buffer-or-name and make it optional. 2008-10-25 Juanma Barranquero * completion.el (add-completion-to-head, add-completion): Doc fixes. (completion-search-next, add-completions-from-file): Fix typos in docstrings. * filesets.el (filesets-menu-ensure-use-cached) (filesets-ingroup-patterns, filesets-filetype-property): * tutorial.el (get-lang-string): * play/gamegrid.el (gamegrid-score-file-length, gamegrid-add-score): Fix typos in docstrings. * image-dired.el (image-dired-dired-after-readin-hook): Doc fix. (image-dired-line-up-method, image-dired-thumb-size) (image-dired-cmd-write-exif-data-options, image-dired-write-tags) (image-dired-track-original-file, image-dired-track-thumbnail) (image-dired-dired-next-line, image-dired-dired-previous-line) (image-dired-write-comments): Reflow docstrings. (image-dired-show-all-from-dir-max-files) (image-dired-format-properties-string, image-dired-create-thumbs) (image-dired-mark-tagged-files, image-dired-gallery-generate): Fix typos in docstrings. * savehist.el (savehist-save-minibuffer-history, savehist-file) (savehist-additional-variables, savehist-ignored-variables) (savehist-file-modes, savehist-autosave-interval): * startup.el (inhibit-startup-echo-area-message, inhibit-default-init) (inhibit-startup-buffer-menu, mail-host-address, user-mail-address) (fancy-splash-image): * thumbs.el (thumbs-thumbsdir, thumbs-geometry, thumbs-relief) (thumbs-conversion-program, thumbs-margin): Remove spurious * in docstrings. 2008-10-25 Aaron S. Hawley * thingatpt.el (end-of-sexp, beginning-of-sexp) (forward-same-syntax): Omit default arguments to char-after and char-before. 2008-10-24 Juanma Barranquero * subr.el (locate-user-emacs-file): New function. (user-emacs-directory): Mention it in docstring. * completion.el (save-completions-file-name): * filesets.el (filesets-menu-cache-file): * image-dired.el (image-dired-dir, image-dired-db-file) (image-dired-temp-image-file, image-dired-gallery-dir) (image-dired-temp-rotate-image-file): * savehist.el (savehist-file): * server.el (server-auth-dir): * thumbs.el (thumbs-thumbsdir): * tutorial.el (tutorial--saved-dir): * play/gamegrid.el (gamegrid-user-score-file-directory): Use it. 2008-10-23 Juanma Barranquero * edmacro.el (edmacro-eight-bits, edmacro-mode): Fix docstring typos. (edmacro-mismatch, edmacro-sanitize-for-string): Doc fixes. 2008-10-23 Chong Yidong * filesets.el: Update author email. (filesets-data): Doc fix. 2008-10-23 Jens Petersen (tiny change) * pcmpl-rpm.el (pcomplete/rpm): Make "rpm -qp" use file completion. 2008-10-23 Ulrich Mueller * international/mule-cmds.el (describe-language-environment): Indent sample text. 2008-10-23 Glenn Morris * pcmpl-rpm.el (pcomplete/rpm): Doc fix. * emacs-lisp/cl-macs.el (flet): Throw an error when trying to byte-compile a redefinition of a function with special byte-compile handling. (Bug#411) 2008-10-22 Vinicius Jose Latorre * ps-print.el: Deal with page sizes for label printes. Suggested by Friedrich Delgado Friedrichs . (ps-print-version): New version 7.3.3. (ps-page-dimensions-database): New page sizes for label printers. (ps-n-up-printing): Fix code. 2008-10-22 Chong Yidong * frame.el (make-frame-command): Doc fix. Use display-graphic-p. * thingatpt.el (sexp-at-point, symbol-at-point, number-at-point) (list-at-point): Add docstrings. * dired.el (dired-get-marked-files, dired-map-over-marks): Doc fixes. * dired-aux.el (dired-do-create-files): Doc fix. 2008-10-22 Adrian Robert * version.el (emacs-version): Change '*Step' to 'NS' for consistency with other documentation. 2008-10-22 Juanma Barranquero * replace.el (how-many): Fix typo in docstring. Reported by Leo . 2008-10-22 Glenn Morris * international/mule-cmds.el (universal-coding-system-argument): Check for C-g. (Bug#1205) 2008-10-22 Kenichi Handa * international/characters.el: Don't setup find-word-boundary-function-table. (next-word-boundary-han, next-word-boundary-kana): Delete them. (word-combining-categories, word-separating-categories): Adjust to the change of the docstrings. 2008-10-21 Chong Yidong * simple.el (region-active-p): Doc fix. 2008-10-20 Eli Zaretskii * subr.el (apply-partially): Move from here... * simple.el (apply-partially): ...to here. 2008-10-20 Andreas Schwab * subr.el (split-string-and-unquote): Simplify regexp. 2008-10-20 Eli Zaretskii * subr.el (top-level): Require `cl' when compiling. 2008-10-20 David Reitter * info.el (Info-mode): Do not remove an existing header line if `Info-use-header-line' is nil. 2008-10-19 Juri Linkov * isearch.el (isearch-query-replace, isearch-query-replace-regexp): Add arg `delimited' as in `query-replace' for the case when isearch-allow-scroll=t and the user types C-u M-%. Doc fix. Add more indicators to the prompt ("word" and "in region"). * replace.el (query-replace, query-replace-regexp) (replace-string, replace-regexp, perform-replace): Add "word" indicatiors to the prompt for word delimited replacements. * replace.el (read-regexp): Rename arg `default' to `default-value'. Doc fix. 2008-10-19 Eli Zaretskii * subr.el (apply-partially): Move here from minibuffer.el. Doc fix. * simple.el (minibuffer-default-add-shell-commands): Doc fix. 2008-10-19 Martin Rudalics * window.el (enlarge-window-horizontally, shrink-window-horizontally): Make argument names follow Elisp manual. 2008-10-19 Eli Zaretskii * textmodes/remember.el (remember-data-file): * shadowfile.el (shadow-initialize) : * savehist.el (savehist-file): * recentf.el (recentf-save-file): * pcvs-defs.el (cvs-cvsrc-file): * international/kkc.el (kkc-init-file-name): * ido.el (ido-save-directory-list-file): * calendar/todo-mode.el (todo-file-do, todo-file-done) (todo-file-top): Run file names that begin with a period thru `convert-standard-filename'. * dos-fns.el (dos-reevaluate-defcustoms): New function. Add it to before-init-hook. Fix Bug #1183: * ediff-diff.el (ediff-exec-process): For buffer jobs, bind coding-system-for-read to ediff-coding-system-for-write. * ediff-util.el (ediff-make-temp-file): Unconditionally bind coding-system-for-write to ediff-coding-system-for-write. * ediff-init.el (ediff-coding-system-for-read): Doc fix. (ediff-coding-system-for-write): Set to emacs-internal. 2008-10-18 Stefan Monnier * international/mule-conf.el (emacs-internal): New coding system alias. 2008-10-18 Juri Linkov * info.el (Info-file-supports-index-cookies-list): New variable. (Info-file-supports-index-cookies): New function. (Info-find-node-2, Info-index-nodes, Info-index-node): Use it. (Info-index-nodes): Let-bind Info-point-loc to nil for files without an index cookie to ignore it when Info-index-nodes is called during navigating from an index node with line numbers. (Info-index-node): Set file to Info-current-file if nil. (Bug#1118) * info.el (Info-breadcrumbs-depth): Move defcustom higher to the variable definition section. * info.el (Info-find-node-2): Put initial point below the header line and breadcrumbs line. 2008-10-18 Glenn Morris * doc-view.el (doc-view-pdf->txt, doc-view-ps->pdf): Give an error if the needed external programs were not found. 2008-10-18 Eli Zaretskii * files.el (trash-directory): Run thru `convert-standard-filename'. (file-modes-char-to-who, file-modes-char-to-right) (file-modes-rights-to-number, file-modes-symbolic-to-number) (read-file-modes): Doc fixes. 2008-10-17 Chong Yidong * abbrev.el (define-abbrev): Doc fix. 2008-10-17 Alan Mackenzie * progmodes/cc-cmds.el (c-defun-name): Make it work for "struct foo bar [] = { ...". 2008-10-17 Chong Yidong * faces.el (face-spec-set-2): Don't pass invalid attributes to set-face-attribute. 2008-10-17 Juanma Barranquero * w32-fns.el (w32-list-locales): Decode output of `w32-get-locale-info' according to `locale-coding-system'. (This fixes trivial bug reported as part of bug#1179). Sort list of valid locale ids (EnumSystemLocales does not guarantee any particular order). Use `when'. 2008-10-16 Juanma Barranquero * w32-fns.el (w32-check-shell-configuration): Doc fix. (w32-add-charset-info): Fix typo in docstring. 2008-10-16 Teodor Zlatanov * international/mule-conf.el: Removed `utf8' and `UTF8' aliases after discussion. 2008-10-16 Magnus Henoch * vc-arch.el (vc-arch-dir-status): New function. (vc-arch-after-dir-status): New function. 2008-10-16 Glenn Morris * man.el (Man-getpage-in-background): Force recent `man's to output escape sequences even when stdout is not a tty. (Bug#1142) 2008-10-15 Teodor Zlatanov * international/mule-conf.el: Add `utf8' and `UTF8' as aliases for the `utf-8' coding system. 2008-10-15 Juanma Barranquero * find-file.el (ff-get-file): Doc fix. (ff-get-file-name): Use `let', not `let*'. (ff-search-directories): Fix typo in docstring. (ff-pre-find-hook, ff-pre-load-hook, ff-post-load-hook) (ff-not-found-hook, ff-file-created-hook, ff-case-fold-search) (ff-always-in-other-window, ff-ignore-include, ff-always-try-to-create) (ff-quiet-mode, ff-other-file-alist, cc-search-directories) (cc-other-file-alist, modula2-other-file-alist): Remove spurious * in docstrings. 2008-10-14 Chong Yidong * faces.el (set-face-attribute): Set family and foundry before other attributes. (face-spec-set-2): Pass unmodified args to set-face-attribute. 2008-10-14 Juanma Barranquero * hl-line.el (hl-line-unload-function): New function. (hl-line-unhighlight, global-hl-line-unhighlight): Use `when'. (hl-line-sticky-flag): Remove spurious * in docstring. 2008-10-14 Eric Hanchrow (tiny change) * vc-git.el (vc-git-show-log-entry): Include the revision in the search string. 2008-10-14 Michael Albinus * net/tramp.el (tramp-process-one-action): Embed regexp in parentheses, before adding end-of-buffer construct. Suggested by Markus Triska . 2008-10-13 Ulf Jasper * net/newst-plainview.el (w3m-toggle-inline-image): Define 'declare-function if necessary, for compatibility. * net/newst-treeview.el (w3m-toggle-inline-images): Define 'declare-function if necessary, for compatibility. 2008-10-13 Alan Mackenzie * progmodes/cc-cmds.el (c-indent-region): Fix previous patch so that the function works on one-line macros. * progmodes/cc-engine.el: Amend several doc strings and comments. 2008-10-13 Dan Nicolaescu * vc-hooks.el (vc-stay-local): Add a new choice and default to it. * vc-cvs.el (vc-cvs-dir-stay-local): Remove. (vc-cvs-stay-local): Add a new choice and default to it. (vc-cvs-dir-status): Use the new vc-stay-local choice. * vc-svn.el (vc-svn-dir-status): Use the new vc-stay-local choice. 2008-10-12 Stephen Leake * progmodes/ada-mode.el (ada-get-indent-end, ada-goto-matching-start): Add support for extended return statement. * progmodes/ada-xref.el (ada-gnat-parse-gpr): Don't reverse src-dir and obj-dir; keep user order. 2008-10-12 Glenn Morris * Makefile.in (ELCFILES): Update. * simple.el (shell-delimiter-argument-list, shell-file-name-chars) (shell-file-name-quote-list): Declare. 2008-10-12 Michael Albinus * net/dbus.el (dbus-service-emacs, dbus-path-emacs): New defconst. 2008-10-12 Chong Yidong * startup.el (command-line): If toolbar is disabled but ought to be initialized, call tool-bar-setup. * tool-bar.el (tool-bar-setup): Variable deleted. (tool-bar-setup): Set it up unconditionally. * faces.el (x-create-frame-with-faces): Don't call tool-bar-setup. * progmodes/grep.el (grep-mode-tool-bar-map): Check if tool-bar-map has been initialized before setting it up. * progmodes/compile.el (compilation-mode-tool-bar-map): Check if tool-bar-map has been initialized before setting it up. 2008-10-11 Chong Yidong * emacs-lisp/warnings.el (display-warning): Issue a message if called during daemon initialization. * tool-bar.el (tool-bar-local-item) (tool-bar-local-item-from-menu): Put the check for number of display colors into the image expression. (tool-bar-setup): Don't be a no-op on ttys. * info.el (info-tool-bar-map): * progmodes/gud.el (gud-tool-bar-map): * progmodes/grep.el (grep-mode-tool-bar-map): * progmodes/compile.el (compilation-mode-tool-bar-map): Initialize it unconditionally. 2008-10-11 Romain Francoise * help.el (view-lossage): Fix docstring, lossage is now 300 keys. * kmacro.el (kmacro-edit-lossage): Ditto. * edmacro.el (edit-kbd-macro): Ditto. 2008-10-11 Ulf Jasper * net/newst-treeview.el (newsticker--treeview-list-sort-by-column): Fix variable names. 2008-10-11 Dan Nicolaescu * startup.el (command-line): Revert 2008-09-26 change, not necessary anymore. 2008-10-10 Andreas Schwab * simple.el (minibuffer-complete-shell-command): Bind comint-delimiter-argument-list, comint-file-name-chars and comint-file-name-quote-list like shell-mode. 2008-10-10 Martin Rudalics * window.el (pop-to-buffer): Fix misplacement of arg norecord in call of select-window. 2008-10-10 Jay Belanger * calc/calc.el (calc-embedded-word-regexp) (calc-embedded-word-regexp-alist): New variables. (calc-embedded-open-word, calc-embedded-close-word) (calc-embedded-open-close-word-alist): Remove unused variables. * calc/calc-embed.el (calc-embedded-make-info): Use `calc-embedded-word-regexp' to find words. 2008-10-10 Martin Rudalics * info.el (Info-extract-menu-counting): New argument no-detail to skip detailed node listings. (Info-forward-node): New argument not-up to inhibit going up. (Info-final-node): Call Info-extract-menu-counting and Info-forward-node with the new arguments set to avoid infinite looping. (Bug#1116) 2008-10-10 Eli Zaretskii * startup.el (command-line): Don't invoke tool-bar-mode if it is not fboundp. 2008-10-09 Chong Yidong * startup.el (command-line): Enable tool-bar-mode as long as it is not suppressed by X resources, regardless of the terminal. * tool-bar.el (tool-bar-mode): Only change tool-bar-lines on graphical terminals. (tool-bar-setup): No-op if called on a tty. 2008-10-09 Eli Zaretskii * frame.el (make-frame-on-tty): Use "F" inside interactive. Support `pc' ``window-system''. * progmodes/compile.el (compilation-start): Resurrect the version for systems that don't support asynchronous subprocesses. 2008-10-09 Martin Rudalics * window.el (pop-up-frames): Add choice graphic-only. (display-buffer): When pop-up-frames equals graphic-only do not pop up new frame on text-only terminals. (Bug#1061) 2008-10-09 Dan Nicolaescu * vc-cvs.el (vc-cvs-dir-stay-local): New variable. (vc-cvs-dir-status): Use it. 2008-10-08 Chong Yidong * json.el (json-skip-whitespace): Fix last change. 2008-10-08 Juanma Barranquero * bs.el (bs-unload-function): New function. 2008-10-08 Sven Joachim * eshell/em-cmpl.el, eshell/em-hist.el, eshell/em-ls.el: * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el: For clarity, explicitly require cl. 2008-10-08 Michael Olson * ibuffer.el (ibuffer-shrink-to-fit): Force redisplay, so that we can avoid a bad interaction with programs that add functions to the window-scroll-functions hook. This fixes Bug #858. 2008-10-07 Chong Yidong * startup.el (command-line): Use display-warning to warn about an init file error. (command-line-1): Remove init file error delay. 2008-10-07 Shigeru Fukaya * rx-new.el (rx-constituents): Change `anything' to call rx-anything. Change `not-wordchar' assignment to "\\W" from "[^[:word:]]". (rx-group-if): New function. (rx-parent): New variable. (rx-and, rx-or): Put shy groups only when necessary. (rx-bracket): Remove. (rx-anything): New function. (rx-any-delete-from-range, rx-any-condense-range) (rx-check-any-string): New functions. (rx-check-any): Return result as a list. Don't convert chars to strings. Don't prepend "\\" to "^". Don't search for close bracket. Check char category string. Call rx-form instead of rx-to-string. (rx-any): Rebuid to complete the function. (rx-check-not): Fix char category regexp pattern string. Call rx-form instead of rx-to-string. (rx-not): Call rx-form instead of rx-to-string. Convert "[^]" to "[^^]". Call regexp-quote for one char string when not called from rx-not. Add "\\w", and toggle to upcase. Add the case of "\\[SCBW]" to toggle. (rx-=, rx->=, rx-**, rx-repeat, rx-submatch): Call rx-form instead of rx-to-string. (rx-kleene): Call rx-form instead of rx-to-string. Call rx-group-if to adjust putting of shy groups. (rx-atomic-p): Make check more precisely. (rx-eval, rx-greedy): Call rx-form instead of rx-to-string. (rx-regexp): Call rx-group-if. (rx-form): New function. (rx-to-string): Call rx-form, rx-group-if. Refine definition of NO-GROUP. 2008-10-07 T. V. Raman (tiny change) * json.el (json-advance): Use forward-char. (json-skip-whitespace): Use skip-syntax-forward. 2008-10-07 Alan Mackenzie * progmodes/cc-cmds.el (c-indent-line-or-region): Fix so that indenting a macro followed by blank lines doesn't backslash the following non-blank line into the macro. 2008-10-06 Chong Yidong * startup.el (before-init-time, after-init-time): Move into emacs.c. (command-line): Set after-init-time to nil before initialization. 2008-10-06 Jay Belanger * calc/calc-units.el (math-standard-units): Update the values of the units. 2008-10-06 Juanma Barranquero * bookmark.el (bookmark-unload-function): New function. 2008-10-06 Andreas Schwab * emacs-lisp/syntax.el (syntax-ppss): Doc fix. 2008-10-06 Martin Rudalics * mail/footnote.el: Remove * in defcustom docstrings and tell for most options that customizing them doesn't affect buffers already displaying footnotes. (Footnote-refresh-footnotes, Footnote-renumber-footnotes): Fix handling of text properties and identical start/end tags. Do not use format when renumbering. (Footnote-set-style): Make it work. (Footnote-insert-numbered-footnote): Simplify. (Footnote-narrow-to-footnotes, Footnote-insert-footnote) (Footnote-goto-footnote): Fix handling of empty section tag. (Footnote-delete-footnote): Fix handling of identical start/end tags, empty section tag, and spaced footnotes. Do not use kill-region. (footnote-mode): Make most options buffer-local to avoid that customizing messes up handling of footnotes in buffers that already display them. 2008-10-06 Dan Nicolaescu * faces.el (x-create-frame-with-faces): Undo previous change. * vc-cvs.el (vc-cvs-after-dir-status): Parse the output for non existent files. 2008-10-05 Chong Yidong * international/mule-cmds.el (universal-coding-system-argument): Handle digit-argument too. 2008-10-05 Mario Lang * xml.el (xml-parse-string): Use skip-chars-forward. 2008-10-05 Dan Nicolaescu * vc-bzr.el (vc-bzr-after-dir-status): Parse the output for non existent files. (vc-bzr-dir-status-files): New function. 2008-10-04 Glenn Morris * files.el (make-temp-file): Handle empty `prefix'. (Bug#1081) * vc-svn.el (vc-svn-after-dir-status): Handle `svn status -u' output. (vc-svn-dir-status): Respect vc-stay-local-p. (Bug#1046) * vc-cvs.el (vc-cvs-dir-status-heuristic): New function. (vc-cvs-dir-status): Respect vc-stay-local-p. (Bug#1046) 2008-10-04 David J. Biesack (tiny change) * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords): Fix typo. (Bug#1074) 2008-10-04 Martin Rudalics * progmodes/compile.el (compilation-start): Make sure to move to point-max only when we are in the compilation buffer. (Bug#1073) 2008-10-04 Dan Nicolaescu * faces.el (x-create-frame-with-faces): Only setup the toolbar if tool-bar-mode is on. * vc-svn.el (vc-svn-dir-status-files): * vc-cvs.el (vc-cvs-dir-status-files): New function. 2008-10-03 Dan Nicolaescu * vc-hg.el (vc-hg-dir-status-files): New function. 2008-10-03 Martin Rudalics * window.el (window--display-buffer-1): Don't care about visibility since raise-frame does. 2008-10-03 Mario Lang * nxml/xmltok.el (xmltok-forward): Simplify. 2008-10-03 Glenn Morris * Makefile.in (ELCFILES): Update. * frame.el (set-default-font): Make obsolete. * mouse.el (mouse-set-font): Use set-frame-font. * jka-cmpr-hook.el (jka-compr-compression-info-list) (jka-compr-mode-alist-additions): Also match `.tbz2'. * progmodes/idlwave.el (auto-mode-alist): Remove unnecessary autoload. * files.el (auto-mode-alist): Add .PRO as per above autoload. 2008-10-03 Dan Nicolaescu * vc-dir.el (vc-dir-mode): Don't create the ewoc header here. (vc-dir-refresh): Set it here instead. (Bug#1067) 2008-10-02 Chong Yidong * faces.el (inhibit-frame-set-background-mode): New var. (frame-set-background-mode): Use it to avoid a loop in face-spec-recalc. 2008-10-02 Glenn Morris * vc-bzr.el (vc-bzr-diff): Use vc-switches rather than the obsolete vc-diff-switches. 2008-10-01 Vinicius Jose Latorre * whitespace.el: Eliminate whitespace-kill-buffer-hook functionality, that is, to take some action when a buffer is killed. Suggested by Stefan Monnier . Doc fix. New version 11.2.2. (whitespace-action): Docstring and :type fix. (whitespace-turn-on, whitespace-turn-off, whitespace-warn-read-only): Code fix. (whitespace-add-local-hook, whitespace-remove-local-hook) (whitespace-kill-buffer-hook, whitespace-action): Fun eliminated. 2008-10-01 Magnus Henoch * net/tls.el (open-tls-stream): Show the actual command being executed, instead of the format string. 2008-10-01 Eli Zaretskii * term/internal.el (dos-locale-alist): New alist. (dos-codepage-setup): Use it to compute a value of locale with which to call set-locale-environment. Remove code to set terminal, keyboard, and file-name encoding (done by set-locale-environment). * international/mule-cmds.el (set-language-environment-nonascii-translation): Fix nonascii value for `pc' ``window-system''. (set-display-table-and-terminal-coding-system) (set-default-coding-systems): Don't special-case `pc'. 2008-10-01 Glenn Morris * filesets.el (filesets-menu-name): Fix type. (filesets-menu-path, filesets-menu-before): Fix types. Change defaults to be consistent with recentf. (Bug#1056) 2008-09-30 Stefan Monnier * term/xterm.el (xterm-turn-on-modify-other-keys) (xterm-turn-off-modify-other-keys, xterm-remove-modify-other-keys): Don't forget to pass `terminal' to `send-string-to-terminal'. 2008-09-30 Michael Albinus * vc-hooks.el (vc-file-clearprops): Revert change from 2008-09-29. (vc-file-not-found-hook): Check, that `buffer-file-name' is non-nil. It is not clear, whether this is only fixing symptoms on an error. OTOH, in all other cases, the call of `vc-file-clearprops' is embedded by that check. So it might be TRT. Suggested by Dan Nicolaescu . 2008-09-30 Eli Zaretskii * Makefile.in (ELCFILES): Remove codepage.elc. * international/codepage.el: File removed, as even ms-dos doesn't need it anymore. * loadup.el [ms-dos]: Don't load ccl and codepage. * term/internal.el: Remove coding: cookie and no-byte-compile flag. (IT-character-translations, cjk-codepages-alist): Remove variables. (IT-display-table-setup, dos-cpNNN-setup): Remove functions. (IT-unicode-translations): Remove charset and base elements. Add translations for Latin-1 characters. (IT-setup-unicode-display): Accept a CODING argument. Don't use base and chset elements of IT-unicode-translations. Don't wrap translation in "{...}". Set up translations only for characters for which unencodable-char-position returns non-nil. (dos-codepage-setup): Don't use special-case codepages in cjk-codepages-alist. * files.el (locate-dominating-file): Wrap directory-files with condition-case, instead of calling file-directory-p, which stats the directory one more time. * mail/mail-utils.el (mail-unquote-printable-region): Use insert-byte instead of insert-char, when the UNIBYTE arg is non-nil. 2008-09-30 Daiki Ueno * epa-file.el (epa-file-insert-file-contents): Fix typo. 2008-09-30 Glenn Morris * progmodes/which-func.el (which-func-imenu-joiner-function): Doc fix. 2008-09-30 Daniel Colascione * progmodes/which-func.el (which-func-imenu-joiner-function): New. (which-function): Handle nested imenu trees. * imenu.el (imenu--split-menu): Fix bug with shared lists that deleted some nested menu items. 2008-09-30 Jay Belanger * calc/calc-units.el (math-standard-units): Add entries used to display the values in the units buffer. (math-build-units-table): Add entries to the units table to be used to display the values in the units buffer. (math-build-units-table-buffer): Use the display entry of the units table when non-nil. (calc-define-unit): Add option to enter display value of unit. 2008-09-29 Michael Albinus * vc-hooks.el (vc-file-clearprops): Check, that FILE is a string. 2008-09-29 Eli Zaretskii * files.el (locate-dominating-file): Take file-attributes of `dir', not of `file' (which never changes). 2008-09-29 Michael Albinus * files.el (file-remote-p): Precise doc string; IDENTIFICATION can also be `localname'. * net/ange-ftp.el (ange-ftp-file-remote-p): Handle `localname' as IDENTIFICATION. 2008-09-28 Glenn Morris * vc.el (vc-switches): Give it a doc string. 2008-09-28 Romain Francoise * comint.el (comint-show-output): Adjust to stickiness changes of the output field. * startup.el (command-line): Start the daemon server later. 2008-09-28 Martin Rudalics * subr.el (read-quoted-char): Call char-resolve-modifiers instead of char-resolve-modifers. 2008-09-27 Glenn Morris * play/solitaire.el (solitaire-mode-map): Bind "\r" rather than [return]. (Bug#1031) 2008-09-27 Peter Dyballa * calendar/calendar.el (solar-sunrises-buffer): Fix typo. 2008-09-27 Daiki Ueno * epg.el (epg-wait-for-status): Check if there is no pending status. Reported by Ted Romer . 2008-09-26 Dan Nicolaescu * startup.el (command-line): Turn on menu-bar-mode and tool-bar-mode when running as a daemon. 2008-09-26 Eli Zaretskii * makefile.w32-in ($(lisp)/progmodes/cc-mode.elc): Remove. ($(lisp)/progmodes/cc-align.elc, $(lisp)/progmodes/cc-cmds.elc) ($(lisp)/progmodes/cc-compat.elc, $(lisp)/progmodes/cc-defs.elc) ($(lisp)/progmodes/cc-engine.elc) ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc) ($(lisp)/progmodes/cc-mode.elc, $(lisp)/progmodes/cc-styles.elc) ($(lisp)/progmodes/cc-subword.elc) ($(lisp)/progmodes/cc-vars.elc): New dependencies. * Makefile.in ($(lisp)/progmodes/cc-mode.elc): Remove. ($(lisp)/progmodes/cc-align.elc, $(lisp)/progmodes/cc-cmds.elc) ($(lisp)/progmodes/cc-compat.elc, $(lisp)/progmodes/cc-defs.elc) ($(lisp)/progmodes/cc-engine.elc) ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc) ($(lisp)/progmodes/cc-mode.elc, $(lisp)/progmodes/cc-styles.elc) ($(lisp)/progmodes/cc-subword.elc) ($(lisp)/progmodes/cc-vars.elc): New dependencies. 2008-09-25 Katsumi Yamaoka * informat.el (Info-split-threshold): New variable. (Info-split): Use it. * textmodes/texinfmt.el (texinfo-format-buffer): Use Info-split-threshold to decide whether to split Info files. 2008-09-25 Chong Yidong * progmodes/octave-mod.el (octave-mode-menu): Fix incorrect quoting. * comint.el (comint-dynamic-complete-as-filename): Quote directory name when reinserting it. * isearch.el (isearch-search-fun): Use word-search-forward-lax and word-search-backward-lax for incremental word search. 2008-09-25 Juanma Barranquero * generic-x.el (generic-other-modes): Fix typo in docstring. (generic-use-find-file-hook, generic-lines-to-scan) (generic-find-file-regexp, generic-ignore-files-regexp) (generic-define-mswindows-modes, generic-define-unix-modes): Remove `*' from docstring. (generic-mode-find-file-hook): Use `string-match-p'. (apache-log-generic-mode, mailagent-rules-generic-mode) (prototype-generic-mode, pkginfo-generic-mode, javascript-generic-mode) (java-manifest-generic-mode, java-properties-generic-mode) (alias-generic-mode): Doc fix: use "Generic mode" in docstrings for consistency with other modes in generic-x.el. 2008-09-25 Martin Rudalics * textmodes/tex-mode.el (latex-handle-escaped-parens): New variable. (latex-backward-sexp-1, latex-forward-sexp-1): Treat escaped parens specially only if latex-handle-escaped-parens is non-nil. (latex-indent-within-escaped-parens): New option. (latex-find-indent): Bind latex-handle-escaped-parens to latex-indent-within-escaped-parens. Do not treat escaped parens specially when this is nil. (Bug#954) 2008-09-25 Glenn Morris * ffap.el (ffap-fixup-url): Don't call url-normalize-url. (Bug#898) 2008-09-25 Chong Yidong * vc.el (vc-mark-resolved): Move message here from vc-default-mark-resolved. (vc-default-mark-resolved): Change to an alias for ignore. 2008-09-24 Andreas Politz (tiny change) * term.el (term-emulate-terminal): Encode input string before checking its length. 2008-09-24 Chong Yidong * progmodes/sh-script.el (sh-mode-map): Don't assume that skeleton is loaded. * server.el (server-buffer-done): Avoid changing the buffer when deleting the client's frame (bug#640). * vc.el (vc-default-mark-resolved): New function. 2008-09-24 Stephen Berman * mail/rfc822.el (rfc822-addresses): Prevent rfc822-bad-address from raising a wrong-type-argument error. 2008-09-24 Martin Rudalics * help-fns.el (describe-function-1, describe-variable): Print relative file name in help buffer. * faces.el (describe-face): Print relative file name in help buffer. 2008-09-23 Romain Francoise * subr.el (with-output-to-string): Make sure that the temporary buffer gets killed. 2008-09-23 Markus Sauermann (tiny change) * emacs-lisp/lisp-mode.el (calculate-lisp-indent): Fix indentation problem with keyword symbols when a list starts with ,@ or spaces. (Bug#1012) 2008-09-23 Martin Rudalics * textmodes/tex-mode.el (latex-find-indent): Try to handle escaped close parens correctly. (Bug#954) 2008-09-22 Tassilo Horn * play/fortune.el (fortune-in-buffer): Fix a bug which forced usage of `fortune-file' even though a FILE argument was passed to the function. 2008-09-21 Dan Nicolaescu * startup.el (command-line): Start the server when in daemon mode. Remove always true test. * frame.el (frame-initialize): Remove spurious setting of special-display-function with the default value. 2008-09-20 Vincent Belaïche * calc/calc-vec.el (calcFunc-venum): Properly handle intervals. 2008-09-20 Glenn Morris * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix custom type. (Bug#1011) 2008-09-20 David De La Harpe Golden * files.el (move-file-to-trash): Avoid recursive trashing if rename-file calls delete-file. 2008-09-20 Glenn Morris * play/fortune.el: Remove leading `*' from defcustom docs. (fortune-program-options): Doc fix. Allow to be a string again. Add :version. (fortune-in-buffer): Handle fortune-program-options as a string. Don't rely on fortune program accepting options after fortune file. 2008-09-20 Justin Bogner (tiny change) * play/fortune.el (fortune-program-options): Change to a list. (fortune-in-buffer): Use apply. 2008-09-20 Ulrich Mueller * emacs-lisp/authors.el: Change encoding of file to utf-8. (authors-coding-system): Likewise. 2008-09-20 Ami Fischman * savehist.el (savehist-save): Handle errors in writing as well as reading. 2008-09-20 Michael Olson * emacs-lisp/tq.el (tq-create): Disable undo in tq buffer in order to provide a minimal performance boost. 2008-09-19 Roland Winkler * proced.el (proced-grammar-alist, proced-custom-attributes) (proced-format-alist, proced-format, proced-filter-alist) (proced-filter, proced-sort): Use defcustom. (proced-mode): Fix docstring. (proced-process-attributes): Handle return value nil of functions in proced-custom-attributes. 2008-09-19 Martin Rudalics * textmodes/sgml-mode.el (sgml-tag-syntax-table): Remove prefix flag from "'" entry in sgml-tag-syntax-table. (Bug#946) 2008-09-19 Miles Bader * comint.el (comint-output-filter): Make field properties for output text front-sticky. 2008-09-18 Dan Nicolaescu * vc-bzr.el (vc-bzr-show-log-entry): * vc-git.el (vc-git-show-log-entry): Deal with a nil argument, C-x v l for a directory uses that. 2008-09-18 Simon Josefsson * files.el (auto-mode-alist): Use sieve-mode for .sv, .siv, and .sieve files. 2008-09-18 Martin Rudalics * help-macro.el (make-help-screen): Preserve key bindings established in help-mode call when exiting this macro. 2008-09-17 Kenichi Handa * language/burmese.el: Fix setting of composition-function-table. 2008-09-17 Martin Rudalics * info.el (Info-follow-nearest-node): Don't raise an error for mouse-1 clicks. 2008-09-17 Jay Belanger * calc/calc-units.el (calc-convert-temperature): Use default units when appropriate. 2008-09-16 Markus Triska * textmodes/flyspell.el (flyspell-math-tex-command-p): Always catch errors raised in `texmathp'. (flyspell-tex-math-initialized): Remove. 2008-09-16 Martin Rudalics * frame.el (select-frame-set-input-focus): With non-nil mouse-autoselect-window always move mouse cursor to frame's selected window. Otherwise restore pre 2008-09-13 behavior. (select-frame-by-name): Use select-frame-set-input-focus. * files.el (switch-to-buffer-other-frame): Don't raise frame since pop-to-buffer already does it. (display-buffer-other-frame): Fix doc-string. 2008-09-16 Glenn Morris * add-log.el (diff-find-source-location): Update declaration. * progmodes/make-mode.el (makefile-match-function-end): Move point. (Bug#983) 2008-09-16 Daiki Ueno * epg.el (epg-start-verify): Pass "--verify" to gpgsm. 2008-09-15 Juanma Barranquero * vc-rcs.el (vc-rcs-steal-lock, vc-rcs-checkout): Fix docstring typos. (vc-rcs-fetch-master-state, vc-rcs-system-release): Doc fixes. 2008-09-15 Eduard Wiebe (tiny change) * vc-rcs.el (vc-rcs-rollback): Fix typos in docstring. 2008-09-15 Martin Rudalics * files.el (file-truename): Don't raise args-out-of-range error when filename has no separator on windows-nt. (Bug#982) 2008-09-14 Stefan Monnier * diff-mode.el (diff-find-file-name): Rename `batch' to `noprompt' and be more honest when we don't know. (diff-tell-file-name): Don't prompt before the actual prompt. (diff-mode): Don't prompt in add-log-buffer-file-name-function. (diff-find-source-location): Add `noprompt' argument. (diff-current-defun): Don't prompt. 2008-09-14 Roland Winkler * proced.el (proced-mark-face, proced-marked-face) (proced-sort-header-face): Remove. (proced-font-lock-keywords): Simplify. (proced-format): Use face proced-sort-header. (proced-format-interactive, proced-sort-interactive) (proced-filter-interactive): Only call proced-update if the scheme has changed. (proced-sort-header): Use posn-actual-col-row. 2008-09-14 Martin Rudalics * add-log.el (change-log-find-window): New variable. (change-log-goto-source-1, change-log-goto-source): Set change-log-find-window to window displaying source. (change-log-next-error): Select window specified by change-log-find-window. 2008-09-13 Martin Rudalics * frame.el (select-frame-set-input-focus): With focus follows mouse move mouse cursor to right window. * window.el (pop-to-buffer): Select window before calling select-frame-set-input-focus. 2008-09-12 Roland Winkler * proced.el (proced-sort-header): New face. (proced-sort-header-face): New variable. (proced-format): Allow format value nil. Use proced-sort-header-face for header of sort column. (proced-format-args): New function. (proced-grammar-alist, proced-timer-flag, proced-process-alist) (proced-header-help-echo, proced-field-help-echo, proced-timer) (proced-toggle-timer-flag, proced, proced-mode): Doc fix. (proced-refine): Rename from proced-filter-attribute. Doc fix. (proced-sort-header): Bind also to mouse-1. (proced-move-to-goal-column): Return position of point. (proced-filter-interactive): Always revert listing. (proced-format-ttname): Simplify. (proced-update): Do not keep undo information. Put point at beginning of buffer if we generate the first listing. 2008-09-12 Tassilo Horn * doc-view.el (doc-view-scroll-up-or-next-page) (doc-view-scroll-down-or-previous-page): Fix scrolling in case of vertically split windows. 2008-09-12 Glenn Morris * progmodes/f90.el (f90-mode-map): Don't bind \t and \r. * indent.el (indent-line-function): Doc fix. * progmodes/sh-script.el (sh-font-lock-open-heredoc): Doc fix. 2008-09-11 Martin Rudalics * window.el (pop-to-buffer): If the window for buffer-or-name is not on the selected frame, raise that window's frame and give it input focus. (Bug#745) 2008-09-11 Glenn Morris * ido.el (ido-mode): Initialize with custom-initialize-default, rather than a set function. (Bug#947) 2008-09-10 Chong Yidong * replace.el (perform-replace): Don't set inhibit-read-only using query-replace-skip-read-only (bug#956). * edmacro.el (edmacro-parse-keys): Fix last change to omit macros of the <> form. 2008-09-10 Martin Rudalics * window.el (display-buffer): Fix doc-string typo. 2008-09-10 Kenichi Handa * composite.el (compose-gstring-for-graphic): Fix previous change. 2008-09-10 Glenn Morris * info.el (Info-try-follow-nearest-node): Fix doc typo. 2008-09-10 Stephen Berman * info.el (Info-mouse-follow-nearest-node): Follow links to different manuals. (Bug#886) 2008-09-09 Juanma Barranquero * ido.el (ido-unload-function): New function. 2008-09-08 Juanma Barranquero * ido.el (ido-file-internal): Fix typo in prompt. (ido-merge-ftp-work-directories, ido-max-work-file-list): Doc fixes. (ido-max-prospects, ido-max-file-prompt-width, ido-ignore-buffers) (ido-enable-prefix, ido-setup-hook, ido-rewrite-file-prompt-functions) (ido-magic-forward-char, ido-magic-delete-char, ido-pop-dir): Fix typos in docstrings. 2008-09-08 Martin Rudalics * help-fns.el (describe-function-1): Don't print extra newline after filling. 2008-09-08 Katsumi Yamaoka * help-fns.el (find-lisp-object-file-name): Handle case where library is compressed. 2008-09-07 Chong Yidong * complete.el (PC-do-completion): Don't replace buffer contents (bug#227). 2008-09-07 Juanma Barranquero * loadhist.el (unload-feature-special-hooks): Add `choose-completion-string-functions'. 2008-09-07 Stefan Monnier * vc-svn.el (vc-svn-root): * vc-sccs.el (vc-sccs-root): * vc-rcs.el (vc-rcs-root): * vc-cvs.el (vc-cvs-root): Delete. * vc-hooks.el (vc-find-root): Remove `invert' argument. 2008-09-07 Nikolaj Schumacher * progmodes/flymake.el (flymake-parse-err-lines): Filter out errors occurring in different files. 2008-09-07 Dan Nicolaescu * vc-bzr.el (vc-bzr-extra-fileinfo): New defstruct. (vc-bzr-status-printer): New function. (vc-bzr-after-dir-status): Deal with renamed files. 2008-09-07 Johan Euphrosine (tiny change) * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Shell quote buffer's filename. 2008-09-07 Martin Rudalics * subr.el (cancel-change-group): Widen buffer temporarily when undoing changes. (Bug#810) 2008-09-07 Nick Roberts * progmodes/gud.el (gud-stop-subjob): Using jdb, suspend threads with gud-stop-subjob rather than exit debugger. 2008-09-07 Kenichi Handa * composite.el: Compose combining characters only when it follows a character matching with "[[:alpha:]]". 2008-09-06 Roland Winkler * proced.el: Require time-date. (proced-command-alist, proced-command, proced-goal-header-re) (proced-sorting-schemes-alist, proced-sorting-scheme) (proced-header-alist, proced-sorting-schemes-re) (proced-skip-regexp, proced-next-line, proced-previous-line) (proced-listing-type, proced-sorting-scheme-p): Remove. (proced-grammar-alist, proced-custom-attributes) (proced-format-alist, proced-format, proced-filter-alist) (proced-filter, proced-sort, proced-goal-attribute) (proced-timer-interval, proced-timer-flag, proced-timer) (proced-process-alist, proced-sort-internal, proced-process-tree) (proced-header-help-echo, proced-field-help-echo): New variables. (proced-pid-at-point, proced-timer, proced-mark-process-alist) (proced-omit-process, proced-filter, proced-process-tree) (proced-filter-children, proced-children-pids) (proced-filter-parents, proced-<, proced-string-lessp) (proced-time-lessp, proced-xor, proced-sort-p) (proced-format-time, proced-format-start, proced-format-ttname) (proced-format, proced-process-attributes): New functions. (proced-toggle-timer-flag, proced-mark-children) (proced-mark-parents, proced-filter-interactive) (proced-filter-attribute, proced-sort-interactive) (proced-sort-header, proced-format-interactive): New commands. (proced-move-to-goal-column): Use goal-column. (proced-mode): Use proced-timer. (proced-do-mark-all): Display process count. Use use-region-p. Simplify. (proced-omit-processes): Use use-region-p. (proced-sort-pcpu, proced-sort-pmem, proced-sort-pid) (proced-sort-start, proced-sort-time, proced-sort-user): Use proced-sort-interactive. (proced-sort): Make it a function that performs the actual sort. (proced-update): New arg revert. Use proced-process-alist, proced-filter, proced-sort, proced-format, and proced-grammar-alist. Preserve position of point based on fields. Make header line and fields clickable. (proced-send-signal): Use proced-pid-at-point and proced-process-alist. (proced-why): Use save-selected-window. (proced-log): Use buffer-read-only. 2008-09-06 Chong Yidong * tooltip.el (tooltip-mode): Initialize unconditionally to t. 2008-09-06 Glenn Morris * add-log.el (diff-find-source-location): Declare. (find-change-log): If called from a diff buffer, try to switch to the source buffer (e.g. to respect change-log-default-name there). * progmodes/sh-script.el (sh-get-kw): Remove '()' from the list of unallowed characters; added 2006-10-10 without comment. (Bug#753) * Makefile.in (ELCFILES): Update. 2008-09-06 Chong Yidong * textmodes/ispell.el (ispell-command-loop): Suspend ispell if the user enters a mouse event in another frame, or a special event. * server.el (server-switch-buffer): New arg. (server-execute): If reusing an existing window, set file position if required. 2008-09-06 Kenichi Handa * language/lao.el: Fix setting of composition-function-table. 2008-09-06 Eli Zaretskii * term/pc-win.el (msdos-show-help): Don't truncate lines while displaying help echo messages. 2008-09-06 Martin Rudalics * subr.el (symbol-file): Fix doc-string. 2008-09-06 Glenn Morris * help-mode.el (help-xref-forward-stack): Doc fix. * add-log.el (change-log-default-name): Autoload safety. 2008-09-05 Wilson Snyder * verilog-mode.el (verilog-library-extensions): Enable .sv filename extensions to call verilog-mode. (verilog-auto, verilog-auto-inst, verilog-faq) (verilog-submit-bug-report): Update author support URLs. (verilog-delete-auto, verilog-auto-inout-module) (verilog-auto-inout-comp, verilog-auto): Add AUTOINOUTCOMP for creating complemented testbench modules. Suggested by Yishay Belkind. (verilog-auto-inst-port, verilog-simplify-range-expression): When verilog-auto-inst-param-value is set, don't require a AUTO_TEMPLATE to expand parameter substitutions. Suggested by Yishay Belkind. (verilog-auto-inst-param-value): Add safe variable. (verilog-re-search-forward, verilog-re-search-backward): Fix returning wrong search results on Emacs 22.1. (verilog-modi-cache-results, verilog-auto): Fix warning message about "toggling font-lock-mode." (verilog-auto): Fix losing font-lock on errors. (verilog-auto-inst-param-value, verilog-mode-version) (verilog-mode-version-date, verilog-read-inst-param-value) (verilog-auto-inst, verilog-auto-inst-param) (verilog-auto-inst-port, verilog-simplify-range-expression): Allow parameters to be replaced with their values, on the expansion of an AUTOINST with Verilog 2001 style parameter settings. Suggested by David Rogoff. 2008-09-05 Michael McNamara * verilog-mode.el (verilog-beg-block-re-ordered, verilog-calc-1): Better support for the property statement. Sometimes this keyword introduces a statement which requires an endproperty keyword, and sometimes it doesn't, depending on the work before the property word. If property is prefixed with assert, assume or cover keyword, then the statement is ended with a ';'. Otherwise, property is like task or specify, and is followed by some number of statements, which are ended with an endproperty keyword. (electric-verilog-tab): Support Emacs 22.2 style handling of tab in a highlighted region: indent each line in region according to mode. Supply this so it works in XEmacs and older Emacs. 2008-09-05 Vinicius Jose Latorre * whitespace.el (whitespace-kill-buffer-hook, whitespace-action): Don't clean up a buffer when killing it. 2008-09-05 Vinicius Jose Latorre * whitespace.el: Fix auto-cleanup on kill prevents killing read-only buffers (bug#360). New version 11.2.1. (whitespace-action): New value `warn-read-only' to give a warning when buffer is read-only and whitespace action is cleanup or auto-cleanup. (whitespace-cleanup, whitespace-cleanup-region): Code fix. (whitespace-warn-read-only): New fun. 2008-09-05 Chong Yidong * international/quail.el: Require help-mode. (quail-help-init): Function removed. (quail-keyboard-layout-button, quail-keyboard-customize-button): Define directly. * dired.el (dired-get-filename): Rewrite octal escape character processor (bug#885). 2008-09-05 Eli Zaretskii * cus-edit.el (custom-button-pressed): Default to inverse-video. * term/pc-win.el (msdos-face-setup): Setup faces for all frames, not just for terminal-frame. 2008-09-05 Martin Rudalics * window.el (window--try-to-split-window): Don't split when window is not splittable in last disjunct. (Bug#888) 2008-09-05 Kenichi Handa * language/tibetan.el: Fix setting of composition-function-table. * composite.el (find-composition): Mention about the automatic composition in the docstring. (compose-gstring-for-graphic): Fix handling "above" marks. * descr-text.el (describe-char): Fix handling of automatic composition. 2008-09-04 Juanma Barranquero * net/tramp-cache.el (tramp-flush-file-function): Fix docstring typo. (tramp-parse-connection-properties): Reflow docstring. 2008-09-04 Kim F. Storm * ido.el (ido-buffer-internal, ido-file-internal): Pass on other-window and other-frame methods when switching between file and buffer modes. 2008-09-04 Martin Rudalics * info.el (Info-dir-remove-duplicates): Narrow buffer when removing duplicate entries under same heading. Don't skip char matching anything but a space or tab at bol. (Bug#864) 2008-09-03 Alan Mackenzie * progmodes/cc-defs.el (c-version): Increment to 5.31.6. 2008-09-03 Stefan Monnier * minibuffer.el (completion-pcm--pattern->regex): Undo last change. (completion-pcm--all-completions): Move the case-fold-search binding to it also applies to completion-regexp-list (used in all-completions). (completion-pcm--hilit-commonality): Add missing case-fold-search. 2008-09-03 Martin Rudalics * window.el (pop-up-frame-function): Move ... * frame.el (pop-up-frame-function): ... here, to avoid "CHANGED outside Customize;". 2008-09-03 Glenn Morris * buff-menu.el (buffer-menu-mode-hook): Add obsolete alias. 2008-09-03 Chong Yidong * isearch.el (isearch-highlight-regexp): Fix last change, quoting non-alphabetical characters properly. 2008-09-02 Dan Nicolaescu * files.el (auto-mode-alist): Use verilog-mode for SystemVerilog files. 2008-09-02 Martin Rudalics * calc/calc.el (calc-dispatch-map): Fix handling of upcased and control-prefixed keys. (Bug#835) 2008-09-02 Chong Yidong * image-mode.el (image-mode): Fix 2008-07-19 change. 2008-09-02 Juanma Barranquero * tool-bar.el (tool-bar-add-item): Fix typo in docstring. * emulation/tpu-edt.el (tpu-kill-buffer): Doc fix. 2008-09-02 Glenn Morris * emacs-lisp/lucid.el (try-face-font): Remove dead alias. * progmodes/cc-langs.el (c-opt-op-identitier-prefix): Fix typo. 2008-09-01 Glenn Morris * vc-hooks.el (vc-previous-version): Move alias to vc.el. * vc.el (vc-default-previous-version): Move alias here from vc-hooks, and fix name typos. (Bug#856) 2008-09-01 Chong Yidong * minibuffer.el (completion-pcm--pattern->regex): When completion-ignore-case is non-nil, generate a regexp that ignores case. * window.el (recenter-top-bottom): Doc fix. 2008-09-01 Simon South * progmodes/delphi.el: New maintainer. (delphi-interface-types): New var. (delphi-composite-types): Use it. (delphi-enclosing-indent-of): Distinguish between "interface" keyword as a unit separator and used like a class declaration. 2008-09-01 Martin Rudalics * help-fns.el (describe-simplify-lib-file-name) (find-source-lisp-file): Remove. (find-lisp-object-file-name): New function giving preference to files found via load-path instead of loaddefs.el. (describe-function-1): Use new function instead of the removed ones. (Bugs #587, #669, #690) * faces.el (describe-face): Use find-lisp-object-file-name instead of describe-simplify-lib-file-name. 2008-09-01 Kenichi Handa * international/mule-diag.el (font-show-log): Fix previous change. * international/mule-cmds.el (set-language-environment): Don't overwrite current-iso639-language if the current language environment doesn't provide that data. (set-locale-environment): Set current-iso639-language from the locale name. * international/fontset.el (script-representative-chars): Re-add the entry for symbol, but with vector of characters. (setup-default-fontset): Cancel previous change. 2008-08-31 Chong Yidong * ido.el: Move provide statement to the end of the file. 2008-08-30 Markus Triska * linum.el (linum-mode): `window-size-change-functions' can now be buffer-local. (linum-update-window): Use result of `move-overlay'. 2008-08-30 Glenn Morris * subr.el (make-variable-frame-local): Tweak obsolescence message. * info.el (Info-hide-note-references, Info-refill-paragraphs): Doc fixes. * apropos.el (apropos-command): Report documentation errors. * help-fns.el (describe-function-1): Handle broken aliases. (Bug#825) 2008-08-29 Chong Yidong * isearch.el (isearch-highlight-regexp): Fix case of highlighted string. 2008-08-29 Eli Zaretskii * bindings.el (mode-line-frame-identification): Fix last change. 2008-08-29 Kenichi Handa These changes are to adjust the automatic composition for the new implementation (avoid using text property). * composite.el (composition-function-table): Move declaration to composite.c. (terminal-composition-base-character-p): Delete it. (terminal-composition-function): Delete it. (terminal-composition-function-table): Delete it. (lgstring-header, lgstring-set-header, lgstring-font) (lgstring-char, lgstring-char-len, lgstring-shaped-p) (lgstring-set-id, lgstring-glyph, lgstring-glyph-len) (lgstring-set-glyph, lglyph-from, lglyph-to, lglyph-char) (lglyph-code, lglyph-width, lglyph-lbearing, lglyph-rbearing) (lglyph-ascent, lglyph-descent, lglyph-adjustment) (lglyph-set-from-to, lglyph-copy, lgstring-insert-glyph) (compose-glyph-string, compose-glyph-string-relative) (compose-gstring-for-graphic, compose-gstring-for-terminal): New functions. (auto-compose-chars): Argument changed. * language/european.el: Don't setup composition-function-table. (diacritic-composition-pattern, diacritic-compose-region) (diacritic-compose-string, diacritic-compose-buffer) (diacritic-composition-function): Delete them. * language/lao-util.el (lao-composition-function): Argument changed. * language/sinhala.el: Fix setting up of composition-function-table. * language/thai.el: Fix setting up of composition-function-table. * language/thai-util.el: Encoding changed to utf-8. (thai-composition-function): Argument changed. * language/indian.el: Fix setting up of composition-function-table. (devanagari-composable-pattern) (tamil-composable-pattern, kannada-composable-pattern) (malayalam-composable-pattern): New variables. * international/characters.el (unicode-category-table): Setup unicode-category-table. * international/fontset.el (setup-default-fontset): Prepend iso10646-1 fonts to the fallback font groups instead of appending. 2008-08-29 Glenn Morris * cus-start.el (truncate-partial-width-windows): Changed in 23.1. 2008-08-28 Chong Yidong * term/x-win.el (x-win-suspend-error): Don't signal error if there are no X frames active. 2008-08-28 Michael Albinus * net/xesam.el (xesam-kill-buffer-function): Wrap code by `ignore-errors' (the function must succeed always). 2008-08-28 Edward O'Connor * json.el (json-read-number): New arg. Handle explicitly signed numbers. (json-readtable): Add `+' and `.'. 2008-08-28 Eli Zaretskii * term/pc-win.el (msdos-previous-message): New variable. (msdos-show-help): New function. (msdos-initialize-window-system): Set show-help-function to msdos-show-help. 2008-04-09 Lennart Borgman * emacs-lisp/debug.el (debug): When killing a noninteractive Emacs, give an exit status of -1. 2008-08-28 Chong Yidong * vc-hooks.el (vc-workfile-unchanged-p): Revert last change. 2008-08-27 Alex Harsanyi (tiny change) * vc-hooks.el (vc-workfile-unchanged-p): If the checkout time is not the same as the last modification time, fall back on the backend-specific check. 2008-08-27 Teodor Zlatanov * add-log.el (change-log-next-error): Run an extra `pop-to-buffer' to go to the position of interest. 2008-08-27 Tomas Abrahamsson * textmodes/artist.el (artist-mode-init): Add comment on the setting up of the `artist-replacement-table' array. (artist-get-replacement-char): New defsubst. (artist-get-char-at-xy-conv, artist-replace-char) (artist-replace-chars, artist-replace-string): Use it instead of accessing `artist-replacement-table' directly. Reported by Rubén Berenguel . (artist-mt): Fix structures for cut and copy operations. 2008-08-27 Chong Yidong * shell.el (shell-file-name-quote-list): Quote `$'. * comint.el (comint-dynamic-complete-as-filename): Generalize last change to allow quoting of characters before point. (comint-dynamic-list-filename-completions): Quote common substring. 2008-08-26 Chong Yidong * comint.el (comint-dynamic-complete-as-filename): If case is ignored while matching, replace the entire filename with completion. * textmodes/flyspell.el (flyspell-check-pre-word-p): Make sure flyspell-pre-point is valid to avoid signalling an error in post-command-hook. 2008-08-26 Johan Bockgård * linum.el (linum): Inherit remaining face attributes from default face. 2008-08-26 Markus Triska * linum.el (linum-delay): Disable - it should no longer be necessary, and can lead to longer delays. (linum-update-window): Renumber if margin width has changed. 2008-08-26 Daiki Ueno * epa.el (epa--key-widget-action): Save the selected window to make `widget-button-click-moves-point' work. (Bug#733). 2008-08-26 Glenn Morris * calendar/holidays.el (calendar-holidays): Doc fix. * progmodes/gud.el (tramp-file-name-localname) (tramp-dissect-file-name): Declare. * term/pc-win.el (msdos-setup-keyboard): Fix declaration. 2008-08-25 Eli Zaretskii * bindings.el (mode-line-frame-control): New function, caters to `pc' ``window system''. (mode-line-frame-identification): Use it instead of accessing window-system directly. 2008-08-25 Juri Linkov * textmodes/text-mode.el (text-mode-map): Unbind "\es" from `center-line' and "\eS" from `center-paragraph'. (facemenu-keymap): Bind "\es" to `center-line' and "\eS" to `center-paragraph'. 2008-08-25 Ulf Jasper * net/newst-treeview.el (newsticker-treeview-own-frame): Doc fixed. (newsticker-treeview-treewindow-width): New. (newsticker-treeview-listwindow-height): New. (newsticker-treeview-browse-url-item): New. (newsticker-treeview-mode-map): Add newsticker-treeview-browse-url-item. (newsticker--treeview-window-init): Use newsticker-treeview-treewindow-width and newsticker-treeview-listwindow-height. * net/newst-reader.el (newsticker-browse-url-item): New. 2008-08-25 Dan Nicolaescu * vc-dir.el (vc-dir-marked-only-files-and-states): (vc-dir-child-files-and-states): Reverse the list before returning it. 2008-08-24 Michael Albinus * net/dbus.el (dbus-introspect): Use `dbus-call-method-non-blocking'. 2008-08-24 Romain Francoise * progmodes/python.el (run-python): Remove '' from sys.path. 2008-08-23 Glenn Morris * progmodes/fortran.el (fortran-tab-mode-string) (fortran-comment-line-start, fortran-continuation-string): Doc fixes. 2008-08-23 Eli Zaretskii * term/pc-win.el (msdos-setup-keyboard) : Add declare-function. * startup.el (command-line): Don't call tty-register-default-colors if initial-window-system is `pc'. * term/internal.el (local-function-key-map): Fix unbalanced parens. (msdos-key-remapping-map): New variable. Move here all the special keys we will be remapping via local-function-key-map. (msdos-setup-keyboard): New function. * term/pc-win.el (msdos-create-frame-with-faces): Rename from make-msdos-frame. (terminal-init-internal): New function, errors out if called. (msdos-initialize-window-system): New function. (msdos-create-frame-with-faces): Set the terminal's `terminal-initted' (sic!) parameter. (frame-creation-function-alist): Add msdos-create-frame-with-faces. (window-system-initialization-alist): Add msdos-initialize-window-system. (handle-args-function-alist): Use tty-handle-args for `pc' ``window system'' as well. (pc-win): Provide. * term/tty-colors.el (tty-register-default-colors): Remove bogus code for using msdos-color-values. * loadup.el [ms-dos]: Load term/pc-win. 2008-08-23 Dan Nicolaescu * vc-dir.el (vc-dir-prepare-status-buffer): Make sure we use a directory name. 2008-08-23 Nick Roberts * progmodes/gud.el (gud-common-init): Use absolute file so that perldb works with tramp (sudo). * term/x-win.el (x-gtk-map-stock): Don't let the tool bar destroy match data in process filters. 2008-08-23 Martin Rudalics * dired.el (dired-buffer-stale-p): Do not revert buffer that can be written. 2008-08-23 Glenn Morris * dired-x.el (dired-guess-shell-alist-default): Add .mp3 and .ogg. (dired-guess-shell-alist-user): Doc fix. (Bug#417). 2008-08-23 Chong Yidong * subr.el (temp-buffer-show-hook): Doc fix. 2008-08-22 Michael Albinus * net/tramp.el (tramp-remote-process-environment): Add "EMACS=t" and "INSIDE_EMACS=...". Reported by Tassilo Horn . * net/trampver.el: Update release number. * net/xesam.el (xesam-minor-mode): New minor mode. (xesam-highlight-buffer): Remove. Code moved to `xesam-minor-mode'. (xesam-refresh-entry): Use `xesam-minor-mode'. 2008-08-21 Chong Yidong * minibuffer.el (completion--try-word-completion): Disable partial-completion when considering the addition of a space or hyphen. 2008-08-21 John Paul Wallington * mail/rmail.el (rmail-insert-inbox-text): Ensure that the filename of `tofile' doesn't contain any colons on Windows, Cygwin, and MS-DOS systems. 2008-08-21 Daiki Ueno * epg.el (epg-make-context, epg-context-set-passphrase-callback) (epg-context-set-progress-callback): Make sure the callback is a cons of a function and a handback. Update all callers. 2008-08-20 David Reitter * term/ns-win.el (ns-cursor-blink-rate, ns-cursor-blink-mode): Remove. Patch applied by Adrian Robert. 2008-08-20 Kevin Ryde * textmodes/nroff-mode.el (nroff-mode): Avoid auto-filling on directive lines. 2008-08-20 Michael Albinus * net/xesam.el (xesam-highlight-string): Precise doc string. (xesam-highlight-buffer): New defun. (xesam-refresh-entry): Use it. Better check for sourceModified. 2008-08-19 Chong Yidong * edmacro.el (edmacro-parse-keys): Catch events with spaces in their names. 2008-08-19 Kenichi Handa * language/european.el ("Esperanto"): Change the preferred charsets to iso-8859-3. * language/utf-8-lang.el ("UTF-8"): Add the preferred charsets. * international/fontset.el (script-representative-chars): Delete the entry for symbol. (setup-default-fontset): For symbol characters, don't specify :script property. 2008-08-19 Chong Yidong * minibuffer.el (completion-table-dynamic): Doc fix. * cus-edit.el (custom-toggle-hide): Allow hiding only if widget is saved. 2008-08-18 Chong Yidong * emulation/edt.el (edt-default-emulation-setup): Share global-buffers-menu-map with the emulated global map. 2008-08-18 Adrian Robert * term/ns-win.el (global): Uncomment "put backspace ascii-character..." and friends, they are needed for tramp. (Bug#725) 2008-08-18 Kenichi Handa * international/mule-diag.el (font-show-log): Add optional arg N to control the limit of font listing. 2008-08-18 Chong Yidong * window.el (recenter-top-bottom): Determine top and bottom positions using scroll-margin instead of scroll-conservatively. 2008-08-17 Roland Winkler * proced.el (proced-send-signal): Use beginning-of-line. 2008-08-17 Roland Winkler * proced.el (proced-signal-list): Add POSIX 1003.1-2001 signals. (proced-mode-map): Add tooltips for menus. Use radio buttons for listing types. (proced-log-buffer): New variable. (proced-mark-all, proced-unmark-all, proced-do-mark-al): Operate on region if transient-mark-mode is turned on and the region is active. (proced-omit-processes): Rename from proced-hide-processes to avoid key clash with describe-mode (bound to h). Search for marked processes starting from point-min. (proced-header-space): Remove. (proced-send-signal): Handle errors. Operate on current process if no process is marked. (proced-why): New command. (proced-log, proced-log-summary): New functions. (proced-help): Use proced-why. * textmodes/bibtex.el (bibtex-entry-format): Mark as safe. (bibtex-autokey-year-title-separator): Fix docstring. 2008-08-17 Michael Albinus * net/xesam.el (xesam-vendor, xesam-notify-function): New local variables. (xesam-mode): Extend docstring. Initialize `xesam-notify-function'. (xesam-refresh-entry): Use `xesam-notify-function' if set. Remove Debbugs specific code; it shall be enabled via `xesam-mode-hooks'. (xesam-new-search): Initialize `xesam-vendor'. 2008-08-15 Glenn Morris * eshell/esh-cmd.el (eshell-do-pipelines): Indicate the last command in a pipeline. * eshell/em-ls.el (eshell-ls-files): List one per line in a pipeline, unless at the end of the pipeline. (Bug#699). 2008-08-14 Chong Yidong * minibuffer.el (completion-boundaries): Doc fix. (display-completion-list): Only default base-size to zero if completing in the minibuffer. * simple.el (completion-base-size): Doc fix. (choose-completion): Try reselecting completion-reference-buffer. 2008-08-14 Michael Albinus * vc-dispatcher.el (vc-do-command): Let asynchronous processes run also for remote directories. 2008-08-14 Stefan Monnier * emacs-lisp/easymenu.el (easy-menu-add): Don't precompute keybindings since those precomputed values aren't used any more. (easy-menu-precalculate-equivalent-keybindings): Obsolete. 2008-08-14 Martin Rudalics * help.el (with-help-window): Return last value in BODY. 2008-08-14 Michael Albinus * net/xesam.el (xesam-refresh-entry): Use `save-excursion' in the notify function of the URL. (xesam-new-search): Encode special characters in the query string. 2008-08-13 Chong Yidong * term/ns-win.el (ns-parse-geometry): Rename from x-parse-geometry. 2008-08-13 Andreas Schwab * net/tramp.el (tramp-handle-shell-command): Handle output going to current buffer like shell-command. Don't disable undo. 2008-08-13 Glenn Morris * eshell/esh-cmd.el (eshell/which): Handle the case where no description is found. 2008-08-12 Alan Mackenzie * progmodes/cc-defs.el (c-emacs-features): argumentative-bod-function: bind mark-ring to avoid accumulating a spurious mark. 2008-08-12 Chong Yidong * simple.el (visual-line--saved-state): New var. (visual-line-mode): Save local values of variables, and restore them when visual-line-mode is disabled. 2008-08-12 NAKAGAWA Makoto (tiny change) * net/ldap.el (ldap-search-internal): Tweak URL regexp. 2008-08-11 Chong Yidong * progmodes/cc-defs.el (c-emacs-features): Check beginning-of-defun-raw instead of beginning-of-defun, and avoid moving point during the test. * emacs-lisp/lisp.el (beginning-of-defun): Doc fix. 2008-08-11 Glenn Morris * term/ns-win.el (x-parse-geometry): Doc fix. * dired.el (x-popup-menu): * hi-lock.el (x-popup-menu): * mouse.el (font-face-attributes): * calendar/cal-menu.el (x-popup-menu): * calendar/calendar.el (x-popup-menu): * calendar/holidays.el (x-popup-menu): * progmodes/cperl-mode.el (x-popup-menu): * term/ns-win.el (dnd-open-file, tool-bar-mode, scroll-bar-scale) (x-open-connection): * term/w32-win.el (x-colors, x-handle-args, x-parse-geometry) (x-command-line-resources): * term/x-win.el (x-colors, x-parse-geometry, x-resource-name) (x-display-name, x-command-line-resources): Add declarations for builds without X. 2008-08-10 Glenn Morris * calendar/cal-bahai.el (holiday-bahai): Doc fix. 2008-08-10 Dan Nicolaescu * vc-bzr.el (vc-bzr-find-revision): Rename from vc-bzr-find-version, forgotten in the 2007-10-10 renaming. 2008-08-10 Michael Albinus * net/xesam.el (xesam-search-engines): Add Debbugs hit fields. (xesam-refresh-entry): Add Debbugs handling. Insert a widget "DONE", when all hits are retrieved. (xesam-search): Autoload it. 2008-08-11 John Paul Wallington * ibuffer.el (ibuffer-buffer-file-name): Return nil rather than empty string when no filename. (define-ibuffer-column filename): Accommodate that change. * ibuf-ext.el (ibuffer-define-filter filename): Use plain old `buffer-file-name' instead of `ibuffer-buffer-file-name'. 2008-08-10 Glenn Morris * Makefile.in (ELCFILES): Update. 2008-08-10 John Paul Wallington * pcvs.el (defun-cvs-mode): Add `doc-string' decl. 2008-08-08 Chong Yidong * battery.el (battery-echo-area-format, battery-status-function): Handle new Linux sysfs format for battery reporting. (battery-linux-sysfs): New function. 2008-08-07 Martin Rudalics * add-log.el (change-log-search-tag-name) (change-log-goto-source): Fix behavior when point is not on tag. 2008-08-06 Adrian Robert * startup.el (command-line-ns-option-alist): Use ignore instead of ns-ignore-0-arg. * term/ns-win.el (ns-ignore-0-arg, mouse-extend-region) (ns-win-suspend-error, ns-yes-or-no-p, colors): Drop. (ns-alternatives-map): New variable. (x-set-up-function-keys): Use it. (global): Comment out "put backspace ascii-character..." and friends. Move function-key-map into ns-alternatives-map. Don't call precompute-menubar-bindings. Don't set anything connected with browse-url. (after-make-frame-functions): Clarify comment why a hook is added. 2008-08-06 Joakim Verona * thingatpt.el (thing-at-point-url-path-regexp): Allow parenthesis in url:s. 2008-08-06 Dan Nicolaescu * vc-svn.el (vc-svn-parse-status): Use when instead of if. Fix 2008-01-01 change: use a shy group to not affect subsequent match calls. 2008-08-06 Reto Zimmermann * progmodes/vera-mode.el (vera-electric-tab): * progmodes/vhdl-mode.el (vhdl-electric-tab): Make TAB indent region when active. 2008-08-06 Kenichi Handa * faces.el (face-valid-attribute-values): Fix handling the value of (font-family-list) and font-XXX-table. 2008-08-06 Dan Nicolaescu * proced.el (proced-menu): Bind the correct function to for toggling. * vc-dir.el (vc-dir-mode): Fix typo. 2008-08-06 Vinicius Jose Latorre * whitespace.el (whitespace-newline-mode) (global-whitespace-newline-mode, whitespace-mode) (global-whitespace-mode): Improve docstring. 2008-08-05 Chong Yidong * kmacro.el (kmacro-exec-ring-item): Add autoload. * files.el (auto-save-visited-file-name): Move definition to fileio.c. * cus-start.el (all): Handle auto-save-visited-file-name. 2008-08-05 Alex Shinn (tiny change) * files.el (hack-one-local-variable-eval-safep): Handle lisp-indent-function and scheme-indent-function in addition to the deprecated lisp-indent-hook. 2008-08-05 Michael Albinus * net/xesam.el (top): Require `wid-edit' always. (xesam-mode-line, xesam-highlight): New deffaces. (xesam-objects): New local variable. (xesam-search-engines): Fix error in field list. (xesam-mode): Use `xesam-mode-line' instead of `font-lock-type-face'. Apply `xesam-mode' to a temp buffer, for proper initialization (why?). (xesam-highlight-string, xesam-get-hits) (xesam-kill-buffer-function): New defuns. (xesam-refresh-entry): Move code to `xesam-get-hits'. Check result of "hit.fields", it isn't a string only. Wrap an error of the strigi search engine ("xesam:size" is returned as string). Highlight search items. (xesam-refresh-search-buffer): Make logic of counters more simple. Prefetch next hits. (xesam-signal-handler): Use `xesam-mode-line' instead of `font-lock-type-face'. (xesam-new-search): Add `xesam-kill-buffer-function' to `kill-buffer-hook'. 2008-08-05 Teodor Zlatanov * add-log.el (change-log-next-error, change-log-mode): Add support for `next-error' to call `change-log-goto-source' on named files in a ChangeLog. 2008-08-05 Jay Belanger * calc/calc.el (math-read-number): Handle all C-like languages properly. 2008-08-04 Vincent Belaïche * calc/calc.el (math-read-number): Handle C numbers beginning with 0 correctly. 2008-07-27 Adrian Robert * term/ns-win.el ([ns-new-frame]): New global key. 2008-08-04 Juanma Barranquero * international/mule-cmds.el (read-char-by-name): Check UCS names with `assoc-string' and case folding. 2008-08-04 Michael Albinus * net/dbus.el (dbus-call-method-asynchronously) (dbus-method-return-internal, dbus-method-error-internal): Declare them with `declare-function'. 2008-08-04 Juanma Barranquero * descr-text.el (describe-char-display): Fix last change: don't pass CHARSET to `encoded-string-description'. 2008-08-02 Alex Harsanyi (tiny change) * vc.el (vc-next-action): Update list var correctly after delete. 2008-08-02 Chong Yidong * ido.el (ido-mode): Add toggle notification. * cus-edit.el (custom-save-all): Avoid destroying symlink if already visiting the custom file. * pgg-gpg.el (pgg-gpg-process-region): Accept any remaining pending output coming after the status change. 2008-08-02 Jason Rumney * w32-fns.el (tis620-2533): Use as preferred registry for thai fonts. 2008-08-01 Kenichi Handa * international/mule-cmds.el (encode-coding-char): New optional arg CHARSET. * descr-text.el (describe-char-display): Call encode-coding-char with the arg CHARSET. (describe-char): Pay attention to the text-property `charset'. 2008-08-01 Michael Albinus * net/dbus.el (dbus-check-event, dbus-handle-event): Handle D-Bus error messages. (dbus-set-property): Call `dbus-introspect-get-property' instead of `dbus-get-property'. * net/xesam.el (xesam-all-fields): Remove source and content identifiers. (xesam-dbus-unique-names): New defvar. (xesam-dbus-call-method): New defun. Replace all calls of `dbus-call-method' by `xesam-dbus-call-method'. (xesam-get-cached-property, xesam-set-cached-property): New defuns. (xesam-get-property, xesam-set-property, xesam-refresh-entry) (xesam-new-search, xesam-search): Apply `xesam-get-cached-property'. (xesam-search-engines): Make it an association list. Take changed layout into account in the corresponding function. (xesam-delete-search-engine): Remove check for consistency of `xesam-search-engines', not needed anymore. (xesam-mode): Show XML query string only in the debug case. 2008-07-31 Juanma Barranquero * files.el (read-file-modes): Fix typo in docstring. 2008-07-31 Chong Yidong * Makefile.in: Avoid maintainer warning for autogenerated unicode files. * apropos.el (apropos-symbol): Don't set button skip by default. (apropos-print): Set button skip iff searching for multiple types. (apropos-print-doc): Insert blank label button when searching for a single type. * button.el (forward-button): Avoid infloop. * minibuffer.el (read-file-name-completion-ignore-case): Add cygwin to the list. 2008-07-31 Sven Joachim * files.el (abbreviate-file-name): When replacing $HOME with ~, turn off case-fold-search. 2008-07-31 Michael Albinus * net/dbus.el (top): Don't register for "NameOwnerChanged". (dbus-message-type-invalid, dbus-message-type-method-call) (dbus-message-type-method-return, dbus-message-type-error) (dbus-message-type-signal): New defconst. (dbus-ignore-errors): Fix `edebug-form-spec' property. (dbus-return-values-table): New defvar. (dbus-call-method-non-blocking-handler, dbus-event-message-type): New defun. (dbus-check-event, dbus-handle-event, dbus-event-serial-number): Extend docstring. Adapt implementation according to new `dbus-event' layout. (dbus-event-service-name, dbus-event-path-name) (dbus-event-interface-name, dbus-event-member-name): Adapt implementation according to new `dbus-event' layout. (dbus-set-property): Correct `dbus-introspect-get-attribute' call. * net/xesam.el (xesam-type, xesam-query, xesam-xml-string): New defvar. (xesam-mode): Rework implementation. (xesam-new-search): Additional parameter TYPE. (xesam-search): Adapt call of `xesam-new-search'. 2008-07-31 Juri Linkov * dired-aux.el (dired-do-chmod): Set default value to the original mode string using absolute notation like u=rwx,g=rx,o=rx. Use it as a new arg `default' of `dired-mark-read-string'. (dired-mark-read-string): Add new optional arg `default'. * files.el (read-file-modes): Set default value to the original mode string using absolute notation like u=rwx,g=rx,o=rx. Use it as the `default' arg of `read-string'. * filesets.el (filesets-cmd-isearch-getargs): Check if the variable `files' is bound to avoid warnings. * isearch.el (isearch-forward-regexp, isearch-forward-word) (isearch-backward, isearch-backward-regexp): Doc fix - make a link to the command `isearch-forward' instead of displaying "See C-s". (isearch-highlight-regexp): Remove arguments `regexp' and `face' with their interactive specifications. Move reading the face name to the main body after calls to isearch-done and isearch-clean-overlays. * mb-depth.el: Unify all names under one common name prefix `minibuffer-depth-'. (minibuffer-depth-indicator-function): Rename from `minibuf-depth-indicator-function'. (minibuffer-depth-overlay): Rename from `minibuf-depth-overlay'. (minibuffer-depth-setup): Rename from `minibuf-depth-setup-minibuffer'. (minibuffer-depth-indicate-mode): Rename from `minibuffer-indicate-depth-mode'. 2008-07-31 Juri Linkov * dired-aux.el (dired-isearch-filenames-toggle): New command. (dired-isearch-filenames-setup): Bind "\M-sf" to dired-isearch-filenames-toggle in isearch-mode-map. (dired-isearch-filenames-end): Bind "\M-sf" to nil in isearch-mode-map. * isearch.el (isearch-edit-string-set-word): New command. (minibuffer-local-isearch-map): Bind "\C-w" to isearch-edit-string-set-word. (isearch-new-word): Temporary internal variable. (isearch-edit-string): Remove special case of reading the first character and checking it for C-w. * simple.el (read-shell-command, shell-command): Move code that uses minibuffer-with-setup-hook to set minibuffer-default-add-function to minibuffer-default-add-shell-commands from the interactive spec of `shell-command' to `read-shell-command'. * international/mule-cmds.el (read-char-by-name): Accept hash notation. Doc fix. (ucs-insert): Doc fix. Convert to number only when `arg' is a string. Use separate error message when `arg' is not an integer. Bind `ucs-insert' to `C-x 8 RET'. 2008-07-31 Joachim Nilsson (tiny change) * progmodes/cc-styles.el (c-style-alist): For the Ellemtel style, move the (arglist-cont-nonempty) from c-offsets-alist to c-hanging-braces-alist like other styles already have. 2008-07-31 Dan Nicolaescu * textmodes/texinfmt.el: * nxml/nxml-enc.el: * mail/feedmail.el: * international/mule.el: * international/latexenc.el: * emulation/viper-util.el: * emulation/viper-init.el: * emulation/viper-ex.el: * emacs-lisp/bytecomp.el: * version.el: * subr.el: * startup.el: * sort.el: * shadowfile.el: * recentf.el: * printing.el: * paths.el: * minibuffer.el: * ls-lisp.el: * loadup.el: * hippie-exp.el: * finder.el: * files.el: * ediff-util.el: * ediff-ptch.el: * ediff-init.el: * ediff-diff.el: * dired.el: * dired-aux.el: * cus-edit.el: * bindings.el: * arc-mode.el: * add-log.el: Remove VMS support. * obsolete/vmsproc.el: * obsolete/vms-pmail.el: * obsolete/vms-patch.el: Remove file. 2008-07-31 Alan Mackenzie * progmodes/cc-mode.el (c-before-hack-hook): New function (Top Level): Install c-before-hack-hook on before-hack-local-variables-hook, rather than c-postprocess-file-styles on hack-local-variables-hook. 2008-07-31 Chong Yidong * files.el (normal-mode): Move call to hack-project-variables into hack-local-variables. (file-local-variables-alist, before-hack-local-variables-hook): New vars. (ignored-local-variables): Add file-local-variables-alist. (hack-local-variables-filter): Renamed from hack-local-variables-apply. Add the result to file-local-variables-alist, without applying them. (hack-local-variables): Set file-local-variables-alist to nil. Call hack-project-variables and before-hack-local-variables-hook. Apply variables here, instead of hack-local-variables-apply. Based on a patch by Alan Mackenzie. 2008-07-30 Thien-Thi Nguyen * info-look.el (autoconf-mode :doc-spec): For "(autoconf)M4 Macro Index", if the item already begins with "AS_", don't prefix that string again. 2008-07-30 Juri Linkov * info.el (info, Info-mode): Doc fix. * isearch.el (isearch-mode-map): Bind `M-s r' to `isearch-toggle-regexp' and `M-s w' to `isearch-toggle-word'. (search-map): Bind `M-s w' to `isearch-forward-word' globally in the global map `search-map'. (isearch-forward): Doc fix. (isearch-forward-word, isearch-toggle-case-fold): New commands. * simple.el (quoted-insert): Comment out code that treats 0240-0377 specially. 2008-07-30 Chong Yidong * cus-start.el: Add customization info for read-buffer-completion-ignore-case. 2008-07-30 Sam Steingold * vc-dir.el (vc-dir): Call file-truename on the dir argument. 2008-07-30 Dan Nicolaescu * vc-dir.el (vc-dir-menu-map, vc-at-event): Fix docstring. (vc-dir-mode): Improve docstring. 2008-07-30 Juri Linkov * dired-aux.el (dired-isearch-filenames-setup): Add autoload cookie for the sake of isearch-mode-hook in dired-mode in dired.el. 2008-07-19 Markus Triska * image-mode.el (image-mode): Set image-mode-text-map when image cannot be displayed. 2008-07-30 Stephen Leake * progmodes/ada-prj.el (ada-prj-initialize-values): Fix use of deleted ada-xref-set-default-prj-values. (ada-prj-display-page): Ditto. * progmodes/ada-xref.el (ada-gnatstub-opts): Fix doc string. (ada-make-filename-from-adaname): Fix free variable. 2008-07-30 Dan Nicolaescu * vc-git.el (vc-git-status-printer): Synchronize with the default. 2008-07-30 Michael McNamara * progmodes/verilog-mode.el (verilog-do-indent): Remove special indent for declarations inside a parenthetical list. The code is ill-advised, and doesn't work given user defined types. (verilog-set-auto-endcomments): Enhance function automatic endcomment to support functions that return user defined types. (verilog-mode): Add code to tell which-function-mode minor mode that Verilog supports this feature. (verilog-beg-block-re-ordered, verilog-indent-re) (verilog-forward-sexp, verilog-forward-wa, verilog-calc-1) (verilog-leap-to-head): Support the new virtual and/or protected tasks, as well as extern declarations of tasks for indenting and for forward/backward expression. 2008-07-30 Wilson Snyder * progmodes/verilog-mode.el (verilog-read-decls): Allow AUTORESET to work with SV 'logic' signals. Suggested by Julian Gorfajn. (verilog-auto-inst-column): Make verilog-auto-inst-column customizable. (verilog-string-replace-matches): Avoid recursion with small replacements. (verilog-auto-inst-param-value, verilog-mode-version) (verilog-mode-version-date, verilog-read-inst-param-value) (verilog-auto-inst, verilog-auto-inst-param) (verilog-auto-inst-port, verilog-simplify-range-expression): Add verilog-auto-inst-param-value option for AUTOINST. Suggested by David Rogoff. This allows parameters to be replaced with their values, on the expansion of an AUTOINST with Verilog 2001 style parameter settings. 2008-07-30 David Lord (tiny change) * calendar/timeclock.el (timeclock-day-projects): Change a `cdr' to `cddr'. 2008-07-29 Chong Yidong * Makefile.in (ELCFILES): Add mairix.elc. 2008-07-29 David Engster * net/mairix.el: New file. 2008-07-29 Juri Linkov * cus-edit.el (custom-face-tag): Inherit from custom-variable-tag instead of variable-pitch with bold and 1.2 height. * dired-aux.el (dired-do-async-shell-command): New command. * dired.el (dired-mode-map): Rebind `dired-flag-garbage-files' from `&' to `%&'. Bind `&' to `dired-do-async-shell-command'. 2008-07-29 Juri Linkov * international/mule-cmds.el (ucs-names): New internal variable. (ucs-names): New function. (ucs-completions): New lazy completion variable. (read-char-by-name): New function. (ucs-insert): Replace interactive spec letter "s" with the call to `read-char-by-name'. * replace.el (read-regexp): Add second arg `default'. Doc fix. * replace.el (occur-read-primary-args): * hi-lock.el (hi-lock-line-face-buffer, hi-lock-face-buffer) (hi-lock-face-phrase-buffer): Use `(car regexp-history)' as the second arg of `read-regexp'. * dired-aux.el (dired-isearch-filenames): New user option. (dired-isearch-orig-success-function): New internal variable. (dired-isearch-filenames-setup, dired-isearch-filenames-end) (dired-isearch-success-function): New functions. (dired-isearch-filenames, dired-isearch-filenames-regexp): New commands. * dired.el (dired-insert-set-properties): Add new text property `dired-filename' to put on file names. (dired-mode-map): Bind `M-s f C-s' to `dired-isearch-filenames' and `M-s f M-C-s' to `dired-isearch-filenames-regexp'. Add menu items. (dired-mode): Add hook `dired-isearch-filenames-setup' to buffer-local `isearch-mode-hook'. 2008-07-29 Juanma Barranquero * progmodes/ada-mode.el (ada-batch-reformat): Doc fix. (ada-create-case-exception): Fix typo in docstring. (ada-no-auto-case): Return nil, not the docstring. (ada-indent-current): Reflow docstring. * progmodes/ada-prj.el (ada-prj-edit, ada-prj-initialize-values) (ada-prj-save-specific-option, ada-prj-field): Fix typos in docstrings. (ada-prj-load-from-file): Reflow docstring. (ada-prj-display-page): Fix typo in widget. * progmodes/ada-stmt.el (ada-case, ada-package-body, ada-private): Fix typos in docstrings. * progmodes/ada-xref.el (ada-find-executable, ada-gnat-parse-gpr) (ada-compile-current, ada-check-current, ada-run-application) (ada-get-ali-file-name): Fix typos in docstrings. (ada-xref-confirm-compile, ada-find-references) (ada-find-local-references, ada-find-any-references): Doc fixes. (ada-get-all-references): Fix typo in error message. (ada-xref-current-project): Use `let', not `let*'. (ada-do-file-completion, ada-xref-change-buffer): Reflow docstring. 2008-07-28 Vinicius Jose Latorre * whitespace.el (whitespace-newline): Change initialization to have a low contrast relative to the background color. Suggested by David Reitter . 2008-07-28 Juri Linkov * dired-aux.el (dired-do-isearch, dired-do-isearch-regexp): New functions. * dired.el (dired-mode-map): Bind dired-do-isearch to `M-s a C-s' and dired-do-isearch-regexp to `M-s a M-C-s'. Add menu items. 2008-07-28 Seiji Zenitani * help-fns.el (help-C-file-name): Add .m (Obj-C code) for Cocoa port. * emacs-lisp/find-func.el (find-function-search-for-symbol): Likewise. 2008-07-28 Stephen Leake * progmodes/ada-mode.el (ada-mode): Clean up XEmacs handling. Add support for add-log. (ada-end-stmt-re): Fix bug - allow comment after 'when'. * progmodes/ada-prj.el: Delete 'main_unit' project variable. (ada-prj-save): Prompt for file name if not given. (ada-prj-display-page): Display casing exceptions. * progmodes/ada-xref.el: Add support for GNAT project files as Emacs Ada mode project files. Delete 'main_unit' project variable; only need 'main'. Simplify handling of default project values. Use cross-prefix consistently. (ada-find-executable): Throw error if not found. (ada-initialize-runtime-library): Improve error handling when gnatls not found. (ada-gnat-parse-gpr): New. (ada-treat-cmd-string): Allow process environment variables. (ada-xref-set-default-prj-values): Delete; replace with ada-default-prj-properties. (ada-parse-prj-file): Handle GNAT project files. (ada-parse-prj-file-1): New, factored out of ada-parse-prj-file. (ada-select-prj-file): New. (ada-get-absolute-dir-list): Allow project and environment variables. 2008-07-27 Michael Albinus Sync with Tramp 2.1.14. * net/tramp.el (tramp-perl-directory-files-and-attributes) (tramp-get-device): Make device number a cons cell. (tramp-convert-file-attributes): Make inode a cons cell. * net/trampver.el: Update release number. 2008-07-27 Adrian Robert * faces.el (face-set-after-frame-default): Treat 'ns as all other window systems. 2008-07-27 Adrian Robert * term/ns-win.el (do-applescript): New alias in carbon-compat section. 2008-07-27 Dan Nicolaescu Remove support for Mac Carbon. * term/mac-win.el: Remove file * international/mule-cmds.el: * version.el: * startup.el: * simple.el: * mwheel.el: * mouse.el: * loadup.el: * isearch.el: * info.el: * frame.el: * faces.el: * disp-table.el: * cus-start.el: * cus-face.el: * cus-edit.el: * Makefile.in: Remove code for Carbon. 2008-07-26 Adrian Robert * term/ns-win.el (ns-extended-platform-support-mode): Get rid of bindings for functions deleted by Dan N. 2008-07-21. Set where-is-preferred-modifier. Add show-manual option to Help menu. 2008-07-26 Michael Albinus * net/tramp.el (tramp-handle-start-file-process): Set query-on-exit flag. Kill temporary buffer. (tramp-process-sentinel): Remove defun. (tramp-do-copy-or-rename-file-out-of-band) (tramp-maybe-open-connection): Don't call it. * net/tramp-fish.el (tramp-fish-maybe-open-connection): Don't call `tramp-process-sentinel'. * net/tramp-smb.el (tramp-smb-maybe-open-connection): Don't call `tramp-process-sentinel'. * net/xesam.el (xesam-from): Remove defvar. (xesam-mode): Derive from `special-mode'. Extend `xesam-mode-map' and `mode-line-position'. (xesam-refresh-entry): Remove argument `hit-number'. Add debug information to the widgets. Don't set `mode-line-position'. (xesam-refresh-search-buffer): Correct hit number computing. Don't set `mode-line-position'. (xesam-new-search): Add debug information to the mode line. 2008-07-25 Vinicius Jose Latorre * diff-mode.el (diff-show-trailing-blanks): Renamed to diff-show-trailing-whitespaces. 2008-07-25 Chong Yidong * textmodes/tex-mode.el (tex-compilation-parse-errors): Check for invalid filename strings when parsing tex errors (bug#376). 2008-07-25 Dan Nicolaescu * menu-bar.el (menu-bar-file-menu): Fix typo. 2008-07-25 Juanma Barranquero * play/solitaire.el (solitaire-mode-map): Define within defvar. (solitaire-mode): Define with `define-derived-mode'. (solitaire-insert-board, solitaire-right, solitaire-left, solitaire-up) (solitaire-down): Use "?\s" instead of "?\ "; use `when'. (solitaire-undo, solitaire-check): Use `when'. (solitaire-solve): Err out if the solitaire is already in progress. Use `when'. * descr-text.el (describe-char): Don't overwrite local variable char when describing characters with display-table entries. Display font backend when describing composed characters. Simplify: use `let' instead of `let*', and `or x y' instead of `if x x y'. 2008-07-25 Chong Yidong * image-mode.el (image-minor-mode): Set up winprops. 2008-07-24 Vinicius Jose Latorre * diff-mode.el (diff-show-trailing-blanks): New fun. Show trailing blanks in modified lines for diff-mode. 2008-07-24 Michael Albinus * Makefile.in (ELCFILES): Add net/xesam.el. * net/tramp.el (tramp-handle-start-file-process): Make NAME a unique process name. Reported by Markus Triska . * net/xesam.el: New file. 2008-07-24 Sven Joachim * dired-aux.el (dired-copy-file-recursive): Avoid calling set-file-modes when creating target directories. 2008-07-24 Juanma Barranquero * play/solitaire.el (solitaire-mode): Fix typo in docstring. Set `show-trailing-whitespace' to nil. (solitaire, solitaire-mode-map, solitaire-mode-hook, solitaire-solve): Fix typos in docstrings. 2008-07-24 Chong Yidong * textmodes/enriched.el (enriched-mode-map): Bind C-a and C-j via key remapping, not directly. 2008-07-24 Vinicius Jose Latorre * whitespace.el: New version 11.2. (whitespace-newline-mode, global-whitespace-newline-mode): New newline minor mode visualization. 2008-07-24 Dan Nicolaescu * progmodes/cc-mode.el (auto-mode-alist): Add .i and .ii files. * Makefile.in (ELCFILES): Add term/common-win.elc. * vc-dir.el (vc-dir-search, vc-dir-isearch) (vc-dir-isearch-regexp): New functions. (vc-dir-mode-map, vc-dir-menu-map): Bind them. 2008-07-23 Juri Linkov * isearch-multi.el: Remove file to avoid dos file name clashes with isearch-x.el. Move most content to misearch.el. * misearch.el: New file with most content from isearch-multi.el. Rename `isearch-buffers' name prefixes to `multi-isearch'. Remove `isearch-buffers-minor-mode'. Add new function `multi-isearch-setup' to `isearch-mode-hook'. New top-level commands `multi-isearch-buffers', `multi-isearch-buffers-regexp', `multi-isearch-files', `multi-isearch-files-regexp'. * Makefile.in (ELCFILES): Remove isearch-multi.elc. Add misearch.elc. * isearch.el (isearch-message-prefix): Display "Multi" when `multi-isearch-next-buffer-current-function' is non-nil. (isearch-search-string): Replace `isearch-buffers-next-buffer-function' with `multi-isearch-next-buffer-current-function', and `isearch-buffers-current-buffer' with `multi-isearch-current-buffer'. * add-log.el (change-log-mode): Set `change-log-next-buffer' to `multi-isearch-next-buffer-function' instead of `isearch-buffers-next-buffer-function'. Remove call to `isearch-buffers-minor-mode'. * buff-menu.el (Buffer-menu-marked-buffers) (Buffer-menu-isearch-buffers) (Buffer-menu-isearch-buffers-regexp): New functions. (Buffer-menu-mode-map): Bind "M-s a C-s" to `Buffer-menu-isearch-buffers', and "M-s a M-C-s" to `Buffer-menu-isearch-buffers-regexp'. (Buffer-menu-mode): Document new commands in docstring. (list-buffers-noselect): Add one space after Info file name according to the Info address convention. * ibuf-ext.el (ibuffer-do-isearch, ibuffer-do-isearch-regexp): New functions. * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-s" to `ibuffer-do-isearch' and "M-s a M-C-s" to `ibuffer-do-isearch-regexp'. (ibuffer-mode): Document new commands in docstring. * filesets.el (filesets-commands): Add commands for "Isearch" and "Isearch (regexp)". Replace `query-replace' and `query-replace-regexp' with `perform-replace' using `filesets-cmd-query-replace-regexp-getargs'. (filesets-run-cmd): Call `fn' only once if it is `multi-isearch-files' or `multi-isearch-files-regexp'. (filesets-cmd-query-replace-getargs): Call standard function `query-replace-read-args' to read `query-replace' arguments. Add `multi-query-replace-map'. (filesets-cmd-query-replace-regexp-getargs) (filesets-cmd-isearch-getargs): New functions. 2008-07-23 Chong Yidong * international/mule.el (recode-region): Deactivate mark at the end. 2008-07-23 Nikolaj Schumacher * progmodes/flymake.el (flymake-errline, flymake-warnline): Use more suitable colors on dark displays. 2008-07-23 Michael Albinus * net/tramp.el (tramp-methods): Add "-q" for "scp", "scp1", "scp2", "ssh", "ssh1", "ssh2", "scpc", "scpx", "sshx". (tramp-temp-buffer-name): New defconst. (tramp-handle-start-file-process): Use it. Apply "exec", for the command. No trailing prompt. (tramp-process-sentinel): Remove temporary buffer, if existing. Don't handle trailing prompt. (tramp-open-connection-setup-interactive-shell): Use `tramp-temp-buffer-name'. 2008-07-23 Chong Yidong * shell.el (shell-dynamic-complete-functions): Use comint-dynamic-complete-filename as well (bug#361). 2008-07-23 Dan Nicolaescu * term/ns-win.el: * version.el (emacs-version): * loadup.el: * frame.el (make-frame-on-display): Check for ns instead of ns-windowing. * dired.el (dired-mode-map): Show the key binding for wdired. * menu-bar.el (menu-bar-file-menu): Show the key binding for exiting Emacs. 2008-07-19 Adrian Robert * term/ns-win.el (x-list-fonts): Drop alias. 2008-07-23 Juri Linkov * replace.el (multi-query-replace-map): New variable. (perform-replace): Add processing of new multi-buffer keys bound to `automatic-all' and `exit-current'. Set `query-flag' to nil if last input char was `automatic-all'. Set new local variable `multi-buffer' to t when one of new two keys were typed. Return non-nil value of `multi-buffer' that tells to calling functions to continue replacement on the next file. * progmodes/etags.el (tags-query-replace): Set arg `map' of `perform-replace' to `multi-query-replace-map'. 2008-07-22 Stefan Monnier * diff-mode.el (diff-auto-refine-mode): Remove lighter, since it's otherwise displayed in every buffer. * vc-arch.el (vc-arch-trim-make-sentinel): Use a closure. (vc-arch-trim-one-revlib): Delete temp directories as well. 2008-07-22 Stephen Eglen * iswitchb.el (iswitchb-delim): New variable. Suggested by Ted Roden. 2008-07-22 Sven Joachim * vc-dir.el (vc-dir-recompute-file-state): Fix mismatched parenthesis. 2008-07-22 Miles Bader * progmodes/sh-script.el (sh-newline-and-indent): Remove. (sh-mode-map): Remove remapping of newline-and-indent. 2008-07-22 Dan Nicolaescu * vc.el (Todo): Update. * vc-hooks.el: Remove obsolete comment. * vc-git.el (vc-git-status-printer): Update the directory display to match the default. * vc-dir.el (vc-dir-recompute-file-state): Add workaround for CVS. 2008-07-21 Chong Yidong * menu-bar.el (menu-bar-line-wrapping-menu): Use Visual Line mode for "word wrap" command. * simple.el (visual-line-mode): Disable truncate-partial-width-windows. 2008-07-21 Dan Nicolaescu * term/ns-win.el: Rename ns- functions/variables to the corresponding x- versions. (x-select-text, x-cut-buffer-or-selection-value) (x-disown-selection-internal, x-get-selection-internal) (x-own-selection-internal, x-defined-colors, xw-defined-colors) (x-display-mm-width, x-display-mm-height) (x-display-backing-store, x-display-save-under) (x-display-visual-class, x-display-screens, x-focus-frame): Remove defaliases. * frame.el (ns-display-name): Remove declaration. (make-frame-on-display): Use x-display-name instead ns-display-name. Use unless. * startup.el (command-line-1): Fix indentation. * term/ns-win.el (up-one, down-one, left-one, right-one): Remove, checked in inadvertently. 2008-07-21 Chong Yidong * term/ns-win.el: Standardize references to "Nextstep" in comments, messages, and docstrings. (ns-handle-args, x-parse-geometry) (ns-extended-platform-support-mode, x-setup-function-keys) (ns-select-overlay, ns-unselect-line, ns-yes-or-no-p) (ns-set-pasteboard, ns-scroll-bar-move, ns-defined-colors) (ns-initialized, ns-initialize-window-system): Doc fixes. 2008-07-21 Thien-Thi Nguyen * diff-mode.el (diff-auto-refine): Delete defcustom. (diff-auto-refine-mode): New func/var via define-minor-mode. Update var ref to use diff-auto-refine-mode. * smerge-mode.el (diff-mode): Require when compiling. (smerge-auto-refine): Delete defcustom. Update smerge-auto-refine ref to use diff-auto-refine-mode. 2008-07-21 Chong Yidong * simple.el (visual-line): New custom group. (visual-line-fringe-indicators): New var. (visual-line-mode): Set fringe-indicator-alist based on visual-line-fringe-indicators. Add lighter. 2008-07-20 Dan Nicolaescu * term/x-win.el (x-handle-switch, x-handle-numeric-switch) (x-handle-initial-switch, x-handle-iconic, x-handle-xrm-switch) (x-handle-geometry, x-handle-name-switch, x-display-name) (x-handle-display, x-handle-args, x-colors): Move ... * term/common-win.el: ... here. New file. * term/w32-win.el (x-handle-switch, x-handle-numeric-switch) (x-handle-initial-switch, x-handle-iconic, x-handle-xrm-switch) (x-handle-geometry, x-handle-name-switch, x-display-name) (x-handle-display, x-handle-args, x-colors): Remove. * loadup.el: Load term/common-win before term/x-win and term/w32-win. 2008-07-19 Juri Linkov * startup.el (fancy-startup-text): Move the line "To quit a partially entered command, type Control-g" a few lines below to be after the line "To start". Add text "at gnu.org" to "Overview of Emacs features". * dired.el (dired-mode-map): Fix menu text of image-dired-display-thumbs. * image-dired.el (image-dired-cmd-create-thumbnail-options) (image-dired-cmd-create-temp-image-options) (image-dired-cmd-create-standard-thumbnail-command): Add > to the ImageMagick command line to change the dimensions of the image only if its width or height exceeds the geometry specification. * longlines.el: Add coding cookie utf-8 for the pilcrow sign. * proced.el (proced-mode, proced): Add \\ to docstrings. 2008-07-19 Adrian Robert * term/ns-win.el (ns-ps-print-menu-map): Fix typo pointed out by Vinicius Jose Latorre. 2008-07-19 Glenn Morris * term/ns-win.el (ns-make-command-string): Use mapconcat. (ns-save-preferences): Fix typo in previous change. (Bug#573) 2008-07-18 Michael Albinus * net/dbus.el (dbus-interface-properties): New defconst. (dbus-introspect): Update docstring. (dbus-introspect-xml, dbus-introspect-get-attribute) (dbus-introspect-get-node-names, dbus-introspect-get-all-nodes) (dbus-introspect-get-interface-names) (dbus-introspect-get-interface, dbus-introspect-get-method-names) (dbus-introspect-get-method, dbus-introspect-get-signal-names) (dbus-introspect-get-signal, dbus-introspect-get-property-names) (dbus-introspect-get-property) (dbus-introspect-get-annotation-names) (dbus-introspect-get-annotation) (dbus-introspect-get-argument-names, dbus-introspect-get-argument) (dbus-introspect-get-signature, dbus-get-property) (dbus-set-property, dbus-get-all-properties): New defuns. 2008-07-18 Chong Yidong * Makefile.in (ELCFILES): Remove ns-carbon-compat.elc and ns-grabenv.elc. * ns-carbon-compat.el: File removed. * ns-grabenv.el: File removed. * term/ns-win.el: Contents of ns-carbon-compat.el and ns-grabenv.el moved here. (ns-grabenv, ns-open-file-select-line): Doc fixes. (ns-submit-bug-report): Function removed. Reports go to the main Emacs bug list. (ns-handle-args, ns-spi-service-call): Doc fixes. (info-ns-emacs): Function removed. Nextstep port manual will be merged into the Emacs manual, so no separate link needed. 2008-07-18 Francesc Rocher * startup.el (fancy-splash-head): Fix change of 2008-07-02. 2008-07-18 Glenn Morris * eshell/esh-arg.el (eshell-quote-backslash): Restrict previous change to XEmacs, since it does nothing for Emacs. 2008-07-18 Katsumi Yamaoka * net/tls.el (open-tls-stream): Make it work with the 2nd argument BUFFER that is a string but does not exist as a buffer object, as mentioned in the doc-string. 2008-07-17 Chong Yidong * simple.el (line-move-visual): Make it a defcustom. (line-move-1): Convert temporary-goal-column back to an integer if it was set as a float by a previous call to line-move-visual. (end-of-visual-line, beginning-of-visual-line) (next-logical-line, previous-logical-line): New functions. 2008-07-17 David Reitter * simple.el (kill-visual-line, turn-on-visual-line-mode): New functions. (visual-line-mode, global-visual-line-mode): New minor mode. (visual-line-mode-map): New variable. 2008-07-17 Glenn Morris * term/ns-win.el (parameters): Declare for compiler. 2008-07-17 Fan Kai (tiny change) * eshell/esh-arg.el (eshell-quote-backslash): Fix eshell path completion for Windows. 2008-07-17 Daiki Ueno * epa.el (epa-key-list-mode): Use run-mode-hooks. (epa-key-mode): Ditto. (epa-info-mode): Ditto. 2008-07-17 Glenn Morris * term/ns-win.el (ns-handle-switch): Simplify. Handle the numeric case. (ns-handle-numeric-switch): Just call ns-handle-switch. (ns-handle-name-switch, ns-handle-nxopen, ns-handle-nxopentemp) (ns-handle-args): Simplify using `pop'. (ns-display-name): Define (used in frame.el). (menu-bar-select-frame): Add (ignored) arg to more closely match the original definition. (ns-perform-service): Declare. (ns-save-preferences): Use fewer `let's. * frame.el (ns-display-name): Declare for compiler. 2008-07-17 Kenichi Handa * descr-text.el (describe-char-unidata-list): Initialize to the list of name, general-category, decomposition, and old-name. 2008-07-16 Adrian Robert * startup.el (command-line-1): Update processing of NS long options to mimic recent changes to processing of X long options. 2008-07-16 Nick Roberts * progmodes/gdb-ui.el (gdb-create-define-alist): Don't create a list of #defines for remote files. (gdb-source-info): Only show main if it has been found. 2008-07-16 Stefan Monnier * term/ns-win.el: Require CL; fix up comment style; reindent. (ns-define-service): Use subst-char-in-string. Avoid `eval'. (ns-save-preferences): Use `case'. (ns-initialize-window-system): Use `dolist'. 2008-07-16 Adrian Robert * loadup.el: Remove load of easy-mmode prior to ns-win when NS windowing is used. * term/ns-win.el (ns-extended-platform-support-mode): Correct/improve documentation. 2008-07-16 Glenn Morris * emacs-lisp/cl-compat.el, emacs-lisp/cl-macs.el, emacs-lisp/cl-seq.el: Simply require 'cl (see comment in cl-compat.el). * emacs-lisp/cl-macs.el (cl-compile-time-init): Remove function. * emacs-lisp/cl.el (cl-do-pop, cl-mapcar-many): Declare for compiler. (cl-hack-byte-compiler): Load cl-macs and run cl-hack-bytecomp-hook directly rather by subterfuge. Provide cl before loading cl-macs. * paths.el (rmail-spool-directory): Remove settings for systems that are no longer supported. * frame.el (ns-initialize-window-system): Declare for compiler. * term/ns-win.el: Add numerous declarations for compiler. (ns-pop-up-frames): Move definition before use. Doc fix. * emacs-lisp/check-declare.el (check-declare-locate) (check-declare-verify): Handle .m files. 2008-07-15 Adrian Robert * ns-carbon-compat.el: New file: user-visible compatibility of NeXTstep port with Carbon port. * ns-grabenv.el: New file: functionality useful on OS X platform to expose environment variables inside Emacs started from icon. * Makefile.in (ELCFILES): Add ns-carbon-compat, ns-grabenv, ns-win. * cus-edit.el: * cus-face.el: * disp-table.el: * faces.el: * info.el: * mouse.el: * mwheel.el: * simple.el: Add ns to window systems treated as GUIs. * facemenu.el (facemenu-read-color): Don't require a name match under NS, to allow numeric color entry. * frame.el (make-frame-on-display): Follow code for 'x in initializing 'ns window system if need be. (various): Add 'ns as described above. * loadup.el: Load ns-win.el, easy-menu.el, easy-mmode.el if ns-windowing is active. * startup.el (command-line-ns-option-alist): New constant to handle NS windowing system specific command line args analogous to how they are handled for X windows. (command-line-1): Use the above where appropriate. * version.el: Add NS port version. * woman.el (woman-man.conf-path): Add /usr/share/misc to init path on Darwin (usually OS X) systems. (woman-use-own-frame): Include 'ns in list of GUI window systems. * emulation/viper-util.el (ns-display-color-p) (ns-color-defined-p): Remove these (caustically-commented) outdated compensations for a port that was never itself integrated until now. * gnus/gnus-util.el (gnus-select-frame-set-input-focus): Add support for NS window system. * international/mule-cmds.el: Add 'ns to list of special-cased window systems (probably most of these, x/w32/mac/ns could be changed to window-system non-nil). * term/ns-win.el: New file: lisp-side support for NS windowing system. 2008-07-14 Jason Rumney * term/w32-win.el (x-handle-switch, x-handle-name-switch) (x-handle-numeric-switch, x-handle-initial-switch) (x-handle-xrm-switch, x-handle-args, x-handle-display) (xw-defined-colors, w32-initialize-window-system): Avoid use of cl pop and push macros. 2008-07-14 Martin Rudalics * add-log.el (change-log-goto-source): Avoid wrong-type-argument error when change-log-search-file-name returns nil. 2008-07-13 Martin Rudalics * add-log.el (change-log-search-file-name): Use match-string-no-properties. (change-log-search-tag-name-1, change-log-search-tag-name) (change-log-goto-source-1, change-log-goto-source): New functions. (change-log-tag-re, change-log-find-head, change-log-find-tail): New variables. (change-log-mode-map): Bind C-c C-c to change-log-goto-source. 2008-07-13 Jay Belanger * calc/calc-help.el (calc-describe-key): Add angles to special key descriptions. 2008-07-13 Vincent Belaïche * calc/calc-help.el (calc-describe-thing): Use `re-search-forward' to search for regexp. 2008-07-12 Chong Yidong * simple.el (line-move-visual): Handle null pixel position gracefully. 2008-07-11 Jason Rumney * files.el (file-truename): Get truename of ancestors if file does not exist on Windows. 2008-07-11 Chong Yidong * simple.el (line-move-visual): Obey goal-column and no-error arg. (track-eol, temporary-goal-column, previous-line, next-line): Update docstring. (move-end-of-line, move-beginning-of-line): Bind line-move-visual to nil. 2008-07-11 Stefan Monnier * simple.el (line-move-visual): New var. (line-move-visual): New function. (line-move): Call line-move-visual. 2008-07-11 Dan Nicolaescu * progmodes/grep.el (grep-files-aliases): Improve the C++ source pattern and add patterns for C++ header files. 2008-07-10 Chong Yidong * window.el (truncated-partial-width-window-p): New function. * menu-bar.el: Remove Longlines mode from menu. Add word-wrap option. * faces.el (x-create-frame-with-faces): Don't pass parameters that are set later to x-create-frame. (face-set-after-frame-default): Apply X resources for non-default faces. 2008-07-08 Chong Yidong * faces.el (face-set-after-frame-default): Simplify. Don't apply frame-specific X resource settings. Set faces using a list of frame parameters explicitly passed to the calling function (e.g. make-frame). (x-create-frame-with-faces, tty-create-frame-with-faces): Supply explicit frame parameter list to face-set-after-frame-default. 2008-07-08 Eduard Wiebe (tiny change) * net/browse-url.el (browse-url-default-browser): Fix argument list in lambda. 2008-07-07 Ulf Jasper * net/newst-backend.el (newsticker--get-news-by-url): Catch errors from url-retrieve. (newsticker--sentinel-work): Fix xerror typo. 2008-07-07 Dan Nicolaescu * vc-dir.el (vc-dir-refresh): Only update files. * vc-git.el (vc-git--ls-files-state): Remove unused function. * vc-bzr.el (vc-bzr-after-dir-status): Deal with execute bit changes. 2008-07-06 John Paul Wallington * kermit.el (kermit-esc-char, kermit-clean-off): Doc fixes. 2008-07-05 Alexandre Julliard * vc-git.el (vc-git-registered): Return true for removed files. (vc-git-print-log, vc-git-log-view-mode): Print a single log for all the files instead of one per file. (vc-git-previous-revision): Add support for project-wide previous revision when specified file is nil. 2008-07-05 Dan Nicolaescu * vms-patch.el, vmsproc.el, mail/vms-pmail.el: Move to obsolete dir. * vc-dir.el (vc-dir-find-child-files): New function. (vc-dir-resync-directory-files): New function. (vc-dir-recompute-file-state): New function, broken out of ... (vc-dir-resynch-file): ... here. Also deal with directories. * vc-dispatcher.el (vc-resynch-buffers-in-directory): New function. (vc-resynch-buffer): Use it. * vc-hg.el (vc-hg-registered): Do not set vc-state. * vc-annotate.el (vc-annotate-mode-menu): Add separator. 2008-07-05 Nick Roberts * progmodes/gdb-ui.el (gdb-display-buffer): Don't split a buffer if it's not part of gdb-ui, e.g, at start. * progmodes/gud.el (gud-gdb-get-stackframe): Allow absolute filenames in stack trace (text command mode). 2008-07-05 Stefan Monnier * mouse-drag.el (mouse-drag-throw, mouse-drag-drag): Autoload. * textmodes/sgml-mode.el (sgml-font-lock-syntactic-keywords): Use syntax-ppss on a position *before* the char we want to change. 2008-07-04 Dan Nicolaescu * vc-dir.el (vc-dir-query-replace-regexp): New function. (vc-dir-tool-bar-map, vc-dir-menu-map): Bind it. (vc-dir-mode-map): Likewise. 2008-07-03 Juanma Barranquero * eshell/esh-arg.el (eshell-quote-backslash): Fix typo in docstring. (eshell-parse-argument-hook, eshell-special-chars-inside-quoting) (eshell-arg-load-hook, eshell-special-chars-outside-quoting): Remove spurious * in defcustom docstrings. * textmodes/fill.el (fill-paragraph): Fix typo in docstring. (fill-individual-varying-indent, colon-double-space, enable-kinsoku) (adaptive-fill-mode, adaptive-fill-first-line-regexp) (default-justification): Remove spurious * in defcustom docstrings. * textmodes/rst.el (rst, rst-line-homogeneous-p, rst-mode-abbrev-table) (rst-font-lock-keywords-function, rst-mode, rst-minor-mode) (rst-compare-decorations, rst-default-indent, rst-update-section) (rst-decoration-complete-p, rst-section-tree, rst-toc-insert-node) (rst-toc-insert-find-delete-contents, rst-toc-count-lines) (rst-toc-mode-goto-section, rst-faces, rst-level-face-base-color): Fix typos in docstrings. (rst-mode-lazy): Fix typo in docstring. Remove spurious *. (rst-adjust, rst-line-homogeneous-p, rst-suggest-new-decoration) (rst-get-decorations-around, rst-section-tree-point) (rst-font-lock-adornment-point): Reflow docstrings. (rst-get-decoration, rst-get-decoration-match, rst-adjust-decoration): Doc fixes. (rst-re-enumerations): Comment out. * nxml/nxml-glyph.el (nxml-glyph-set-hook): * nxml/nxml-uchnm.el (nxml-unicode-blocks) (nxml-unicode-block-char-name-set): * nxml/nxml-util.el (nxml-debug, nxml-make-namespace): * nxml/rng-nxml.el (rng-set-state-after): * nxml/rng-uri.el (rng-file-name-uri): Fix typo in docstring. * nxml/rng-cmpct.el (rng-c-lookup-create, rng-c-parse-primary) (rng-c-parse-annotation-body): * nxml/rng-dt.el (rng-dt-namespace-context-getter): Reflow docstrings. * nxml/nxml-mode.el (nxml, nxml-mode, nxml-after-change1) (nxml-extend-region, nxml-merge-indent-context-type, nxml-complete) (nxml-forward-balanced-item, nxml-dynamic-markup-word) (nxml-define-char-name-set, nxml-toggle-char-ref-extra-display): Fix typos in docstrings. (nxml-attribute-indent): Reflow docstring. (nxml-bind-meta-tab-to-complete-flag, nxml-last-fontify-end) (nxml-default-buffer-file-coding-system): Doc fixes. * nxml/nxml-ns.el (nxml-ns-state, nxml-ns-initial-state) (nxml-ns-set-prefix): Fix typos in docstrings. (nxml-ns-push-state, nxml-ns-pop-state, nxml-ns-set-default): Reflow docstring. (nxml-ns-get-prefix, nxml-ns-get-default): Doc fixes. * nxml/nxml-outln.el (nxml-hide-all-text-content) (nxml-show-direct-text-content, nxml-show-direct-subheadings) (nxml-hide-direct-text-content, nxml-hide-subheadings) (nxml-hide-text-content, nxml-show-subheadings, nxml-hide-other) (nxml-outline-display-rest, nxml-outline-set-overlay) (nxml-section-tag-forward, nxml-section-tag-backward) (nxml-back-to-section-start): Fix typos in docstrings. * nxml/nxml-parse.el (nxml-validate-function, nxml-parse-file): Doc fixes. * nxml/nxml-rap.el (nxml-scan-end, nxml-move-tag-backwards) (nxml-scan-element-forward, nxml-scan-element-backward): Doc fixes. (nxml-scan-after-change): Fix typo in docstring. * nxml/rng-match.el (rng-being-compiled, rng-normalize-choice-list) (rng-name-class-possible-names): Doc fixes. (rng-memo-map-add, rng-intern-group, rng-match-possible-namespace-uris) (rng-match-possible-start-tag-names, rng-match-possible-value-strings): Fix typos in docstrings. (rng-intern-group-shortcut, rng-intern-choice-shortcut): Reflow docstrings. * nxml/rng-util.el (rng-uniquify-eq, rng-uniquify-equal): Doc fixes. (rng-substq, rng-complete-before-point): Fix typos in docstrings. * nxml/rng-xsd.el (rng-xsd-make-date-time-regexp) (rng-xsd-convert-date-time): Reflow docstrings. (rng-xsd-compile): Fix typo in docstring. * nxml/rng-loc.el (rng-current-schema-file-name) (rng-locate-schema-file-using, rng-locate-schema-file-from-type-id): Doc fixes. (rng-set-schema-file): Fix typo in docstring. * nxml/rng-valid.el (rng-error-count, rng-validate-mode) (rng-do-some-validation, rng-process-start-tag, rng-process-text): Fix typos in docstrings. (rng-message-overlay, rng-conditional-up-to-date-start) (rng-conditional-up-to-date-end): Doc fixes. (rng-next-error, rng-previous-error): Reflow docstrings. * nxml/xmltok.el (xmltok-attribute-raw-normalized-value): Doc fix. (xmltok-dtd, xmltok-dependent-regions, xmltok-attribute-refs) (xmltok-valid-char-p, xmltok-standalone, xmltok-forward-prolog) (xmltok-merge-attributes): Fix typos in docstrings. (xmltok-make-attribute, xmltok-forward-special) (xmltok-get-declared-encoding-position): Reflow docstrings. * nxml/xsd-regexp.el (xsdre-char-class-to-range-list): Doc fix. (xsdre-range-list-union, xsdre-check-range-list, xsdre-current-regexp): Fix typos in docstrings. 2008-07-02 John Paul Wallington * ibuffer.el (ibuffer-buffer-file-name): Use `list-buffers-directory'. Remove special-casing for `cvs-mode' and `vc-dir-mode'. Suggested by Dan Nicolaescu. 2008-07-02 Toru Tsuneyoshi * files.el (backup-extract-version): Handle versioned directories. (trash-directory): New variable. (move-file-to-trash): New function. * cus-start.el (delete-by-moving-to-trash): Declare for custom. 2008-07-02 Magnus Henoch * vc-git.el (vc-git-annotate-command): Use proper option for specifying revision. 2008-07-02 Francesc Rocher * startup.el (fancy-splash-head): Prefer SVG or PNG splash image, if available. 2008-07-01 Dan Nicolaescu * uniquify.el (uniquify-list-buffers-directory-modes): Add vc-dir-mode. * vc-annotate.el (vc-annotate-mode-map): Use lower case keys. Add binding for vc-annotate-show-changeset-diff-revision-at-line. * vc-dir.el (vc-dir-mode): Set list-buffers-directory. 2008-07-01 Nick Roberts * progmodes/gdb-ui.el (gdb-create-source-file-list): New option. (gdb-init-2): Use it. Don't run gdb-mode-hook again. (gdb-var-list-children-regexp, gdb-var-update-regexp) (gdb-info-breakpoints-custom, gdb-stack-list-frames-regexp) (gdb-var-list-children-regexp-1, gdb-var-update-regexp-1) (gdb-stack-list-locals-regexp): Future proof regexps better. 2008-06-30 Juri Linkov * faces.el (face-name-history): New variable. (make-face, make-empty-face): Replace interactive spec "S" with `read-from-minibuffer' where `read' arg is t and `hist' arg is `face-name-history'. (read-face-name): Set `hist' arg of `completing-read-multiple' to `face-name-history'. (list-faces-display): Use `read-regexp' instead of `read-string' to read regexp. * hi-lock.el (hi-lock-regexp-history): Make it an obsolete alias to `regexp-history'. (hi-lock-face-history): Rename to `hi-lock-face-defaults' and make it an obsolete alias to it. (hi-lock-face-defaults): New variable renamed from `hi-lock-face-history'. (hi-lock-line-face-buffer, hi-lock-face-buffer) (hi-lock-face-phrase-buffer): Use `read-regexp' instead of `read-from-minibuffer'. Doc fix. (hi-lock-read-face-name): Replace `hi-lock-face-history' with `hi-lock-face-defaults'. Remove `mapcar (lambda (f) (cons f f))'. Set `hist' arg of `completing-read' to `face-name-history'. Put a list of default faces to `default' arg instead of `hist' arg. * bindings.el (abbrev-map, narrow-map): New variables. Bind `C-x a' to `abbrev-map' and `C-x n' to `narrow-map'. Rebind related commands to these new maps. (ctl-x-r-map): New variable for rectangle, register and bookmark keys. Move rectangle keybindings to rect.el and register keybindings to register.el. (next-buffer, previous-buffer): Remove C-x prefix and move keybindings to ctl-x-map. * bookmark.el: Rebind three global `C-x r' keys "b", "m", "l" to the new map `ctl-x-r-map' in autoload cookies. * expand.el: Rebind two global `C-x a' keys "n", "p" to the new map `abbrev-map' in autoload cookies. * rect.el: Bind global keys to ctl-x-r-map in autoload cookies. * register.el: Bind global keys to ctl-x-r-map in autoload cookies. 2008-06-30 Miles Bader * net/rcirc.el (rcirc-markup-attributes): Don't skip a character after processing an escape sequence. 2008-06-29 Michael Albinus * net/tramp-ftp.el (tramp-ftp-file-name-handler): Revert patch from 2008-06-28. It does not work on W32. 2008-06-29 Juri Linkov * replace.el (read-regexp): New function. (keep-lines-read-args, occur-read-primary-args): Call `read-regexp' instead of code moved to new function. (keep-lines, flush-lines, how-many): Remove parenthesis and colon from the end of prompt. (replace-re-search-function): Doc fix. 2008-06-29 Kenichi Handa * descr-text.el (describe-char-display): Always return a string. (describe-char-padded-string): New function. (describe-char): Adjusted for the change of describe-char-display. Use describe-char-padded-string. 2008-06-29 Andreas Schwab * vc-dir.el (vc-dir): Make backend argument optional and use vc-responsible-backend when nil. Interactively pass nil for backend instead of using the backend of what happens to be default-directory at the time of the call. * find-dired.el (find-dired-filter): Preserve point. 2008-06-28 Juanma Barranquero * net/sasl.el (sasl-client-set-property, sasl-make-mechanism) (sasl-find-mechanism, sasl-next-step): * net/sasl-ntlm.el (sasl-ntlm-steps, sasl-ntlm-request) (sasl-ntlm-response): Fix typos in docstrings. 2008-06-28 robert marshall (tiny change) * international/mule-cmds.el (view-hello-file): Doc fix. 2008-06-28 Chong Yidong * faces.el (inhibit-face-set-after-frame-default): Var deleted. (set-face-attribute, face-set-after-frame-default)): Don't use it. 2008-06-28 John Paul Wallington * calc/calc.el (defmath): Add `doc-string' decl. Add docstring. 2008-06-28 Michael Albinus * net/tramp.el (tramp-handle-file-modes): Handle symlinks. (tramp-convert-file-attributes): Convert symlinks only when returned from `tramp-handle-file-attributes-with-stat'. * net/tramp-ftp.el (top): Delete 'ange-ftp property from `substitute-in-file-name' when unloading. (tramp-ftp-file-name-handler): Set `tramp-mode' to nil. 2008-06-28 Dan Nicolaescu * vc-dir.el (vc-dir-hide-up-to-date): Also hide empty directories. (vc-string-prefix-p): Move function ... * vc.el (vc-string-prefix-p): ... here. 2008-06-27 Juanma Barranquero * vc-dir.el (vc-dir): Complete only directory names. 2008-06-27 Jason Rumney * w32-fns.el (top-level): Unconditionally define all charsets. 2008-06-27 Alan Mackenzie * progmodes/cc-mode.el (c-mode-base-map): Don't bind C-M-[ae] to the CC Mode specific functions; this is no longer needed, since {beginning,end}-of-defun now pass ARG to ...-of-defun-function. * progmodes/cc-defs.el (c-emacs-features): New feature 'argumentative-bod-function. 2008-06-27 John Paul Wallington * chistory.el (list-command-history): Use `bound-and-true-p'. (command-history-map): Define within defvar. Add docstring. 2008-06-27 Juanma Barranquero * image.el (image-jpeg-p): Don't fail if the arg cannot be converted to unibyte; just assume it is not a JPEG. Use `string-match-p'. (image-type-from-data, image-type-from-file-name): Use `string-match-p'. (image-type-from-buffer): Use `looking-at-p'. 2008-06-27 Juanma Barranquero * ibuf-ext.el (diff-sentinel): Declare. 2008-06-27 Glenn Morris * calendar/lunar.el (calendar-lunar-phases): Rename from calendar-phases-of-moon. Keep old name as alias, update callers. (lunar-phases): Rename from phases-of-moon. Keep old name as alias. (diary-lunar-phases): Rename from diary-phases-of-moon. Keep old name as alias. * calendar/cal-menu.el (cal-menu-sunmoon-menu) (cal-menu-global-mouse-menu): Update for lunar name changes. * calendar/calendar.el (calendar-mode-map): Update for name change. * calendar/diary-lib.el (diary-list-sexp-entries): Doc update. 2008-06-26 Glenn Morris * calendar/solar.el (solar-sunrise-sunset-string): Add optional argument `nolocation'. (calendar-sunrise-sunset-month): New function. * calendar/cal-menu.el (cal-menu-sunmoon-menu): Rename from cal-menu-moon-menu. Add calendar-sunrise-sunset-month. (cal-menu-global-mouse-menu): Add calendar-sunrise-sunset-month. * calendar/calendar.el (solar-sunrises-buffer): New constant. (calendar-mode-map): Use cal-menu-sunmoon-menu. (calendar-buffer-list): Add solar-sunrises-buffer. * calendar/cal-menu.el (cal-menu-goto-menu): Tweak menu name. 2008-06-26 Chong Yidong * cus-start.el: Add customization types for word-wrap and shift-select-mode. 2008-06-26 John Paul Wallington * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): New function. (ibuffer-diff-with-file): Use it. Do diff on marked buffers. (ibuffer-mark-on-buffer): Don't display message when removing marks. (ibuffer-mark-by-mode): Use `buffer-local-value'. 2008-06-26 Dan Nicolaescu * vc-dir.el (tool-bar): Require. * vc.el (ewoc, tool-bar): Do not require. 2008-06-26 Kenichi Handa * international/mule-cmds.el (encode-coding-char): Fix for ASCII characters. * composite.el (terminal-composition-base-character-p): New function. (terminal-composition-function): Use terminal-composition-base-character-p. Include the base character in the composition. (auto-compose-chars): Don't check font-object for terminal display. 2008-06-26 Glenn Morris * doc-view.el (bookmark-make-record-default): * image-mode.el (bookmark-make-record-default): Fix declaration. * calendar/calendar.el (calendar-date-echo-text): Doc fix. Add default :value for sexp type. (calendar-month-edges): New variable. (calendar-month-edges): New function. (calendar-recompute-layout-variables): Set calendar-month-edges. (calendar-intermonth-header, calendar-intermonth-text): New options. (calendar-insert-at-column): New function. (calendar-generate-month): Use calendar-insert-at-column. Handle intermonth text. Add 'date property. (calendar-column-to-month): Remove function. (calendar-column-to-segment): New function. (calendar-cursor-to-date): Use calendar-column-to-segment. Check 'date property. * calendar/calendar.el (calendar-print-other-dates): Handle mouse events. * calendar/cal-menu.el (calendar-mouse-print-dates): Remove function. (cal-menu-context-mouse-menu): Use calendar-print-other-dates. * calendar/holidays.el (calendar-cursor-holidays): Handle mouse events. * calendar/cal-menu.el (calendar-mouse-holidays): Remove function. (cal-menu-context-mouse-menu): Use calendar-cursor-holidays. * calendar/cal-move.el (calendar-cursor-to-nearest-date): Use calendar-column-to-segment, calendar-month-edges, and the 'date property to handle intermonth text. * calendar/cal-iso.el (calendar-iso-from-absolute): Add autoload cookie. * calendar/cal-menu.el (cal-menu-moon-menu, cal-menu-diary-menu) (cal-menu-holidays-menu, cal-menu-goto-menu, cal-menu-scroll-menu): Add doc strings. (cal-menu-context-mouse-menu): Add some :keys. (calendar-check-holidays): Declare rather than autoloading. (diary-show-holidays-flag): Remove unneeded declaration. * calendar/cal-menu.el (cal-menu-moon-menu): Add sunrise/sunset. * calendar/calendar.el (calendar-cursor-to-date): Handle case where event-start is nil. 2008-06-26 Stefan Monnier * minibuffer.el (completion-basic-try-completion): Use the text after point to constrain the completion candidates. (completion-basic-all-completions): Adjust accordingly. 2008-06-25 Chong Yidong * textmodes/tex-mode.el (tex-verbatim): Use monospace instead of courier. * faces.el (set-face-attribute): Doc fix. 2008-06-25 Juri Linkov * bindings.el (goto-map): New variable. Rebind goto-related commands to this `M-g' prefix keymap. (search-map): New variable for `M-s' prefix keymap. Bind `M-s o' to `occur', `M-shr' to `highlight-regexp', `M-shp' to `highlight-phrase', `M-shl' to `highlight-lines-matching-regexp', `M-shu' to `unhighlight-regexp', `M-shf' to `hi-lock-find-patterns', `M-shw' to `hi-lock-write-interactive-patterns'. * isearch.el (isearch-mode-map): Bind `M-s h r' to `isearch-highlight-regexp'. (isearch-highlight-regexp): New function. 2008-06-25 Stefan Monnier * info.el (Info-bookmark-make-record): Use bookmark-make-record-default. (Info-bookmark-jump): Use bookmark-default-handler. * image-mode.el (image-bookmark-make-record): Use bookmark-make-record-default. (image-bookmark-jump): Use bookmark-default-handler. * doc-view.el (doc-view-bookmark-make-record): Use bookmark-make-record-default. (doc-view-bookmark-jump): Use bookmark-default-handler. * bookmark.el (bookmark-alist): Allow the 2 slightly different formats used until now in bookmark.el's code. (bookmark-get-bookmark): Accept bookmark names or bookmark records. (bookmark-get-bookmark-record): Allow the 2 slightly different formats used until now in bookmark.el's code. (bookmark-set-filename): Remove special code, moved to its only caller. (bookmark-store): Use the newer format. (bookmark-make-record-default): Add arg `point-only'. Rename from bookmark-make-record-for-text-file. (bookmark--jump-via): New function. (bookmark-jump, bookmark-jump-other-window, bookmark-bmenu-2-window) (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window): Use it. (bookmark-jump-noselect, bookmark-default-handler): Don't return an alist, instead return the data implicitly by changing current buffer and point. Signal an error if the file doesn't exist. * buff-menu.el: Use with-current-buffer and inhibit-read-only. (Buffer-menu-toggle-read-only): Avoid vc-toggle-read-only. * bs.el: Use with-current-buffer. Simplify. (bs-toggle-readonly): Avoid vc-toggle-read-only. * eshell/esh-cmd.el (eshell-manipulate): Check eshell-debug-command is bound before using it. 2008-06-25 Kenichi Handa * image.el (image-jpeg-p): Convert DATA to unibyte at first. 2008-06-25 Dan Nicolaescu * vc-hg.el: * vc-git.el: Require vc-dir when compiling. * vc-dir.el (vc-dir-marked-only-files-and-states): Rename from vc-dir-marked-only-files. Change the return value. (vc-dir-child-files-and-states): Rename from vc-dir-child-files. Change the return value. (vc-dir-deduce-fileset): New function broken out from ... * vc.el (vc-deduce-fileset): ... here and ... (vc-deduce-fileset): ... here. * vc-svn.el (vc-annotate-parent-rev): Pacify byte compiler. (vc-svn-parse-status): Do not set the vc-backend property. 2008-06-25 Andreas Schwab * faces.el (face-font-family-alternatives, variable-pitch): Use "Sans Serif", not "Sans-Serif". 2008-06-24 Chong Yidong * faces.el (face-font-family-alternatives, variable-pitch): Change "Sans" to the canonical name "Sans-Serif". 2008-06-24 Jay Belanger * calc/calc.el (calc-mode-map): Add extra keybindings to `calc-missing-key'. * calc/calc-ext.el (calc-init-extensions): Add keybinding for `kill-ring-save'. 2008-06-24 Miles Bader * mouse.el (mouse-appearance-menu): Don't do anything if the user pops up the menu but doesn't select anything. 2008-06-24 Dan Nicolaescu * add-log.el (add-change-log-entry): Add new arg to force each new entry to be on a new line. * diff-mode.el (diff-add-change-log-entries-other-window): Use it. * vc-dir.el (vc-client-object): Remove. (vc-dir-prepare-status-buffer): Take a backend as an argument and use it when looking for a buffer. (vc-dir): Add a backend argument. Set revert-buffer-function. Don't create a client object. Move bindings ... (vc-dir-menu-map, vc-dir-mode-map): ... here. (vc-dir-revert-buffer-function): New function. (vc-generic-status-printer): Rename to ... (vc-dir-status-printer): ... this. (vc-generic-state, vc-generic-status-fileinfo-extra) (vc-dir-extra-menu, vc-make-backend-object): Remove. (vc-default-status-printer): Use a different face for directories. Don't display any text for directories in the state column. Add tooltips. * vc.el (Todo): Update. * vc-hg.el (vc-annotate-convert-time, vc-default-status-printer): * vc-rcs.el (vc-annotate-convert-time): * vc-mtn.el (vc-annotate-convert-time): * vc-git.el (vc-annotate-convert-time): * vc-cvs.el (vc-annotate-convert-time): * vc-bzr.el (vc-annotate-convert-time): Declare as functions. 2008-06-23 Dan Nicolaescu * vc-annotate.el (vc-annotate-mode): Derive from special-mode instead of using view-mode. 2008-06-23 Stefan Monnier * Makefile.in (distclean): Don't delete *.elc and autogen files. 2008-06-22 Dan Nicolaescu * vc.el: * vc-hooks.el: * vc-dispatcher.el: Move vc-dir variables and functions ... * vc-dir.el: ... here. New file. * Makefile.in (ELCFILES): Add vc-dir.elc. * vc.el: Move vc-annotate variables and functions ... * vc-annotate.el: ... here. New file. * Makefile.in (ELCFILES): Add vc-annotate.elc. * vc-dav.el: Move here from url/vc-dav.el. (Todo): Note work needed to make this backend functional. * Makefile.in (ELCFILES): Update vc-dav.el location. 2008-06-22 Stefan Monnier * Makefile.in (COMPILE_FIRST): Trim down and add autoload.el. 2008-06-21 John Paul Wallington * emacs-lisp/derived.el (define-derived-mode): Add `doc-string' decl. * textmodes/rst.el (rst-mode): Put docstring in right place. 2008-06-21 Chong Yidong * startup.el (fancy-about-text, fancy-startup-tail): Increase text size for legibility. * faces.el (fixed-pitch): Use "Monospace" family. (variable-pitch): Use "Sans" family. (face-font-family-alternatives): Define alternatives for "Sans" and "Monospace". 2008-06-21 Glenn Morris * mail/hashcash.el, net/tramp-smb.el, nxml/nxml-mode.el: Require 'cl when compiling. * emacs-lisp/debug.el (help-xref-interned): Declare. * emacs-lisp/easy-mmode.el (easy-mmode-set-keymap-parents): Evaluate definition when compiling. * progmodes/bug-reference.el (bug-reference-map): Bind down-mouse-1 rather than mouse-1. (bug-reference-url-format): Autoload safe if string. (bug-reference-bug-regexp): Make space after "bug" optional. * Makefile.in (all): Explicitly pass EMACS to sub-make, for some non-GNU makes. * cus-dep.el (custom-dependencies-no-scan-regexp): * finder.el (finder-no-scan-regexp): Add ldefs-boot.el * calendar/cal-move.el (calendar-forward-day): Scroll in one month increments. * calendar/calendar.el: Factor out the magic numbers controlling the calendar layout. (calendar-month-digit-width, calendar-month-width) (calendar-right-margin): New variables. (calendar-recompute-layout-variables, calendar-set-layout-variable): New functions. (calendar-left-margin, calendar-intermonth-spacing) (calendar-column-width, calendar-day-header-width) (calendar-day-digit-width): New options. (calendar-first-date-row): New constant. (calendar-move-to-column, calendar-ensure-newline): New functions, replacing calendar-insert-indented. (calendar-insert-indented): Remove function. (calendar-generate-month): Use calendar-move-to-column and calendar-ensure-newline. Use layout variables. (calendar-generate, calendar-update-mode-line) (calendar-font-lock-keywords): Use layout variables. (calendar-column-to-month): New function. (calendar-cursor-to-date): Use calendar-column-to-month. Use layout variables. * calendar/cal-move.el (calendar-cursor-to-nearest-date): Use layout variables. Use calendar-column-to-month. (calendar-cursor-to-visible-date): Use layout variables. 2008-06-21 Stefan Monnier * Makefile.in (update-elclist): Don't exclude COMPILE_FIRST. (all): Run compile-last. (compile-onefile): New target. (compile-first): Simplify. (compile-last): Don't treat COMPILE_FIRST specially. (COMPILE_FIRST): List the elc files rather than the el files. (ELCFILES): Update. 2008-06-21 Ulf Jasper * net/newst-treeview.el: Remove dead code. (newsticker--window-config): Remove. (newsticker-treeview-quit): Do not save window config. (newsticker-treeview): Do not try to restore window config. (newsticker-groups, newsticker--treeview-list-sort-by-column) (newsticker--treeview-list-new-items) (newsticker--treeview-list-immortal-items) (newsticker--treeview-list-obsolete-items) (newsticker--treeview-list-all-items) (newsticker--treeview-list-feed-items): Fix documentation. 2008-06-21 Miles Bader * face-remap.el (text-scale-adjust): Bind `echo-keystrokes' to nil. 2008-06-21 Alan Mackenzie * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5D.5): Fix an infinite loop on invalid syntax. 2008-06-21 Stefan Monnier * textmodes/rst.el: Run rst-define-level-faces when loading. (rst-mode): Don't set the font-lock-multiline var. (rst-font-lock-find-unindented-line, rst-font-lock-handle-adornment): Set the font-lock-multiline property by hand. * loadup.el: Don't add emacs- name when bootstrapping. * Makefile.in (emacs-deps): Remove. ($(lisp)/cus-load.el, $(lisp)/finder-inf.el): Re-add. (all): Use them. (autogen-clean): Remove. 2008-06-20 Stefan Monnier * Makefile.in (all): New target. (bootstrap-prepare): Remove. * Makefile.in ($(lisp)/progmodes/cc-mode.elc): Pass the .el file not the .elc file to batch-byte-compile. * progmodes/cc-mode.el (c-make-inherited-keymap): Only use set-keymap-parents if set-keymap-parent doesn't exist. * vc-bzr.el (vc-bzr-annotate-extract-revision-at-line): Allow more than one space before the |. * textmodes/rst.el: Fix up docstring conventions. Move vars to before their first use. (rst-mode): Don't mess with font-lock-support-mode. (rst-suggest-new-decoration, rst-adjust-decoration): Avoid CL's copy-list. (rst-delete-entire-line): Use line-beginning-position. (rst-position): New fun. (rst-straighten-decorations): Use it instead of CL's position. (rst-straighten-bullets-region): Avoid CL's mapcar*. (rst-toc-mode): Use define-derived-mode. (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2): Remove unused var `in-par'. Use `point' rather than `point-marker'. (rst-line-block-region): Reduce redundancy. Use the `pfxarg' arg. (rst-replace-lines): Simplify. (auto-mode-alist): Use rst-mode for *.rst and *.rest files. * simple.el (special-mode-map): New var. (special-mode): New major mode. 2008-06-20 Dan Nicolaescu * vc-mtn.el (vc-mtn-log-view-mode): Set log-view-per-file-logs and log-view-file-re. * vc.el (vc-dir-hide-up-to-date): Undo previous change. (vc-switch-backend): Simplify. (Todo): Remove solved items. * vc-cvs.el (vc-cvs-parse-status, vc-cvs-parse-entry): Do not set the vc-backend property. 2008-06-20 Stefan Monnier * emacs-lisp/checkdoc.el (checkdoc-start-section, checkdoc-error): Bind inhibit-read-only since the buffer is always read-only. 2008-06-20 Ulf Jasper * net/newst-treeview.el (newsticker-treeview-own-frame): Change default value to nil. (newsticker--treeview-list-add-item) (newsticker--treeview-propertize-tag): Show item title in tooltip. 2008-06-20 Martin Blais Stefan Merten David Goodger * textmodes/rst.el: New file. 2008-06-20 Sam Steingold * vc.el (vc-dir-hide-up-to-date): Accept a prefix argument to also remove DIRECTORY entries. 2008-06-20 Eli Zaretskii * makefile.w32-in (distclean): Depend on `clean'. (clean): Delete calc/calc-loaddefs.el~ and eshell/esh-groups.el~. (AUTOGENEL): Add $(lisp)/nxml/subdirs.el. ($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty cus-load.el with `echo', and include "Local Variables" section to prevent the empty file from being compiled. (cus-load.el-SH, cus-load.el-CMD): New SHELLTYPE-specific targets that generate an empty cus-load.el. 2008-06-20 Juanma Barranquero * makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH): Don't copy ldefs-boot.el over loaddefs.el. (bootstrap-clean): Remove loaddefs.el and don't depend on it. (loaddefs.el-SH, loaddefs.el-CMD): Don't add autoloads and defvars to loaddefs.el; they are not needed now. Add coding cookie. 2008-06-20 Miles Bader * face-remap.el (face-remap-add-relative, face-remap-set-base): Strip unnecessary list levels from SPECS. (buffer-face-set, buffer-face-toggle): Change argument from FACE to &rest SPECS, and strip unnecessary list levels from SPECS. (buffer-face-mode-invoke): Change argument from FACE to SPECS. 2008-06-20 Jason Rumney * international/fontset.el (setup-default-fontset): Specify script for latin use of iso10646-1. Fix use of lang tags. 2008-06-19 Miles Bader * face-remap.el (text-scale-increase): Start from zero if text-scale-mode isn't enabled. 2008-06-19 Stefan Monnier * faces.el (face-set-after-frame-default): Re-apply explicit `font' frame parameters after setting up the `default' face. 2008-06-18 Stefan Monnier * faces.el (face-set-after-frame-default): Don't exclude `default'. 2008-06-18 Glenn Morris * mouse.el (buffer-face-mode-invoke): Declare. * Makefile.in (ELCFILES): Add org/org-id.elc. * calendar/holidays.el (calendar-cursor-holidays): Accept optional date. * calendar/cal-menu.el (cal-menu-holidays-menu): Use calendar-cursor-holidays rather than cal-menu-today-holidays. (cal-menu-today-holidays): Remove function. * calendar/cal-menu.el (cal-menu-holiday-window-suffix): Simplify. (cal-menu-list-holidays-year, cal-menu-list-holidays-following-year) (cal-menu-list-holidays-previous-year, calendar-mouse-goto-date): Remove unused functions. (calendar-mouse-view-diary-entries): Use format rather than concat. * calendar/cal-menu.el (cal-menu-x-popup-menu): Turn it into a macro. (calendar-mouse-holidays, calendar-mouse-view-diary-entries) (calendar-mouse-print-dates): Adapt for cal-menu-x-popup-menu change. * calendar/cal-menu.el (cal-menu-event-to-date): Remove function. (calendar-mouse-holidays, calendar-mouse-view-diary-entries) (calendar-mouse-view-other-diary-entries, calendar-mouse-print-dates) (cal-menu-set-date-title): Use calendar-cursor-to-date rather than cal-menu-event-to-date. * calendar/cal-html.el (cal-html-cursor-month, cal-html-cursor-year): Handle mouse events. * calendar/cal-tex.el (cal-tex-cursor-year) (cal-tex-cursor-year-landscape, cal-tex-cursor-filofax-year) (cal-tex-cursor-month-landscape, cal-tex-cursor-month) (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso) (cal-tex-cursor-week-monday, cal-tex-cursor-filofax-2week) (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily) (cal-tex-cursor-day): Handle mouse events. Rename ARG to N. (cal-tex-cursor-month): Mark N as optional. * calendar/cal-menu.el (calendar-mouse-tex-day) (calendar-mouse-tex-week, calendar-mouse-tex-week2) (calendar-mouse-tex-week-iso, calendar-mouse-tex-week-monday) (calendar-mouse-tex-filofax-daily, calendar-mouse-tex-filofax-2week) (calendar-mouse-tex-filofax-week, calendar-mouse-tex-month) (calendar-mouse-tex-month-landscape, calendar-mouse-tex-year) (calendar-mouse-tex-filofax-year, calendar-mouse-tex-year-landscape): Remove functions. (cal-menu-context-mouse-menu): Replace the above functions with the cal-tex versions. Add HTML submenu. 2008-06-17 Nick Roberts * progmodes/gdb-ui.el (gud-gdba-marker-filter): Don't switch to text command mode. (gdb): Explain that gud-gdb is needed for text command mode. 2008-06-17 Martin Rudalics * window.el (split-height-threshold): Remove spurious extra line. 2008-06-17 Stefan Monnier * calendar/calendar.el (calendar-cursor-to-date): Add argument `event'. (calendar-set-mark): * calendar/diary-lib.el (diary-insert-entry): * calendar/solar.el (calendar-sunrise-sunset): Use it. * calendar/cal-menu.el (calendar-mouse-sunrise/sunset) (calendar-mouse-insert-diary-entry, calendar-mouse-set-mark): Delete. (cal-menu-context-mouse-menu): Use calendar-set-mark, diary-insert-entry, and calendar-sunrise-sunset instead. * vc.el (vc-deduce-fileset): Add arg `only-files'. (vc-next-action): Pass the new arg. (vc-register): Don't use `only-files'. Don't set `backup-inhibited' in the current buffer. 2008-06-17 Miles Bader * mouse.el (mouse-appearance-menu): Use buffer-face-mode. * face-remap.el (buffer-face-mode-face) (buffer-face-mode-remapping): New variables. (buffer-face-mode, buffer-face-set, buffer-face-toggle) (buffer-face-mode-invoke): New functions. (variable-pitch-mode-remapping): Variable removed. (variable-pitch-mode): Rewrite as an interface to `buffer-face-mode'. * face-remap.el (internal-lisp-face-attributes): New variable. (face-attrs-more-relative-p, face-remap-order): New functions. (face-remap-add-relative): Use `face-remap-order'. 2008-06-17 Glenn Morris * mouse.el (x-select-font): Declare. * calendar/calendar.el (calendar-move-hook): Add calendar-update-mode-line as an option. (calendar-date-echo-text): New user option. (calendar-generate-month): Set `day'. Use calendar-date-echo-text. (calendar-insert-indented): Simplify newline insertion. (calendar-describe-mode): Remove unused function. (calendar-mode-line-entry): New function. (calendar-mode-line-format): Doc fix. Use calendar-mode-line-entry. Mark as risky. (calendar-mouse-other-month): Remove function. (calendar-other-month): Handle mouse events. (calendar-goto-info-node): Call fit-window-to-buffer. (calendar-mode): Use define-derived-mode. Doc fix. (calendar-update-mode-line): Tweak whitespace. 2008-06-16 Stefan Monnier * vc-dispatcher.el (vc-dir-child-files): Use vc-string-prefix-p. (vc-dir-marked-only-files): vc-string-prefix-p. 2008-06-16 Nick Roberts * progmodes/gdb-ui.el (gdb-memory-set-address) (gdb-memory-set-repeat-count): Allow keyboard bindings. (gdb-memory-mode-map): Bind above functions respectively to 'S' and 'N'. 2008-06-16 Derek Upham (tiny change) * nxml/nxml-mode.el (nxml-mode): Use run-mode-hooks. 2008-06-16 Juanma Barranquero * log-view.el (vc-diff-internal): Declare for compiler. * vc-bzr.el (log-view-per-file-logs): * vc-svn.el (log-view-per-file-logs): Pacify byte compiler. 2008-06-15 Chong Yidong * mouse.el (mouse-appearance-menu-map): New var. (mouse-appearance-menu): New function. Bind it to S-down-mouse-1. 2008-06-15 Juri Linkov * info.el (Info-toc): Call Info-toc-nodes instead of Info-build-toc. (Info-toc, Info-insert-toc): Increment nth's index to add PARENT as the second element. (Info-build-toc): Add PARENT element extracted from the Up pointer. Don't print progress messages. (Info-toc-nodes): New variable and function. (Info-index-nodes): Optimize non-string file name case. (Info-breadcrumbs-depth): Increment the default value from 3 to 4. (Info-insert-breadcrumbs): Use the cached document structure instead of visiting all ancestor nodes. Remove the initial `>'. 2008-06-15 Dan Nicolaescu * log-view.el (log-view-diff-changeset): New function. (log-view-mode-map, log-view-mode-menu): Bind it. (log-view-per-file-logs, log-view-vc-fileset) (log-view-vc-backend): New variables. (log-view-find-revision, log-view-modify-change-comment) (log-view-annotate-version): Throw an error if the log is for more than one file and we can't find the current file. Get the current file from log-view-vc-fileset if necessary. (log-view-diff): Get the current file from log-view-vc-fileset if necessary. * vc.el (vc-print-log): Set log-view-vc-fileset and log-view-vc-backend. * vc-hg.el (vc-hg-log-view-mode): Call the log method only once. (vc-hg-log-view-mode): Declare for compiler. (vc-hg-log-view-mode): Set log-view-per-file-logs and log-view-file-re. (vc-hg-diff): If no file is passed, use default-directory for cwd. * vc-bzr.el (vc-bzr-log-view-mode): Set log-view-per-file-logs. * vc-svn.el (vc-svn-log-view-mode): New derived mode. 2008-06-15 Michael Albinus * net/tramp.el (tramp-handle-start-file-process): Clear modification time of the connection buffer. (tramp-sh-file-name-handler): Reset `tramp-locked' in case of error. (tramp-open-connection-setup-interactive-shell): Flush cache, and restart `tramp-maybe-open-connection' when the remote system has been changed. Throw 'uname-changed event. (tramp-maybe-open-connection): Catch it. * net/tramp-cmds.el (tramp-cleanup-all-connections): Reset `tramp-locked'. 2008-06-15 Ulf Jasper * net/newst-treeview.el (newsticker--treeview-list-update) (newsticker--treeview-item-update) (newsticker--treeview-tree-update) (newsticker-treeview-jump, newsticker-group-add-group) (newsticker-group-move-feed, newsticker-group-delete-group): Remove window dedication. (newsticker--group-manage-orphan-feeds): Handle ill-valued newsticker-groups. (newsticker--treeview-tree-expand): Don't manage orphan feeds here. 2008-06-15 Andreas Schwab * vc-cvs.el (vc-cvs-status-extra-headers): Don't match newline when parsing CVS/Repository. * wdired.el (wdired-search-and-rename): Fix undocumented change. 2008-06-15 Ulf Jasper * net/newst-plainview.el (newsticker-faces, newsticker-feed-face) (newsticker-extra-face, newsticker-enclosure-face): Moved to net/newst-reader.el. * net/newst-reader.el (newsticker-faces, newsticker-feed-face) (newsticker-extra-face, newsticker-enclosure-face): Moved from net/newst-reader.el. 2008-06-15 Stefan Monnier * international/encoded-kb.el (encoded-kbd-self-insert-utf-8): Catch and recover from case when the bytes we thought we were reading turn out to be something else entirely, such as latin-1 chars from quail. See bug#396. 2008-06-15 Dan Nicolaescu * vc.el (vc-deduce-fileset): Check if the buffer has a file. (vc-register): Call the backend function only once, instead of once for each file. (vc-next-action): Update call to vc-register. (vc-dir-register): Remove function. (vc-dir): Bind vc-register instead of vc-dir-register. 2008-06-14 Glenn Morris * Makefile.in (ELCFILES): Add net/newst-*.el. 2008-06-14 Stefan Monnier * wdired.el (wdired-do-renames): New function. (wdired-finish-edit): Use it to. (wdired-preprocess-files): Don't hardcode (point-min) == 1. 2008-06-14 Stefan Monnier * info.el (Info-insert-breadcrumbs): Don't break in apropos and toc. 2008-06-14 Martin Rudalics * window.el (window--even-window-heights): Even window heights only if the selected window is higher than WINDOW. Reported by Stephen Berman . 2008-06-14 Stefan Monnier * info.el (Info-insert-breadcrumbs): Be careful to preserve history. 2008-06-13 Stefan Monnier * term/linux.el (terminal-init-linux): Load t-mouse. 2008-06-13 Stefan Monnier Drew Adams * info.el (Info-breadcrumbs-depth): New var. (Info-insert-breadcrumbs): New function. (Info-fontify-node): Use it. (Info-mode-map): Move initialization into declaration. 2008-06-13 Ulf Jasper Rename net/newsticker-*.el to net/newst-*.el. * net/newst-backend.el: Rename from net/newsticker-backend.el. * net/newst-plainview.el: Rename from net/newsticker-plainview.el. * net/newst-reader.el: Rename from net/newsticker-reader.el. * net/newst-ticker.el: Rename from net/newsticker-ticker.el. * net/newst-treeview.el: Rename from net/newsticker-treeview.el. * net/newsticker-backend.el: Rename to net/newst-backend.el. * net/newsticker-plainview.el: Rename to net/newst-plainview.el. * net/newsticker-reader.el: Rename to net/newst-reader.el. * net/newsticker-ticker.el: Rename to net/newst-ticker.el. * net/newsticker-treeview.el: Rename to net/newst-treeview.el. 2008-06-13 Stefan Monnier * progmodes/compile.el (compilation-start): Don't disable undo in comint buffer. Don't override the comint-filter with our own. (compilation-filter): Change point's insertion-type. * comint.el (comint-output-filter): Use copy-marker. 2008-06-13 David Reitter * textmodes/flyspell.el (mail-mode-flyspell-verify): Check message-signature-separator exists before using it. 2008-06-13 Dan Nicolaescu * vc.el (vc-delete-file): Bind default-directory before calling the backend. (vc-annotate-show-diff-revision-at-line): Move most of the code to ... (vc-annotate-show-diff-revision-at-line-internal): ... here. New function. (vc-annotate-show-changeset-diff-revision-at-line): New function. (vc-annotate-mode-menu): Bind it. 2008-06-13 Jason Rumney * term/w32-win.el (mouse-set-font): Remove overridden function. (w32-select-font): Declare as obsolete alias for x-select-font. 2008-06-13 Daniel Engeler These changes add serial port access. * term.el (term-update-mode-line): Modify. (serial-port-is-file-p, serial-nice-speed-history) (serial-no-speed, serial-mode-line-speed-menu) (serial-mode-line-config-menu): New variables and constants. (serial-name-history, serial-speed-history) (serial-supported-or-barf, serial-read-name, serial-read-speed) (serial-term, serial-speed, serial-mode-line-speed-menu-1) (serial-mode-line-speed-menu, serial-update-speed-menu) (serial-mode-line-config-menu-1, serial-mode-line-config-menu) (serial-update-config-menu): New functions. 2008-06-13 Glenn Morris * menu-bar.el (menu-set-font): Use fboundp rather than functionp. * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded): Doc fix. 2008-06-13 Kenichi Handa * cus-face.el (custom-face-attributes): Add :foundry. * faces.el (set-face-attribute): Parse "FOUNDRY-FAMILY" here. (face-x-resources): Add :foundry. (face-valid-attribute-values): Likewise. (face-attribute-name-alist): Likewise. (describe-face): Likewise. 2008-06-12 Stefan Monnier * emacs-lisp/map-ynp.el (map-y-or-n-p): Accept non-char events. 2008-06-12 Chong Yidong * longlines.el (longlines-search-forward, longlines-search-backward) (longlines-re-search-forward): Use a smarter search-spaces-regexp. 2008-06-12 Sam Steingold * vc.el (vc-rename-file): DTRT when the destination is a directory name and the source is a file. 2008-06-12 Chong Yidong * menu-bar.el (menu-set-font): Rename x-font-dialog to x-select-font. 2008-06-12 Glenn Morris * progmodes/f90.el (f90-beginning-of-subprogram) (f90-end-of-subprogram): Only give a message when interactive. * term/mac-win.el (x-toolkit-scroll-bars): Check bound. * progmodes/cperl-mode.el (cperl-info-on-command): Use display-pixel-height rather than x-display-pixel-height. * mail/rmailedit.el (rmail-cease-edit): * vc-dispatcher.el (vc-dir-mode): Check tool-bar-mode is bound. * emulation/edt.el (edt-xserver): * emulation/edt-mapper.el (edt-xserver): Use replace-regexp-in-string. * emulation/edt-mapper.el: Drop test for Emacs < 19. * mwheel.el (mouse-wheel-follow-mouse, mwheel-event-window): Evaluate definitions when compiling. Reverse tests. * dframe.el (dframe-reposition-frame-emacs): Reorder test, and use unless. * menu-bar.el (w32-menu-bar-open): Declare for compiler. * textmodes/artist.el (x-pointer-shape): * term/x-win.el (x-parse-geometry, x-resource-name, accelerate-menu) (x-open-connection, x-server-max-request-size, x-get-resource): * term/w32console.el (x-setup-function-keys): * term/w32-win.el (x-parse-geometry, x-resource-name) (generate-fontset-menu, image-library-alist, x-open-connection) (setup-default-fontset, set-fontset-font, setup-default-fontset) (create-fontset-from-fontset-spec, create-fontset-from-x-resource) (x-get-resource): * term/mac-win.el (x-parse-geometry, x-resource-name) (x-get-selection-internal, tool-bar-mode, set-fontset-font) (new-fontset, x-display-list, x-open-connection, x-get-resource): * progmodes/gud.el (tooltip-last-mouse-motion-event, tooltip-hide) (tooltip-start-delayed-tip, tooltip-use-echo-area, tooltip-show) (tooltip-strip-prompt, tooltip-expr-to-print, tooltip-event-buffer): * progmodes/gdb-ui.el (tooltip-show, tooltip-use-echo-area) (tooltip-identifier-from-point, define-fringe-bitmap): * play/gamegrid.el (image-size): * play/bubbles.el (image-size): * mail/emacsbug.el (x-server-vendor, x-server-version): * international/mule-util.el (internal-char-font): * international/mule-diag.el (font-info, query-fontset, fontset-info) (fontset-alias-alist, fontset-list, fontset-plain-name): * international/mule-cmds.el (x-server-vendor, x-server-version): * international/fontset.el (font-encoding-charset-alist) (otf-script-alist, new-fontset, set-fontset-font) (x-pixel-size-width-font-regexp, vertical-centering-font-regexp) (fontset-list, query-fontset, x-get-resource): * emulation/edt.el (x-server-vendor): * emulation/edt-mapper.el (x-server-vendor): * emacs-lisp/map-ynp.el (x-popup-dialog): * emacs-lisp/lmenu.el (x-popup-dialog): * x-dnd.el (x-window-property, x-change-window-property) (x-get-selection-internal): * woman.el (x-list-fonts): * w32-fns.el (x-server-version): * tooltip.el (x-show-tip, x-hide-tip): * tool-bar.el (image-mask-p): * thumbs.el (image-size): * term.el (overflow-newline-into-fringe): * subr.el (scroll-bar-scale): * startup.el (x-get-resource, tool-bar-mode, image-size): * select.el (x-get-selection-internal, x-own-selection-internal) (x-disown-selection-internal): * mouse.el (generate-fontset-menu): * mouse-sel.el (x-select-text, x-cut-buffer-or-selection-value): * image.el (image-library-alist): * image-mode.el (image-size, image-refresh): * image-dired.el (clear-image-cache): * gs.el (x-display-mm-width, x-display-pixel-width) (x-display-mm-height, x-display-pixel-height) (x-change-window-property, x-display-grayscale-p, x-window-property): * frame.el (tool-bar-mode, x-display-name, x-close-connection) (x-focus-frame, x-list-fonts, x-display-screens) (x-display-pixel-height, x-display-pixel-width, x-display-mm-height) (x-display-mm-width, x-display-backing-store, x-display-save-under) (x-display-planes, x-display-color-cells, x-display-visual-class): * faces.el (internal-face-x-get-resource) (internal-set-lisp-face-attribute-from-resource, x-bitmap-file-path) (fontset-list, x-list-fonts, xw-color-defined-p, xw-color-values) (xw-display-color-p, x-display-grayscale-p, x-get-resource) (x-parse-geometry, x-create-frame, x-setup-function-keys) (tool-bar-setup): * doc-view.el (clear-image-cache, image-size, tooltip-show): * dired.el (dnd-get-local-file-name, dnd-get-local-file-uri): * dframe.el (x-display-pixel-width, x-display-pixel-height): * descr-text.el (internal-char-font): Define for compiler, for builds without X. 2008-06-11 Stefan Monnier * vc-rcs.el (vc-rcs-state-heuristic): Don't assume the file exists. 2008-06-11 Glenn Morris * progmodes/fortran.el (fortran-end-of-subprogram): Check for a match before trying to move there. (fortran-calculate-indent): When fortran-check-all-num-for-matching-do is non-nil, indent most terminating statements like loop body. * calendar/diary-lib.el (diary-list-entries-2): Accept optional Gregorian date, and add it, not the local date, to diary-entries-list. (diary-list-entries-1): Pass Gregorian date to diary-list-entries-2. 2008-06-11 Stefan Monnier * progmodes/compile.el (compilation-filter): Fix up last change. * term/linux.el (terminal-init-linux): Use gpm-mouse-enable. * t-mouse.el (gpm-mouse-enable, gpm-mouse-disable): New functions. (gpm-mouse-mode): Make it into a proper global minor mode. * files.el (save-some-buffers-action-alist): Only use recursive-edit if the user enabled recursive-minibuffers. * emacs-lisp/map-ynp.el (map-y-or-n-p): Add support for scroll-other-window. 2008-06-11 Jason Rumney * term/w32-win.el (w32-menu-bar-open): Rename from menu-bar-open. Use tmm-menubar if menu is disabled in this frame. * menu-bar.el (menu-bar-open): Determine how to open menu bar from frame type, per documentation. Add w32 case. 2008-06-10 Stefan Monnier * minibuffer.el (completion--merge-suffix): New function. (completion-basic-try-completion): Use it. (completion-pcm--find-all-completions): Add argument `filter'. (completion-pcm--filename-try-filter, completion-pcm--merge-try): New functions. (completion-pcm-try-completion): Use them. * xt-mouse.el (turn-on-xterm-mouse-tracking) (turn-off-xterm-mouse-tracking): Use terminal-list. * cus-start.el (underline-minimum-offset): Rename from x-underline-minimum-display-offset. 2008-06-10 David De La Harpe Golden (tiny change) * cus-start.el (x-underline-minimum-display-offset): Give it a type. 2008-06-10 Chong Yidong * mouse.el (mouse-select-font): New function. * faces.el (face-spec-recalc): When the face is set using Customize, avoid recalculating it twice. * menu-bar.el (menu-set-font): New function. Bind "Set Default Font" menu item to it. Apply selected font to all frames, and make it savable. (menu-bar-options-save): Save `default' font if changed. 2008-06-10 Stefan Monnier * ffap.el (ffap-string-at-point-mode-alist): Use alpha rather than lower. * dired.el (dired-insert-directory): Don't assume Unix-style dir names. * subr.el (momentary-string-display): Use an overlay. * progmodes/compile.el (compilation-mode): Set window-point-insertion-type. (compilation-filter): Don't use insert-before-markers any more. * emacs-lisp/trace.el (trace-make-advice): Set window-point-insertion-type in the trace buffer. * startup.el (normal-top-level): Set window-point-insertion-type in *Messages*. * net/telnet.el (telnet-mode): Set window-point-insertion-type. (telnet-filter): Don't use insert-before-markers any more. * comint.el (comint-mode): Set window-point-insertion-type. (comint-output-filter): Don't use insert-before-markers any more. * button.el (make-text-button): Allow `start' to be a string. 2008-06-10 Juanma Barranquero * emacs-lisp/autoload.el (autoload-rubric): Fix coding cookie not to force Unix EOL. 2008-06-10 Martin Rudalics * window.el (window--splittable-p, window--try-to-split-window): Don't use with-selected-window to avoid messing up get-lru-window. Reported by David Hansen . 2008-06-10 Glenn Morris * subr.el (locate-library): Doc fix. * net/newsticker-treeview.el (w3m-toggle-inline-images): Declare. (newsticker-treeview-tool-bar-map, newsticker-treeview-mode): Check tool-bar-map is bound, for non-X builds. * net/newsticker-reader.el (newsticker--next-item-image) (newsticker--previous-item-image, newsticker--previous-feed-image) (newsticker--next-feed-image, newsticker--mark-read-image) (ewsticker--mark-immortal-image, newsticker--narrow-image) (newsticker--get-all-image, newsticker--update-image) (newsticker--browse-image): Check xpm images are available. (newsticker--mark-read-image, newsticker--mark-immortal-image) (newsticker--narrow-image, newsticker--get-all-image): Doc fix. * net/newsticker-plainview.el (tool-bar-map): Don't declare. (newsticker--plainview-tool-bar-map, newsticker-mode): Check tool-bar-map is bound, for non-X builds. (w3m-toggle-inline-image): Declare. * net/newsticker-backend.el (tool-bar-map): Don't declare. * emacs-lisp/autoload.el (autoload-rubric): Add coding cookie. * finder.el (finder-font-lock-keywords): Handle ``quotes''. (finder-compile-keywords): Move let to where needed. (finder-mouse-face-on-line): Go back one more line if needed. (finder-list-matches): Use cadr. (finder-goto-xref): New function. (finder-commentary): Add buttons to jump to foo.el libraries. 2008-06-10 Stefan Monnier * apropos.el (apropos-function, apropos-macro, apropos-command) (apropos-variable, apropos-face, apropos-group, apropos-widget) (apropos-plist): Add apropos-short-label property. (apropos-multi-type): New variables. (apropos-command, apropos-value): Set it. (apropos-compact-layout): New custom. (apropos-print, apropos-print-doc): Use it. (apropos-print): Truncate lines. 2008-06-09 Kenichi Handa * international/fontset.el (font-encoding-alist): Add an entry for "ascii-0". 2008-06-09 Jihyun Cho * language/hanja-util.el (hanja-init-load): Show the message only when loading a table. 2008-06-08 Ulf Jasper * net/newsticker-treeview.el (newsticker-treeview): * net/newsticker-plainview.el (newsticker-plainview): Add autoload cookie. 2008-06-08 Ulf Jasper * net/newsticker.el: Split up into newsticker-backend, -ticker, -reader, -plainview, and -treeview. (newsticker-version): Change to 1.99. * net/newsticker-backend.el: New. Move backend functionality from newsticker.el to newsticker-backend.el. (newsticker--download-logos): New. (newsticker--sentinel-callback): New. (newsticker--set-customvar): Remove. Split up into specific functions related to retrieval, ticker, buffer, and display. (newsticker--set-customvar-retrieval): New. Extracted from `newsticker--set-customvar'. (newsticker-retrieval): New. Renamed from `newsticker-feed'. (newsticker-url-list-defaults): Use `newsticker--set-customvar-retrieval' for :set. Change :group. (newsticker-url-list): Doc changed. URL can be a function. Use `newsticker--set-customvar-retrieval' for :set. Change :group. (newsticker-retrieval-method): New. (newsticker-wget-name, newsticker-wget-arguments): Change :group. (newsticker-retrieval-interval): Use `newsticker--set-customvar-retrieval' for :set. Change :group. (newsticker-desc-comp-max): Change :group. (newsticker--cache): Doc changed. (newsticker--guid-to-string): New. (newsticker--guid): Use `newsticker--guid-to-string'. (newsticker--real-feed-name): New. (newsticker--start-feed): New. Extracted from `newsticker-start'. (newsticker-start): Use `insert-file-contents' for reading cache. Use `newsticker--start-feed'. (newsticker--stop-feed): New. Extracted from `newsticker-stop'. (newsticker-stop): Check whether `newsticker-stop-ticker' is fbound. Use `newsticker--stop-feed'. (newsticker-save-item): New. (newsticker--get-news-by-funcall): New. (newsticker-get-news): Handle new retrieval methods. (newsticker--sentinel): Use `newsticker--sentinel-work'. (newsticker--sentinel-work): New. Extracted from `newsticker--sentinel'. Use `newsticker--download-logos', `newsticker--sentinel-callback'. (newsticker--parse-atom-0.3): Use `newsticker--guid-to-string'. (newsticker--parse-atom-1.0): Fix link determination. (newsticker--parse-rss-0.91): Fix time determination. (newsticker--parse-rss-0.92): Fix time determination. (newsticker--parse-rss-2.0): Use `newsticker--guid-to-string'. (newsticker--parse-generic-feed): New arg order in `newsticker--cache-add'. (newsticker--parse-generic-items): Fix for multiple items. New arg order in `newsticker--cache-add'. (newsticker--forget-preformatted): Check whether `newsticker--buffer-set-uptodate' is fbound. (newsticker--decode-iso8601-date): Handle fractions of seconds. (newsticker--decode-rfc822-date): Partial timezone handling. (newsticker--cache-contains): Fix guid problem. (newsticker--cache-add): Swap args AGE and TIME. Fix guid problem. (newsticker--cache-save): New. (newsticker--cache-update): Use temp buffer. (newsticker--stat-num-items): Allow multiple AGE args. (newsticker--stat-num-items-total): New. (newsticker--opml-import-outlines): New. (newsticker-opml-import): Use `newsticker--opml-import-outlines'. (newsticker--do-run-auto-mark-filter): Doc changed. (newsticker-retrieve-random-message): New. * net/newsticker-ticker.el: New. Move ticker functionality from net/newsticker.el to net/newsticker-ticker.el. (newsticker--ticker-timer): Rename `newsticker--display-timer' to `newsticker--ticker-timer'. (newsticker-ticker-running-p): Rename `newsticker--display-timer' to `newsticker--ticker-timer'. (newsticker--set-customvar-ticker): New. Extracted from `newsticker--set-customvar'. (newsticker-ticker-interval): Rename `newsticker-display-interval' to `newsticker-ticker-interval'. Use `newsticker--set-customvar-ticker for :set. Change :group. (newsticker-scroll-smoothly): Doc changed. Change :group. (newsticker-hide-immortal-items-in-echo-area) (newsticker-hide-old-items-in-echo-area) (newsticker-hide-obsolete-items-in-echo-area): Use `newsticker--set-customvar-ticker for :set. Change :group. (newsticker-start-ticker): Rename `newsticker--display-timer' to `newsticker--ticker-timer'. Rename `newsticker-display-interval' to `newsticker-ticker-interval'. (newsticker-stop-ticker): Rename `newsticker--display-timer' to `newsticker--ticker-timer'. * net/newsticker-reader.el: New. Move reader functionality from net/newsticker.el to net/newsticker-reader.el. (newsticker--set-customvar-formatting): New. Extracted from `newsticker--set-customvar'. (newsticker-reader, newsticker-frontend): New. (newsticker-enable-logo-manipulations): Change :group. (newsticker-justification): Use `newsticker--set-customvar-formatting' for :set. Change :group. (newsticker-use-full-width): Use `newsticker--set-customvar-formatting' for :set. Change :group. (newsticker-html-renderer): Doc changed. Use `newsticker--set-customvar-formatting' for :set. Change :group. (newsticker-date-format): Use `newsticker--set-customvar-formatting' for :set. Change :group. (newsticker--insert-enclosure): Rename `newsticker--buffer-insert-enclosure' to `newsticker--insert-enclosure'. Add keymap arg. (newsticker--print-extra-elements): Rename `newsticker--buffer-print-extra-elements' to `newsticker--print-extra-elements'. Add keymap arg. (newsticker--do-print-extra-element): Rename `newsticker--buffer-do-print-extra-element' to `newsticker--do-print-extra-element'. Add keymap arg. (newsticker-show-news): Use `newsticker-frontend'. * net/newsticker-plainview.el: New. Move plainview functionality from net/newsticker.el to net/newsticker-reader.el. (newsticker-plainview): New. (newsticker--set-customvar-sorting): New. Extracted from `newsticker--set-customvar'. (newsticker-sort-method): Use `newsticker--set-customvar-sorting for :set. Changed :group. (newsticker-heading-format, newsticker-item-format) (newsticker-desc-format, newsticker-statistics-format): Use `newsticker--set-customvar-formatting for :set. Change :group. (newsticker-faces): Change :group. (newsticker-default-face): Enable again. (newsticker-hide-old-items-in-newsticker-buffer) (newsticker-show-descriptions-of-new-items): Use `newsticker--set-customvar-buffer' for :set. Change :group. (newsticker-show-all-news-elements): Change :group. (newsticker-plainview-hooks): New. (newsticker-select-item-hook, newsticker-select-feed-hook) (newsticker-buffer-change-hook, newsticker-narrow-hook): Change :group. (newsticker--plainview-tool-bar-map): Rename `newsticker--tool-bar-map' to `newsticker--plainview-tool-bar-map'. (newsticker--url-keymap): Add mouse-1 binding. (newsticker-plainview): New. (newsticker-mark-all-items-of-feed-as-read): Change doc. (newsticker--buffer-do-insert-text): Use renamed newsticker--[buffer-]insert-enclosure and newsticker--[buffer-]print-extra-elements. (newsticker--buffer-set-faces): Use newsticker-default-face. * net/newsticker-treeview.el: New. 2008-06-08 Andreas Schwab * vc-dispatcher.el (vc-dir-children-marked-p): Fix child check. * vc-cvs.el (vc-cvs-dir-status): Pass -f to cvs. * vc-dispatcher.el (vc-dir-move-to-goal-column): Don't move in an empty line. * minibuffer.el (minibuffer-message): Bind inhibit-quit around sit-for. 2008-06-08 Martin Rudalics * window.el (split-height-threshold, split-width-threshold): Add choice nil. (split-window-preferred-function): Allow either nil or a function. (window--splittable-p, window--try-to-split-window): Handle changed option values. (window--frame-usable-p): Handle nil argument. (display-buffer): Call get-lru-window when pop-up-windows is nil and window can't be split. 2008-06-08 Michael Albinus * uniquify.el (uniquify-get-proposed-name): Handle remote files. * net/tramp.el (top): Quote feature names. Remove `tramp-rfn-eshadow-setup-minibuffer' from `rfn-eshadow-setup-minibuffer-hook' when unloading. (tramp-read-passwd): There is only one call to `auth-source-user-or-password' needed. Pacify byte compiler. 2008-06-08 Andreas Schwab * window.el (display-buffer): Use lru window if current window cannot be split. 2008-06-08 Stefan Monnier * apropos.el (apropos-library): New command and new button. (apropos-library-button): New function. * apropos.el: Remove spurious * in docstrings. (apropos-label-face): Use variable pitch. (apropos-print): Use dolist and with-current-buffer. (apropos-print-doc): Use when. * window.el (special-display-p, display-buffer): Fix up C->Elisp transcription error. 2008-06-08 Stefan Monnier * emacs-lisp/bytecomp.el (byte-compile-current-group): New var. (byte-compile-file): Initialize it. (byte-compile-nogroup-warn): Keep track of the current group. 2008-06-08 Glenn Morris * Makefile.in (compile, compile-always, bootstrap-prepare): Explicitly pass EMACS to sub-makes that use it, for non-GNU makes. 2008-06-07 Jihyun Cho * language/hanja-util.el (hanja-init-load): Use a char-table for hanja-table. (hangul-to-hanja-char): Adjust for the above change. 2008-06-07 Glenn Morris * finder.el (finder-compile-keywords): Use lm-keywords-list rather than lm-keywords. * mail/sendmail.el (mail-interactive): Add :version. * term/linux.el (terminal-init-linux): Use gpm-mouse-mode rather than obsolete alias. * ediff-merg.el, strokes.el, wid-edit.el, emacs-lisp/lisp-mnt.el: * emulation/edt-mapper.el, eshell/em-dirs.el, eshell/em-glob.el: * eshell/em-ls.el, eshell/em-unix.el, eshell/esh-cmd.el: * eshell/esh-io.el, eshell/esh-opt.el, eshell/esh-test.el: * eshell/esh-util.el, international/mule-cmds.el: * international/mule-diag.el, mail/smtpmail.el, net/netrc.el: * net/tls.el, progmodes/etags.el, textmodes/page-ext.el: Remove unnecessary eval-when-compiles and eval-and-compiles. * Makefile.in (bootstrap-clean): Run autogen-clean. (maintainer-clean): No need to run autogen-clean now it is included in bootstrap-clean. 2008-06-06 Miles Bader * Makefile.in (ELCFILES): Add gnus/nndir.elc. 2008-06-06 Chong Yidong * menu-bar.el (menu-bar-options-menu): Add Menu entry for longlines mode. * replace.el (replace-search-function) (replace-re-search-function): New vars. (perform-replace): Use them. * longlines.el (longlines-re-search-forward): New function. (longlines-mode): Bind replace-search-function and replace-re-search-function, to ensure that replacement commands treat newlines as spaces. (longlines-show-effect): Default to a pilcrow sign. 2008-06-06 Stefan Monnier * help.el (function-called-at-point): * help-fns.el (variable-at-point): Use emacs-lisp-mode-syntax-table even when calling find-tag-default. 2008-06-06 Daniel Colascione * nxml/nxml-mode.el (nxml-syntax-highlight-flag) (nxml-fontify-chunk-size, nxml-clear-face, nxml-set-fontified) (nxml-clear-fontified, nxml-fontify, nxml-fontify1) (nxml-fontify-buffer, nxml-do-fontify): Remove obsolete variables and functions. (nxml-font-lock-keywords, nxml-set-face, nxml-mode) (nxml-degrade, nxml-after-change, nxml-after-change1) (nxml-extend-region, nxml-extend-after-change-region) (nxml-extend-after-change-region1, nxml-fontify-matcher) (nxml-toggle-char-ref-extra-display): Use font-lock, and font-lock-extend-region-functions in particular, to fontify nxml-mode buffers. (nxml-debug-region): New debugging helper function. * nxml/nxml-rap.el (nxml-clear-inside, nxml-set-inside) (nxml-scan-after-change, nxml-move-tag-backwards): Adapt for font-lock changes. * nxml/nxml-util.el (nxml-debug, nxml-debug-change) (nxml-debug-set-inside, nxml-debug-clear-inside): New debugging functions. (nxml-with-degradation-on-error): New helper macro. 2008-06-06 Martin Rudalics * window.el (display-buffer): Remove dead call to get-lru-window. 2008-06-06 Stefan Monnier * mail/sendmail.el (mail-interactive): Change default. 2008-06-05 John Paul Wallington * bindings.el (completion-ignored-extensions): Add .p64fsl, .d64fsl, and .dx64fsl. 2008-06-05 Stefan Monnier * ffap.el (ffap-prompter): Don't use the region. 2008-06-05 Sam Steingold * vc-cvs.el (vc-cvs-registered): Consider a directory with a CVS subdirectory to be registered. 2008-06-05 Martin Rudalics * window.el (display-buffer-function, special-display-p) (special-display-buffer-names, special-display-regexps) (special-display-function, same-window-p, same-window-buffer-names) (same-window-regexps, pop-up-frames, display-buffer-reuse-frames) (pop-up-frame-function, pop-up-windows, even-window-heights) (split-window-preferred-function, split-height-threshold) (window--display-buffer-1, display-buffer, pop-to-buffer): Move from window.c and buffer.c. (window--splittable-p, window--try-to-split-window) (window--frame-usable-p, window--display-buffer-2) (window--even-window-heights): New functions. (split-width-threshold): New option. (split-window-preferred-horizontally): Remove. * cus-start.el: Remove corresponding declarations. 2008-06-05 Sam Steingold * vc.el (vc-update): Use `save-some-buffers' instead of signaling an error on modified buffers. 2008-06-05 Stefan Monnier * progmodes/etags.el (tags-verify-table): Be careful to use and update tags-file-name and tags-table-list from the right buffer. (tags-table-check-computed-list, tags-table-extend-computed-list) (find-tag-noselect): Use with-current-buffer. * emacs-lisp/trace.el (trace-entry-message, trace-exit-message): Use print-circle. * minibuffer.el (minibuffer-local-must-match-filename-map): Declare obsolete alias for the old name. * abbrev.el (unexpand-abbrev): Better preserve markers. 2008-06-05 Glenn Morris * emacs-lisp/autoload.el (autoload-rubric): New function, extracted from autoload-ensure-default-file. (autoload-ensure-default-file): Use autoload-rubric. * cus-dep.el (generated-custom-dependencies-file): Doc fix. (custom-dependencies-no-scan-regexp): New variable. (custom-make-dependencies): Use with-temp-buffer and autoload-rubric. Don't scan files matching custom-dependencies-no-scan-regexp. Disable undo in the output buffer. Remove kept-new-versions wackiness. * finder.el (finder-headmark): Initialize and add doc string. (generated-finder-keywords-file): Doc fix. (finder-no-scan-regexp): New variable. (finder-compile-keywords): Use a single let binding. Disable undo in the output buffer. Use autoload-rubric. Use mapc rather than mapcar. Don't scan files matching finder-no-scan-regexp. Use with-temp-buffer. Use expand-file-name rather than concat. Use directory-files to do regexp matching. No need to require jka-compr. (finder-list-keywords): Remove un-needed set-buffer. Disable undo. (finder-list-matches): Disable undo. (finder-commentary): Use let rather than let*. Disable undo. (finder-current-item): Use zerop. (finder-mode): Use define-derived-mode. (finder-exit): Doc fix. Use dolist. * Makefile.in ($(lisp)/cus-load.el): Remove unnecessary rule. (custom-deps): Don't require $(lisp)/cus-load.el. (custom-deps, finder-data): Don't depend on autoloads. Should not be needed now, and doing so was causing make install to re-dump emacs post-bootstrap. (bootstrap-after): Don't run update-elclist, since modifying Makefile.in mid-build forces some things to be rebuilt. 2008-06-05 Miles Bader * face-remap.el (face-remap-add-relative): Renamed from `add-relative-face-remapping'. (face-remap-remove-relative): Renamed from `remove-relative-face-remapping'. (face-remap-reset-base): Renamed from `set-default-base-face-remapping'. (face-remap-set-base): Renamed from `set-base-face-remapping'. (text-scale-increase): Renamed from `increase-buffer-face-height'. (text-scale-decrease): Renamed from `decrease-buffer-face-height'. (text-scale-adjust): Renamed from `adjust-buffer-face-height'. * face-remap.el (variable-pitch-mode): Autoload. 2008-06-04 Sam Steingold * vc-hg.el (vc-hg-status-extra-header, vc-hg-status-extra-headers): Generate extra status headers for a Mercurial tree. 2008-06-04 John Paul Wallington * echistory.el (electric-history-map): Define within defvar. Add docstring. * font-lock.el (font-lock-turn-off-thing-lock) (font-lock-after-fontify-buffer, font-lock-after-unfontify-buffer): Use `bound-and-true-p'. (cpp-font-lock-keywords-source-directives, cpp-font-lock-keywords): Doc fixes. * international/ccl.el (define-ccl-program): Add `doc-string' declaration. 2008-06-04 Juanma Barranquero * face-remap.el (variable-pitch-mode): Reflow docstrings. (text-scale-mode, adjust-buffer-face-height): Fix typos in docstrings. 2008-06-04 Trent W. Buck (tiny change) * emacs-lisp/rx.el (rx): Doc fix. 2008-06-04 Markus Triska * image-mode.el (image-mode-map): Add doc-view-inspired bindings. 2008-06-04 Miles Bader * face-remap.el (adjust-buffer-face-height): New function. Add autoloaded keybindings in ctl-x-map. (increase-buffer-face-height, decrease-buffer-face-height): Simplify interactive spec to just "p". Remove autoloaded keybindings. 2008-06-03 Chong Yidong * simple.el (line-move-1): If we did not move as far as desired, ensure that point-left and point-entered hooks are called. 2008-06-03 Sam Steingold * vc-cvs.el (vc-cvs-status-extra-headers): Remove extraneous newlines. 2008-06-03 John Paul Wallington * progmodes/make-mode.el (makefile-cleanup-continuations) (makefile-warn-suspicious-lines, makefile-warn-continuations): Use `derived-mode-p'. 2008-06-03 Stefan Monnier * Makefile.in (update-elclist): Impose a fixed collation for sorting. (ELCFILES): Update. 2008-06-03 Miles Bader * face-remap.el: New file. * Makefile.in (ELCFILES): Add face-remap.elc. 2008-06-03 Stefan Monnier * progmodes/flymake.el (flymake-process-filter): Make sure the source buffer isn't dead. * obsolete/bg-mouse.el, obsolete/float.el, obsolete/hilit19.el, * obsolete/lselect.el, obsolete/mlsupport.el, obsolete/ooutline.el, * obsolete/profile.el, obsolete/rsz-mini.el, obsolete/uncompress.el, * obsolete/auto-show.el, obsolete/hscroll.el: Remove packages that were obsolete in Emacs-20, or that were obsolete in Emacs-21 and do not contain any more code. * vc-dispatcher.el (vc-dir-menu-map-filter): Don't fail if vc-client-mode is not set. * image-mode.el (image-mode-map): Suppress key map and bind `q'. * doc-view.el (doc-view-mode-map): Inherit from image-mode-map. * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords): Try to be yet a bit more clever at distinguishing / from /. 2008-06-03 Kenichi Handa * Makefile.in (ELCFILES): Add $(lisp)/language/hanja-util.elc. 2008-06-03 Jihyun Cho * language/hanja-util.el: New file. 2008-06-03 Glenn Morris * progmodes/f90.el (f90-typedef-matcher, f90-looking-at-type-like): Check that end-of-word follows "type". 2008-06-02 Daiki Ueno * epa-file.el (epa-file-write-region): Write the entire buffer content if START is nil. 2008-06-01 Thomas Morgan (tiny change) * select.el (x-get-selection): Fix typo. 2008-06-01 Juanma Barranquero * descr-text.el (describe-text-sexp): Use `string-match-p'. Simplify. (describe-char): Use `looking-at-p', `string-match-p' when possible. 2008-06-01 Stefan Monnier * tar-mode.el (tar-header-block-summarize): Ensure one space around user&group. 2008-05-31 John Paul Wallington * help-fns.el (describe-variable-custom-version-info): Handle dotted `package-version' info. 2008-05-31 Juanma Barranquero * icomplete.el (icomplete-get-keys): Doc fix. Use `when'. 2008-05-31 Dan Nicolaescu * vc-cvs.el (vc-cvs-after-dir-status): Support spaces in file names and improve support for unregistered files. 2008-05-31 Glenn Morris * Makefile.in (compile-last): Replace tr in `els' assignment with sed. Remove shell variable `elc'. Split tests to hopefully be more portable. Fix `sel' assignment. 2008-05-30 Juanma Barranquero * minibuffer.el (completion-table-dynamic): Doc fix. 2008-05-30 Stefan Monnier * vc-cvs.el (vc-cvs-state-heuristic, vc-cvs-parse-status): Try and return `unregistered' when applicable. * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): Don't encourage naming variables with "-flag". 2008-05-30 Glenn Morris * Makefile.in (update-elclist): Hide the warning when it does not apply, make it milder when it does. (autogen-clean): New target. (maintainer-clean): Use autogen-clean. * calendar/diary-lib.el (diary-display-function): New name for diary-display-hook. Keep old name as obsolete alias. Doc fix. Change custom type and version. (diary-list-entries-hook, diary-list-entries, diary-simple-display) (diary-fancy-display): Doc fixes. (diary-list-entries, diary-include-other-diary-files) (diary-mail-entries): Use diary-display-function rather than diary-display-hook. * calendar/appt.el (appt-check): Use diary-display-function rather than diary-display-hook. * calendar/cal-x.el (calendar-dedicate-diary): Update for diary-display-function replacing diary-display-hook. * org/org-agenda.el (org-get-entries-from-diary): Also set diary-display-function. * calendar/cal-html.el (cal-html-list-diary-entries): * calendar/cal-menu.el (calendar-mouse-view-diary-entries): * calendar/cal-tex.el (cal-tex-list-diary-entries): Use LIST-ONLY argument of diary-list-entries rather than setting diary-display-hook. 2008-05-30 Kenichi Handa * international/mule-conf.el (utf-8-with-signature): Renamed from utf-8-sig. (utf-8-auto): Adjusted for the above change. * international/mule-diag.el (describe-font): Don't check fontset here, and just call font-info. Get the default font by from the default face. 2008-05-29 Kenichi Handa * international/mule-conf.el (utf-8-sig, utf-8-auto): New coding systems. * international/mule.el (define-coding-system): Accept :bom for utf-8. 2008-05-29 Espen Wiborg (tiny change) * international/utf-7.el (utf-7-encode): Use the right escape char depending on imap/nonimap encoding. 2008-05-29 Stefan Monnier * minibuffer.el (completion-pcm-all-completions): Add the base-size. 2008-05-29 Juanma Barranquero * icomplete.el (icomplete-prospects-height): Add :group. 2008-05-29 Stefan Monnier * icomplete.el (icomplete-prospects-length): Make obsolete. (icomplete-prospects-height): New var. (icomplete-completions): Use it. 2008-05-29 David Kastrup * autoinsert.el (auto-insert): Add :link. 2008-05-29 Stefan Monnier * tar-mode.el (tar-header): New field `header-start'. (tar-header-block-tokenize): Set it when useful. Drop "GNUtar " magic value, which even GNU Tar doesn't know about. (tar-header-data-end): New function. (tar-summarize-buffer): Use it. (tar-next-line): Fix goal column for long usernames. (tar-expunge-internal): Use header-start. (tar-rename-entry): Handle ustar-style long names. (tar-alter-one-field): Add optional `descriptor' argument. (tar-subfile-save-buffer): Use it. 2008-05-28 Stefan Monnier * tar-mode.el (tar-header): New field `header-start'. (tar-header-block-tokenize): Set header-start for longlink entries. (tar-expunge-internal): Use header-start to expunge longlink entries. * files.el (hack-local-variables): Don't signal an error if the local variable section is not properly terminated. * emacs-lisp/easymenu.el (easy-menu-convert-item) (easy-menu-convert-item-1): Move the duplicate-generation outside of the caching so it also works for identical entries. * tar-mode.el (tar-summarize-buffer): Fix reporter initialization. (tar-mode): Use write-region-annotate-functions rather than write-contents-functions. (tar-extract): Remove unused var `pos'. (tar-subfile-save-buffer): Remove unused var `following-descs'. (tar-mode-write-file): Remove. (tar-write-region-annotate): New function. * progmodes/flymake.el (flymake-save-buffer-in-file): * shadowfile.el (shadow-copy-file): * arc-mode.el (archive-*-write-file-member): * files.el (diff-buffer-with-file): * subr.el (with-temp-file): Pass nil to write-region. * jka-compr.el (jka-compr-write-region): Preserve `start's nullness. * doc-view.el (doc-view-mode-map): Bind `q' to quit-window, as is the custom. * files.el (basic-save-buffer-2): Pass nil rather than (point-min) to write-region. 2008-05-28 Glenn Morris * Makefile.in (update-elclist): Work around non-portability of "\" in various implementations of echo. 2008-05-27 Stefan Monnier * international/mule-diag.el (describe-current-coding-system): Don't assume selection-coding-system is always defined. * tar-mode.el: Use defstruct and markers. (tar-setf): Remove. (tar-header): Use defstruct. Add `data-start' field. (make-tar-desc, tar-desc-tokens): Remove, folded into tar-header. (tar-desc-data-start): Remove (now called tar-header-data-start). (tar-roundup-512): New fun. (tar-header-block-tokenize): Receive a buffer position rather than a string. Handle @longLink here, be more careful about it. Create a marker for data-start. (tar-summarize-buffer): Don't handle @LongLink here any more. (tar-expunge-internal, tar-subfile-save-buffer): Don't update data-start on the following entries any more. (tar-chown-entry, tar-chgrp-entry): Use read-number. * tar-mode.el: Use buffer-swap-text to separate summary and raw data. (tar-header-offset): Remove. (tar-parse-info, tar-header-offset, tar-file-name-coding-system): Not permanent any more. (tar-data-buffer): New var. (tar-data-swapped-p, tar-change-major-mode-hook) (tar-mode-kill-buffer-hook): New funs. (tar-untar-buffer, tar-summarize-buffer, tar-mode, tar-mode-revert) (tar-extract, tar-copy, tar-expunge-internal, tar-expunge) (tar-clear-modification-flags, tar-alter-one-field) (tar-subfile-save-buffer, tar-pad-to-blocksize, tar-mode-write-file): Change accordingly. 2008-05-27 Dan Nicolaescu * vc-dispatcher.el (vc-directory-resynch-file): Rename to ... (vc-dir-resynch-file): ... this. Update callers. Use vc-string-prefix-p. Ignore directory args. (vc-string-prefix-p): CSE. (vc-resynch-buffer): Restore conditional. * vc-hooks.el (vc-after-save): Improve test. (vc-mode-line): Fix indentation. 2008-05-27 Chong Yidong * calendar/parse-time.el (parse-time-months) (parse-time-weekdays): Add long-form month and day names. 2008-05-27 Glenn Morris * Makefile.in (update-elclist): Make errors in final sed non-fatal. 2008-05-27 Stefan Monnier * vc-dispatcher.el (vc-string-prefix-p): New function. (vc-dir-parent-marked-p): Use it. 2008-05-27 Dan Nicolaescu * vc.el (Problems): Remove fixed issues. (vc-expand-dirs): Avoid returning directories. (vc-dir): Fix C-x v v binding. (vc-make-backend-object): Fix name. (vc-dir-show-fileentry): Fix docstring. (vc-dir-refresh): Use vc-dir-backend. Fix docstring. (vc-dir-refresh-files): Use vc-dir-backend. Fix docstring. Reset the state for directories. (vc-dir-headers): Align labels. (vc-default-status-printer): Do no call prettify-state-info. (vc-deduce-fileset): Replace implementation with one based on a working older version. (vc-next-action): Use the new form of vc-deduce-fileset. Fix dealing with unregistered files. * vc-dispatcher.el (vc-resynch-window): Fix mode-line updating. (vc-dir-menu-map): Fix menu title for the menu bar and the popup menu. (vc-dir-child-files): New function. (vc-dir-node-directory): New function. (vc-dir-update, vc-dir-parent-marked-p) (vc-dir-children-marked-p, vc-dir-mark-all-files) (vc-dir-marked-only-files, vc-dispatcher-selection-set): Use it. * vc-cvs.el (vc-cvs-status-extra-headers): Align labels. 2008-05-26 Stefan Monnier * diff-mode.el (diff-context-mid-hunk-header-re): New const. (diff-font-lock-keywords, diff-context->unified) (diff-reverse-direction, diff-fixup-modifs, diff-sanity-check-hunk) (diff-hunk-text, diff-find-source-location): Use it. (diff-post-command-hook): Let the user edit the hunk headers. 2008-05-26 Andreas Schwab * vc.el (vc-default-prettify-state-info): Fix formatting of an unknown state. * tar-mode.el (tar-summarize-buffer): Comment fix. 2008-05-26 Stefan Monnier * tar-mode.el (tar-summarize-buffer): Handle GNU Tar @LongLink format. 2008-05-26 Glenn Morris * calendar/cal-hebrew.el (diary-ordinal-suffix): Declare for compiler. 2008-05-25 John Paul Wallington * proced.el (proced-next-line, proced-previous-line): Avoid calling `next-line' and `previous-line' from Lisp code. 2008-05-25 Ed Reingold * calendar/cal-hebrew.el (diary-hebrew-yahrzeit): Use diary-ordinal-suffix. 2008-05-24 Juanma Barranquero * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-defs) (edebug-all-forms, edebug-eval-macro-args, edebug-save-windows) (edebug-save-displayed-buffer-points, edebug-initial-mode) (edebug-trace, edebug-test-coverage, edebug-continue-kbd-macro) (edebug-print-length, edebug-print-level, edebug-print-circle) (edebug-unwrap-results, edebug-on-error, edebug-on-quit) (edebug-global-break-condition, edebug-sit-for-seconds): Remove spurious * from defcustom docstrings. (edebug-unwrap*, edebug-signal, edebug-eval-display): Improve argument/docstring consistency. (edebug-test-coverage, edebug-gensym, edebug-read) (edebug-top-level-nonstop, edebug-eval-result-list) (edebug-eval-redisplay, edebug-trace): Fix typos in docstring. (edebug-eval-defun, edebug-eval-top-level-form, edebug) (edebug-display-freq-count): Reflow docstrings. (edebug-restore-status): Doc fix. 2008-05-24 Stefan Monnier * proced.el (proced-header-line): Use the :align-to 0 feature rather than computing the corresponding position manually. (proced-update): Don't hardcode point-min==1. 2008-05-24 Alan Mackenzie * progmodes/cc-mode.el (c-postprocess-file-styles): Throw an error if c-file-style is set to a non-string. (c-neutralize-CPP-line): Surround by `save-excursion'. (c-neutralize-syntax-in-CPP): Optimize for speed. 2008-05-24 Glenn Morris * Makefile.in (update-elclist): New target, to update ELCFILES. (bootstrap-after): Run update-elclist. 2008-05-24 Ulf Jasper * icalendar.el (icalendar-version): Increase to "0.19". (icalendar--date-style): New function. (icalendar--datetime-to-diary-date): Doc fix. Use icalendar--date-style. (icalendar--datestring-to-isodate): Doc fix. Handle iso date style. (icalendar--convert-yearly-to-ical) (icalendar--convert-recurring-to-diary): Handle iso date style, use icalendar-date-style. 2008-05-23 Dan Nicolaescu * vc.el (vc-delete-file): Make sure the buffer is deleted and vc-dir buffers are updated. 2008-05-23 Stefan Monnier * vc.el (vc-delete-file): Don't try to resynch the buffer. 2008-05-23 Paul Rivier * textmodes/reftex-vars.el (reftex-extra-bindings-prefix): New var. * textmodes/reftex.el (reftex-extra-bindings-map): New var. (reftex-extra-bindings): Use it. * progmodes/mixal-mode.el (mixal-mode-map): Move key-bindings away from the user-reserved keys. * progmodes/ada-mode.el (ada-mode-extra-map, ada-mode-extra-prefix): New vars. (ada-create-keymap): Use them. 2008-05-23 Stefan Monnier * emacs-lisp/regexp-opt.el (regexp-opt): Always return a properly-grouped regexp. 2008-05-23 Juanma Barranquero * progmodes/cap-words.el (capitalized-words-mode): Fix typos in docstring. 2008-05-23 Kenichi Handa * international/mule-conf.el: Don't define the charset `emacs' here, just put :docstring, :short-name, and :long-name. 2008-05-22 Kenichi Handa * international/mule-diag.el (font-show-log): Limit each listing to 20 items. 2008-05-23 Nick Roberts * progmodes/gdb-ui.el (gdb-enable-debug): New function. (gdb-annotation-rules): New entry for "thread-changed". (gdb-thread-changed): New function. 2008-05-23 Glenn Morris * Makefile.in (SOURCES): Remove, unused. (lisptagsfiles1, lisptagsfiles2): Use '*' rather than '[a-zA-Z]*'. (TAGS, TAGS-LISP): Use a single rule with multiple targets. Exclude more '*loaddefs' files. (compile-always): Simplify '.elc' deletion. 2008-05-23 Stefan Monnier * vc-bzr.el (vc-bzr-annotate-time): Reduce memory allocation. (vc-bzr-revision-completion-table): Handle `boundaries' argument. * minibuffer.el (completion-boundaries): Change calling convention, so `string' has the same semantics as in try-completion and all-completions. (completion-table-with-context, completion--embedded-envvar-table) (completion--file-name-table) (completion-pcm--find-all-completions): Adjust code accordingly. 2008-05-22 Chong Yidong * image-mode.el (image-mode-winprops): Add argument CLEANUP to prune image-mode-winprops-alist, preventing it from growing indefinitely. (image-mode-reapply-winprops): Use it. 2008-05-22 Teodor Zlatanov * net/netrc.el (netrc-machine): Always match if the port is not given. 2008-05-22 Stefan Monnier * minibuffer.el (completion-pcm--find-all-completions): Don't add pseudo-completions. * icomplete.el (icomplete-eoinput): Remove. (icomplete-overlay): New var to replace it. (icomplete-tidy): Rewrite. (icomplete-exhibit): Use an overlay. (icomplete-completions): Use completion-all-sorted-completions. Obey completion-ignore-case. * files.el (locate-dominating-file): Accept non-existing argument. (project-find-settings-file): Rewrite, using locate-dominating-file. 2008-05-22 Kenichi Handa * faces.el (font-weight-table, font-slant-table, font-width-table): Delete them. Don't call internal-set-font-style-table. * international/mule-diag.el (font-show-log): New function. * international/fontset.el (script-representative-chars): Add more chars for latin. Add data for symbol. (setup-default-fontset): Add entries for phonetic, armenian, and symbol. 2008-05-21 Stefan Monnier * minibuffer.el (completion-all-sorted-completions): New var. (completion--flush-all-sorted-completions) (completion-all-sorted-completions): New functions. (minibuffer-force-complete): New command. 2008-05-21 Glenn Morris * files.el (c-postprocess-file-styles): Declare for compiler. * Makefile.in: Allow for parallel byte-compiling. (ELCFILES): New variable. (.el.elc): Remove prerequisites from suffix rule. Print a message. (compile-first, compile-main, compile-last): New targets. (compile-always): Simplify - delete .elc files, then `make compile'. * Makefile.in (compile-calc): Use glob rather than find. ($(lisp)/progmodes/cc-mode.elc): Use $@. * eshell/esh-module.el: No need for cl when compiling. * eshell/eshell.el (eshell-defgroup): New alias. * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el: * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el: * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el: * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el: * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el: * eshell/em-xtra.el: Use eshell-defgroup rather than defgroup. Autoload the custom group. Set generated-autoload-file. * eshell/em-basic.el, eshell/esh-module.el: Require eshell, for eshell-defgroup. * eshell/esh-module.el (eshell-load-defgroups): Remove. Require esh-groups rather than loading it. 2008-05-21 Roland Winkler * proced.el (proced-header-line): New variable and new function. (proced-mode): Set header-line-format. (proced-update): Set proced-header-line. (proced-send-signal): Use proced-header-line. 2008-05-21 Stefan Monnier * macros.el (insert-kbd-macro): Use prin1-char. 2008-05-20 Stefan Monnier * minibuffer.el (completion-boundaries): New function. (completion--some): Delay errors. (complete-with-action, completion-table-with-context): Handle `boundaries' case. (completion--try-word-completion): Avoid partial-completion when the user hasn't entered anything yet. (minibuffer-local-map, minibuffer-local-filename-completion-map) (minibuffer-local-must-match-map, minibuffer-local-completion-map) (minibuffer-local-must-match-filename-map, minibuffer-local-ns-map): Setup default keybindings. (completion--embedded-envvar-re): New var. (completion--embedded-envvar-table): Use it. Handle `boundaries' case. (completion--file-name-table): Handle `boundaries' case. (completion-pcm--pattern->regex): Avoid pathological backtracking. (completion-pcm--all-completions): Add a `prefix' arg. (completion-pcm--find-all-completions): New function. (completion-pcm-all-completions, completion-pcm-try-completion): Use it. * icomplete.el (icomplete-completions): Don't use `predicate' with a table of a different type than `candidates'. 2008-05-20 Roland Winkler * proced.el (proced-goal-column): Rename from proced-procname-column. (proced-goal-header-re): Rename from proced-procname-column-regexp. (proced-move-to-goal-column): Rename from proced-move-to-procname. (proced-header-face, proced-header-regexp): Remove. (proced-font-lock-keywords): Remove proced-header-face. (proced-header-alist, proced-sorting-schemes-re): New variables. (proced): Rename Proced buffer to *Proced*. (proced-next-line, proced-previous-line): New commands. (proced-do-mark, proced-do-mark-all, proced-toggle-marks) (proced-hide-processes): Do not treat first line as special. (proced-header-space): New function. (proced-update): Use header-line-format. Initialize proced-header-alist and proced-sorting-schemes-re. Set proced-goal-column. Include proced-command in mode-name. (proced-send-signal): Use header-line-format for *Marked Processes* buffer. (proced-sort): Restrict minibuffer completion to applicable sorting schemes. (proced-sorting-scheme-p): Use proced-sorting-schemes-re. 2008-05-20 Stefan Monnier * icomplete.el (icomplete-simple-completing-p): Allow icomplete-with-completion-tables to say "use it everywhere". (icomplete-completions): Obey completion-styles. Try to accommodate partial-completion style. 2008-05-20 Michael Olson * files.el (project-find-settings-file): Change concat to expand-file-name. 2008-05-19 Tom Tromey * files.el (normal-mode): Call hack-project-variables. (hack-local-variables-confirm): Add 'project' argument. (hack-local-variables-apply): New function. (hack-local-variables): Use it. (project-class-alist, project-directory-alist): New variables. (project-get-alist): New function. (project-collect-bindings-from-alist) (project-collect-binding-list, set-directory-project) (project-find-settings-file, project-define-from-project-file) (hack-project-variables): New functions. 2008-05-19 Stefan Monnier * emacs-lisp/cl-specs.el (destructuring-bind): Fix spec. 2008-05-19 Juanma Barranquero * faces.el (font-weight-table): Fix typo in docstring. 2008-05-18 David Hull (tiny change) * vc-hg.el (vc-hg-annotate-re): Recognize the output of --follow. (vc-hg-annotate-command): Allow white space before version number. 2008-05-18 Jay Belanger * calc/calc-yank.el (calc-register-alist): New variable. (calc-set-register, calc-get-register, calc-copy-to-register) (calc-insert-register, calc-add-to-register, calc-append-to-register) (calc-prepend-to-register): New functions. * calc/calc-ext.el (calc-init-extensions): Add keybindings for `calc-copy-to-register' and `calc-insert-register'. Autoload new register functions. * calc/calc-help.el (calc-r-prefix-help): Add help for register functions. 2008-05-18 Dan Nicolaescu * vc.el (Todo): Add known problems. (vc-dir-backend): New variable. (vc-dir): Set it. (vc-make-backend-object, vc-generic-status-printer) (vc-generic-state, vc-generic-status-fileinfo-extra) (vc-dir-extra-menu): Use it. (vc-generic-dir-headers): Remove, unused. * vc-dispatcher.el (vc-dir-previous-directory): Rename from vc-dir-prev-directory for consistency with vc-dir-previous-line. (vc-dir-mode-map): Fix bindings. * vc-bzr.el (vc-bzr-after-dir-status): Remove unused binding. 2008-05-18 Jay Belanger * calc/calc-yank.el (calc-kill): Make sure that only the stack is operated on. (calc-kill-region): Kill entire lines. 2008-05-17 Glenn Morris * ezimage.el (ezimage-use-images): Drop support for Emacs < 21 and simplify initial value. (defezimage): Drop support for Emacs without defimage, use a featurep test rather than fboundp when defining, drop with-no-warnings. (ezimage-insert-over-text): Move featurep test inside add-text-properties. * elide-head.el (elide-head-headers-to-hide): Handle GPLv3 format. * net/tramp.el (top-level): Load auth-source when compiling. * progmodes/fortran.el (fortran-font-lock-keywords-2): Add .eqv., .neqv. 2008-05-17 Andreas Schwab * vc-dispatcher.el (vc-dir-mode-map): Fix M-down and M-up binding. 2008-05-17 Dan Nicolaescu * vc.el (vc-annotate-show-diff-revision-at-line): Change vc-diff-internal arg to match what vc-deduce-fileset returns now. 2008-05-17 Vinicius Jose Latorre * menu-bar.el (menu-bar-select-buffer): Reinsert it as msb.el uses it. 2008-05-17 Jim Meyering * ido.el (ido-save-history): Do not emit a trailing newline at the end of the ido history file. 2008-05-16 John Paul Wallington * vc-dispatcher.el (top-level): Revert previous change: require cl when compiling. 2008-05-16 Eric S. Raymond * vc.el (vc-default-status-printer) (vc-default-prettify-state-info): Enhance the state prettyprinter to deal better with unknown states and indirect through it when painting vc-dir buffers. 2008-05-16 John Paul Wallington * vc-dispatcher.el (top-level): Don't require cl when compiling. (vc-dir-mode-map): Fix backquote. (vc-at-event): Doc fix. Use `make-symbol' instead of `gensym'. 2008-05-16 Michael Albinus * net/tramp.el (tramp-handle-write-region): Fix check for short track. Reported by Glenn Morris . 2008-05-16 Eric S. Raymond * vc.el: Remove my analysis of SCCS/RCS concurrency issues from the end of the file, it was good work at one time but has been stale since 1995 and may now be actively misleading. * vc-cvs.el (vc-cvs-status-extra-headers): Extract and display the CVS repository and module (assumptions for the latter a bit iffy). * vc-svn.el (vc-svn-status-extra-headers): Extract and display the SVN repository. 2008-05-16 Juanma Barranquero * vc-rcs.el (vc-rcs-create-tag): * vc-sccs.el (vc-sccs-create-tag): Fix typo in error message and pass backend arg. 2008-05-15 Michael Albinus * net/tramp.el (tramp-file-name-for-operation): Add `make-temp-name'. 2008-05-15 Teodor Zlatanov * net/tramp.el: Load auth-source library. (tramp-read-passwd): Use it for password, not login. 2008-05-15 Shigeru Fukaya * ses.el (ses-goto-print): Use move-to-column rather than forward-char. (ses-print-cell): Use string-width, truncate-string-to-width, delete-region rather than length, substring, delete-char. (ses-setup): Set inhibit-point-motion-hooks to t. Calculate position by actually moving point rather than just using unibyte character length. (ses-mode): Set indent-tabs-mode to nil. (ses-center): Use string-width rather than length. 2008-05-15 Eric S. Raymond * vc-cvs.el, vc-git.el, vc-hg.el, vc-hooks.el, vc-mcvs.el, * vc-rcs.el, vc-sccs.el, vc-svn.el, vc.el: Rename vc-*-create-snapshot and vc-*-retrieve-snapshot to vc-*-create-tag and vc-*-retrieve-tag respectively. * vc-dispatcher.el: Fix an incorrect buffer name and remove an unneeded defalias. * vc.el, vc-dispatcher.el (vc-dir-menu-map-filter): Move. * vc.el, vc-dispatcher.el (vc-dir-menu-map): Remove assumption about buffer names. 2008-05-15 Glenn Morris * vc-hooks.el (vc-directory-resynch-file): Fix declaration. * org/org-exp.el (org-infojs-options-inbuffer-template): Fix declaration. * progmodes/cc-mode.el (declare-function): Add compat definition. (awk-mode-syntax-table, c-awk-unstick-NL-prop): Declare for compiler. 2008-05-14 Eric S. Raymond * vc-dispatcher.el (vc-dispatcher-selection): Change the returned list to a cons so the caller can get back both expanded and unexpanded filesets. * vc.el (vc-deduce-fileset, vc-next-action, vc-diff-internal) (vc-merge, vc-version-diff, vc-print-log, vc-revert, vc-rollback): Change handling of selection-set returns as required. 2008-05-15 John Paul Wallington * add-log.el (top-level): Don't require cl when compiling. * arc-mode.el (archive-add-new-member): Use `derived-mode-p'. (archive-*-extract): Use `zerop'. (archive-*-write-file-member): Use `or', use `zerop'. * diff-mode.el (diff-current-defun): Use `buffer-local-value'. * ibuffer.el (ibuffer-assert-ibuffer-mode): New defsubst. (ibuffer-mark-interactive, ibuffer-set-mark) (ibuffer-insert-buffer-line, ibuffer-redisplay-current) (ibuffer-map-lines, ibuffer-switch-format) (ibuffer-update-title-and-summary) (ibuffer-redisplay-engine): Use it. * ibuf-ext.el (ibuffer-interactive-filter-by-mode) (ibuffer-set-filter-groups-by-mode, ibuffer-list-buffer-modes) (define-ibuffer-filter mode, define-ibuffer-filter used-mode) (define-ibuffer-sorter major-mode, ibuffer-mark-unsaved-buffers) (ibuffer-mark-read-only-buffers) (ibuffer-mark-dired-buffers): Use `buffer-local-value'. * ibuf-macs.el (ibuffer-aif, ibuffer-awhen, ibuffer-save-marks) (define-ibuffer-column, define-ibuffer-sorter) (define-ibuffer-op, define-ibuffer-filter): Add declarations containing indentation specs, replacing equivalent top-level forms that set `lisp-indent-function' properties. (define-ibuffer-op): Use `derived-mode-p'. (define-ibuffer-filter): Remove redundant `concat' call. 2008-05-14 Michael Albinus * net/tramp.el (tramp-echo-mark): Update docstring. (tramp-echo-mark-marker): New defconst. (tramp-check-for-regexp): Use it. 2008-05-14 Eric S. Raymond * vc.el (vc-deduce-fileset): Do the right thing when visiting a buffer (say, a log buffer or diff buffer) with a vc-dir buffer as parent. 2008-05-14 John Paul Wallington * international/mule.el (convert-define-charset-argument): Remove period from end of error message. (coding-system-mnemonic): Doc fix. (ctext-pre-write-conversion): Doc fix. 2008-05-14 Simon Marshall * obsolete/fast-lock.el (fast-lock-cache-directories): Remove "." from its default value and give it the risky-local-variable property (CVE-2008-2142). 2008-05-14 Kenichi Handa * language/korean.el ("Korean"): Set `iso639-language' property to `ko'. * language/japanese.el ("Japanese"): Set `iso639-language' property to `ja'. * language/chinese.el ("Chinese-GB", "Chinese-BIG5") ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK") ("Chinese-GB18030"): Set `iso639-language' property to `zh'. * international/mule-cmds.el (set-language-environment): Set current-iso639-language. * international/fontset.el (setup-default-fontset): For kana, han, hangul, and cjk-misc, move an entry with font-spec at the end. (generate-fontset-menu): Exclude fontset-auto* from the list. * composite.el (compose-chars-after): Assume that WINDOW is always non-nil. * faces.el (font-weight-table, font-slant-table) (font-swidth-table): Declare them by defconst. Change the format of elements. Call internal-set-font-style-table after their declaration. (face-valid-attribute-values): Call font-family-list. Get values for width, weight, and slant from font-xxx-table. * cus-face.el (custom-face-attributes): Add "thin" for :weight. 2008-05-13 John Paul Wallington * ibuffer.el (ibuffer-buffer-file-name): New function. (define-ibuffer-column filename): Use it. * ibuf-ext.el (define-ibuffer-filter filename): Use it. 2008-05-13 Chong Yidong * talk.el (talk): Simplify. Pass display arg to talk-add-display as a string. (talk-add-display): Simplify. Accept only string args. 2008-05-13 Jay Belanger * calc/calc.el (calc-mode-map): Remove old keybinding for `calc-yank'. 2008-05-13 Stefan Monnier * Makefile.in (bootstrap-prepare): Don't chmod files. (autoloads): Do it here instead, where it's actually needed. 2008-05-13 Chong Yidong * tool-bar.el (tool-bar-make-keymap): Account for the optional KEY-BINDING-DATA field in menu-item list. 2008-05-13 Stefan Monnier * dired.el (dired-read-dir-and-switches): Move things about to use less recursion during macroexpansion. * dired.el (dired-read-dir-and-switches): Use read-file-name. * dired.el (dired-read-dir-and-switches): Ignore ., .., and completion-ignored-extension directories if there's something else. (dired-mark-if, dired-map-over-marks, dired-readin, dired-revert) (dired-remember-marks, dired-undo, dired-build-subdir-alist) (dired-internal-do-deletions, dired-mark-files-in-region, dired-mark) (dired-toggle-marks, dired-change-marks, dired-unmark-all-files): buffer-read-only -> inhibit-read-only. 2008-05-12 Eric S. Raymond * vc.el (vc-expand-dirs): Stop this function from tossing out explicitly specified files. 2008-05-12 Stefan Monnier * smerge-mode.el (smerge-apply-resolution-patch): Don't pass nil to `insert'. 2008-05-12 Dan Nicolaescu * vc.el (vc-annotate-show-diff-revision-at-line): Remove incorrect cons. Use vc-annotate-backend. (with-vc-file, edit-vc-file): Remove unused macros. 2008-05-12 Teodor Zlatanov * mail/smtpmail.el: Add autoload for `auth-source-user-or-password'. (smtpmail-try-auth-methods): Use it. 2008-05-12 Stefan Monnier * emacs-lisp/cl.el (cl-set-nthcdr): Make it a defsubst so that (setf (nthcdr ..) ..) doesn't require CL at runtime. 2008-05-11 Carsten Dominik * org/org.el (org-modules): Repair problems with loading org-jsinfo.org. 2008-05-11 Stefan Monnier * vc-bzr.el (vc-bzr-sha1, vc-bzr-command-discarding-stderr) (vc-bzr-revision-completion-table): Use process-file. (vc-bzr-working-revision): Pass relative file names. * diff-mode.el (diff-hunk-header-re): Refine the regexp. 2008-05-11 Juri Linkov * wid-edit.el (widget-image-directory): Change default image data subdirectory from "custom" to "images/custom". * info.el (Info-next-preorder): Let-bind `Info-history' to nil before recursive call to `Info-next-preorder' to not add intermediate nodes to the history. * isearch.el: Put isearch-scroll property on recenter-top-bottom. * emulation/cua-base.el: Put isearch-scroll property on cua-scroll-up and cua-scroll-down. 2008-05-11 Eric S. Raymond * vc-hooks.el (vc-recompute-state): Remove (dead code). 2008-05-10 Dan Nicolaescu * vc-dispatcher.el (ewoc): Require. (vc-log-edit, vc-buffer-sync): Declare for byte compiler. * vc-hg.el (vc-hg-diff, vc-hg-annotate-command): Use when not if. 2008-05-10 Chong Yidong * term/w32-win.el (x-colors): * term/mac-win.el (x-colors): * term/x-win.el (x-colors): Re-order colors. 2008-05-10 Reiner Steib * smerge-mode.el (smerge-command-prefix): Fix custom type. 2008-05-10 Eric S. Raymond * vc-dispatcher.el (vc-dir-next-directory, vc-dir-prev-directory): New functions implementing motion to next and previous directory. * vc-arch.el (vc-arch-command): * vc-bzr.el (vc-bzr-command): * vc-cvs.el (vc-cvs-command): * vc-dispatcher.el (vc-do-command): * vc-git.el (vc-git-command): * vc-hg.el (vc-hg-command): * vc-mcvs.el (vc-mvcs-command): * vc-mtn.el (vc-mtn-command): * vc-sccs.el (vc-sccs-command, vc-sccs-workfile) (vc-sccs-workfile-unchanged-p): * vc-svn.el (vc-svn-command, vc-svn-create-repo): * vc-rcs.el (all methods): Remove assumption about what a nil argument to vc-do-command means. This means no buffer name needs to be hardcoded into the dispatcher layer, and it's better to be explicit anyway. * vc-svn.el (vc-svn-dir-state-heuristic): Remove. 2008-05-10 Dan Nicolaescu * vc.el: Update todo. * vc-sccs.el (vc-sccs-dir-status): * vc-rcs.el (vc-rcs-dir-status): Avoid using results from multiple backends and returning up to date files. * vc-hooks.el (vc-prefix-map): Remove duplicate binding. 2008-05-09 Eric S. Raymond * vc.el (vc-dir): * vc-hooks.el: Tweak the VC directory bindings. These are now documented in the manual. * vc-dispatcher.el (vc-dir-update, vc-dir-parent-marked-p) (vc-dir-children-marked-p): Remove the vc-dir-insert-directories global. (vc-dispatcher-selection-set): Allow callers to pass in an observer flag that says no buffer sync is required. * vc.el (vc-deduce-fileset, vc-print-log, vc-version-diff): Use the observer flag. 2008-05-09 Michael Albinus * simple.el (start-file-process): Clarify docstring. 2008-05-09 Eric S. Raymond * vc-sccs.el, vc-svn.el, vc-git.el, vc-hg.el, vc-mtn.el: Remove stub implementations of, and references to, wash-log. * vc-rcs.el (vc-rcs-comment-history): * vc-cvs.el (vc-cvs-comment-history): Inline the code that used to be wash-log. * vc-sccs.el (vc-sccs-checkin, vc-sccs-checkout, vc-sccs-rollback) (vc-sccs-revert, vc-sccs-steal-lock, vc-sccs-modify-change-comment) (vc-sccs-print-log, vc-sccs-diff): Grok directories. * vc-rcs.el (vc-sccs-checkin, vc-sccs-checkout) (vc-rcs-revert, vc-rcs-steal-lock, vc-rcs-modify-change-comment) (vc-rcs-print-log): Grok directories. 2008-05-09 Stefan Monnier * vc.el (vc-mark-resolved): Add `backend' argument. (vc-next-action): Pass it the backend. (vc-next-action, vc-checkout, vc-mark-resolved, vc-version-diff) (vc-merge, vc-rollback, vc-update, vc-transfer-file, vc-delete-file) (vc-default-comment-history, vc-default-create-snapshot) (vc-default-retrieve-snapshot, vc-default-revert, vc-annotate) (vc-annotate-revision-previous-to-line) (vc-annotate-show-diff-revision-at-line, vc-annotate-warp-revision): * vc-svn.el (vc-svn-checkout): * vc-mcvs.el (vc-mcvs-checkout): * vc-hooks.el (vc-state, vc-default-workfile-unchanged-p) (vc-working-revision, vc-before-save, vc-mode-line): Prefer vc-call-backend to vc-call so as not to recompute the backend. * vc.el (vc-deduce-fileset): Don't require the checkout-model and the state to be consistent since it's often an unwarranted restriction. Don't return the state either. (vc-next-action): Check that the state is consistent. (vc-diff-internal, vc-version-diff, vc-print-log, vc-revert) (vc-rollback, vc-update): Adapt to new return value of vc-deduce-fileset. * vc-dispatcher.el (vc-dispatcher-browsing): Use derived-mode-p. (vc-dir-prepare-status-buffer): Use vc-dispatcher-browsing. (vc-dispatcher-in-fileset-p): New fun. (vc-dispatcher-selection-set): Use it to properly handle directories. 2008-05-09 Dan Nicolaescu * vc.el (vc-version-diff, vc-print-log, vc-revert, vc-rollback) (vc-update): Remove unused let bindings. 2008-05-09 Eric S. Raymond * vc.el (vc-deduce-fileset, vc-next-action, vc-version-diff) (vc-diff, vc-revert, vc-rollback, vc-update): * vc-dispatcher.el (vc-dispatcher-selection-set): Get rid of 4 special cases in fileset selection. This involved changing the return value of (vc-deduce-fileset) so that it passes back a deduced state as well as a deduced back end. 2008-05-08 Sam Steingold * progmodes/compile.el (compilation-minor-mode-map) (compilation-mode-map): Bind "g" to recompile and "q" to quit-window. * progmodes/grep.el (grep-mode-map): Use `set-keymap-parent' to connect it to `compilation-minor-mode-map' (instead of an explicit `cons'). 2008-05-08 Juanma Barranquero * org/org.el (org-modules, org-format-latex-options): * org/org-archive.el (org-archive-stamp-time) (org-archive-save-context-info): * org/org-faces.el (org-hide): * org/org-irc.el (org-irc-parse-link): * org/org-macs.el (org-call-with-arg, org-autoload): * org/org-mew.el (org-mew-store-link): * org/org-remember.el (org-remember-store-without-prompt) (org-remember-templates): Fix typos in docstrings. * org/org-info.el (org-info-store-link): Remove leftover docstring. * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring. (org-bbdb-anniversary-field, org-bbdb-extract-date-fun) (org-bbdb-anniv-split): Fix typos in docstrings. * org/org-publish.el (org-publish-project-alist): Doc fixes. (org-publish-use-timestamps-flag): Reflow docstring. (org-publish-files-alist): Fix typos in docstring. 2008-05-07 Sam Steingold * pcvs-util.el (cvs-bury-buffer): Revert my patch: quit-window appears to be too aggressive with window removal. 2008-05-08 Michael McNamara * progmodes/verilog-mode.el (verilog-type-font-keywords): Add leda and 0in as pragma keywords. (verilog-pretty-expr): Support lining up assignments which include part selects. (verilog-mode): More portable check for the availability of hideshow support. (verilog-do-indent): Remove special indent for declarations inside a parenthetical list. The code is ill-advised, and doesn't work given the new user defined types. (verilog-set-auto-endcomments): Enhance function automatic endcomment to support functions that return user defined types. (verilog-mode): Add code to tell which-function-mode minor mode that Verilog supports this feature. 2008-05-08 Eli Zaretskii * epa-file.el: Require epa-hook. * loadup.el ("epa-hook"): Load epa-hook instead of epa-file-hook. * epa-hook.el: Renamed from epa-file-hook.el, to avoid file-names clashes on 8+3 filesystems. Provide epa-hook. * org/org-jsinfo.el: Renamed from org-infojs.el, to avoid file-names clashes on 8+3 filesystems. 2008-05-08 Carsten Dominik * org/org.el (org-read-date-get-relative): Interpret lone weekday abbreviation as relative to today. 2008-05-08 Juanma Barranquero * abbrev.el (define-abbrev-table): * composite.el (toggle-auto-composition): * json.el (json-alist-p, json-plist-p): * minibuffer.el (completion-table-with-predicate): * ps-mule.el (ps-mule-external-libraries): * emacs-lisp/advice.el (ad-special-form-p): * emacs-lisp/autoload.el (autoload-generate-file-autoloads): * eshell/em-smart.el (eshell-review-quick-commands): * progmodes/python.el (python-comment-line-p, python-blank-line-p) (python-skip-out, python-check-comint-prompt): Don't use `iff' in docstrings. * international/robin.el (robin-package-alist): Fix typo in docstring. (robin-current-package-name): Doc fix. (robin-activate): Don't use `iff' in docstring. 2008-05-07 Eric S. Raymond * vc.el, vc-dispatcher.el: VC-Dired support removed. The code uses a ewoc-based implementation now. * vc-hooks.el: Support for Meta-CVS has been removed. 2008-05-07 Stefan Monnier * tool-bar.el: Choose images dynamically. (tool-bar-make-keymap, tool-bar-find-image): New function. (tool-bar-find-image-cache): New var. (tool-bar-local-item, tool-bar-local-item-from-menu): Don't select the image yet, do it later in tool-bar-make-keymap. 2008-05-07 Andreas Schwab * window.el: Require 'cl when compiling. 2008-05-07 Dan Nicolaescu * vc-dispatcher.el (vc-dir-insert-directories): Default to t. 2008-05-07 Glenn Morris * subr.el (ignore-errors): Move here from cl-macs.el. * emacs-lisp/cl-macs.el (ignore-errors): Move to subr.el. * progmodes/fortran.el (fortran-mode): Fix font-lock-syntactic-keywords oddness. 2008-05-06 Eric S. Raymond * vc-hooks.el (vc-find-file-hook): * vc-dispatcher.el (vc-resynch-window): Decouple vc-dispatcher further from vc.el. * vc.el (vc-dir-mode): Move VC-specific context menu entries here. 2008-05-06 Wilson Snyder * progmodes/verilog-mode.el (verilog-getopt-file): Cleanup warning message format. (verilog-auto, verilog-auto-arg, verilog-auto-ascii-enum) (verilog-auto-inout, verilog-auto-inout-module) (verilog-auto-input, verilog-auto-inst, verilog-auto-inst-param) (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg) (verilog-auto-reg-input, verilog-auto-reset, verilog-auto-sense) (verilog-auto-sense-sigs, verilog-auto-tieoff) (verilog-auto-unused, verilog-auto-wire) (verilog-decls-get-assigns, verilog-decls-get-consts) (verilog-decls-get-gparams, verilog-decls-get-inouts) (verilog-decls-get-inputs, verilog-decls-get-outputs) (verilog-decls-get-ports, verilog-decls-get-regs) (verilog-decls-get-signals, verilog-decls-get-wires) (verilog-dir-cache-lib-filenames, verilog-dir-cache-list) (verilog-dir-cache-preserving, verilog-dir-file-exists-p) (verilog-dir-files, verilog-expand-dirnames, verilog-getopt-file) (verilog-inject-sense, verilog-library-filenames) (verilog-mode-release-date, verilog-mode-version) (verilog-modi-cache-add, verilog-modi-cache-preserve-buffer) (verilog-modi-cache-preserve-tick, verilog-modi-cache-results) (verilog-modi-get-assigns, verilog-modi-get-consts) (verilog-modi-get-gparams, verilog-modi-get-inouts) (verilog-modi-get-inputs, verilog-modi-get-outputs) (verilog-modi-get-ports, verilog-modi-get-regs) (verilog-modi-get-signals, verilog-modi-get-sub-inouts) (verilog-modi-get-sub-inputs, verilog-modi-get-sub-outputs) (verilog-modi-get-wires, verilog-preserve-cache) (verilog-preserve-dir-cache, verilog-preserve-modi-cache) (verilog-read-sub-decls, verilog-read-sub-decls-line) (verilog-read-sub-decls-sig, verilog-subdecls-get-inouts) (verilog-subdecls-get-inputs, verilog-subdecls-get-outputs): Add caching of additional state, and rework signal extraction routines to improve AUTO expansion performance by 300%++. 2008-05-06 Chong Yidong * progmodes/compile.el (compilation-error-regexp-alist-alist): Tweak Open Watcom regexp to distinguish between errors and warnings. 2008-05-06 Stefan Monnier * dired.el (dired-read-dir-and-switches): Fix up last change. 2008-05-05 Eric S. Raymond * vc.el (vc-deduce-fileset): Lift all the policy and UI stuff out of this function, move it to vc-dispatcher-selection-set. 2008-05-05 Sam Steingold * window.el (delete-other-windows-vertically): New function. 2008-05-05 Stefan Monnier * dired.el (dired-read-dir-and-switches): Obey read-file-name-completion-ignore-case. 2008-05-05 Nick Roberts * progmodes/compile.el (compilation-error-regexp-alist-alist): Add regexp for Open Watcom compiler output. 2008-05-05 Phil Sung (tiny change) * progmodes/python.el (python-block-pairs): Align finally with except. 2008-05-05 Stefan Monnier * vc-rcs.el (vc-rcs-fetch-master-state): Fix inf-loop. 2008-05-05 Tom Tromey * smerge-mode.el (smerge-start-session): Don't call smerge-next if looking at conflict marker. 2008-05-05 Stefan Monnier * vc-dispatcher.el (vc-dir-mark-buffer-changed): Fix typo client-mode -> vc-client-object, and guess `funcall' was meant. (vc-dir-mode): Rename client-mode -> vc-client-mode. 2008-05-05 Dan Nicolaescu * net/zeroconf.el (dbus-call-method, dbus-register-signal) (dbus-debug): Move declarations outside eval-when-compile. 2008-05-04 Roland Winkler * proced.el (proced-command-alist): Fix system-type values. Fix defcustom. (proced-sorting-schemes-alist, proced-sorting-scheme): New variables. (proced-sort-pcpu, proced-sort-pmem, proced-sort-pid) (proced-sort-start, proced-sort, proced-sort-time): New commands. (proced-update): Use proced-sorting-scheme. Update modeline. (proced-send-signal): Use nreverse. (proced-sorting-scheme-p): New function. 2008-05-04 Andreas Schwab * vc.el: Require dired when compiling. * minibuffer.el (completion--insert-strings): Don't delete past bol. 2008-05-03 Glenn Morris * ediff-diff.el, ediff-help.el, ediff-merg.el, ediff-mult.el: * ediff-ptch.el, ediff-util.el, ediff-wind.el, ediff.el: Simplify compilation requirements. * ediff-init.el, ediff-vers.el: Remove unnecessary variable declarations. 2008-05-03 Dave Love * progmodes/python.el (python-beginning-of-statement): Loop at least once (fixes 2008-02-21 change). 2008-05-03 Eli Zaretskii * ls-lisp.el (ls-lisp-insert-directory): Use `string-width' instead of `length' for comparing length of user and group names. 2008-05-03 Eric S. Raymond * vc-dispatcher.el: New file, separates out the UI and command execution machinery from VCS-specific logic left in vc.el. The separation is not yet completely clean, but it's a good start. * vc.el: This file is about 1700 lines shorter now. Remove obsolete logentry-check from the backend API. * vc-sccs.el (vc-sccs-logentry-check): Remove. This was the only implementation of the logentry-check method, and it guarded against a log length limit that has probably been obsolete for 15 years (!). 2008-05-02 Sam Steingold * progmodes/compile.el (compilation-start): Move setting of compilation-directory after (funcall mode) as that resets local variables, this fixes recompile in grep buffers. * progmodes/grep.el (grep-mode-map): Bind "g" to recompile (like in dired &c). 2008-05-02 Eric S. Raymond * vc-arch.el, vc-bzr.el, vc-cvs.el, vc-git.el, vc-hg.el, * vc-hooks.el, vc-mcvs.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, * vc-svn.el, vc.el (vc-*-checkout-model): Make sure every backend has one of these and that all are called in compatible ways. * vc-arch.el, vc-bzr.el, vc-cvs.el, vc-git.el, vc-hg.el, * vc-hooks.el, vc-mcvs.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, * vc-svn.el, vc.el (vc-*-revision-granularity): Make sure every backend has one of these. 2008-05-02 Stefan Monnier * progmodes/octave-mod.el (octave-abbrev-table): Move defvar and initialization into define-abbrev-table. Use :regexp. (octave-mode-syntax-table): Don't set word syntax for `. * files.el (minibuffer-with-setup-hook): Allow `fun' expressions rather than only value. * dired.el (dired-read-dir-and-switches): Set minibuffer-completing-file-name and call substitute-in-file-name. (dired-format-columns-of-files): Use completion--insert-strings. * minibuffer.el (completion-hilit-commonality): Revert last change: the leftover code was actually useful. (completion--insert-strings): Use string-width rather than length. 2008-05-02 Sam Steingold * vc.el (vc-dir-mode-map): Enable mouse bindings. (vc-at-event): New macro: run the body at the even location. (vc-dir-menu, vc-dir-toggle-mark): Use it. (vc-dir-mark-file, vc-dir-unmark-file): Move only on non-mouse events. * subr.el (mouse-event-p): Check if the event is mouse-related. 2008-05-02 Nick Roberts * progmodes/gdb-ui.el (gdb-info-breakpoints-custom): Don't throw error if no file is found. 2008-05-02 Juanma Barranquero * vc-hooks.el (vc-call, vc-state): Fix typos in docstrings. (vc-default-state-heuristic): Doc fix. 2008-05-02 Richard Sharman * hilit-chg.el (highlight-changes-mode): Remove references to hooks that no longer exist. Because define-minor-mode is used the hook highlight-changes-mode-hook exists and can do what both the old hooks used to do. The documentation at the top of the file was updated to demonstrate this. (highlight-changes-mode): Remove commented out call to a hook function that is no longer there. (hilit-chg-set): Remove running of highlight-changes-enable-hook. 2008-05-02 Eric S. Raymond * vc.el (vc-default-dired-state-info): Change name of primitive to prettify-state-info, in preparation for ripping out dired mode. * vc-bzr.el (vc-bzr-dired-state-info): Change name of primitive to prettify-state-info, in preparation for ripping out dired mode. * vc-hooks.el (vc-toggle-read-only): Throw an error when a user tries this on a version-controlled buffer. It will do useless or actively bad things on any version control system newer than RCS. * vc-hooks.el (vc-dired-resynch-file): * vc.el (vc-dired-resynch-file): Change name of primitive to vc-directory-resynch-file, preparing to remove dired. 2008-05-02 Dan Nicolaescu * vc-rcs.el (vc-rcs-state): Fix typos. * vc.el (vc-register): Change argument order so that the prefix argument is assigned correctly. (vc-next-action, vc-dir-register): Update for the above change. 2008-05-01 Juri Linkov * replace.el (occur-read-primary-args): Set default to the car of regexp-history and display it in the prompt, but don't add to the list of minibuffer defaults. Bind history-add-new-input to nil to not add automatically `default'. For empty input return `default'. Otherwise, add `input' to regexp-history and return it. (occur-1): Signal an error for the empty regexp. * progmodes/compile.el (compilation-auto-jump): Set window point to `pos' explicitly. 2008-05-01 Eric S. Raymond * vc-bzr.el (vc-bzr-state): Allow this to return 'ignored when appropriate. * vc-sccs.el (vc-sccs-state): Call vc-sccs-unregistered so we report the 'unregistered state reliably. * vc-rcs.el (vc-rcs-state): Call vc-rcs-unregistered so we report the 'unregistered state reliably. * vc-git.el (vc-git-state): Call vc-git-unregistered so we report the 'unregistered state reliably. * vc-hooks.el (vc-state): Document that vc-unregistered is now expected to be returned reliably. * vc.el (vc-default-dired-state): Change needs-patch state to needs-update, since the name now shows up in dir-status listings and was somewhat misleading. * vc-cvs.el (vc-cvs-delete-file): Don't do a "cvs commit" immediately after removing the file. * vc.el (vc-next-action): More informative messages when a fileset is in a mixed state or files are missing. 2008-05-01 Sam Steingold * vc.el (vc-delete-file): Check if the file has uncommitted changes. 2008-05-01 Stefan Monnier * Makefile.in: Revert incorrect fix for claimed bootstrap breakage. 2008-05-01 Daiki Ueno * epa-file-hook.el: New file split from epa-file.el. * epa-file.el: Require 'epa-file-hook. (epa-file-handler): Add autoload cookie. * loadup.el: Load epa-file-hook. * startup.el (command-line): Eval the body of auto-encryption-mode. 2008-05-01 Dan Nicolaescu * vc.el (vc-dir-mode-map): Don't bind "r". * vc-hg.el (vc-hg-extra-fileinfo): New defstruct. (vc-hg-status-printer): New function. (vc-hg-after-dir-status): Deal with copied and renamed files. (vc-hg-dir-status): Add flag to show copied files. 2008-05-01 John Paul Wallington * ibuffer.el (ibuffer-last-sorting-mode): New variable. (ibuffer-do-sort-by-recency): Reverse sorting order if last sorting mode was recency. * ibuf-macs.el (define-ibuffer-sorter): Define the sorter to reverse sorting order if last sorting mode was the sorter's. 2008-05-01 Jason Rumney * w32-fns.el (w32-charset-info-alist): Map vietnamese to windows-1258. 2008-04-30 John Paul Wallington * ibuffer.el (define-ibuffer-column filename): When the major mode is `vc-dir-mode' show the buffer's default directory. * ibuf-ext.el (define-ibuffer-filter filename): Likewise when the major mode is `vc-dir-mode' use the buffer's default directory. 2008-04-30 Sam Steingold * vc.el (vc-dir-delete-file): Add. (vc-dir-mode-map): Bind "r" to vc-dir-delete-file, like in PCL-CVS. (vc-delete-file): Do not barf when the file has been already deleted. 2008-04-30 Dan Nicolaescu * emacs-lisp/lisp-mode.el (lisp-mode-map): Add menu. 2008-04-30 Stefan Monnier * progmodes/octave-mod.el (octave-help): New function. * progmodes/octave-hlp.el: Delete. * info-look.el (octave-mode): Add operator index. * vc.el (vc-checkout): Typo. 2008-04-30 Dan Nicolaescu * menu-bar.el (menu-bar-tools-menu): Reorder, place Games last. Add "..." in the appropriate places. * epa.el (epa-key-list-mode-map): Add more menu entries. Add "..." in the appropriate places. * dired.el (dired-mode-map): Add :help. * vc.el (vc-deduce-fileset): Add new parameter. (vc-dir-marked-only-files): New function. (vc-next-action): Don't ignore directories, look at the files inside them. (vc-dir-mode): Document how the mark/unmark commands work. 2008-04-30 Stefan Monnier * progmodes/compile.el (compilation-error-regexp-alist-alist) : Rule out trailing spaces in file and directory names as well. * minibuffer.el (completion--do-completion): Move point even if the completion makes no change. (completion-pcm-try-completion): Fix computation of new point. 2008-04-30 David Hansen * dired.el: Require 'cl. 2008-04-30 Nick Roberts * progmodes/gdb-ui.el (gdb-frame-handler-1): Make overlay arrow hollow if not in innermost frame. 2008-04-29 Stefan Monnier Make `checkout-model' apply to filesets. * vc-hooks.el (vc-checkout-model): Rewrite. (vc-before-save, vc-after-save): Adjust callers accordingly. * vc.el (vc-editable-p, vc-next-action, vc-checkout, vc-update) (vc-transfer-file): Adjust callers accordingly. * vc-rcs.el (vc-rcs-checkout-model): Adjust arg. (vc-rcs-state, vc-rcs-state-heuristic, vc-rcs-receive-file) (vc-rcs-checkout, vc-rcs-fetch-master-state): Use vc-rcs-checkout-model instead of vc-checkout-model. * vc-mcvs.el (vc-mcvs-revert): Use vc-mcvs-checkout-model i.s.o vc-checkout-model. * vc-cvs.el (vc-cvs-checkout-model): Adjust arg. (vc-cvs-revert): Use vc-cvs-checkout-model i.s.o vc-checkout-model. * vc-svn.el (vc-svn-checkout-model): * vc-hg.el (vc-hg-checkout-model): * vc-git.el (vc-git-checkout-model): * vc-bzr.el (vc-bzr-checkout-model): Adjust arg. * dired.el (dired-read-dir-and-switches): Replace last change with a new approach that mixes read-file-name and read-directory-name. * files.el (read-buffer-to-switch): Avoid making assumptions about `other-buffer'. 2008-04-29 Sam Steingold * vc.el (vc-dir-mode-hook): Add normal hook. (vc-dir-mode): Run it. 2008-04-29 Nick Roberts * progmodes/gdb-ui.el (gdb-display-buffer): Don't pop up GUD buffer. Always split windows. (gdb-speedbar-timer-fn): Only raise frame after user input. (gdb-same-frame): Reverse initial value. (gdb-display-gdb-buffer): Check for GUD buffer in other frames. * progmodes/gud.el (gud-speedbar-buttons): Raise frame in gdb-speedbar-timer-fn. 2008-04-29 Stefan Monnier * uniquify.el (uniquify-rationalize-a-list): Beware of side-effects. 2008-04-29 Daiki Ueno * epa.el (epa-key-list-mode-map): Add menu. (epa-delete-keys, epa-import-keys): Fix typo. 2008-04-29 Glenn Morris * find-cmd.el (top-level): Does not need cl when compiling. 2008-04-29 Philip Jackson * find-cmd.el: New file. 2008-04-29 Stefan Monnier * minibuffer.el (completion-hilit-commonality): Remove leftover code. (completion-pcm--pattern->regex): Let `group' be a list of symbols. (completion-pcm--hilit-commonality): New function. (completion-pcm-all-completions): Use it. * minibuffer.el (completion-common-substring): Mark obsolete. (completions-first-difference, completions-common-part): Move from simple.el. (completion-hilit-commonality): New fun. (display-completion-list, completion-emacs21-all-completions) (completion-emacs22-all-completions): Use it. * simple.el (completions-first-difference, completions-common-part): Move to minibuffer.el. (choose-completion-string): Use field functions and minibufferp. (completion-setup-function): Don't set completions faces. 2008-04-29 Glenn Morris * calendar/calendar.el (calendar-nth-named-absday) (calendar-nth-named-day): * calendar/diary-lib.el (diary-list-sexp-entries, diary-float): * calendar/holidays.el (holiday-float): Doc fixes. * emacs-lisp/check-declare.el (check-declare-errmsg): Fix counting in the `full' case. * org/org-agenda.el (calendar-iso-from-absolute): * org/org.el (calendar-absolute-from-iso, calendar-iso-from-absolute): Fix declarations. 2008-04-28 Nick Roberts * progmodes/gdb-ui.el (gdb-info-breakpoints-custom): Make breakpoint icons work for assembler, i.e. FILE.s, FILE.S (not disassembly). (gdb-goto-breakpoint): Likewise for visiting breakpoints. (gdb-assembler-custom): Be careful not to match other addresses. 2008-04-29 Jason Rumney * battery.el (battery-status-function): Use w32-battery-status on Windows. (battery-echo-area-format): Make apm format the general case. (battery-mode-line-format): Merge apm and pmset formats as the general case. 2008-04-29 Nick Roberts * progmodes/gdb-ui.el (gdb-info-stack-custom): Use gud-tool-bar-item-visible-no-fringe. (gdb-display-buffer): Don't pop new buffer if gud-comint-buffer is already visible in frame. Remove optional size parameter and add optional frame parameter. * progmodes/gud.el (gud-display-line): Only consider visible frames when looking for source buffer. 2008-04-28 Chong Yidong * doc-view.el (doc-view-new-window-function): Avoid using WINDOW argument to get-char-property, in case the current buffer hasn't been assigned to that window yet. (doc-view-display): Default to selected window if the current buffer hasn't been assigned to a window yet. 2008-04-28 Vinicius Jose Latorre * whitespace.el (whitespace-trailing-regexp): Fix docstring. 2008-04-28 Michael Albinus * net/tramp.el (tramp-mode): New defcustom. (tramp-file-name-handler, tramp-completion-file-name-handler): Use it. (tramp-replace-environment-variables): Handle "$$". 2008-04-28 Sam Steingold * vc-hg.el (vc-hg-rename-file): Fix argument order. 2008-04-28 Bastien Guerry * whitespace.el (whitespace-trailing): Fix typo. 2008-04-28 Sam Steingold * textmodes/remember.el (diary-make-entry): Update the autoload. 2008-04-28 Stefan Monnier * minibuffer.el (completion-pcm--all-completions): Don't pass nil to all-completions. 2008-04-28 Juanma Barranquero * desktop.el (desktop-minor-mode-table): Add `savehist-mode'. 2008-04-27 Dan Nicolaescu * vc.el (vc-dir-mode-map): Change bindings for unmark all and revert. (vc-dir-parent-marked-p, vc-dir-children-marked-p): Implement. (vc-dir-mark-file): Add an optional argument. (vc-dir-mark-all-files, vc-dir-unmark-all-files): Deal with directories. 2008-04-27 Daiki Ueno * epa-file.el (epa-file-enable, epa-file-disable): Use find-file-hook rather than obsolete alias find-file-hooks. (auto-encryption-mode): Rename from epa-file-mode. Default to on. Use find-file-hook rather than obsolete alias find-file-hooks. Add to find-file-not-found-functions. (epa-file-handler): Put 'safe-magic and 'operations properties. * epa.el (epa-global-minor-modes, epa-mode, epa-menu) (epa-menu-items): Remove. * epa-dired.el (epa-dired-do-decrypt, epa-dired-do-verify) (epa-dired-do-sign, epa-dired-do-encrypt): Add autoload cookie. (epa-dired-mode, epa-global-dired-mode): Remove. * dired.el (dired-mode-map): Bind encryption/decryption commands. * menu-bar.el (menu-bar-encryption-decryption-menu): New menu item. * files.el (insert-file-contents-literally): Inhibit epa-file-handler. 2008-04-27 Glenn Morris * textmodes/reftex-global.el (reftex-isearch-switch-to-next-file): Remove un-needed local `orig-list'. Replace cl `copy-list'. 2008-04-27 Carsten Dominik * org/org.el (org-html-level-start): Always have id's in HTML. (org-export-as-html): Use `org-link-protocols' to retrieve the export form of the link. (org-add-link-type): Final parameter renamed from PUBLISH. Better documentation of how it is to be used. Avoid double entries for the same link type. (org-add-link-props): New function. (org-modules-loaded): New variable. (org-load-modules-maybe, org-set-modules): New function. (org-modules): New option. (org-mode, org-cycle, orgstruct-mode, org-run-like-in-org-mode) (orgtbl-mode, org-store-link, org-insert-link-global) (org-open-at-point): Call `org-load-modules-maybe'. (org-search-view): Add more text properties. (org-agenda-schedule, org-agenda-deadline): Allow also in search-type agendas. (org-search-view): Order of arguments has been changed. Interpret prefix-arg as TODO-ONLY. (org-agenda, org-run-agenda-series, org-agenda-manipulate-query): Take new argument order of `org-search-view' into account. (org-todo-only): New variable. (org-search-syntax-table): New variable and function. (org-search-view): Do the search with the special syntax table. (define-obsolete-function-alias): Make work with XEmacs. (org-add-planning-info): Use old date as default when modifying an existing deadline or scheduled item. (org-agenda-compute-time-span): Make argument N optional. (org-agenda-format-date-aligned): Require `cal-iso'. (org-agenda-list): Include week into agenda heading, don't list it at each date (only on Mondays). (org-read-date-analyze): Define local variable `iso-date'. (org-agenda-format-date-aligned): Remove dependency on `calendar-time-from-absolute'. (org-remember-apply-template, org-go-to-remember-target): Interpret filenames relative to `org-directory'. (org-complete): Silently fail when trying to complete keywords that don't have a default value. (org-get-current-options): Add a #+DATE: option. (org-additional-option-like-keywords): Remove "DATE:" from the list of additional keywords. (org-export-as-html): Remove (current-time) as unnecessary second argument of `format-time-string'. (org-clock-find-position): Handle special case at end of buffer. (org-agenda-day-view): New argument DAY-OF-YEAR, pass it on to `org-agenda-change-time-span'. (org-agenda-week-view): New argument ISO-WEEK, pass it on to `org-agenda-change-time-span'. (org-agenda-month-view): New argument MONTH, pass it on to `org-agenda-change-time-span'. (org-agenda-year-view): New argument YEAR, pass it on to `org-agenda-change-time-span'. (org-agenda-change-time-span): New optional argument N, pass it on to `org-agenda-compute-time-span'. (org-agenda-compute-time-span): New argument N, interpret it by changing the starting day. (org-small-year-to-year): New function. (org-scheduled-past-days): Respect `org-scheduled-past-days'. (org-auto-repeat-maybe): Make sure that repeating dates are pushed into the future, and that the shift is at least one interval, never 0. (org-update-checkbox-count): Fix bug with checkbox counting. (org-add-note): New command. (org-add-log-setup): Rename from `org-add-log-maybe'. (org-log-note-headings): New entry for plain notes (i.e. notes not related to state changes or clocking). (org-get-org-file): Check for availability of `remember-data-file'. (org-cached-entry-get): Allow a regexp value for `org-use-property-inheritance'. (org-use-property-inheritance): Allow regexp value. Fix bug in customization type. (org-use-tag-inheritance): Allow a list and a regexp value for this variable. (org-scan-tags, org-get-tags-at): Implement selective tag inheritance. (org-entry-get): Respect value `selective' for the INHERIT argument. (org-tag-inherit-p, org-property-inherit-p): New functions. (org-agenda-format-date-aligned): Allow 10 characters for weekday, to accommodate German locale. (org-add-archive-files): New function. (org-agenda-files): New argument `ext', to get archive files as well. (org-tbl-menu): Protect the use of variables that are only available when org-table.el gets loaded. (org-read-agenda-file-list): Error if `org-agenda-files' is a single directory. (org-open-file): Allow a batch process to trigger waiting after executing a system command. (org-store-link): Link to headline when there is not target and no region in an org-mode buffer when creating a link. (org-link-types-re): New variable. (org-make-link-regexps): Compute `org-link-types-re'. (org-make-link-description-function): New option. (org-agenda-date, org-agenda-date-weekend): New faces. (org-archive-sibling-heading): New option. (org-archive-to-archive-sibling): New function. (org-iswitchb): New command. (org-buffer-list): New function. (org-agenda-columns): Also try the #+COLUMNS line in the buffer associated with the entry at point (or with the first entry in the agenda view). (org-modules): Add entry for org-bibtex.el. (org-completion-fallback-command): Move into `org-completion' group. (org-clock-heading-function): Move to `org-progress' group. (org-auto-repeat-maybe): Make sure that a note can be enforces if `org-log-repeat' is `note'. (org-modules): Allow additional symbols for external packages. (org-ctrl-c-ctrl-c): Allow for `org-clock-overlays' to be undefined. (org-clock-goto): Hide drawers after showing an entry with `org-clock-goto'. (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft): Try also a clocktable block shift. (org-clocktable-try-shift): New function. (org-columns-hscoll-title): New function. (org-columns-previous-hscroll): New variable. (org-columns-full-header-line-format): New variable. (org-columns-display-here-title, org-columns-remove-overlays): Install `org-columns-hscoll-title' in post-command-hook. * org/org.el: Split into many small files. * org/org-agenda.el: New file, split off from org.el. * org/org-archive.el: New file, split off from org.el. * org/org-bbdb.el: New file. * org/org-bibtex.el: New file, split off from org.el. * org/org-clock.el: New file, split off from org.el. * org/org-colview.el: New file, split off from org.el. * org/org-compat.el: New file, split off from org.el. * org/org-exp.el: New file, split off from org.el. * org/org-faces.el: New file, split off from org.el. * org/org-gnus.el: New file, split off from org.el. * org/org-info.el: New file, split off from org.el. * org/org-infojs.el: New file. * org/org-irc.el: New file. * org/org-macs.el: New file, split off from org.el. * org/org-mew.el: New file. * org/org-mhe.el: New file, split off from org.el. * org/org-publish.el: New file, split off from org.el. * org/org-remember.el: New file, split off from org.el. * org/org-rmail.el: New file, split off from org.el. * org/org-table.el: New file, split off from org.el. * org/org-vm.el: New file, split off from org.el. * org/org-wl.el: New file, split off from org.el. 2008-04-27 Jason Riedy * org/org-table.el (orgtbl-to-generic): Add a :remove-nil-lines parameter that suppresses lines that evaluate to NIL. (orgtbl-get-fmt): New inline function for picking apart formats that may be lists. (orgtbl-apply-fmt): New inline function for applying formats that may be functions. (orgtbl-eval-str): New inline function for strings that may be functions. (orgtbl-format-line, orgtbl-to-generic): Use and document. (orgtbl-to-latex, orgtbl-to-texinfo): Document. (*orgtbl-llfmt*, *orgtbl-llstart*) (*orgtbl-llend*): Dynamic variables for last-line formatting. (orgtbl-format-section): Shift formatting to support detecting the last line and formatting it specially. (orgtbl-to-generic): Document :ll* formats. Set to the non-ll formats unless overridden. (orgtbl-to-latex): Suggest using :llend to suppress the final \\. (*orgtbl-table*, *orgtbl-rtn*): Dynamically bound variables to hold the input collection of lines and output formatted text. (*orgtbl-hline*, *orgtbl-sep*, *orgtbl-fmt*, *orgtbl-efmt*) (*orgtbl-lfmt*, *orgtbl-lstart*, *orgtbl-lend*): Dynamically bound format parameters. (orgtbl-format-line): New function encapsulating formatting for a single line. (orgtbl-format-section): Similar for each section. Rebinding the dynamic vars customizes the formatting for each section. (orgtbl-to-generic): Use orgtbl-format-line and orgtbl-format-section. (org-get-param): Now unused, so delete. (orgtbl-gather-send-defs): New function to gather all the SEND definitions before a table. (orgtbl-send-replace-tbl): New function to find the RECEIVE corresponding to the current name. (orgtbl-send-table): Use the previous two functions and implement multiple destinations for each table. * doc/org.texi (A LaTeX example): Note that fmt may be a one-argument function, and efmt may be a two-argument function. (Radio tables): Document multiple destinations. 2008-04-27 Carsten Dominik * org/org-agenda.el (org-add-to-diary-list): New function. (org-prefix-has-effort): New variable. (org-sort-agenda-noeffort-is-high): New option. (org-agenda-columns-show-summaries) (org-agenda-columns-compute-summary-properties): New options. (org-format-agenda-item): Compute the duration of the item. (org-agenda-weekend-days): New variable. (org-agenda-list, org-timeline): Use the proper faces for dates in the agenda and timeline buffers. (org-agenda-archive-to-archive-sibling): New command. (org-agenda-start-with-clockreport-mode): New option. (org-agenda-clockreport-parameter-plist): New option. (org-agenda-clocktable-mode): New variable. (org-agenda-deadline-leaders): Allow a function value for the deadline leader. (org-agenda-get-deadlines): Deal with new function value. * org/org-clock.el (org-clock): New customization group. (org-clock-into-drawer, org-clock-out-when-done) (org-clock-in-switch-to-state, org-clock-heading-function): Move into the new group. (org-clock-out-remove-zero-time-clocks): New option. (org-clock-out): Use `org-clock-out-remove-zero-time-clocks'. (org-dblock-write:clocktable): Allow a Lisp form for the scope parameter. (org-dblock-write:clocktable): Fix bug with total time calculation. (org-dblock-write:clocktable): Request the unrestricted list of files. (org-get-clocktable): New function. (org-dblock-write:clocktable): Make sure :tstart and :tend can not only be strings but also integers (an absolute day number) and lists (m d y). * org/org-colview.el (org-columns-next-allowed-value) (org-columns-edit-value): Limit the effort for updating in the agenda to recomputing a single file. (org-columns-compute): Only write property value if it has changed. This avoids raising the buffer-change-flag unnecessarily. (org-agenda-colview-summarize) (org-agenda-colview-compute): New functions. (org-agenda-columns): Call `org-agenda-colview-summarize'. * org/org-exp.el (org-export-run-in-background): New option. (org-export-icalendar): Allow a batch process to trigger waiting after executing a system command. (org-export-preprocess-string): Rename from `org-cleaned-string-for-export'. (org-export-html-style): Made target class look like normal text. (org-export-as-html): Make use of the better preprocessing in `org-cleaned-string-for-export'. (org-cleaned-string-for-export): Better treatment of heuristic targets, many more internal links will now work in HTML export. (org-get-current-options): Incorporate LINK_UP, LINK_HOME, and INFOJS. (org-export-inbuffer-options-extra): New variable. (org-export-options-filters): New hook. (org-infile-export-plist): Find also the settings keywords in `org-export-inbuffer-options-extra'. (org-infile-export-plist): Allow multiple #+OPTIONS lines and multiple #+INFOJS_OPT lines. (org-export-html-handle-js-options): New function. (org-export-html-infojs-setup): New option. (org-export-as-html): Call `org-export-html-handle-js-options'. Add autoload to all entry points. (org-skip-comments): Function removed. * org/org-table.el (org-table-make-reference): Extra parenthesis around single fields, to make sure that algebraic formulas get correctly interpreted by calc. (org-table-current-column): No longer interactive. * org/org-export-latex.el (org-export-latex-preprocess): Rename from `org-export-latex-cleaned-string'. 2008-04-27 Bastien Guerry * org/org-publish.el (org-publish-get-base-files-1): New function. (org-publish-get-base-files): Use it. (org-publish-temp-files): New variable. Don't require 'dired-aux anymore. (org-publish-initial-buffer): New variable. (org-publish-org-to, org-publish): Use it. (org-publish-get-base-files-1): Bug fix: get the proper list of files when recursing thru a directory. (org-publish-get-base-files): Use the :exclude property to skip both files and directories. 2008-04-27 Michael Albinus * net/tramp.el (tramp-handle-make-symbolic-link) (tramp-handle-file-name-directory) (tramp-handle-file-name-nondirectory, tramp-handle-file-truename) (tramp-do-copy-or-rename-file-directly) (tramp-handle-insert-directory, tramp-handle-expand-file-name) (tramp-handle-substitute-in-file-name) (tramp-handle-insert-file-contents, tramp-handle-write-region) * net/tramp-cache.el (tramp-get-file-property) (tramp-set-file-property, tramp-flush-file-property) (tramp-flush-directory-property) * net/tramp-compat.el (tramp-compat-make-temp-file) * net/tramp-fish.el (tramp-fish-handle-expand-file-name): Disable `file-name-handler-alist' when handling localname. It could have a remote file syntax, like a VMS file name. 2008-04-27 Vinicius Jose Latorre * whitespace.el: New version 11.1. (whitespace-trailing-regexp): Option fix, now trailing regexp must be enclosed by \\( and \\)$. Docstring fix. (whitespace-trailing-regexp): Fun removed. (whitespace-report-list): Const initialization fix. (whitespace-color-on): Code fix. 2008-04-27 Andreas Schwab * Makefile.el: Unbreak bootstrap. 2008-04-27 Michael Albinus * net/tramp.el (tramp-replace-environment-variables): New defun. (tramp-handle-substitute-in-file-name, tramp-file-name-handler): Use it. 2008-04-27 Glenn Morris * emacs-lisp/bytecomp.el (byte-compile-file): Doc fix. * calculator.el (calculator-expt): Replace cl function `oddp'. 2008-04-27 Johan Bockgård * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions): Simplify. Collect `defun' and `autoload' entries. Avoid modifying load-history. 2008-04-26 Glenn Morris * textmodes/ispell.el (ispell-insert-word): Revert previous change. * simple.el (quoted-insert, zap-to-char): Revert previous change. 2008-04-26 John Paul Wallington * hexl.el (hexl-mode): Stash `eldoc-documentation-function' in `hexl-mode-old-eldoc-documentation-function'. (hexl-mode-exit): Restore it. (hexl-mode-old-eldoc-documentation-function): Declare for compiler. * w32-fns.el (top-level): Don't set `completion-ignore-case' to t. 2008-04-26 Juanma Barranquero * minibuffer.el (completion-pcm-word-delimiters): Add :group. (completion-pcm--all-completions): Doc fix. (completion-styles-alist, completion-all-completions): Fix typos in docstrings. 2008-04-26 Vinicius Jose Latorre * whitespace.el: There is now only one variable (whitespace-style) to specify which kind of blank is visualized. Doc and docstring fix. New version 11.0. (whitespace-style): New option, replace whitespace-style-mark and whitespace-style-color. (whitespace-style-mark, whitespace-style-color): Options removed. (whitespace-hspace, whitespace-tab, whitespace-newline) (whitespace-trailing, whitespace-line, whitespace-space-before-tab) (whitespace-indentation, whitespace-empty, whitespace-space-after-tab) (whitespace-hspace-regexp, whitespace-space-regexp) (whitespace-tab-regexp, whitespace-trailing-regexp) (whitespace-space-before-tab-regexp, whitespace-indentation-regexp) (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp) (whitespace-space-after-tab-regexp, whitespace-line-column) (whitespace-display-mappings, whitespace-report): Docstring fix. (whitespace-color-value-list, whitespace-mark-value-list) (whitespace-active-color, whitespace-active-mark) (whitespace-toggle-color, whitespace-toggle-mark): Vars removed. (whitespace-style-value-list, whitespace-active-style) (whitespace-toggle-style): New vars. (whitespace-toggle-option-alist, whitespace-help-text): Var initialization and docstring fix. (whitespace-toggle-options, global-whitespace-toggle-options) (whitespace-cleanup, whitespace-cleanup-region) (whitespace-report-region, whitespace-interactive-char) (whitespace-toggle-list): Docstring and code fix. (whitespace-insert-option-mark, whitespace-help-on, whitespace-turn-on) (whitespace-turn-off, whitespace-color-on, whitespace-color-off) (whitespace-display-char-on, whitespace-display-char-off): Code fix. (whitespace-style-face-p, whitespace-style-mark-p): New fun. 2008-04-26 Stefan Monnier * diff-mode.el (diff-hunk-header-re-unified): Allow elided line counts. (diff-end-of-hunk, diff-unified->context, diff-fixup-modifs) (diff-sanity-check-hunk): Adjust code accordingly. 2008-04-26 Glenn Morris * abbrev.el (define-abbrev): Don't use `iff' in doc-strings. * forms-d2.dat: Move to ../etc. * forms-d2.el (forms-file): Adapt for above change. * simple.el (quoted-insert, zap-to-char): Remove uses of obsolete `translation-table-for-input'. * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): New function. (byte-compile-obsolete, byte-compile-variable-ref): Use it. * progmodes/fortran.el (fortran-mode-syntax-table): Change `;' to punctuation now it's not needed for abbrevs. (fortran-mode-abbrev-table): Remove defvar, make use of new define-abbrev-table :regexp feature. * textmodes/ispell.el (ispell-insert-word): Remove, and replace with insert, now that translation-table-for-input is not needed. 2008-04-26 Johannes Weiner * emacs-lisp/pp.el (pp-display-expression): New function, extracted from pp-eval-expression. (pp-eval-expression): Use pp-display-expression. (pp-macroexpand-expression, pp-macroexpand-last-sexp): New functions. (pp-last-sexp): New function, extracted from pp-eval-last-sexp. (pp-eval-last-sexp): Use pp-last-sexp. 2008-04-26 Stefan Monnier * abbrev.el (define-abbrev-table): Apply props even if the table exists already. * minibuffer.el (completion-table-with-context): Fix `pred' for the various kinds of completion tables. (completion-emacs22-try-completion): Place cursor after the /, as was done in Emacs-22's minibuffer-complete-word. Fix bug reported by David Hansen . (completion-emacs22-try-completion): Merge all mergeable text rather than just /. (completion-pcm--delim-wild-regex): New var. (completion-pcm-word-delimiters): New custom. (completion-pcm--prepare-delim-re, completion-pcm--pattern-trivial-p) (completion-pcm--string->pattern, completion-pcm--pattern->regex) (completion-pcm--all-completions, completion-pcm-all-completions) (completion-pcm--merge-completions, completion-pcm--pattern->string) (completion-pcm-try-completion): New functions. (completion-styles-alist): Add them. (completion-styles): Add it to the default. 2008-04-25 Nick Roberts * progmodes/gdb-ui.el (gud-watch): Don't create speedbar... (gdb-var-create-handler): ...until here when there are values. (gdb-post-prompt): Don't do -var-update with no watch expressions. (gdb-info-locals-handler): Don't match "struct {...}" as an array. 2008-04-25 Eli Zaretskii * ls-lisp.el (ls-lisp-format): Fix last change. (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt, ls-lisp-gid-d-fmt) (ls-lisp-gid-s-fmt, ls-lisp-filesize-d-fmt) (ls-lisp-filesize-f-fmt): New defvars. (ls-lisp-insert-directory): Dynamically compute format specifiers for displaying UID, GID, and file size, and store them in the above variables. (ls-lisp-format): Use ls-lisp-filesize-f-fmt, ls-lisp-uid-s-fmt, ls-lisp-uid-d-fmt, ls-lisp-gid-s-fmt, and ls-lisp-gid-d-fmt instead of constant format strings. (ls-lisp-format-file-size): Use ls-lisp-filesize-f-fmt and ls-lisp-filesize-d-fmt instead of constant format strings. 2008-04-24 Nick Roberts * progmodes/gdb-ui.el (gdb-invalidate-assembler): Compare numeric value of addresses rather than (partial) string value. (gdb-frame-handler): Change regexp according to above change. (gdb-breakpoints-mode, gdb-frames-mode, gdb-threads-mode) (gdb-registers-mode, gdb-memory-mode, gdb-locals-mode) (gdb-assembler-mode): Disable undo in these buffers. 2008-04-24 Michael Albinus * net/tramp.el (tramp-get-remote-stat): Test whether stat supports %s. Reported by Loris Bennett . 2008-04-24 Sam Steingold * textmodes/remember.el (remember-diary-extract-entries): Use diary-make-entry instead of the obsolete make-diary-entry. 2008-04-24 Stefan Monnier * subr.el (translation-table-for-input): Mark as obsolete. * isearch.el (isearch-search-string): Avoid string-bytes and aset. * international/quail.el (quail-build-decode-map): Avoid string-bytes. * textmodes/ispell.el (ispell-dictionary-alist-1) (ispell-dictionary-alist-2, ispell-dictionary-alist-3) (ispell-dictionary-alist-4, ispell-dictionary-alist-5) (ispell-dictionary-alist-6): Remove. (ispell-dictionary-base-alist): New var, merges the above. (ispell-find-aspell-dictionaries, ispell-set-spellchecker-params): Use it. (ispell-dictionary-alist): Default to nil. Remove autoload. (ispell-local-dictionary-alist): Remove autoload. * progmodes/f90.el (f90-mode-syntax-table): Don't set ` as word syntax. (f90-mode-abbrev-table): Use the new :regexp feature. Merge defvar and mapc into define-abbrev-table. (f90-imenu-type-matcher): Remove unused `l'. (f90-imenu-generic-expression): Remove unused `not-ib'. (f90-prepare-abbrev-list-buffer): Use with-current-buffer. (f90-change-keywords): Use restore-buffer-modified-p. 2008-04-24 Glenn Morris * net/goto-addr.el (goto-address-prog-mode): * progmodes/bug-reference.el (bug-reference-prog-mode): Define for compiler. * minibuffer.el (x-file-dialog): Declare as function. * progmodes/vhdl-mode.el (vhdl-speedbar-find-file): Use dframe-update-speed rather than obsolete alias speedbar-update-speed. * calendar/cal-menu.el (cal-menu-diary-menu): Fix typo. (cal-menu-scroll-menu): Use commands rather than key macros, which don't work with easymenu. Add :keys where needed. * calendar/cal-move.el (calendar-scroll-left): Handle case when event-start is nil. * calendar/calendar.el (calendar-mode-map): Fix typo. 2008-04-24 Tom Tromey * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Document keywords. Add :suppress. * pcvs-defs.el (cvs-mode-map): Use :suppress. * net/goto-addr.el (goto-address-unfontify): New function. (goto-address-fontify): Use it. Respect goto-address-prog-mode. (goto-address-fontify-region, goto-address-mode) (goto-address-prog-mode): New functions. * progmodes/bug-reference.el: New file. 2008-04-24 YAMAMOTO Mitsuharu * term/mac-win.el (mac-ts-active-input-buf): Move defvar to macterm.c. 2008-04-24 Stefan Monnier * emacs-lisp/easymenu.el (easy-menu-make-symbol): Don't wrap keyboard macros within lambdas. 2008-04-23 Stefan Monnier * minibuffer.el (completion-try-completion): Add `point' argument. Change return value. (completion-all-completions): Add `point' argument. (minibuffer-completion-help): Pass the new `point' argument. (completion--do-completion): Pass the whole field to try-completion. (completion--try-word-completion): Rewrite, making fewer assumptions. (completion-emacs21-try-completion, completion-emacs21-all-completions) (completion-emacs22-try-completion, completion-emacs22-all-completions) (completion-basic-try-completion, completion-basic-all-completions): New functions. (completion-styles-alist): Use them. 2008-04-23 Agustín Martín * textmodes/ispell.el (ispell-set-spellchecker-params): New function to make sure right params and dictionary alists are used after spellchecker changes. (ispell-aspell-dictionary-alist, ispell-last-program-name) (ispell-initialize-spellchecker-hook): New variables and hook. (ispell-find-aspell-dictionaries): Use ispell-aspell-dictionary-alist. (ispell-maybe-find-aspell-dictionaries): Remove. Calls replaced by (ispell-set-spellchecker-params) calls. (ispell-have-aspell-dictionaries): Remove. * textmodes/flyspell.el: Replace ispell-maybe-find-aspell-dictionaries by ispell-set-spellchecker-params. 2008-04-23 Stefan Monnier * complete.el (PC-do-completion): Be more robust in the presence of unexpected values in minibuffer-completion-predicate. * minibuffer.el (read-file-name): Don't let-bind default-directory. Only abbreviate default-filename if it's a file. * minibuffer.el (read-file-name-function, read-file-name-predicate) (read-file-name-completion-ignore-case, insert-default-directory): New vars, moved from fileio.c. (read-file-name): New fun, moved from fileio.c. * cus-start.el: Remove insert-default-directory and read-file-name-completion-ignore-case. 2008-04-23 Magnus Henoch * tar-mode.el (tar-untar-buffer): If the entry has directory link type, extract it as a directory even if its file name doesn't end with a slash. Fixes extraction of NetBSD tar archives. 2008-04-23 Stefan Monnier * server.el (server-start): Also don't get confused by CRs since we don't quote them. 2008-04-23 Nick Roberts * progmodes/gdb-ui.el (gdb-init-buffer): New function. (gdb-set-gud-minor-mode-existing-buffers) (gdb-info-breakpoints-custom, gdb-get-location) (gdb-set-gud-minor-mode-existing-buffers-1): Use it. Previously gdb-create-define-alist wasn't always run and added to after-save-hook. * progmodes/gud.el (gud-tooltip-tips): Use tooltip-event-buffer. 2008-04-23 Kevin Ryde * progmodes/make-mode.el (makefile-fill-paragraph): Treat indented comments like unindented ones. 2008-04-23 YAMAMOTO Mitsuharu * term/mac-win.el (mac-ae-open-documents): Adjust selection range parameter origins. 2008-04-23 Kevin Ryde * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Bind print-level to ensure output forms aren't truncated if print-level is set to eval-expression-print-level when going via eval-defun and friends, or has been otherwise fiddled with. 2008-04-23 Stefan Monnier * progmodes/cc-mode.el (c-basic-common-init): Don't set font-lock-extend-after-change-region-function globally. 2008-04-23 Juanma Barranquero * speedbar.el (speedbar-use-tool-tips-flag) (speedbar-ignored-directory-regexp, speedbar-file-unshown-regexp) (speedbar-file-regexp, speedbar-message, speedbar-item-info) (speedbar-files-item-info, speedbar-maybe-add-localized-support) (speedbar-insert-files-at-point, speedbar-dynamic-tags-function-list) (speedbar-generic-list-positioned-group-p, speedbar-insert-generic-list) (speedbar-fetch-replacement-function, speedbar-extract-one-symbol) (speedbar-separator-face): Fix typos in docstrings. (speedbar-stealthy-function-list, speedbar-verbosity-level) (speedbar-supported-extension-expressions, speedbar-update-current-file) (speedbar-add-indicator, speedbar-tag-expand): Reflow docstring. (speedbar-use-imenu-flag, speedbar-ignored-directory-expressions) (speedbar-directory-unshown-regexp, speedbar-handle-delete-frame) (speedbar-show-info-under-mouse, speedbar-directory-buttons) (speedbar-check-vc-this-line, speedbar-files-line-directory) (speedbar-buffer-buttons, speedbar-buffer-buttons-temp) (speedbar-buffers-line-directory, speedbar-recenter-to-top) (speedbar-recenter): Doc fixes. (speedbar-update-speed, speedbar-navigating-speed): Add obsolescence declaration and remove redundant info in docstring. 2008-04-23 Dan Nicolaescu * vc-git.el (vc-git-status-printer): Deal with directories. * vc.el (vc-next-action): Look at more than the first file to determine the state. 2008-04-23 Glenn Morris * dframe.el (dframe-have-timer-flag): Drop support for Emacs without timers. Doc fix. (dframe-update-speed): Drop support for XEmacs < 20. (dframe-frame-mode): Drop support for Emacs < 20. (dframe-set-timer-internal): Drop support for Emacs without timers. (dframe-popup-kludge): Use mouse-menu-major-mode-map if defined. * ediff-init.el (ediff-check-version): Drop support for very old Emacs versions. Add doc-string. Mark as obsolete. * ps-def.el (ps-color-device): Drop support for XEmacs < 19.12. * speedbar.el (speedbar-use-tool-tips-flag): Check for tooltip-mode, rather than using an Emacs version test. * tree-widget.el (tree-widget-image-enable): Use display-images-p rather than an Emacs version test. * calendar/cal-china.el (holiday-chinese-qingming) (holiday-chinese-winter-solstice, holiday-chinese): New functions. * calendar/calendar.el (calendar-chinese-all-holidays-flag): New. * calendar/holidays.el (holiday-oriental-holidays): Add more holidays. * calendar/cal-islam.el (holiday-islamic): Doc fix. * calendar/diary-lib.el (diary-list-sexp-entries): Doc fix. (diary-remind): Allow negative DAYS to represent a range 1:DAYS. Suggested by Roland Winkler . 2008-04-23 Nick Roberts * progmodes/gdb-ui.el (gdb-previous-frame-address): Rename... (gdb-previous-frame-pc-address): ...to this. (gdb-get-selected-frame): Use MI command -stack-info-frame instead of "info frame" with Gdb 6.4+. (gdb-stack-list-frames-regexp): New regexp. (gdb-frame-handler-1): Parse output of -stack-info-frame. 2008-04-22 David Glasser (tiny change) * tar-mode.el (tar-prefix-offset): New constant. (tar-header-block-tokenize): Support paths with long names which use the "ustar" standard. 2008-04-22 Mathias Dahl * image-dired.el (image-dired-track-original-file) (image-dired-modify-mark-on-thumb-original-file): Use `dired-goto-file' instead of `search-forward'. This solves a bug with finding files where the file name is a subset of other file names. Doc fix. 2008-04-22 Juri Linkov * menu-bar.el (buffers-menu-max-size): Move its definition down to the "Buffers Menu" section. Change group name `mouse' to `menu'. (yank-menu-length): Change group name `mouse' to `menu'. (buffers-menu-buffer-name-length): New user option. (menu-bar-update-buffers): Use buffers-menu-buffer-name-length instead of the hard-coded number 27. 2008-04-22 Juri Linkov * isearch.el (eval-when-compile): Require `help-macro'. (isearch-help-for-help-internal): Isearch specific Help screen created by `make-help-screen'. (isearch-help-map): New variable that binds "b", "k", "m" to isearch-specific commands, and binds other keys to isearch-other-control-char, thus allowing other Help keys to exit isearch mode and execute their global definitions. (isearch-help-for-help, isearch-describe-bindings) (isearch-describe-key, isearch-describe-mode): New commands. (isearch-mode-help): Define alias to isearch-describe-mode and remove its old function definition. (isearch-mode-map): Bind "\C-h" to isearch-help-map. Remove old comments because this issue is settled now. (isearch-forward): Describe three new Help commands in the docstring. (isearch-mode): Remove \\{isearch-mode-map} from the docstring, leave the single sentence at the first line of the docstring, and prepend the word "function" before `isearch-forward' to make the Help link to the function instead of variable. 2008-04-22 Juri Linkov * isearch.el (isearch-success-function): New variable with default to `isearch-success-function-default'. (isearch-search): Call a function from `isearch-success-function' instead of calling the hard-coded `isearch-range-invisible'. (isearch-success-function-default): New function that calls `isearch-range-invisible' and inverts its return value. * info.el (Info-search): In two similar places that skip undesired search matches move code to Info-search-success-function, and call `isearch-success-function' instead. (Info-search-success-function): New function copied from code in Info-search. Replace isearch-range-invisible with text-property-not-all that checks for 'invisible and 'display properties to skip partially invisible matches (whose display properties were set by Info-fontify-node). (Info-mode): Set buffer-local isearch-success-function to Info-search-success-function. 2008-04-22 Juri Linkov * minibuffer.el (internal-complete-buffer-except): New function. * files.el (read-buffer-to-switch): New function. (switch-to-buffer-other-window, switch-to-buffer-other-frame): Change interactive spec to call read-buffer-to-switch instead of using the letter "B". * simple.el (minibuffer-default-add-shell-commands): New function. Use declare-function for mailcap-file-default-commands from "mailcap". (shell-command): Set local minibuffer-default-add-function to minibuffer-default-add-shell-commands in minibuffer-with-setup-hook before calling read-shell-command. Set 4th arg default-value of read-shell-command to relative buffer-file-name in file buffers. * dired-aux.el (dired-read-shell-command-default): Move it to gnus/mailcap.el and change its name to more general name mailcap-file-default-commands. (minibuffer-default-add-dired-shell-commands): New function. Use declare-function for mailcap-file-default-commands from "mailcap". (dired-read-shell-command): Set local minibuffer-default-add-function to minibuffer-default-add-dired-shell-commands in minibuffer-with-setup-hook before calling read-shell-command. Remove dired-read-shell-command-default from the default value arg because default values are not set in minibuffer-default-add-dired-shell-commands. Doc fix. * dired-x.el (dired-smart-shell-command): Sync arguments and interactive spec with changes in `shell-command'. Use dired-get-filename to get the dired file name at point as the default value in dired mode. 2008-04-22 Juanma Barranquero * info.el (Info-complete-menu-item): Add missing parenthesis. 2008-04-22 Stefan Monnier * info.el (Info-complete-menu-item): Save point. 2008-04-22 Juanma Barranquero * minibuffer.el (minibuffer-complete-and-exit): Fix last change. 2008-04-22 Andreas Schwab * Makefile.in (emacs-deps): Define. Use it instead of $(lisp)/subdirs.el. 2008-04-22 Dan Nicolaescu * vc.el (vc-next-action): Do not consider directories when checking for state compatibility. (vc-transfer-file): Use when not if. (vc-dir-parent-marked-p, vc-dir-children-marked-p): New functions. (vc-dir-mark-file): Use them. (vc-deduce-fileset): Also return the backend. (vc-diff-internal): Take as argument the value returned by vc-deduce-fileset instead of just the fileset. (vc-next-action, vc-finish-logentry, vc-version-diff, vc-diff) (vc-dir-mark-file, vc-print-log, vc-revert, vc-rollback) (vc-update): Update the vc-deduce-fileset and vc-diff-internal calls. 2008-04-22 Tassilo Horn * doc-view.el (doc-view-scroll-up-or-next-page): Don't use set-window-vscroll but image-scroll-down. Fixes a bug where a command following SPC scrolled up again. 2008-04-22 Nick Roberts * progmodes/gdb-ui.el (gdb-locals-header): New variable. (gdb-locals-mode, gdb-registers-mode): Use it for header line. (gud-watch): Add "$" prefix when in registers buffer. 2008-04-22 Glenn Morris * progmodes/gdb-ui.el (gdbmi-invalidate-frames): Declare as function. * whitespace.el (whitespace-display-table) (whitespace-display-table-was-local): Move definitions before use. * emacs-lisp/copyright.el (copyright-at-end-flag): New option. (copyright-limit): Respect copyright-at-end-flag. (copyright-re-search, copyright-start-point) (copyright-offset-too-large-p): New functions. (copyright-update-year): Use copyright-re-search. (copyright-update, copyright-fix-years): Use copyright-start-point, and copyright-re-search. (copyright): Use copyright-offset-too-large-p. * add-log.el (change-log-mode): Set copyright-at-end-flag. * add-log.el (top-level): Require 'cl when compiling. 2008-04-21 Stefan Monnier * complete.el (PC-complete-as-file-name, PC-read-file-name-internal): Treat minibuffer-completion-predicate as a predicate. * minibuffer.el (completion--file-name-table): Accept both the old `dir' arg or the new `pred' arg. * ffap.el (ffap-read-file-or-url): Do not abuse completing-read's `predicate' argument to pass non-predicate data. (ffap-read-url-internal, ffap-read-file-or-url-internal): Use second arg as proper predicate. * vc-bzr.el (vc-bzr-complete-with-prefix): Remove. (vc-bzr-revision-completion-table): Use completion-table-with-context instead. * simple.el (choose-completion-string): Use minibuffer-completion-table. 2008-04-21 Chong Yidong * term.el (term-emulate-terminal): Perform redisplay after the process filter has finished running. 2008-04-21 Stefan Monnier * vc.el (vc-dir): Use pop-to-buffer, so it can be customized. * minibuffer.el (completion-try-completion): Change magic symbol property name. Rename from minibuffer-try-completion. (completion-all-completions): Rename from minibuffer-all-completions. Remove hide-spaces argument. (completion--do-completion): Rename from minibuffer--do-completion. (minibuffer-complete-and-exit): Call just try-completion rather than completion-try-completion to fix up the case. (completion--try-word-completion): Try to add space or hyphen before making `string' a prefix of `completion'. (completion--insert-strings): Rename from minibuffer--insert-strings. 2008-04-22 Naohiro Aota (tiny change) * net/tls.el (tls-program): Add -ign_eof argument to call the openssl commands. (tls-checktrust): Ditto. 2008-04-21 Dan Nicolaescu * vc-cvs.el (vc-cvs-status-extra-headers): New function. * vc-hooks.el (vc-insert-file, vc-state, vc-working-revision) (vc-check-master-templates, vc-file-not-found-hook) (vc-kill-buffer-hook): * vc.el (vc-process-sentinel, vc-exec-after, vc-do-command) (vc-find-position-by-context, vc-buffer-context) (vc-restore-buffer-context, vc-responsible-backend) (vc-expand-dirs, vc-ensure-vc-buffer, vc-buffer-sync) (vc-next-action, vc-register, vc-register-with, vc-steal-lock) (vc-finish-logentry, vc-coding-system-for-diff, vc-switches) (vc-version-diff, vc-diff, vc-insert-headers) (vc-dired-buffers-for-dir, vc-dired-resynch-file) (vc-snapshot-precondition, vc-create-snapshot, vc-print-log) (vc-revert, vc-rollback, vc-version-backup-file) (vc-rename-master, vc-delete-file, vc-rename-file) (vc-branch-part, vc-default-retrieve-snapshot) (vc-annotate-display-autoscale, vc-annotate-display-select) (vc-annotate, vc-annotate-warp-revision, vc-annotate-difference) (vc-annotate-lines, vc-file-tree-walk-internal): Use when instead of if. (vc-dir-update): Handle directories. (vc-default-status-printer): Simplify. * progmodes/asm-mode.el (asm-mode-map): * progmodes/hideif.el (hide-ifdef-mode-menu): Add :help. * progmodes/m4-mode.el (m4-mode-map): Add menu. 2008-04-21 Kenichi Handa * select.el (xselect-convert-to-string): Send a C_STRING only if the polymorphic target TEXT is requested. 2008-04-21 Juanma Barranquero * minibuffer.el (completion-setup-hook, display-completion-list) (completion--file-name-table): Fix typos in docstrings. (completion-table-dynamic): Fix typo, and reflow docstring. 2008-04-20 Andreas Schwab * server.el (server-switch-buffer): Also consider clients in the selected frame. 2008-04-19 Nick Roberts * progmodes/gdb-ui.el (gdb-mouse-set-clear-breakpoint): Select window clicked on first. (gdb): Display thread number in mode-line. (gdb-make-header-line-mouse-map): Move to avoid byte compiler warnings. (gdb-breakpoints-header): New variable. (gdb-breakpoints-mode, gdb-threads-mode): Use it for header line. 2008-04-19 Stefan Monnier * vc-sccs.el (vc-sccs-do-command): New fun. Use the "sccs" command. (vc-sccs-register, vc-sccs-checkin, vc-sccs-find-revision) (vc-sccs-checkout, vc-sccs-rollback, vc-sccs-revert) (vc-sccs-steal-lock, vc-sccs-modify-change-comment) (vc-sccs-print-log): Use it. * vc-hooks.el (vc-path): Remove SCCS-specific hack. * emacs-lisp/lisp-mode.el (lisp-mode-auto-fill): Make it an alias. * progmodes/scheme.el (scheme-mode-variables): Don't use it. * tooltip.el (tooltip-previous-message): New var. (tooltip-show-help-non-mode): Rewrite to better follow the behavior of the C code (avoid overwriting a minibuffer, restore previous echo message, ...). (tooltip-delay, tooltip-process-prompt-regexp, tooltip-strip-prompt): Simplify. 2008-04-19 Nick Roberts * progmodes/gdb-ui.el (gdb-thread-indicator): New variable. (gdb-init-1): Initialise it. (gdb-annotation-rules): New entry for "new-thread". (gdb-thread-identification): New function to customize mode-line-buffer-identification. (gdb-frames-mode, gdb-registers-mode, gdb-locals-mode) (gdb-assembler-mode): Use it. (gdb-threads-mode): Force "info threads" onto queue. 2008-04-19 Stefan Monnier * files.el (locate-file-completion-table): Rename from locate-file-completion and make it use `pred' in the normal way. (locate-file-completion): New compatibility wrapper. (load-library): Use locate-file-completion-table. * finder.el (finder-commentary): * subr.el (locate-library): * emacs-lisp/find-func.el (find-library): Likewise. * info.el: Use with-current-buffer and inhibit-read-only. (Info-read-node-name-2): Change to use `predicate' in the normal way. (Info-read-node-name-1): Adjust uses accordingly. * minibuffer.el (completion-table-with-context): Add support for `pred'. (completion-table-with-terminator): Don't use complete-with-action since we have to distinguish all three cases anyway. (completion-table-with-predicate): New function. (dynamic-completion-table): Add obsolete alias. * emacs-lisp/trace.el (trace-make-advice): Don't change selected-window. 2008-04-18 Sam Steingold * vc.el (vc-dir-menu-map, vc-dir-mode-map, vc-dir-tool-bar-map): Use quit-window instead of bury-buffer. 2008-04-18 Stefan Monnier * minibuffer.el (completion-table-with-terminator): Fix last fix. 2008-04-18 Andreas Schwab * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el) ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el): Depend on $(lisp)/subdirs.el. 2008-04-18 Juanma Barranquero * descr-text.el (describe-char-after): Use `define-obsolete-function-alias'. * dired-x.el (dired-omit-files-p): Use `define-obsolete-variable-alias'. * facemenu.el (facemenu-unlisted-faces): Fix obsolescence description. * savehist.el (savehist-load): Add WHEN to obsolescence declaration. Remove redundant obsolescence info in docstring. * vc-hooks.el (vc-ignore-vc-files, vc-master-templates) (vc-header-alist): Add WHEN to obsolescence declaration. (vc-state): Fix typo in docstring. * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Use `define-obsolete-variable-alias'. * emulation/tpu-edt.el (tpu-have-ispell): * international/codepage.el (codepage-setup): Fix typo in obsolescence declaration. * international/mule.el (char-coding-system-table): Remove redundant obsolescence info in docstring. (charset-list, generic-char-p, set-char-table-default): Fix typos in obsolescence declarations. * international/mule-diag.el (non-iso-charset-alist): Fix typo in obsolescence declaration. (decode-codepage-char): Remove redundant obsolescence info in docstring. * font-core.el (font-lock-defaults-alist): * font-lock.el (font-lock-reference-face): * frame.el (screen-height, screen-width, set-screen-width) (set-screen-height): * hilit-chg.el (highlight-changes-initial-state): * isearch.el (isearch-return-char): * log-edit.el (cvs-commit-buffer-require-final-newline) (cvs-changelog-full-paragraphs): * mouse.el (mouse-major-mode-menu, mouse-popup-menubar) (mouse-popup-menubar-stuff): * mwheel.el (mouse-wheel-down-button, mouse-wheel-up-button) (mouse-wheel-click-button): * outline.el (outline-visible): * pcvs-defs.el (cvs-diff-ignore-marks, cvs-diff-buffer-name): * pcvs-info.el (cvs-display-full-path, cvs-fileinfo->full-path): * emacs-lisp/lisp-mode.el (lisp-comment-indent): * progmodes/compile.el (compile-internal): Add WHEN to obsolescence declarations. 2008-04-18 Stefan Monnier * emacs-lisp/debug.el (debug): Revert to bury-buffer since quit-window is not better anyway. 2008-04-17 Vinicius Jose Latorre * whitespace.el (whitespace-report-region): Handle whitespace-tab-width properly. 2008-04-17 Stefan Monnier * progmodes/python.el (python-mode-map): Use abbrev-table-menu. (python-use-skeletons): Remove, unused. (python-skeletons): Remove. Use the abbrev table instead. (python-mode-abbrev-table): Fix regexp; add enable-function and case-fixed. (def-python-skeleton): Simplify. (python-expand-template): Use the abbrev-table and abbrev-insert. (python-abbrev-pc-hook, python-abbrev-syntax-table, python-pea-hook): Remove. (python-mode): Don't set pre-abbrev-expand-hook. * skeleton.el: Set coding-tag. * abbrev.el (abbrev-insert): New function extracted from expand-abbrev. (expand-abbrev): Use it. (abbrev-table-menu): New function. * abbrev.el (define-abbrev-table): Fontify dosctrings as such. * minibuffer.el (completion-table-with-terminator): Fix paren typo. 2008-04-17 Sam Steingold * pcvs-util.el (cvs-bury-buffer): Use quit-window instead of the idiosyncratic bury-buffer/delete-window logic. 2008-04-17 Juanma Barranquero * emacs-lisp/crm.el (crm-completion-help, crm-complete) (crm-complete-word, crm-complete-and-exit): Fix typo in previous change. 2008-04-17 Kenichi Handa * international/characters.el: Don't make the width of U+00AD to 0. 2008-04-17 Nick Roberts * progmodes/gdb-ui.el (gdb-stack-update): New variable. (gdb, gdb-starting, gdb-frames-mode): Use it. (gdb-invalidate-frames): Advise to call "info stack" only if execution has occurred. (gdb-info-breakpoints-custom): Only update overlay-arrow pointing to selected frame if no execution has occurred. (gdb-frames-force-update): New interactive function. (gdb-frames-mode-map): Bind it to "F". 2008-04-17 Michael Olson * textmodes/remember.el (remember-version): Release Remember 2.0. 2008-04-16 Yoni Rabkin * textmodes/artist.el: * progmodes/vhdl-mode.el: * progmodes/verilog-mode.el: * progmodes/vera-mode.el: * progmodes/simula.el: * progmodes/ps-mode.el: * progmodes/cmacexp.el: * obsolete/hilit19.el: * emulation/viper.el: * ediff.el: Cleanup the bug-report email addresses and make sure the maintainer is still willing to handle bug reports. 2008-04-16 Dan Nicolaescu * vc.el (vc-dir-kill-query): Fix thinko. 2008-04-16 Glenn Morris * calendar/diary-lib.el (diary-remind): Don't clobber `date' passed by diary-sexp-entry. 2008-04-16 Markus Triska * proced.el (proced-command-alist): Add support for darwin. 2008-04-16 Stefan Monnier * proced.el (proced-mode): Redefine as just the major-mode. (proced): Separate it from proced-mode. * vc.el: Rename vc-status to vc-dir and the vc-status var to vc-ewoc. 2008-04-15 Vinicius Jose Latorre * whitespace.el: Honor the `indent-tabs-mode' setting from user. Suggested by Stephen Deasey . Honor also the `tab-width' setting from user. New version 10.0. Doc and docstring fix. (whitespace-style, whitespace-chars): Remove options. (whitespace-style-mark): New option, replace whitespace-style deleted option. Fix docstring. (whitespace-style-color): New option, replace whitespace-chars deleted option. Fix docstring. (whitespace-space, whitespace-hspace, whitespace-tab) (whitespace-newline, whitespace-trailing, whitespace-line) (whitespace-space-before-tab, whitespace-indentation, whitespace-empty) (whitespace-space-after-tab, whitespace-hspace-regexp) (whitespace-space-regexp, whitespace-tab-regexp) (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp) (whitespace-empty-at-eob-regexp, whitespace-line-column) (whitespace-toggle-option-alist): Fix docstring. (whitespace-space-before-tab-regexp, whitespace-indentation-regexp) (whitespace-space-after-tab-regexp, whitespace-display-mappings): Fix docstring and initialization. (global-whitespace-mode): Autoloaded global minor mode. (whitespace-chars-value-list, whitespace-style-value-list) (whitespace-active-chars, whitespace-active-style) (whitespace-toggle-chars, whitespace-toggle-style): Remove vars. (whitespace-color-value-list): New var, replace whitespace-chars-value-list removed var. (whitespace-mark-value-list): New var, replace whitespace-style-value-list removed var. (whitespace-active-color): New var, replace whitespace-active-chars removed var. (whitespace-active-mark): New var, replace whitespace-active-style removed var. (whitespace-toggle-color): New var, replace whitespace-toggle-chars removed var. (whitespace-toggle-mark): New var, replace whitespace-toggle-style removed var. (whitespace-toggle-option-alist, whitespace-report-list) (whitespace-report-text, whitespace-help-text): Fix initialization. (whitespace-indent-tabs-mode, whitespace-tab-width): New vars. (whitespace-toggle-options, global-whitespace-toggle-options) (whitespace-cleanup-region, whitespace-report-region) (whitespace-interactive-char): Fix docstring and code. (whitespace-cleanup, whitespace-report): Fix docstring. (whitespace-replace-spaces-by-tabs): Remove fun. (whitespace-replace-action): New fun, replace whitespace-replace-spaces-by-tabs removed fun. (whitespace-regexp, whitespace-indentation-regexp) (whitespace-space-after-tab-regexp, whitespace-insert-value) (whitespace-kill-buffer): New funs. (whitespace-insert-option-mark, whitespace-help-on) (whitespace-help-off, whitespace-turn-on, whitespace-turn-off) (whitespace-color-on, whitespace-color-off) (whitespace-display-char-on): Fix code. 2008-04-15 Stefan Monnier * mouse-drag.el (mouse-throw-magnifier-with-scroll-bar) (mouse-throw-magnifier-with-mouse-movement): Remove. (mouse-throw-magnifier-base): New const. (mouse-drag-scroll-delta): New fun. (mouse-drag-throw): Use it. 2008-04-15 Juanma Barranquero * international/uni-bidi.el, international/uni-category.el: * international/uni-combining.el, international/uni-comment.el: * international/uni-decimal.el, international/uni-decomposition.el: * international/uni-digit.el, international/uni-lowercase.el: * international/uni-mirrored.el, international/uni-name.el: * international/uni-numeric.el, international/uni-old-name.el: * international/uni-titlecase.el, international/uni-uppercase.el: * international/charprop.el: Regenerate. 2008-04-15 Dan Nicolaescu * vc.el (vc-status-fileinfo): Add new member directoryp. (vc-default-status-printer): Print directories. (vc-status-update): Sort files before subdirectories. * vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-dir-status): Add alternative implementation based on "cvs update". 2008-04-15 Tassilo Horn * doc-view.el: Changed requirements section to tell that only one of dvipdf or dvipdfm is needed. (doc-view-already-converted-p): Fix bug that forced reconversion if doc was already converted. 2008-04-14 Stefan Monnier * minibuffer.el (minibuffer-message): Make sure we can put-text-property. * emacs-lisp/crm.el: Complete rewrite. * tmm.el (tmm-completion-delete-prompt): Don't hardcode point-min==1. (tmm-add-prompt): Make sure completion-setup-hook is preserved even in case of an error in display-completion-list. * filecache.el (file-cache-completions-keymap): Move init from file-cache-completion-setup-function into declaration. (file-cache-minibuffer-complete): Simplify. (file-cache-completion-setup-function): Use standard-output, preserve current-buffer. * vc.el (vc-status-update): Fix typo. (vc-status-update): Set needs-update. (vc-status-refresh): η-reduce. 2008-04-14 Tassilo Horn * doc-view.el (doc-view-mode-map): Bind C-a to image-bol and C-e to image-eol. 2008-04-14 Alexandre Julliard * vc.el (vc-status-update): Undo the previous revert. 2008-04-14 Stefan Monnier * minibuffer.el (completion-table-with-terminator): Those completions are never valid w.r.t test-completion. (completion--file-name-table): Check completion-all-completions-with-base-size. 2008-04-14 Tassilo Horn * doc-view.el (doc-view-dvipdf-program): New variable. (doc-view-dvipdfm-program): Mention doc-view-dvipdf-program. (doc-view-mode-p): Check for doc-view-dvipdf-program as alternative for doc-view-dvipdfm-program. (doc-view-dvi->pdf): Prefer dvipdf over dvipdfm. * doc-view.el (doc-view-start-process): Don't set default-directory to "~/" if the current value is valid. This broke PS files that run other files in the same directory. 2008-04-14 Dan Nicolaescu * vc.el (vc-status-kill-query): New function. (vc-status-mode): Add it to kill-buffer-query-functions. (vc-status-show-fileentry): New function. (vc-status-menu-map): Bind it. Bind vc-next-action. 2008-04-14 Stefan Monnier * minibuffer.el (minibuffer-message): Put cursor at the right place. 2008-04-13 Roland Winkler * proced.el (proced-send-signal): Fix error recognition. 2008-04-13 Roland Winkler * proced.el (proced-command-alist): Remove sort column. (proced-command, proced-procname-column): Use make-variable-buffer-local. (proced-signal-function): Rename from proced-kill-program. Allow for elisp symbols and string values representing system calls. (proced-marker-regexp, proced-success-message): New functions. (proced): Use defalias. Add autoload cookie. (proced-unmark-backward, proced-toggle-marks) (proced-hide-processes): New commands. (proced-do-mark): Simplify code. (proced-insert-mark): Use optional arg BACKWARD instead of line number. (proced-update): Remove sorting. (proced-send-signal): Display number of processes to operate on. Allow for system calls or elisp functions to send signals. Check if signal was sent successfully. 2008-04-13 Stefan Monnier * minibuffer.el (completion-all-completion-with-base-size): New var. (completion--some): New function. (completion-table-with-context, completion--file-name-table): Return the base-size if requested. (completion-table-in-turn): Generalize to multiple arguments. (complete-in-turn): Compatibility alias. (completion-styles-alist): New var. (completion-styles): New customization. (minibuffer-try-completion, minibuffer-all-completions): New functions. (minibuffer--do-completion, minibuffer-complete-and-exit) (minibuffer-try-word-completion): Use them. (display-completion-list, minibuffer-completion-help): Use them. Handle all-completions's new base-size info to set completion-base-size. * info.el (Info-read-node-name-1): Use completion-table-with-context, completion-table-with-terminator and complete-with-action. Remove the now obsolete completion-base-size-function property. * simple.el (completion-list-mode-map): Move init into declaration. (completion-list-mode): Use define-derived-mode. (completion-setup-function): Use any completion-base-size that may have been set before. Remove handling of completion-base-size-function. * loadup.el: Move abbrev.el up earlier. 2008-04-13 Alexandre Julliard * vc-git.el (vc-git-after-dir-status-stage) (vc-git-dir-status-goto-stage): New functions. (vc-git-after-dir-status-stage1) (vc-git-after-dir-status-stage1-empty-db) (vc-git-after-dir-status-stage2): Remove, functionality moved into the new generic stage functions. (vc-git-dir-status-files): New function. * vc.el (vc-status-update): Revert an incorrect rewrite. Add some comments. (vc-status-refresh-files): New function. (vc-status-refresh): Use `vc-status-refresh-files' to refresh the state of up-to-date files. (vc-default-dir-status-files): New function. 2008-04-13 Juanma Barranquero * minibuffer.el (completion--embedded-envvar-table) (read-file-name-internal): Fix typos in 2008-04-11 change. * faces.el (read-face-name): Use `completion-table-in-turn', not `complete-in-turn'. 2008-04-13 Andreas Schwab * progmodes/etags.el: Require 'cl when compiling. 2008-04-12 Nick Roberts * progmodes/gud.el (gud-menu-map): Expand tooltip. * progmodes/gdb-ui.el (gdb-find-source-frame): Improve doc string. (menu): Add/expand menu tooltips. 2008-04-12 Dan Nicolaescu * progmodes/sh-script.el (sh-show-indent): Fix typo. (sh-mode-map): Add a toggle for inserting braces and quotes in pairs. * vc-cvs.el (vc-cvs-registered): Allow removed files to be considered registered. 2008-04-12 Reiner Steib * emacs-lisp/copyright.el (copyright-update-directory): New command. * ediff-wind.el (ediff-split-window-function) (ediff-merge-split-window-function): Improve custom type. 2008-04-12 Eli Zaretskii *