Michael Kifer [Sun, 29 Oct 2000 04:56:45 +0000 (04:56 +0000)]
2000-10-29 Michael Kifer <kifer@cs.sunysb.edu>
* viper-cmd.el (viper-preserve-cursor-color): new test that avoids
rewrawing the screen when changing cursor color.
(viper-insert-state-pre-command-sentinel,
viper-replace-state-pre-command-sentinel,
viper-replace-state-post-command-sentinel): use
viper-preserve-cursor-color.
Many functions changed to use viper= instead of = when comparing
characters.
* viper-util.el (viper-memq-char,viper=): new functions for
working with characters.
(viper-change-cursor-color): fixed buglet.
Many functions changed to use viper= instead of = when comparing
characters.
* viper.el (viper-insert-state-mode-list): added eshell.
* ediff-init.el (ediff-before-setup-hook): new hook.
Several typos fixed in various docstrings.
* ediff-merg.el (ediff-show-clashes-only): docstring typo fixed.
* ediff-nult.el (ediff-before-session-group-setup-hooks): new
hook.
(ediff-show-meta-buffer): run ediff-before-session-group-setup-hooks.
* ediff-util.el (ediff-setup): run ediff-before-setup-hook.
(ediff-other-buffer): use selected buffers if in Buffer-menu buffer.
(ediff-get-selected-buffers): new function.
* ediff-vers.el (ediff-vc-internal,ediff-rcs-internal,
ediff-vc-merge-internal,ediff-rcs-merge-internal): use
save-window-excursion.
* ediff-wind.el (ediff-skip-unsuitable-frames): more robust
termination check in while loop.
* ediff.el (ediff-get-default-file-name): better defaults when in
dired buffer.
(ediff-files,ediff-merge-files,ediff-files3,
ediff-merge-files-with-ancestor): use ediff-get-default-file-name.
Eli Zaretskii [Sat, 28 Oct 2000 17:25:19 +0000 (17:25 +0000)]
(Colors X): Document support for -fg, -bg, and -rv
on TTYs. Suggest use of list-colors-display to see what colors
are supported. Add index entries for list-colors-display.
Eli Zaretskii [Sat, 28 Oct 2000 17:18:21 +0000 (17:18 +0000)]
(frame-notice-user-settings): Don't apply
default-frame-alist and initial-frame-alist to MS-DOS frames.
Call tty-handle-reverse-video, frame-set-background-mode, and
face-set-after-frame-default for non-MS-DOS frames.
Miles Bader [Sat, 28 Oct 2000 06:07:30 +0000 (06:07 +0000)]
(define-minor-mode): Generate `turn-on-MODE' and `turn-off-MODE'
functions unless the mode is global. If :global is followed by a
non-nil but non-t value, make the mode buffer-local, but also generate a
`global-MODE' version using `easy-mmode-define-global-mode'. Add
:conditional-turn-on keyword argument.
Dave Love [Fri, 27 Oct 2000 23:20:38 +0000 (23:20 +0000)]
2000-10-27 Simon Josefsson <simon@josefsson.org>
* nnimap.el (nnimap-group-overview-filename): Create directory for
newfile (when use long filenames is nil). Copy+delete file if
rename didn't work.
(nnimap-group-overview-filename): `rename-file' and `copy-file'
doesn't return anything useful, use ignore-errors instead.
(nnimap-verify-uidvalidity): Delete overview file when
uid validity changes.
(nnimap-group-overview-filename): Store uidvalidity in filenames.
Rename old files into new format.
(nnimap-request-accept-article): Remove \n's from
From_ lines.
(nnimap-request-accept-article): Remove From[^:] lines.
(imap-starttls-p): Check for starttls binary.
(imap-starttls-open): More verbose.
(imap-gssapi-auth): Ditto.
(imap-kerberos4-auth): Ditto.
(imap-cram-md5-auth): Ditto.
(imap-login-auth): Ditto.
(imap-anonymous-auth): Ditto.
(imap-digest-md5-auth): Ditto.
(imap-open): Ditto.
(imap-digest-md5-p): Check capability first.
(imap-parse-flag-list): Correctly parse empty lists.
(imap-login-p): Support LOGINDISABLED.
(imap-parse-body): Work around bug in Sun SIMS.
Dave Love [Fri, 27 Oct 2000 23:14:59 +0000 (23:14 +0000)]
2000-10-27 John Wiegley <johnw@gnu.org>
* gnus-art.el (gnus-treat-hide-citation-maybe): Added this
variable to correspond with `gnus-article-hide-citation-maybe'.
(gnus-treatment-function-alist): Added entry for the above
correlation.
2000-10-27 Richard M. Alderson III <alderson@netcom2.netcom.com>
2000-10-27 Kai Gro�ohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
* gnus-art.el (article-strip-banner): Use
gnus-group-find-parameter rather than gnus-group-get-parameter, to
allow inheritance on the banner.
From elkin@tverd.astro.spbu.ru.
2000-10-27 ShengHuo ZHU <zsh@cs.rochester.edu>
* gnus-art.el (gnus-request-article-this-buffer):
gnus-refer-article-method might be a single method.
(gnus-article-mime-total-parts): New function.
(gnus-mm-display-part): Use it.
(gnus-mime-display-single): Ditto.
(gnus-mime-display-alternative): Ditto.
(gnus-mime-inline-part): Check validity of charset.
(gnus-treat-display-smileys): Default value in Emacs 21.
* gnus-art.el: Define dynamic variables in eval-when-compile.
(gnus-article-prepare): Configure it again.
(gnus-insert-mime-button): Use gnus-overlay-buffer,
gnus-overlay-start.
(gnus-article-prepare): Configure windows before
gnus-article-prepare-display is called. Otherwise, BBDB's popup
window might be overrided.
(gnus-mime-inline-part): Use prefix argument only
when it is called interactively.
(gnus-mime-action-alist): New variable.
(gnus-mime-action-on-part): Use it.
(gnus-mime-button-commands): Add command ".".
(gnus-mime-inline-part): Support prefix argument.
(gnus-article-banner-alist): New variable.
(article-strip-banner): Use it.
Dave Love [Fri, 27 Oct 2000 22:46:05 +0000 (22:46 +0000)]
2000-10-27 ShengHuo ZHU <zsh@cs.rochester.edu>
* mailcap.el (mailcap-parse-mailcaps): Don't use parse-colon-path,
because they are files, not paths.
(mailcap-parse-mimetypes): Ditto.
(mailcap-mime-types): Use mailcap-mime-data.
Stefan Monnier [Fri, 27 Oct 2000 22:20:19 +0000 (22:20 +0000)]
* lisp.h (KEYMAPP): New macro.
(get_keymap): Remove.
(get_keymap_1): Rename get_keymap.
* keyboard.h (get_keymap_1, Fkeymapp): Remove prototype.
* xterm.c (note_mode_line_highlight): Use KEYMAPP.
* xmenu.c (single_submenu): Use KEYMAPP.
(Fx_popup_menu): Fetch keymaps rather than checking Fkeymapp.
Use KEYMAPP rather than Fkeymapp.
* w32term.c (note_mode_line_highlight): Use KEYMAPP.
* w32menu.c (True, False): Remove (use TRUE and FALSE instead).
(Fx_popup_menu): Fetch keymaps rather than checking Fkeymapp.
Use KEYMAPP rather than Fkeymapp.
(single_submenu): Use KEYMAPP.
(w32_menu_show, w32_dialog_show): Use TRUE.
* minibuf.c (Fread_from_minibuffer): Update call to get_keymap.
* keymap.c (KEYMAPP): Remove (moved to lisp.h).
(Fkeymapp): Use KEYMAPP.
(get_keymap): Rename from get_keymap_1. Remove old def.
Return t when autoload=0 and error=0 and the keymap needs autoloading.
(Fcopy_keymap): Check (eq (car x) 'keymap) rather than using Fkeymapp.
(Fminor_mode_key_binding): Don't raise an error if the binding
is not a keymap.
(Fuse_global_map, Fuse_local_map): Allow autoloading.
(Faccessible_keymaps): Fetch keymaps rather than checking Fkeymapp.
* keyboard.c (read_char): get_keymap_1 -> get_keymap.
Allow Vspecial_event_map to be autoloaded.
(menu_bar_items): Fetch the keymap rather than using keymapp.
(menu_bar_one_keymap): No need to follow func-indirect any more.
(parse_menu_item): get_keymap_1 -> get_keymap.
(tool_bar_items): Fetch the keymap rather than using keymapp.
(read_key_sequence): Use KEYMAPP.
* intervals.c (get_local_map): Use get_keymap rather than following
function-indirections explicitly.
* doc.c (Fsubstitute_command_keys): get_keymap_1 -> get_keymap.
Dave Love [Fri, 27 Oct 2000 19:48:50 +0000 (19:48 +0000)]
2000-10-27 Simon Josefsson <simon@josefsson.org>
* gnus-agent.el (gnus-agent-possibly-do-gcc):
(gnus-agent-restore-gcc):
(gnus-agent-possibly-save-gcc): New functions.
Asks the user to synch flags with server when you plug in.
* gnus-agent.el (gnus-agent-synchronize-flags): New variable.
(gnus-agent-possibly-synchronize-flags-server): New function, use it.
(gnus-agent-toggle-plugged): Call it.
(gnus-agent-synchronize-flags): Renamed from `gnus-agent-synchronize'.
(gnus-agent-group-mode-map): `g-a-s' -> `g-a-s-flags'.
(gnus-agent-possibly-synchronize-flags): New function.
(gnus-agent-possibly-synchronize-flags-server): New function.
2000-10-27 ShengHuo ZHU <zsh@cs.rochester.edu>
* gnus.el (gnus-xmas-define): Defalias gnus-overlay-buffer,
gnus-overlay-start.
* gnus.el (gnus-agent-fetching): New variable.
* gnus-agent.el (gnus-agent-with-fetch): Bind it.
* gnus-agent.el (gnus-agent-fetch-session): Catch quit.
(gnus-agent-fetch-group-1): Score-param could be nil.
(gnus-agent-any-covered-gcc): New function.
(gnus-agent-possibly-save-gcc): Use it.
(gnus-agent-possibly-do-gcc): Ditto.
* gnus-agent.el: Revoke Mike McEwan's 1998-09-05 patch due to
the GNU assignment issue.
(gnus-agent-fetch-group-1): Reimplement Mike McEwan's proposal.
* gnus-agent.el: timer vs. itimer.
Eli Zaretskii [Fri, 27 Oct 2000 19:24:25 +0000 (19:24 +0000)]
(find-file-not-found-set-buffer-file-coding-system):
Don't call find-buffer-file-type-coding-system. Instead, just
set eol-type to -unix if inhibit-eol-conversion is in effect, or
if the file is on an untranslated filesystem.
(add-untranslated-filesystem): Use "D" instead of "f" inside
interactive.
* gnus-sum.el (gnus-refer-article-methods): The second could be
a named method.
(gnus-cache-write-active): Auto load.
(gnus-summary-display-article): Enable multibyte.
(gnus-summary-select-article): Don't enable multibyte here.
(gnus-summary-goto-article): Ditto.
(gnus-summary-enter-digest-group): Decode to-address.
* mm-util.el (mm-enable-multibyte-mule4): New.
(mm-disable-multibyte-mule4): New.
* gnus-sum.el (gnus-summary-mode): Use it.
(gnus-summary-select-article): Ditto.
(gnus-summary-goto-article): Use enable multibyte.
Dave Love [Fri, 27 Oct 2000 18:09:37 +0000 (18:09 +0000)]
2000-10-27 ShengHuo ZHU <zsh@cs.rochester.edu>
* nnkiboze.el (nnkiboze-generate-group): Use it. Inhibit list groups.
(nnkiboze-enter-nov): Fix it when there is no xref.
(nnkiboze-generate-groups): List groups.
(nnkiboze-request-article): Use
gnus-cache-request-article.
Dave Love [Fri, 27 Oct 2000 17:58:21 +0000 (17:58 +0000)]
2000-10-27 ShengHuo ZHU <zsh@cs.rochester.edu>
* message.el (message-send-mail-partially): Replace the header
delimiter with a blank line.
(message-sending-message): New variable.
(message-send): Use it.
(message-default-charset): Default value for non-Mule Emacsen.
(message-alternative-emails): New.
(message-use-alternative-email-as-from): New.
(message-setup): Use them.
(message-default-charset): Set default value in non-MULE XEmacsen
as iso-8859-1.
2000-10-27 Emerick Rogul <emerick@csa.bu.edu>
* message.el (message-setup-fill-variables): New variable.
(message-mode): Use it.
Dave Love [Fri, 27 Oct 2000 17:11:23 +0000 (17:11 +0000)]
(message-mode-menu): Add some :help strings.
(message-mode) [message-tool-bar-map]: Define tool-bar-map.
(featurep): Use (featurep 'xemacs). Install tool bar for Emacs.
Stefan Monnier [Fri, 27 Oct 2000 13:29:36 +0000 (13:29 +0000)]
(POP_FAILURE_REG_OR_COUNT, re_match_2_internal)
(re_match_2_internal, re_match_2_internal, re_match_2_internal):
Giving in to popular pressure to shut up the compiler with casts.
Miles Bader [Fri, 27 Oct 2000 01:46:13 +0000 (01:46 +0000)]
(face-spec-choose): Change syntax so that the list of attribute-value
pairs is now the cdr of each clause, not the cadr. Detect old-style
entries, and handle them. Use pop.
Dave Love [Thu, 26 Oct 2000 18:44:28 +0000 (18:44 +0000)]
2000-10-26 Kai GroESC,A_ESC(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
* gnus.texi (Gnus Development): nnmail-delete-incoming -->
mail-source-delete-incoming. (Kudos to Karl Kleinpaste
<karl@charcoal.com> for pointing this out.)
Dave Love [Thu, 26 Oct 2000 17:13:22 +0000 (17:13 +0000)]
2000-10-26 Dave Love <fx@gnu.org>
* mail-source.el: Require imap when compiling and defvar
display-time-mail-function. Require mm-util.
(nnheader-cancel-timer): Autoload.
(mail-source-imap-authenticators, mail-source-imap-streams): New
variables.
(mail-sources): Use them.
(defvar): Use rmail-spool-directory unconditionally.
2000-10-26 Per Abrahamsen <abraham@dina.kvl.dk>
* mail-source.el (mail-sources): Better `:type'.
2000-10-26 Kai Gro�ohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
* mail-source.el (mail-source-keyword-map): Use
`rmail-spool-directory' as a default directory for the `file'
source, if the variable is defined. Fall back to hardcoded
"/usr/spool/mail/", as before. Suggestion by Steven E. Harris
<seh@speakeasy.org>.