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:38:26 -0500 (CDT) Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <200407201738.i6KHcQD07645@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1090345319 26906 80.91.224.253 (20 Jul 2004 17:41:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 20 Jul 2004 17:41:59 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 20 19:41:53 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 1Bmycj-0004BX-00 for ; Tue, 20 Jul 2004 19:41:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BmyfT-0008DR-DE for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Jul 2004 13:44:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BmyfR-0008Cu-Ma for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2004 13:44:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BmyfQ-0008Al-19 for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2004 13:44:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BmyfP-0008Ab-UZ for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2004 13:44:39 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BmycJ-0006Ua-6h for bug-gnu-emacs@gnu.org; Tue, 20 Jul 2004 13:41:27 -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 i6KHfQuE016583 for ; Tue, 20 Jul 2004 12:41:26 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.6+Sun/8.11.6) id i6KHcQD07645; Tue, 20 Jul 2004 12:38:26 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: bug-gnu-emacs@gnu.org 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:8456 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:8456 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 * files.el (file-name-sans-extension): Avoid expanding DIRECTORY.