From 3df5a636a13f8c1c1e01e6983e8b5af4b3cea0d3 Mon Sep 17 00:00:00 2001 From: yamaoka Date: Sat, 7 Aug 2004 00:10:13 +0000 Subject: [PATCH] Synch to No Gnus 200408061758. --- GNUS-NEWS | 29 ++++++++++++++++++++++++++--- lisp/ChangeLog | 12 ++++++++++++ lisp/gnus-encrypt.el | 13 +++++++++---- lisp/gnus-sum.el | 8 ++++---- texi/ChangeLog | 6 ++++++ texi/gnus-news.el | 2 ++ texi/gnus-news.texi | 7 +++++-- 7 files changed, 64 insertions(+), 13 deletions(-) diff --git a/GNUS-NEWS b/GNUS-NEWS index 39d0d7b..edd6eed 100644 --- a/GNUS-NEWS +++ b/GNUS-NEWS @@ -5,9 +5,31 @@ See the end for copying conditions. Please send Gnus bug reports to bugs@gnus.org. For older news, see Gnus info node "New Features". + * Changes in No Gnus +./gnus-news.texi:23: Cross reference to nonexistent node `RSS' (perhaps incorrect sectioning?). +This file contains a list of news features Gnus. It is supposed to be +included in `gnus.texi'. `GNUS-NEWS' is automatically generated from this +file (see `gnus-news.el'). + +** You can import and export your RSS subscriptions from OPML files. +*Note RSS::. + +** The option `mm-fill-flowed' can be used to disable treatment of +format=flowed messages. Also, flowed text is disabled when sending +inline PGP signed messages. + +** You can now drag and drop attachments to the Message buffer. + +** `/ r' limits the summary buffer to replied articles. + +** ANSI SGR control sequences can be transformed using `W A'. + +ANSI sequences are used in some Chinese hierarchies for highlighting +articles (`gnus-article-treat-ansi-sequences'). + ** Gnus includes an Emacs Lisp SASL library. This provide a clean API to SASL mechanisms from within Emacs. The @@ -30,11 +52,12 @@ after quering the user about whether to do so. ** IMAP identity (RFC 2971) is supported. By default, Gnus do not send any information about itself, but you can -customize it via the variable `nnimap-id'. +customize it using the variable `nnimap-id'. -** The "all.SCORE" file can now be edited from the group buffer using `W e'. +** The `all.SCORE' file can be edited from the group buffer using `W e'. -** The prompt for creating new groups (`G m') now auto complete known groups. +** Gnus now MIME decode articles even when they lack "MIME-Version" +header. This changes the default of `gnus-article-loose-mime'. * For older news, see Gnus info node "New Features". diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5a3f33e..593dc15 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,15 @@ +2004-08-06 Teodor Zlatanov + + * gnus-encrypt.el (gnus-encrypt-insert-file-contents) + (gnus-encrypt-write-file-contents): the password key is the file + name PLUS the cipher, not just the cipher. Also remove failed + passwords from the cache. + +2004-08-06 Simon Josefsson + + * gnus-sum.el (gnus-article-loose-mime): Change default to t. Doc + fix. + 2004-08-05 Katsumi Yamaoka * rfc2047.el (rfc2047-fold-region): Use trailing whitespace as diff --git a/lisp/gnus-encrypt.el b/lisp/gnus-encrypt.el index 72a6a72..361d3ab 100644 --- a/lisp/gnus-encrypt.el +++ b/lisp/gnus-encrypt.el @@ -109,8 +109,8 @@ Format example: (let* ((model (or model (gnus-encrypt-find-model file))) (method (nth 0 model)) (cipher (nth 1 model)) - (password-key (format "gnus-encrypt-password-%s-%s" - (symbol-name method) cipher)) + (password-key (format "gnus-encrypt-password-%s-%s %s" + (symbol-name method) cipher file)) (passphrase (password-read-and-add (format "%s password for cipher %s? " @@ -136,6 +136,8 @@ Format example: (delete-region (point-min) (point-max)) (goto-char (point-min)) (insert outdata)) + ;; the decryption failed, alas + (password-cache-remove password-key) (gnus-error 5 "%s was NOT decrypted with %s (cipher %s)" file (symbol-name method) cipher)))) @@ -158,12 +160,13 @@ Format example: (let* ((model (or model (gnus-encrypt-find-model file))) (method (nth 0 model)) (cipher (nth 1 model)) + (password-key (format "gnus-encrypt-password-%s-%s %s" + (symbol-name method) cipher file)) (passphrase (password-read (format "%s password for cipher %s? " (symbol-name method) cipher) - (format "gnus-encrypt-password-%s-%s" - (symbol-name method) cipher))) + password-key)) outdata) (cond @@ -181,6 +184,8 @@ Format example: (insert outdata) ;; do not confirm overwrites (write-file file nil)) + ;; the decryption failed, alas + (password-cache-remove password-key) (gnus-error 5 "%s was NOT encrypted with %s (cipher %s)" file (symbol-name method) cipher)))) diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el index 6fa4fb1..daf7273 100644 --- a/lisp/gnus-sum.el +++ b/lisp/gnus-sum.el @@ -1181,12 +1181,12 @@ that were fetched. Say, for nnultimate groups." :group 'gnus-summary :type 'string) -(defcustom gnus-article-loose-mime nil +(defcustom gnus-article-loose-mime t "If non-nil, don't require MIME-Version header. Some brain-damaged MUA/MTA, e.g. Lotus Domino 5.0.6 clients, does not -supply the MIME-Version header or deliberately strip it From the mail. -Set it to non-nil, Gnus will treat some articles as MIME even if -the MIME-Version header is missed." +supply the MIME-Version header or deliberately strip it from the mail. +If non-nil (the default), Gnus will treat some articles as MIME +even if the MIME-Version header is missing." :version "21.3" :type 'boolean :group 'gnus-article-mime) diff --git a/texi/ChangeLog b/texi/ChangeLog index 64456e6..a28841d 100644 --- a/texi/ChangeLog +++ b/texi/ChangeLog @@ -1,3 +1,9 @@ +2004-08-06 Simon Josefsson + + * gnus-news.el (gnus-news-header-disclaimer): Fix. + + * gnus-news.texi: Add. + 2004-07-22 Katsumi Yamaoka * emacs-mime.texi (rfc2047): Update. diff --git a/texi/gnus-news.el b/texi/gnus-news.el index 67c101f..91d73aa 100644 --- a/texi/gnus-news.el +++ b/texi/gnus-news.el @@ -31,6 +31,8 @@ Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. See the end for copying conditions. Please send Gnus bug reports to bugs\@gnus.org. +For older news, see Gnus info node \"New Features\". + * Changes in No Gnus diff --git a/texi/gnus-news.texi b/texi/gnus-news.texi index ccb8191..d05e1d8 100644 --- a/texi/gnus-news.texi +++ b/texi/gnus-news.texi @@ -61,11 +61,14 @@ whether to do so. @item @acronym{IMAP} identity (@acronym{RFC} 2971) is supported. By default, Gnus do not send any information about itself, but you can -customize it using @code{nnimap-id}. +customize it using the variable @code{nnimap-id}. -@item The @file{all.SCORE} file can now be edited from the group buffer +@item The @file{all.SCORE} file can be edited from the group buffer using @kbd{W e}. +@item Gnus now MIME decode articles even when they lack "MIME-Version" header. +This changes the default of @code{gnus-article-loose-mime}. + @end itemize @c gnus-news.texi ends here. -- 1.7.10.4