[ Merge from Emacs (gnus-5_10-branch): ]
authorReiner Steib <Reiner.Steib@gmx.de>
Mon, 30 Aug 2004 18:13:58 +0000 (18:13 +0000)
committerReiner Steib <Reiner.Steib@gmx.de>
Mon, 30 Aug 2004 18:13:58 +0000 (18:13 +0000)
2004-08-30  Juanma Barranquero  <lektu@terra.es>

* ietf-drums.el (ietf-drums-remove-whitespace): Fix character constant.

2004-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>

* nnimap.el (nnimap-demule): Avoid string-as-multibyte.

2004-08-30  Kim F. Storm  <storm@cua.dk>

* nntp.el (nntp-authinfo-file): Add :group 'nntp.

* nnimap.el (nnimap-authinfo-file, nnimap-prune-cache):
Add :group 'nnimap.

lisp/ChangeLog
lisp/ietf-drums.el
lisp/nnimap.el
lisp/nnlistserv.el

index ff64a2d..221cd13 100644 (file)
@@ -1,3 +1,18 @@
+2004-08-30  Juanma Barranquero  <lektu@terra.es>
+
+       * ietf-drums.el (ietf-drums-remove-whitespace): Fix character constant.
+
+2004-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * nnimap.el (nnimap-demule): Avoid string-as-multibyte.
+
+2004-08-30  Kim F. Storm  <storm@cua.dk>
+
+       * nntp.el (nntp-authinfo-file): Add :group 'nntp.
+
+       * nnimap.el (nnimap-authinfo-file, nnimap-prune-cache):
+       Add :group 'nnimap.
+
 2004-08-30  Simon Josefsson  <jas@extundo.com>
 
        * rfc2231.el (rfc2231-parse-string): Restore whitespace syntax for
index d21c6e6..645a79a 100644 (file)
@@ -143,7 +143,7 @@ backslash and doublequote.")
          (forward-sexp 1))
         ((eq c ?\()
          (forward-sexp 1))
-        ((memq c '(? ?\t ?\n))
+        ((memq c '(? ?\t ?\n))
          (delete-char 1))
         (t
          (forward-char 1))))
index e5a4529..43b96c4 100644 (file)
@@ -1,5 +1,5 @@
 ;;; nnimap.el --- imap backend for Gnus
-;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004
 ;;        Free Software Foundation, Inc.
 
 ;; Author: Simon Josefsson <jas@pdc.kth.se>
@@ -391,11 +391,13 @@ just like \"ticked\" articles, in other IMAP clients.")
                                          (string :format "Login: %v"))
                                    (cons :format "%v"
                                          (const :format "" "password")
-                                         (string :format "Password: %v")))))))
+                                         (string :format "Password: %v"))))))
+  :group 'nnimap)
 
 (defcustom nnimap-prune-cache t
   "If non-nil, nnimap check whether articles still exist on server before using data stored in NOV cache."
-  :type 'boolean)
+  :type 'boolean
+  :group 'nnimap)
 
 (defvar nnimap-request-list-method 'imap-mailbox-list
   "Method to use to request a list of all folders from the server.
@@ -845,9 +847,12 @@ function is generally only called when Gnus is shutting down."
     (nnoo-status-message 'nnimap server)))
 
 (defun nnimap-demule (string)
-  (funcall (if (and (fboundp 'string-as-multibyte)
-                   (subrp (symbol-function 'string-as-multibyte)))
-              'string-as-multibyte
+  ;; BEWARE: we used to use string-as-multibyte here which is braindead
+  ;; because it will turn accidental emacs-mule-valid byte sequences
+  ;; into multibyte chars.  --Stef
+  (funcall (if (and (fboundp 'string-to-multibyte)
+                   (subrp (symbol-function 'string-to-multibyte)))
+              'string-to-multibyte
             'identity)
           (or string "")))
 
index 0686217..770bb02 100644 (file)
@@ -1,6 +1,6 @@
 ;;; nnlistserv.el --- retrieving articles via web mailing list archives
 
-;; Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+;; Copyright (C) 1997, 1998, 1999, 2000, 2004 Free Software Foundation, Inc.
 
 ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
 ;; Keywords: news, mail