emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/gnus/imap.el


From: ShengHuo ZHU
Subject: [Emacs-diffs] Changes to emacs/lisp/gnus/imap.el
Date: Fri, 28 Feb 2003 08:36:16 -0500

Index: emacs/lisp/gnus/imap.el
diff -c emacs/lisp/gnus/imap.el:1.9 emacs/lisp/gnus/imap.el:1.10
*** emacs/lisp/gnus/imap.el:1.9 Mon Jan 27 03:41:55 2003
--- emacs/lisp/gnus/imap.el     Fri Feb 28 08:36:11 2003
***************
*** 1,5 ****
  ;;; imap.el --- imap library
! ;; Copyright (C) 1998, 1999, 2000, 2002
  ;;        Free Software Foundation, Inc.
  
  ;; Author: Simon Josefsson <address@hidden>
--- 1,5 ----
  ;;; imap.el --- imap library
! ;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
  ;;        Free Software Foundation, Inc.
  
  ;; Author: Simon Josefsson <address@hidden>
***************
*** 138,144 ****
  
  (eval-when-compile (require 'cl))
  (eval-and-compile
-   (autoload 'open-ssl-stream "ssl")
    (autoload 'base64-decode-string "base64")
    (autoload 'base64-encode-string "base64")
    (autoload 'starttls-open-stream "starttls")
--- 138,143 ----
***************
*** 188,197 ****
    :group 'imap
    :type '(repeat string))
  
! (defcustom imap-ssl-program '("openssl s_client -ssl3 -connect %s:%p"
!                             "openssl s_client -ssl2 -connect %s:%p"
!                             "s_client -ssl3 -connect %s:%p"
!                             "s_client -ssl2 -connect %s:%p")
    "A string, or list of strings, containing commands for SSL connections.
  Within a string, %s is replaced with the server address and %p with
  port number on server.  The program should accept IMAP commands on
--- 187,196 ----
    :group 'imap
    :type '(repeat string))
  
! (defcustom imap-ssl-program '("openssl s_client -quiet -ssl3 -connect %s:%p"
!                             "openssl s_client -quiet -ssl2 -connect %s:%p"
!                             "s_client -quiet -ssl3 -connect %s:%p"
!                             "s_client -quiet -ssl2 -connect %s:%p")
    "A string, or list of strings, containing commands for SSL connections.
  Within a string, %s is replaced with the server address and %p with
  port number on server.  The program should accept IMAP commands on
***************
*** 569,586 ****
        (let* ((port (or port imap-default-ssl-port))
             (coding-system-for-read imap-coding-system-for-read)
             (coding-system-for-write imap-coding-system-for-write)
!            (ssl-program-name shell-file-name)
!            (ssl-program-arguments
!             (list shell-command-switch
!                   (format-spec cmd (format-spec-make
!                                     ?s server
!                                     ?p (number-to-string port)))))
             process)
!       (when (setq process (ignore-errors (open-ssl-stream
!                                           name buffer server port)))
          (with-current-buffer buffer
            (goto-char (point-min))
            (while (and (memq (process-status process) '(open run))
                        (goto-char (point-max))
                        (forward-line -1)
                        (not (imap-parse-greeting)))
--- 568,589 ----
        (let* ((port (or port imap-default-ssl-port))
             (coding-system-for-read imap-coding-system-for-read)
             (coding-system-for-write imap-coding-system-for-write)
!            (process-connection-type nil)
             process)
!       (when (progn
!               (setq process (start-process 
!                              name buffer shell-file-name
!                              shell-command-switch
!                              (format-spec cmd 
!                                           (format-spec-make
!                                            ?s server
!                                            ?p (number-to-string port)))))
!               (process-kill-without-query process)
!               process)
          (with-current-buffer buffer
            (goto-char (point-min))
            (while (and (memq (process-status process) '(open run))
+                       (set-buffer buffer) ;; XXX "blue moon" nntp.el bug
                        (goto-char (point-max))
                        (forward-line -1)
                        (not (imap-parse-greeting)))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]