From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.bugs Subject: file-name-sans-extension returns an absolute file name when Date: Tue, 20 Jul 2004 12:25:24 -0500 (CDT) Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <200407201725.i6KHPOi07593@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1090344586 24736 80.91.224.253 (20 Jul 2004 17:29:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 20 Jul 2004 17:29:46 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 20 19:29:31 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BmyQl-00034N-00 for ; Tue, 20 Jul 2004 19:29:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BmyTV-00061N-6a for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Jul 2004 13:32:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BmySk-0005Tz-SP for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2004 13:31:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BmySh-0005QZ-Ff for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2004 13:31:34 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BmySh-0005QI-97 for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2004 13:31:31 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BmyPg-0004Su-Kj for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2004 13:28:24 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id i6KHSNuE016560; Tue, 20 Jul 2004 12:28:24 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.6+Sun/8.11.6) id i6KHPOi07593; Tue, 20 Jul 2004 12:25:24 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: Kevin Rodgers X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:8455 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:8455 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 * files.el (file-name-sans-extension): Avoid expanding DIRECTORY.