GNU bug report logs - #7588
smtpmail: wrong file name for queued mail on Windows

Previous Next

Package: emacs;

Reported by: Vida Gábor <vidagabor <at> gmail.com>

Date: Tue, 7 Dec 2010 23:24:02 UTC

Severity: normal

Tags: notabug

Fixed in version 23.3

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Vida Gábor <vidagabor <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Glenn Morris <rgm <at> gnu.org>, 7588 <at> debbugs.gnu.org
Subject: bug#7588: smtpmail: wrong file name for queued mail on Windows
Date: Wed, 08 Dec 2010 23:10:40 +0100
Hi!

When I start Emacs without loading my init.el, convert-standard-filename
is loaded from w32-fns.el. Then I use an auxiliary package
hexview-mode.el that loads files.el by (load-library "files"). After
this, convert-standard-filename is redefined from files.el with this
function body:

  (if (eq system-type 'cygwin)
      (let ((name (copy-sequence filename))
	    (start 0))
	;; Replace invalid filename characters with !
	(while (string-match "[?*:<>|\"\000-\037]" name start)
	       (aset name (match-beginning 0) ?!)
	  (setq start (match-end 0)))
	name)
    filename)

system-type for me is windows-nt hence the conversion is not
performed. Without load of files.el, the problem reported in this bug
report disappears.

Once again I want to say (don't know if it is important or not) that I
use Emacs W32 downloaded from http://ourcomments.org/Emacs/EmacsW32.html
and not the one that is part of Cygwin, but I start it from within a
Cygwin shell (to use its environment), and this may cause that the
system-type is not cygwin but windows-nt.

Thanks and regards,
Gábor




This bug report was last modified 14 years and 169 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.