comparison lisp/vm/vm-pop.el @ 54:05472e90ae02 r19-16-pre2

Import from CVS: tag r19-16-pre2
author cvs
date Mon, 13 Aug 2007 08:57:55 +0200
parents ec9a17fef872
children 131b0175ea99
comparison
equal deleted inserted replaced
53:875393c1a535 54:05472e90ae02
189 saved-password t))))) 189 saved-password t)))))
190 ;; get the trace buffer 190 ;; get the trace buffer
191 (setq process-buffer 191 (setq process-buffer
192 (get-buffer-create (format "trace of POP session to %s" host))) 192 (get-buffer-create (format "trace of POP session to %s" host)))
193 ;; Tell XEmacs/MULE not to mess with the text. 193 ;; Tell XEmacs/MULE not to mess with the text.
194 (and (vm-xemacs-mule-p) 194 (and vm-xemacs-mule-p
195 (set-file-coding-system 'binary t)) 195 (set-buffer-file-coding-system 'binary t))
196 ;; clear the trace buffer of old output 196 ;; clear the trace buffer of old output
197 (save-excursion 197 (save-excursion
198 (set-buffer process-buffer) 198 (set-buffer process-buffer)
199 (buffer-disable-undo)
199 (erase-buffer)) 200 (erase-buffer))
200 ;; open the connection to the server 201 ;; open the connection to the server
201 (setq process (open-network-stream "POP" process-buffer host port)) 202 (setq process (open-network-stream "POP" process-buffer host port))
202 (and (null process) (throw 'done nil)) 203 (and (null process) (throw 'done nil))
203 (process-kill-without-query process) 204 (process-kill-without-query process)