From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: file-truename, convert-standard-filename Date: Fri, 5 Feb 2010 15:51:07 -0800 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1265413972 31906 80.91.229.12 (5 Feb 2010 23:52:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Feb 2010 23:52:52 +0000 (UTC) Cc: emacs-devel@gnu.org To: "'Andreas Schwab'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 06 00:52:48 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NdXyg-0007BM-Mb for ged-emacs-devel@m.gmane.org; Sat, 06 Feb 2010 00:52:47 +0100 Original-Received: from localhost ([127.0.0.1]:56861 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NdXyg-0006Pf-1R for ged-emacs-devel@m.gmane.org; Fri, 05 Feb 2010 18:52:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NdXya-0006OT-8n for emacs-devel@gnu.org; Fri, 05 Feb 2010 18:52:40 -0500 Original-Received: from [199.232.76.173] (port=50699 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NdXyZ-0006NM-DJ for emacs-devel@gnu.org; Fri, 05 Feb 2010 18:52:39 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NdXyX-0002mm-RO for emacs-devel@gnu.org; Fri, 05 Feb 2010 18:52:39 -0500 Original-Received: from acsinet12.oracle.com ([141.146.126.234]:42118) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NdXyX-0002mL-F1 for emacs-devel@gnu.org; Fri, 05 Feb 2010 18:52:37 -0500 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by acsinet12.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o15NqXwK019066 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 5 Feb 2010 23:52:35 GMT Original-Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o15BWgxH013034; Fri, 5 Feb 2010 23:52:33 GMT Original-Received: from abhmt016.oracle.com by acsmt355.oracle.com with ESMTP id 14031871265413866; Fri, 05 Feb 2010 15:51:06 -0800 Original-Received: from dradamslap1 (/141.144.80.40) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 05 Feb 2010 15:51:06 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Acqmj0KEUdXicLEPQ6eitBnM/Y5HHAAKFvjA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: acsmt355.oracle.com [141.146.40.155] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090204.4B6CAF41.0134:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:120964 Archived-At: > You never apply convert-standard-filename to the name of an existing > file, since by definition this file name already fits the current OS > (otherwise it would not exist). Which would not exist - the file or the file name? How to know whether the name is for an existing file? Are you suggesting testing it first using `file-exists-p', just to know whether to call c-s-f? In the comparison I'm doing, I don't know what the file names to be compared will be. I don't know whether they will correspond to existing files. I want to compare the names without trying to access the files (or even call `file-exists-p'). Sorry, I still don't quite understand.