From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.devel Subject: Re: Strange `file-name-sans-extension' behavior Date: Thu, 15 Aug 2002 19:51:40 +0300 Sender: emacs-devel-admin@gnu.org Message-ID: <2110-Thu15Aug2002195139+0300-eliz@is.elta.co.il> 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> <200208142314.g7ENEMX07736@wijiji.santafe.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1029430104 9133 127.0.0.1 (15 Aug 2002 16:48:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 15 Aug 2002 16:48:24 +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 17fNnJ-0002N5-00 for ; Thu, 15 Aug 2002 18:48:21 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17fOCs-0000rS-00 for ; Thu, 15 Aug 2002 19:14:47 +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 17fNoE-0007bn-00; Thu, 15 Aug 2002 12:49:18 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17fNnl-0007YB-00 for emacs-devel@gnu.org; Thu, 15 Aug 2002 12:48:49 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17fNnf-0007XI-00 for emacs-devel@gnu.org; Thu, 15 Aug 2002 12:48:49 -0400 Original-Received: from heimdall.inter.net.il ([192.114.186.17]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17fNne-0007XC-00; Thu, 15 Aug 2002 12:48:42 -0400 Original-Received: from Zaretsky ([80.230.2.40]) by heimdall.inter.net.il (Mirapoint Messaging Server MOS 3.1.0.58-GA) with ESMTP id BRA44543; Thu, 15 Aug 2002 19:48:28 +0300 (IDT) Original-To: rms@gnu.org X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-Reply-To: <200208142314.g7ENEMX07736@wijiji.santafe.edu> (message from Richard Stallman on Wed, 14 Aug 2002 17:14:22 -0600 (MDT)) 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:6562 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6562 > Date: Wed, 14 Aug 2002 17:14:22 -0600 (MDT) > From: Richard Stallman > > 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? Perhaps not, I admit that I don't fully understand the precise context of this discussion. I was replying to the question whether `concat' is a universally correct way of constructing file names from a directory name and a file name. > 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. The problem is the slash you append to the directory if it doesn't end in a slash.