Subject: Reading pop3 mail with GNU emacs on Cygwin (21.2-12)
From: "Ehud Karni" <[email-masked]>
To: "Unix on Win" <[email-masked]>
Cc: "Gnu Emacs developers" <[email-masked]>, " Joe Buehler" <[email-masked]>
Date: Wed, 19 Feb 2003 19:54:01 +0200

There is a very small bug that inhibit the pop3 mechanism in
rmail to work on Cygwin. The following patch fixes it.

cd /usr/share/emacs/21.2/lisp/mail/
diff -c /usr/share/emacs/21.2/lisp/mail/rmail.el_org /usr/share/emacs/21.2/lisp/mail/rmail.el
*** /usr/share/emacs/21.2/lisp/mail/rmail.el_org	Fri Feb 22 12:51:38 2002
- --- /usr/share/emacs/21.2/lisp/mail/rmail.el	Wed Feb 19 14:02:59 2003
***************
*** 1502,1508 ****
  	     (if rmail-pop-password-required
  		 (progn (setq got-password (not (rmail-have-password)))
  			(setq password (rmail-get-pop-password))))
! 	     (if (eq system-type 'windows-nt)
  		 ;; cannot have "po:" in file name
  		 (setq tofile
  		       (expand-file-name
- --- 1502,1509 ----
  	     (if rmail-pop-password-required
  		 (progn (setq got-password (not (rmail-have-password)))
  			(setq password (rmail-get-pop-password))))
! 	     (if (memq system-type '(windows-nt cygwin))
  		 ;; cannot have "po:" in file name
  		 (setq tofile
  		       (expand-file-name
Diff finished at Wed Feb 19 14:30:12

Ehud.

- -- 
 Ehud Karni           Tel: +972-3-7966-561  /"\
 Mivtach - Simon      Fax: +972-3-7966-667  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
 http://www.mvs.co.il  FAX:  1-815-5509341  / \
 mailto:[email-masked]                  Better  Safe  Than  Sorry

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/