Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
Subject: wrong directory separator
Date: Sun, 02 Feb 2003 00:48:00 +0900	[thread overview]
Message-ID: <yotlheboc89b.fsf@jpl.org> (raw)

Hi,

Someone reported that the nnml-generate-nov-databases command
causes a terrible problem by the new variable
nnheader-directory-separator-character.  The default value for
the variable is the backslash character (i.e., ?\\) for many
non-UNIX systems; windows-nt, os/2, emx, and cygwin.

However, the reporter uses Meadow 1.15 (based on Emacs 20.7
under Win32), system-type is windows-nt, and the slash character
is used as a directory separator in Emacs Lisp expressions.

When he ran the nnml-generate-nov-databases command, a new group
"foo/bar" (not "foo.bar") was created from the existent
directory "~/Mail/foo/bar/", and such an illegal group name was
saved in the ~/Mail/active file and the ~/.newsrc.eld file.  To
make matters worse, he said that the new directory "foo_bar" was
also created for saving the .marks file there.

The root cause of the problem is the default value for the
nnheader-directory-separator-character variable.  Since I'm not
using M$ Windoze so much, I don't know whether there are any
versions of Emacsen using the backslash character in the
expand-file-name function as follows:

(let ((default-directory "."))
  (expand-file-name "bar" "foo"))
 => ".\\foo\\bar"

Any ideas?
-- 
Katsumi Yamaoka <yamaoka@jpl.org>



             reply	other threads:[~2003-02-01 15:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-01 15:48 Katsumi Yamaoka [this message]
2003-02-01 17:02 ` Lars Magne Ingebrigtsen
2003-02-02  4:31   ` Katsumi Yamaoka
2003-02-02 12:17     ` Lars Magne Ingebrigtsen

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=yotlheboc89b.fsf@jpl.org \
    --to=yamaoka@jpl.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).