all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Vida Gábor" <vidagabor@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 7588@debbugs.gnu.org
Subject: bug#7588: smtpmail: wrong file name for queued mail on Windows
Date: Wed, 08 Dec 2010 23:10:40 +0100	[thread overview]
Message-ID: <kod0r5drvrtr.fsf@gmail.com> (raw)
In-Reply-To: <E1PQLRF-0000x2-09@fencepost.gnu.org>

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





  parent reply	other threads:[~2010-12-08 22:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-07 23:26 bug#7588: smtpmail: wrong file name for queued mail on Windows Vida Gábor
2010-12-08  3:32 ` Glenn Morris
2010-12-08 14:56   ` Eli Zaretskii
2010-12-08 19:31     ` Glenn Morris
2010-12-08 21:23       ` Eli Zaretskii
2010-12-08 22:10     ` Vida Gábor [this message]
2010-12-08 22:39       ` Eli Zaretskii
2010-12-09 19:14         ` Eli Zaretskii
2010-12-09 12:24     ` Jason Rumney
2010-12-09 14:16       ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=kod0r5drvrtr.fsf@gmail.com \
    --to=vidagabor@gmail.com \
    --cc=7588@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.