Synch to No Gnus 200408150330.
authoryamaoka <yamaoka>
Sun, 15 Aug 2004 03:51:59 +0000 (03:51 +0000)
committeryamaoka <yamaoka>
Sun, 15 Aug 2004 03:51:59 +0000 (03:51 +0000)
lisp/ChangeLog
lisp/rfc2047.el
texi/ChangeLog
texi/gnus-ja.texi
texi/gnus.texi

index b09117f..68126aa 100644 (file)
@@ -1,3 +1,10 @@
+2004-08-15  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * rfc2047.el (rfc2047-encode-region): Assume the close parenthesis
+       may be included in the encoded word.
+       (rfc2047-encode): Don't append a space if the encoded word
+       includes close parenthesis.
+
 2004-08-12  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * rfc2047.el (rfc2047-encode-1, rfc2047-encode): Improve encoding
index 07818b8..8bf7040 100644 (file)
@@ -369,8 +369,8 @@ Dynamically bind `rfc2047-encoding-type' to change that."
                  (forward-list)
                  ;; Encode text as an unstructured field.
                  (let ((rfc2047-encoding-type 'mime))
-                   (rfc2047-encode-region (1+ start) (1- (point)))
-                   (forward-char)))
+                   (rfc2047-encode-region (1+ start) (1- (point))))
+                 (skip-chars-forward ")"))
                 (t                 ; normal token/whitespace sequence
                  ;; Find the end.
                  ;; Skip one ASCII word, or encode continuous words
@@ -607,7 +607,9 @@ Point moves to the end of the region."
             (insert eword)
             (set-marker b nil)
             (set-marker e nil)
-            (unless (looking-at "[ \t\n)]")
+            (unless (or (/= 0 (length tail))
+                        (eobp)
+                        (looking-at "[ \t\n)]"))
               (insert " "))))
          (t
           (goto-char e)))))
index 1870658..2755387 100644 (file)
@@ -1,3 +1,8 @@
+2004-08-15  Simon Josefsson  <jas@extundo.com>
+
+       * gnus.texi (IMAP): Add example.  Suggested and partially written
+       by Steinar Bang <sb@dod.no>.
+
 2004-08-12  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * gnus.texi (Posting Styles): Addition.
index 70d2c2c..d120243 100644 (file)
@@ -15541,7 +15541,16 @@ nnimap \e$B$K5-;v$NFbItE*$JF|IU$NBe$o$j$K\e(B Date: \e$B$r;H$&$h$&$K$5$;$^$9!#$5$i$
 \e$B%5!<%P$K%m%0%$%s$9$k$?$a$K;H$&G'>Z>pJs\e(B (authinfo) \e$B$r4^$`%U%!%$%k$G$9!#$=\e(B
 \e$B$N7A<0$O\e(B (\e$B$[$H$s$I\e(B) @code{ftp} \e$B$N\e(B @file{~/.netrc} \e$B%U%!%$%k$HF1$8$G$9!#87\e(B
 \e$BL)$JDj5A$O!"JQ?t\e(B @code{nntp-authinfo-file} \e$B$r8+$F2<$5$$!#$=$7\e(B
-\e$B$F\e(B @ref{NNTP} \e$B$b8+$F2<$5$$!#\e(B
+\e$B$F\e(B @ref{NNTP} \e$B$b8+$F2<$5$$!#\e(BIMAP \e$B%5!<%P!<MQ$N\e(B .authinfo \e$B9T$NNc$G$9\e(B:
+
+@example
+machine students.uio.no login larsi password geheimnis port imap
+@end example
+
+\e$B0BA4$J\e(B imap \e$B$G;H$o$l$k<B:]$N%]!<%HHV9f$O\e(B port 993 \e$B$G$9$,!"\e(B
+@code{nnimap-stream} \e$B$H$7$F\e(B @code{tls} \e$B$^$?$O\e(B @code{ssl} \e$B$r;H$&>l9g!"$=\e(B
+\e$B$l$O\e(B @code{port imap} \e$B$^$?$O\e(B @code{port 143} \e$B$G$J$1$l$P$J$i$J$$$3$H$KCm\e(B
+\e$B0U$7$F2<$5$$!#\e(B
 
 @item nnimap-need-unselect-to-notice-new-mail
 @vindex nnimap-need-unselect-to-notice-new-mail
index b7f9bd7..cf8edb9 100644 (file)
@@ -16368,7 +16368,15 @@ RFC 2060 for more information on valid strings.
 A file containing credentials used to log in on servers.  The format is
 (almost) the same as the @code{ftp} @file{~/.netrc} file.  See the
 variable @code{nntp-authinfo-file} for exact syntax; also see
-@ref{NNTP}.
+@ref{NNTP}.  An example of an .authinfo line for an IMAP server, is: 
+
+@example
+machine students.uio.no login larsi password geheimnis port imap
+@end example
+
+Note that it should be @code{port imap}, or @code{port 143}, if you
+use a @code{nnimap-stream} of @code{tls} or @code{ssl}, even if the
+actual port number used is port 993 for secured imap.
 
 @item nnimap-need-unselect-to-notice-new-mail
 @vindex nnimap-need-unselect-to-notice-new-mail