-2005-11-24 Pixel <pixel@mandriva.com> (tiny change)
+2005-11-24 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * pop3.el (pop3-open-server): Recognize a string as a service name.
+
+2005-11-24 Pascal Rigaux <pixel@mandriva.com> (tiny change)
* rfc2231.el (rfc2231-parse-string): Support non-ascii chars.
(cond
((or (eq pop3-connection-type 'ssl)
(eq pop3-stream-type 'ssl)
- (and (not pop3-stream-type) (= port 995))) ; pop3s
+ (and (not pop3-stream-type) (member port '(995 "pop3s"))))
(pop3-open-ssl-stream "POP" (current-buffer) mailhost port))
((or (memq pop3-connection-type '(tls starttls))
(memq pop3-stream-type '(tls starttls)))
(point)
(progn
(forward-sexp)
- ;; EXTENSION: Support non-ascii chars.
+ ;; We might not have reached at the end of
+ ;; the value because of non-ascii chars,
+ ;; so we should jump over them if any.
(while (and (not (eobp))
(> (char-after) ?\177))
(forward-char 1)