From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: document cygwin-convert-path-{from,to}-windows? Date: Sun, 18 Nov 2012 22:46:30 -0500 Message-ID: References: <83lie03ano.fsf@gnu.org> <50A946A2.5010508@dancol.org> <83a9uezjya.fsf@gnu.org> <50A95196.6010701@dancol.org> <50A99D44.5040603@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1353296804 12171 80.91.229.3 (19 Nov 2012 03:46:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Nov 2012 03:46:44 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 19 04:46:54 2012 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 1TaIJy-0007en-GT for ged-emacs-devel@m.gmane.org; Mon, 19 Nov 2012 04:46:54 +0100 Original-Received: from localhost ([::1]:48784 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaIJo-0000hB-42 for ged-emacs-devel@m.gmane.org; Sun, 18 Nov 2012 22:46:44 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:34376) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaIJj-0000h0-9z for emacs-devel@gnu.org; Sun, 18 Nov 2012 22:46:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TaIJg-0001Nf-7X for emacs-devel@gnu.org; Sun, 18 Nov 2012 22:46:39 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:63994) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaIJc-0001NL-P9; Sun, 18 Nov 2012 22:46:32 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EAG6Zu09sr+ZY/2dsb2JhbABEhS2uZIEIghUBAQQBIwQvIwULCw4MAhgOAgIUGA0kiBwFpw6Se4EmjgqBFAOIQppxgViDBw X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="207923912" Original-Received: from 108-175-230-88.dsl.teksavvy.com (HELO pastel.home) ([108.175.230.88]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 18 Nov 2012 22:46:31 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id E8FEE597C1; Sun, 18 Nov 2012 22:46:30 -0500 (EST) In-Reply-To: <50A99D44.5040603@dancol.org> (Daniel Colascione's message of "Sun, 18 Nov 2012 18:45:24 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 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:154946 Archived-At: > "Please do not use the term =E2=80=9Cpathname=E2=80=9D that is used in Un= ix > documentation; use =E2=80=9Cfile name=E2=80=9D (two words) instead. We us= e the term > =E2=80=9Cpath=E2=80=9D only for search paths, which are lists of director= y names." > The document could be clearer on what to call names that can refer to eit= her > files or directories. I don't understand what you find unclear about it. It says that what many people call "pathname" should be called "file name". AFAIK "pathname" is used for both files and directories, so the above says that "file name" should be used for it. > (FWIW, I find "path" the least confusing option, and I > find names like "directory-file-name" confusing.) "directory-file-name" should be read as "directory -> file-name", so it takes the a name that refers to a directory and returns the file name of that directory. It's not the most clear, I admin, but I'm not sure how else to call a function that goes from "foo/" to "foo" (or from "[foo]" to "foo.dir" back in the VMS days). Stefan