From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: convert-standard-filename Date: Mon, 08 Aug 2011 09:33:06 +0200 Message-ID: <878vr4pdcd.fsf@gmx.de> References: <83vcufaaqf.fsf@gnu.org> <83hb5vvwdp.fsf@gnu.org> <834o1t19hg.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1312788800 6225 80.91.229.12 (8 Aug 2011 07:33:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 8 Aug 2011 07:33:20 +0000 (UTC) Cc: Eli Zaretskii , sds@gnu.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 08 09:33:16 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QqKKp-0001YZ-RO for ged-emacs-devel@m.gmane.org; Mon, 08 Aug 2011 09:33:16 +0200 Original-Received: from localhost ([::1]:52554 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqKKo-0003Hw-VW for ged-emacs-devel@m.gmane.org; Mon, 08 Aug 2011 03:33:14 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:52396) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqKKm-0003Hh-FM for emacs-devel@gnu.org; Mon, 08 Aug 2011 03:33:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QqKKk-0000ib-VT for emacs-devel@gnu.org; Mon, 08 Aug 2011 03:33:12 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:56715) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QqKKk-0000dd-IC for emacs-devel@gnu.org; Mon, 08 Aug 2011 03:33:10 -0400 Original-Received: (qmail invoked by alias); 08 Aug 2011 07:33:08 -0000 Original-Received: from p57BB9647.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.150.71] by mail.gmx.net (mp043) with SMTP; 08 Aug 2011 09:33:08 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1/8vmAYowH8joKr6aBj6eMIlx0z+SP1muC+XehAOv gNHC9RtiEcJ6+1 In-Reply-To: (Stefan Monnier's message of "Sun, 07 Aug 2011 16:19:47 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 213.165.64.23 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:143001 Archived-At: Stefan Monnier writes: >>> How 'bout a file-name-equal, which could also try to account for >>> case-sensitivity? >> He-he, I was arguing for years that file names are not strings and >> cannot be compared as strings. Finally I have someone who agrees ;-) > > I always thought you weren't completely convinced. I'm all for it. > We do want to define it carefully, tho. E.g. it should only operate on > names without performing any actual file/directory lookup. It shall also support file name handlers. I would prefer (file-name-equal "/sudo::/" "/sudo:root@localhost:/") => t if appropriate (depends on default settings). This doesn't need to touch the remote host either. > Stefan Best regards, Michael.