From: Richard Stallman <rms@gnu.org>
Cc: Jens.Schmidt27@epost.de, emacs-devel@gnu.org
Subject: Re: Strange `file-name-sans-extension' behavior
Date: Thu, 15 Aug 2002 20:31:37 -0600 (MDT) [thread overview]
Message-ID: <200208160231.g7G2Vb508088@wijiji.santafe.edu> (raw)
In-Reply-To: <2110-Thu15Aug2002195139+0300-eliz@is.elta.co.il>
> The directory it uses is the one that was in the argument file name.
> If it was valid there, it should be equally valid in the result.
> If it is not valid in the result, I guess it was not valid in
> the argument.
The problem is the slash you append to the directory if it doesn't
end in a slash.
I don't see any code in file-name-sans-extension to append a slash to
the directory name. It gets the directory name with
file-name-directory and uses it without further change.
Where is the slash appended?
next prev parent reply other threads:[~2002-08-16 2:31 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <uptxa211i.fsf@oracle.com>
2002-07-27 18:53 ` Strange `file-name-sans-extension' behavior 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 [this message]
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
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200208160231.g7G2Vb508088@wijiji.santafe.edu \
--to=rms@gnu.org \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).