From: "Eli Zaretskii" <eliz@is.elta.co.il>
Cc: Jens.Schmidt27@epost.de, emacs-devel@gnu.org
Subject: Re: `concat' a dir and a file (was: Strange `file-name-sans-extension' behavior )
Date: Sun, 18 Aug 2002 22:25:17 +0300 [thread overview]
Message-ID: <8011-Sun18Aug2002222517+0300-eliz@is.elta.co.il> (raw)
In-Reply-To: <200208170451.g7H4pAN08664@wijiji.santafe.edu> (message from Richard Stallman on Fri, 16 Aug 2002 22:51:10 -0600 (MDT))
> Date: Fri, 16 Aug 2002 22:51:10 -0600 (MDT)
> From: Richard Stallman <rms@gnu.org>
>
> As far as I can see, if you don't insist on an absolute file name,
> it is correct to use concat. As far as I can see, Eli's example
> is only an issue if you want an absolute file name:
>
> > It means that to produce a full file name from a relative directory
> > "c:" and a relative file name "bar", a function should yield
> > "c:./bar".
>
> Eli, is c:bar an invalid file name on MSDOS?
"c:bar" is a valid file name on DOS and Windows file systems. It
means `bar' in the default directory of the C: drive. In other words,
it's the same as "c:./bar".
> So it seems that in the case where you are happy to have
> a non-absolute file name as the result, there is no problem.
There should be no problem if none of the functions involved convert
"c:" to "c:/". I don't recall if that's so and don't have time to
check, but I wouldn't be surprised if Emacs primitives already take
care of this.
It's the case of application code doing (concat dir "/" file) is what
worries me.
next prev parent reply other threads:[~2002-08-18 19:25 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-26 11:15 Strange `file-name-sans-extension' behavior Jens Schmidt
2002-07-27 18:53 ` Richard Stallman
2002-08-09 7:38 ` Stefan Monnier
2002-08-10 17:16 ` Richard Stallman
2002-08-12 15:58 ` Stefan Monnier
2002-08-12 17:28 ` Eli Zaretskii
2002-08-12 18:21 ` Andreas Schwab
2002-08-13 22:47 ` Richard Stallman
2002-08-14 11:03 ` Eli Zaretskii
2002-08-14 23:14 ` Richard Stallman
2002-08-15 16:51 ` Eli Zaretskii
2002-08-16 2:31 ` Richard Stallman
2002-08-16 17:17 ` `concat' a dir and a file (was: Strange `file-name-sans-extension' behavior ) Stefan Monnier
2002-08-17 4:51 ` Richard Stallman
2002-08-18 19:25 ` Eli Zaretskii [this message]
2002-08-19 15:32 ` Stefan Monnier
2002-08-19 18:39 ` Richard Stallman
2002-08-20 11:33 ` Eli Zaretskii
2002-08-13 1:48 ` Strange `file-name-sans-extension' behavior Richard Stallman
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=8011-Sun18Aug2002222517+0300-eliz@is.elta.co.il \
--to=eliz@is.elta.co.il \
--cc=Jens.Schmidt27@epost.de \
--cc=emacs-devel@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.