From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "D Goel" Newsgroups: gmane.emacs.devel Subject: Re: Emacs and Squiggles as filenames Date: Mon, 11 Jul 2005 08:37:08 -0400 Message-ID: <87hdf1v7rf.fsf@gnufans.net> 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 1121085570 21576 80.91.229.2 (11 Jul 2005 12:39:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 11 Jul 2005 12:39:30 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 11 14:39:28 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DrxZ7-0001U2-7j for ged-emacs-devel@m.gmane.org; Mon, 11 Jul 2005 14:39:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Drxag-0003sb-Eo for ged-emacs-devel@m.gmane.org; Mon, 11 Jul 2005 08:40:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Drxa6-0003im-Ng for emacs-devel@gnu.org; Mon, 11 Jul 2005 08:40:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Drxa0-0003eu-16 for emacs-devel@gnu.org; Mon, 11 Jul 2005 08:40:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DrxZz-0003eZ-Pa for emacs-devel@gnu.org; Mon, 11 Jul 2005 08:40:11 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1Drxfe-0004s1-ED for emacs-devel@gnu.org; Mon, 11 Jul 2005 08:46:02 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DrxXp-0001Jk-UM for emacs-devel@gnu.org; Mon, 11 Jul 2005 14:37:58 +0200 Original-Received: from 24.197.153.99 ([24.197.153.99]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Jul 2005 14:37:57 +0200 Original-Received: from deego by 24.197.153.99 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Jul 2005 14:37:57 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 21 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 24.197.153.99 X-Face: #5@=vrmx5t3mZaPY8(mR.n+V#:%4NW7j5A&^}@lGp2rK; CQ4%iH1v'gh/^A)w5*6c&R2(P' 4+seYDq8OK'LPI/C(C^A*w|f*t+8, 'T8b#_0~h3!A7GoVroE[cr0Fb'A0%SdU|Lk@gBV&1vA User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:c5WCtAABENbUYmMIgApBEN9eIsI= 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:40771 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40771 prj@po.cwru.edu (Paul Jarc) writes: > "D Goel" wrote: >> (expand-file-name (file-name-nondirectory fname) dir) >> > This works for me: > (concat (file-name-as-directory "~/tmp") > (file-name-nondirectory "~/tmp/~")) > Thanks, I will use just that. (I do remember reading in the manual though that the former is preferable, because it is portable across OSes, including VMS..) DG http://gnufans.net/ --