From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: convert-standard-filename Date: Sun, 07 Aug 2011 23:35:50 +0300 Message-ID: <83vcu9yn6h.fsf@gnu.org> References: <83vcufaaqf.fsf@gnu.org> <83hb5vvwdp.fsf@gnu.org> <834o1t19hg.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1312749365 15761 80.91.229.12 (7 Aug 2011 20:36:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 7 Aug 2011 20:36:05 +0000 (UTC) Cc: sds@gnu.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 07 22:36:00 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 1QqA4k-0005tb-55 for ged-emacs-devel@m.gmane.org; Sun, 07 Aug 2011 22:35:58 +0200 Original-Received: from localhost ([::1]:49985 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqA4j-00022s-Ir for ged-emacs-devel@m.gmane.org; Sun, 07 Aug 2011 16:35:57 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:36637) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqA4g-00022e-PE for emacs-devel@gnu.org; Sun, 07 Aug 2011 16:35:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QqA4f-0005No-4r for emacs-devel@gnu.org; Sun, 07 Aug 2011 16:35:54 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:59408) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqA4e-0005NW-Sw; Sun, 07 Aug 2011 16:35:53 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LPK00J00RK7Z300@a-mtaout21.012.net.il>; Sun, 07 Aug 2011 23:35:51 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.94.185]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LPK00JONRVQHLI0@a-mtaout21.012.net.il>; Sun, 07 Aug 2011 23:35:51 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.169 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:142975 Archived-At: > From: Stefan Monnier > Cc: sds@gnu.org, emacs-devel@gnu.org > Date: Sun, 07 Aug 2011 16:19:47 -0400 > > [file-name-equal] should only operate on names without performing > any actual file/directory lookup. Why do you want to avoid hitting the disk? The code which needs to deal with these cases should only run on the OS that supports such file names. > The use in files.el is to generate a good backup file name, presumably > because "#foobar.perl#" would get turned into "#foobar.per" whereas we > prefer "#foobar.pe#". I don't know how to do that with file-name-equal, > but admittedly, dos-8+3-filename is not sufficient to do it either: it > uses ad-hoc code in files.el. Ah, that one... Yes, it just used the facility that was already available.