From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Strange `file-name-sans-extension' behavior Date: Wed, 14 Aug 2002 17:14:22 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200208142314.g7ENEMX07736@wijiji.santafe.edu> References: <200207271853.g6RIrf310840@aztec.santafe.edu> <200208090738.g797clg11797@rum.cs.yale.edu> <200208101716.g7AHGqc05959@wijiji.santafe.edu> <200208121558.g7CFw0K29043@rum.cs.yale.edu> <8011-Mon12Aug2002202814+0300-eliz@is.elta.co.il> <200208132247.g7DMl0607244@wijiji.santafe.edu> <2593-Wed14Aug2002140316+0300-eliz@is.elta.co.il> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1029366937 1729 127.0.0.1 (14 Aug 2002 23:15:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 14 Aug 2002 23:15:37 +0000 (UTC) Cc: Jens.Schmidt27@epost.de, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17f7MW-0000Rm-00 for ; Thu, 15 Aug 2002 01:15:36 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17f7lj-0001tr-00 for ; Thu, 15 Aug 2002 01:41:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17f7NS-0004Na-00; Wed, 14 Aug 2002 19:16:34 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17f7La-0003dG-00 for emacs-devel@gnu.org; Wed, 14 Aug 2002 19:14:38 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17f7LO-0003Y3-00 for emacs-devel@gnu.org; Wed, 14 Aug 2002 19:14:34 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17f7LN-0003Vr-00; Wed, 14 Aug 2002 19:14:25 -0400 Original-Received: from wijiji.santafe.edu (wijiji [192.12.12.5]) by pele.santafe.edu (8.11.6+Sun/8.11.6) with ESMTP id g7ENEg506260; Wed, 14 Aug 2002 17:14:42 -0600 (MDT) Original-Received: (from rms@localhost) by wijiji.santafe.edu (8.11.6+Sun/8.9.3) id g7ENEMX07736; Wed, 14 Aug 2002 17:14:22 -0600 (MDT) X-Authentication-Warning: wijiji.santafe.edu: rms set sender to rms@wijiji using -f Original-To: eliz@is.elta.co.il In-Reply-To: <2593-Wed14Aug2002140316+0300-eliz@is.elta.co.il> Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:6550 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6550 It means that to produce a full file name from a relative directory "c:" and a relative file name "bar", a function should yield "c:./bar". Is this really relevant to file-name-sans-extension? 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.