From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: prj@po.cwru.edu (Paul Jarc) Newsgroups: gmane.emacs.devel Subject: Re: Emacs and Squiggles as filenames Date: Sun, 10 Jul 2005 00:05:57 -0400 Organization: What did you have in mind? A short, blunt, human pyramid? Message-ID: References: <87ll4iph80.fsf@gnufans.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1120969417 23291 80.91.229.2 (10 Jul 2005 04:23:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 10 Jul 2005 04:23:37 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 10 06:23:27 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DrTLd-00027F-DP for ged-emacs-devel@m.gmane.org; Sun, 10 Jul 2005 06:23:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DrTN8-000109-2s for ged-emacs-devel@m.gmane.org; Sun, 10 Jul 2005 00:24:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DrTMm-0000zj-U1 for emacs-devel@gnu.org; Sun, 10 Jul 2005 00:24:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DrTMC-0000u7-9t for emacs-devel@gnu.org; Sun, 10 Jul 2005 00:23:56 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DrTMB-0000iK-8A for emacs-devel@gnu.org; Sun, 10 Jul 2005 00:23:55 -0400 Original-Received: from [129.22.104.192] (helo=mpspam5.TIS.case.Edu) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DrTCM-0005My-Cl for emacs-devel@gnu.org; Sun, 10 Jul 2005 00:13:46 -0400 Original-Received: from multivac.cwru.edu (multivac.ITS.CWRU.Edu [129.22.114.26]) by mpspam5.TIS.case.Edu (MOS 3.5.4-GR) with SMTP id BZO00550; Sun, 10 Jul 2005 00:05:58 -0400 (EDT) Original-Received: (qmail 9692 invoked by uid 500); 10 Jul 2005 04:06:20 -0000 Original-To: "D Goel" In-Reply-To: <87ll4iph80.fsf@gnufans.net> (D. Goel's message of "Thu, 07 Jul 2005 15:07:59 -0400") Mail-Copies-To: nobody Mail-Followup-To: "D Goel" , emacs-devel@gnu.org Original-Lines: 13 User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:40707 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40707 "D Goel" wrote: > (expand-file-name (file-name-nondirectory fname) dir) > > > should return fname back. It is like an identity, right? If not, > what is the way to *always* correctly do an expand-file-name ? This works for me: (concat (file-name-as-directory "~/tmp") (file-name-nondirectory "~/tmp/~")) paul