From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#7588: smtpmail: wrong file name for queued mail on Windows Date: Thu, 09 Dec 2010 00:39:30 +0200 Message-ID: <83d3pb3n4t.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: dough.gmane.org 1291910811 32455 80.91.229.12 (9 Dec 2010 16:06:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 16:06:51 +0000 (UTC) Cc: 7588@debbugs.gnu.org To: Vida =?UTF-8?Q?G=C3=A1bor?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 17:06:42 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQj0u-00077c-45 for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 17:06:38 +0100 Original-Received: from localhost ([127.0.0.1]:43212 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQj0q-00049X-Sx for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 11:06:33 -0500 Original-Received: from [140.186.70.92] (port=43574 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQSlU-0006Dj-7W for bug-gnu-emacs@gnu.org; Wed, 08 Dec 2010 17:45:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PQSlO-0000D8-JK for bug-gnu-emacs@gnu.org; Wed, 08 Dec 2010 17:45:35 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53328) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PQSlO-0000Cr-HN for bug-gnu-emacs@gnu.org; Wed, 08 Dec 2010 17:45:30 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PQSaI-0008Cx-77; Wed, 08 Dec 2010 17:34:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Dec 2010 22:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7588 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7588-submit@debbugs.gnu.org id=B7588.129184760531497 (code B ref 7588); Wed, 08 Dec 2010 22:34:02 +0000 Original-Received: (at 7588) by debbugs.gnu.org; 8 Dec 2010 22:33:25 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PQSZg-0008By-Er for submit@debbugs.gnu.org; Wed, 08 Dec 2010 17:33:24 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PQSZe-0008Bj-14 for 7588@debbugs.gnu.org; Wed, 08 Dec 2010 17:33:22 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LD400B00S2VM700@a-mtaout20.012.net.il> for 7588@debbugs.gnu.org; Thu, 09 Dec 2010 00:39:20 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.229.69.203]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LD400AVDS9JYM50@a-mtaout20.012.net.il>; Thu, 09 Dec 2010 00:39:20 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 08 Dec 2010 17:34:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:42349 Archived-At: > Date: Wed, 08 Dec 2010 23:10:40 +0100 > From: Vida G=C3=A1bor > Cc: Glenn Morris , 7588@debbugs.gnu.org >=20 > When I start Emacs without loading my init.el, convert-standard-fil= ename > is loaded from w32-fns.el. Then I use an auxiliary package > hexview-mode.el that loads files.el by (load-library "files"). Afte= r > this, convert-standard-filename is redefined from files.el with thi= s > 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) tha= t 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.