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

FCC: sent.xmail
--text follows this line--
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.

More precisely, it has been fixed since 2002-07-27:

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:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-20 17:25 Luc Teirlinck [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-07-20 17:38 file-name-sans-extension returns an absolute file name when Luc Teirlinck
     [not found] <mailman.767.1090344696.1960.bug-gnu-emacs@gnu.org>
2004-07-20 21:59 ` Kevin Rodgers
2004-07-22 21:36   ` 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=200407201725.i6KHPOi07593@raven.dms.auburn.edu \
    --to=teirllm@dms.auburn.edu \
    --cc=bug-gnu-emacs@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).