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: reveal-filename Date: Tue, 21 May 2013 05:52:47 +0300 Message-ID: <83mwrpujr4.fsf@gnu.org> References: <83ppwor9li.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1369104808 27020 80.91.229.3 (21 May 2013 02:53:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 May 2013 02:53:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 21 04:53:27 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UechV-0004Wa-8Z for ged-emacs-devel@m.gmane.org; Tue, 21 May 2013 04:53:21 +0200 Original-Received: from localhost ([::1]:42578 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UechU-00069g-VU for ged-emacs-devel@m.gmane.org; Mon, 20 May 2013 22:53:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42897) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UechO-00069Z-Gg for emacs-devel@gnu.org; Mon, 20 May 2013 22:53:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UechF-0005jm-8o for emacs-devel@gnu.org; Mon, 20 May 2013 22:53:14 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:42424) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UechF-0005fs-09 for emacs-devel@gnu.org; Mon, 20 May 2013 22:53:05 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MN400D00NWPB800@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Tue, 21 May 2013 05:52:55 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MN400DO6O065B60@a-mtaout22.012.net.il>; Tue, 21 May 2013 05:52:54 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 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:159699 Archived-At: > From: Stefan Monnier > Cc: emacs-devel@gnu.org > Date: Mon, 20 May 2013 22:02:31 -0400 > > >> Could we find some other name for this function? > > You are welcome to suggest any name you like. The only semi-important > > consideration I had in mind was not to have too long a name, so as not > > to require reformatting of too many lines in Makefile.in files. > > How 'bout `unmsys--filename'? Fine with me. > >> "Produce the real file name for FILE" isn't sufficiently descriptive > >> to decide when it's buggy and when it's not. > > That's unfair: the doc string does explain what this function does. > > You quoted only the first line of the doc string. > > I didn't mean to criticize, sorry. I just mean that a function with > such a "clean" name should have a "clean" specification of what it > should do, at a higher level than describing its current behavior under > various OSes. I don't think coming up with such a description is easy, > but I suspect it's not needed either and a less clean name (such as the > one O suggested above) would work just fine. The description that's already there is all there is to tell: "Produce the real file name for FILE. On systems other than MS-Windows, just returns FILE. On MS-Windows, converts /d/foo/bar form of file names passed by MSYS Make into d:/foo/bar that Emacs can grok. This function is called from lisp/Makefile." What did you find missing from this description?