From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/32941 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjoha?= =?iso-8859-1?q?nn?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: (concat "/dir/name/" "foo") --> (expand-file-name "foo" "/dir/name/") Date: 23 Oct 2000 09:52:29 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: <200010161812.TAA25555@djlvig.dl.ac.uk> <200010181755.SAA08846@djlvig.dl.ac.uk> <200010221600.RAA25651@djlvig.dl.ac.uk> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035169138 22550 80.91.224.250 (21 Oct 2002 02:58:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:58:58 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by mailhost.sclp.com (Postfix) with ESMTP id 9BD10D051F for ; Mon, 23 Oct 2000 03:57:18 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id CAB28520; Mon, 23 Oct 2000 02:53:35 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 23 Oct 2000 02:52:53 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id CAA14343 for ; Mon, 23 Oct 2000 02:52:37 -0500 (CDT) Original-Received: from waldorf.cs.uni-dortmund.de (waldorf.cs.uni-dortmund.de [129.217.4.42]) by mailhost.sclp.com (Postfix) with ESMTP id A4B86D051F for ; Mon, 23 Oct 2000 03:53:02 -0400 (EDT) Original-Received: from marcy.cs.uni-dortmund.de (marcy.cs.uni-dortmund.de [129.217.20.159]) by waldorf.cs.uni-dortmund.de with ESMTP id JAA00991; Mon, 23 Oct 2000 09:52:30 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.20.160]) by marcy.cs.uni-dortmund.de id JAA18594; Mon, 23 Oct 2000 09:52:29 +0200 (MET DST) Original-Received: (from grossjoh@localhost) by lucy.cs.uni-dortmund.de (8.9.3/8.9.3/Debian 8.9.3-21) id JAA03664; Mon, 23 Oct 2000 09:52:29 +0200 Original-To: prj@po.cwru.edu (Paul Jarc) X-Face: /B3twq_DELA4]7alR?%xv(/f1N;bi:NN=UlA=(1a"pKte&5/Y/9*z&8q[P}+}YgJX_9*}k_ 0E|EJBC~yEok<#VOw:9GQWq1-;PCR-hd;3|Vk]~"|EM{Q5ir5nr!HzZ,W4\k5G|QWHw45gQ*tWydTR , User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.0.90 Original-Lines: 26 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:32941 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:32941 On 22 Oct 2000, Paul Jarc wrote: > Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann) writes: >> I have tried hard to come up with a reason why expand-file-name >> could fail to be idempotent, but I can't come up with a reason. >=20 > A mischevious, badly-written, or maybe just an unconventional > handler might give an expanded name that would, when re-expanded, > give a different name. But this probably doesn't happen in most > normal situations. So it's a bug when expand-file-name fails to be idempotent? (What's the opposite of idempotent? Idemimpotent?) >> But in any case, using concat to create a file name from a >> directory and a relative path name is not a good thing, I think. >=20 > Why not? Hm. Maybe it isn't too bad after all, but one has to be very careful to say (concat (file-name-as-directory D) F), not just (concat D F). But I think you were saying that file-name-as-directory might not be idempotent, either, right? So we have just shifted the problem. kai --=20 I like BOTH kinds of music.