delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/12/19/03:28:45

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.9 required=5.0 tests=AWL,BARRACUDA_BRBL,BAYES_50,J_CHICKENPOX_41,J_CHICKENPOX_52,RCVD_IN_JMF_BL,SPF_SOFTFAIL
X-Spam-Check-By: sourceware.org
Date: Fri, 19 Dec 2008 10:27:59 +0200
From: Eli Zaretskii <eliz AT gnu DOT org>
Subject: Re: POP Rmail in Emacs
In-reply-to: <20081212025053.87CD5164085@perth.ovpit.indiana.edu>
X-012-Sender: halo1 AT inter DOT net DOT il
To: cygwin AT cygwin DOT com
Message-id: <uwsdwefhs.fsf@gnu.org>
References: <20081212025053 DOT 87CD5164085 AT perth DOT ovpit DOT indiana DOT edu>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

> From: gustav <gustav AT indiana DOT edu>
> Date: Thu, 11 Dec 2008 21:50:53 -0500 (EST)
> 
> 
> If you still use Emacs' original Rmail with POP under Cygwin, you may
> have noticed that it doesn't work. The reason is that Rmail tries to
> create a file with a ":" in its name, which Cygwin can't do. A simple
> remedy is to edit rmail.el as follows:
> 
> *** /usr/share/emacs/21.2/lisp/mail/rmail.el    Fri Feb 22 05:51:38 2002
> --- rmail.el    Thu Dec 11 21:26:14 2008
> ***************
> *** 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,1508 ----
>              (if rmail-pop-password-required
>                  (progn (setq got-password (not (rmail-have-password)))
>                         (setq password (rmail-get-pop-password))))
> !            (if (or (eq system-type 'windows-nt) (eq system-type 'cygwin))
>                  ;; cannot have "po:" in file name
>                  (setq tofile
>                        (expand-file-name

Emacs 22.1 (released in June 2007) and later already includes this
fix.

I guess this is an ample opportunity to call for volunteers to come on
board and help maintaining the Cygwin build of Emacs.  As of now, the
Cygwin build has some known ``stability issues'' (read: it sometimes
crashes during the build or in routine operation), and there's no one
on the Emacs development team who has enough knowledge and/or time to
fix these Cygwin-specific problems.  If things are left in their
current shape, the upcoming Emacs 23, a major new release with much
better Unicode support and other important new features, such as
multi-tty, will be released without any systematic Cygwin support,
which in practice means it will probably not work too well.

If you feel like volunteering, please write to emacs-devel AT gnu DOT org.


P.S.  It is much more Lisp'y and slightly more efficient to say

  (if (memq system-type '(windows-nt cygwin))

than to say

  (if (or (eq system-type 'windows-nt) (eq system-type 'cygwin))

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019