delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/05/04:06:28

Date: Thu, 5 Jun 1997 10:59:41 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Stefano Brozzi <brozzis AT mag00 DOT cedi DOT unipr DOT it>
cc: djgpp AT delorie DOT com
Subject: Re: emacs:rmail/gnus problem
In-Reply-To: <33957B0C.708F@mag00.cedi.unipr.it>
Message-ID: <Pine.SUN.3.91.970605105843.5841C-100000@is>
MIME-Version: 1.0

On Wed, 4 Jun 1997, Stefano Brozzi wrote:

> I've installed GNU Emacs and I'm reading mail through GNUS.
> I'm attempting to write a LOCAL score file. When I've finish to 
> write it down, I press C-c C-c to save, but it refuses to save
> the file with the message:
> Opening output file: no such file or directory (ENOENT),
> e:/djgpp/gnu/emacs/News/nndoc+brozzis:brozzis.SCORE
> 
> The file name isn't perhaps accepted by the operative system ?
> I'm running DJGPP under WIN95 with LFN=y.

Yes, even Windows 95 doesn't allow colons `:' in filenames.  You need
to know that nobody has yet bothered to make GNUS work on MS-DOS, so
you are likely to get into more of these problems.  I seem to see some
piece of code on lisp/gnus-ems.el, but it is conditioned on Windows/NT
and OS/2; you will have to add MS-DOS to that condition and byte-compile
the Lisp source.  Here's that fragment:

  (eval-and-compile
    (let ((case-fold-search t))
      (cond
       ((string-match "windows-nt\\|os/2\\|emx" (format "%s" system-type))
	(setq nnheader-file-name-translation-alist
	      (append nnheader-file-name-translation-alist
		      '((?: . ?_)
			(?+ . ?-))))))))


Make that string-match argument be "windows-nt\\|os/2\\|emx\\|ms-dos".

> BTW: rmail doesn't work as I expected.
> If I load a message and then M-x rmail-mode, it writes
> 
> Counting messages...
> Counting messages...done
> Expunging deleted messages...
> Expunging deleted messages...done
> 
> but nothing happens (no folding), no warning message...

Here's how you should go about RMAIL:

	1) `C-x C-f INBOX RET'
	2) `M-x rmail-mode RET'
	3) `M-1 g newmail RET'

This assumes that your new mail is in the file `newmail'.  Emacs will
read the mail from that file, convert it to its internal format (it
takes a few moments, don't worry), then save it to INBOX and present
the first message to you.  If you want the display to be pretty,
enable font-lock for rmail-mode.

Btw, there's nothing special about the filename INBOX, it's just that I'm 
used to it.

> I downloades sources for obtaining movemail.exe 

You don't need movemail.exe at all.

- Raw text -


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