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: Eli Zaretskii <eliz <at> gnu.org>
To: Vida Gábor <vidagabor <at> gmail.com>
Cc: rgm <at> gnu.org, 7588 <at> debbugs.gnu.org
Subject: bug#7588: smtpmail: wrong file name for queued mail on Windows
Date: Thu, 09 Dec 2010 00:39:30 +0200
> Date: Wed, 08 Dec 2010 23:10:40 +0100
> From: Vida Gábor <vidagabor <at> gmail.com>
> Cc: Glenn Morris <rgm <at> gnu.org>, 7588 <at> debbugs.gnu.org
> 
> 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:

Now everything is clear.  This is a bug in hexview-mode.el: reloading
files.elc is not a transparent action on MS-Windows, because doing so
removes some redefinition of functions necessary for the Windows port
of Emacs.  convert-standard-filename is just one of those functions;
there are others.

I suggest to report this as a bug to the maintainers of
hexview-mode.el.  At the very least, if they must re-load files.el,
they should on Windows after that re-load w32-fns.el and ls-lisp.el.
Preferably, hexview-mode.el should not re-load files.el at all.

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

system-type does not depend on the shell from which you invoke Emacs.
It depends on how your Emacs binary was built.  EmacsW32 is a native
Windows build, so its value of system-type should be windows-nt, no
matter what shell was used to launch it.

I will revert the changes made by Glenn in a day or two.

Thanks.





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

Previous Next


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