delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/17/21:12:17

X-Spam-Check-By: sourceware.org
From: gustav <gustav AT indiana DOT edu>
To: cygwin AT cygwin DOT com
Cc: jbuehler AT spirentcom DOT com
Subject: Bug in GNU Emacs POP3 handler
Message-Id: <20060418010403.7883A16400A@perth.ovpit.indiana.edu>
Date: Mon, 17 Apr 2006 21:04:03 -0400 (EDT)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

G'day All,

There is a small bug in GNU Emacs POP3 handler. This is an
Emacs/Cygwin bug, not, say, an Emacs/Linux bug. When GNU Emacs
movemail.exe transfers mail from MAILHOST, it creates a temporary file
that is made by concatenation of ".newmail-" and whatever the POP name
from rmail-primary-inbox-list is set to. That name begins with
"po:<username>", so the generated file name into which movemail is
going to move mail is

   .newmail-po:<username>

Now, Cygwin, like Windows NT, has problems with colons in file names,
so, movemail fails, if the generated file name is supposed to be, e.g.,

   .newmail-po:xyzzy44:ouch.ucs.indiana.edu

A file such as .newmail-po:xyzzy44 can be generated (if "ouch" was to
be declared throuth the MAILHOST variable), but it would show up as
.newmail-po in the directory listing. Still bad.

A simple remedy is to use the

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

clause in rmail.el and replace it with

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

Happy hacking,

==
 Zdzislaw (Gustav) Meglicki, Office of the Vice President for Information
 Technology, Indiana University, 601 E. Kirkwood Ave., Room 116, 
 Bloomington, IN 47405-1223, USA, http://beige.ucs.indiana.edu/gustav,
 ph: 812-856-5597 (o), 812-345-3284 (m), fax: 812-855-3310/812-856-3147
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFERDzdmWA2y7s1YXMRAgXsAKC/XaqjvJOOFOd2pXeOo6Yqr7eNngCgkeHk
B+kca0OnEQzaDADLLSLijac=
=M/07
-----END PGP SIGNATURE-----


--
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