+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
(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
(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)))))
+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.
\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
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