unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Luc Teirlinck <teirllm@dms.auburn.edu>
Subject: file-name-sans-extension returns an absolute file name when
Date: Tue, 20 Jul 2004 12:38:26 -0500 (CDT)	[thread overview]
Message-ID: <200407201738.i6KHcQD07645@raven.dms.auburn.edu> (raw)

FCC: sent.xmail
--text follows this line--
Sorry if I wind up sending this twice, but I did not get this in my
mail archive file, so I believe something went wrong the first time I
tried to send it.

Kevin Rodgers wrote:

    (file-name-sans-extension "foo/abc.xyz")
    "/home/kevinr/foo/abc"                  ; bug

    (let ((default-directory nil))
       (file-name-sans-extension "foo/abc.xyz"))
    "/foo/abc"                              ; bug

This has been fixed in current CVS:

2002-07-27  Richard M. Stallman  <rms@gnu.org>

	    * files.el (file-name-sans-extension): Avoid expanding
              DIRECTORY.

             reply	other threads:[~2004-07-20 17:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-20 17:38 Luc Teirlinck [this message]
     [not found] <mailman.767.1090344696.1960.bug-gnu-emacs@gnu.org>
2004-07-20 21:59 ` file-name-sans-extension returns an absolute file name when Kevin Rodgers
2004-07-22 21:36   ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2004-07-20 17:25 Luc Teirlinck

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=200407201738.i6KHcQD07645@raven.dms.auburn.edu \
    --to=teirllm@dms.auburn.edu \
    /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).