Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Re: wrong directory separator
Date: Sat, 01 Feb 2003 18:02:00 +0100	[thread overview]
Message-ID: <m3adhgaq9j.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <yotlheboc89b.fsf@jpl.org>

Katsumi Yamaoka <yamaoka@jpl.org> writes:

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

The reason I introduced that variable was because a Windows user
reported that generating the active file for nnml created groups that
were named "some\\thing".  Letting
`nnheader-directory-separator-character' be ?\ apparently fixed his
problem.

But perhaps there's a different way to compute this variable that
will get this right on all Windoses/Emacsens?  For instance -- we
could eval the following and see what character number 2 is:

(let ((default-directory "."))
  (expand-file-name "foo"))

But I'm not familiar with the mysteries of Windows at all, so I don't
know... 

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen



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

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-01 15:48 Katsumi Yamaoka
2003-02-01 17:02 ` Lars Magne Ingebrigtsen [this message]
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=m3adhgaq9j.fsf@quimbies.gnus.org \
    --to=larsi@gnus.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).