From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: Strange `file-name-sans-extension' behavior Date: Mon, 12 Aug 2002 11:58:00 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <200208121558.g7CFw0K29043@rum.cs.yale.edu> References: <200207271853.g6RIrf310840@aztec.santafe.edu> <200208090738.g797clg11797@rum.cs.yale.edu> <200208101716.g7AHGqc05959@wijiji.santafe.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1029167897 24468 127.0.0.1 (12 Aug 2002 15:58:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 12 Aug 2002 15:58:17 +0000 (UTC) Cc: monnier+gnu/emacs@rum.cs.yale.edu, 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 17eHaC-0006MX-00 for ; Mon, 12 Aug 2002 17:58:16 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17eHyI-0000Zf-00 for ; Mon, 12 Aug 2002 18:23:10 +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 17eHb4-0005iq-00; Mon, 12 Aug 2002 11:59:10 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17eHZz-000597-00 for emacs-devel@gnu.org; Mon, 12 Aug 2002 11:58:03 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17eHZx-00058v-00 for emacs-devel@gnu.org; Mon, 12 Aug 2002 11:58:02 -0400 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17eHZx-00058p-00; Mon, 12 Aug 2002 11:58:01 -0400 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id g7CFw0K29043; Mon, 12 Aug 2002 11:58:00 -0400 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Richard Stallman 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:6461 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6461 > Could we introduce a new function for that or some way to tell > `expand-file-name' not to do the expansion if the dir is relative ? > > In principle this is ok, but why is concat not correct? > In this very limited situation, it ought to be correct as > far as I can tell. Is it correct for VMS ? Maybe in practice it works for all systems we care about, but in theory string concatenation has nothing to do intrinsically with generating a filename by combining a relative directory name and a relative filename. Stefan