From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 4d3a595: `load-path' should contain only directory names Date: Wed, 28 Oct 2015 22:32:58 -0400 Message-ID: References: <20151023135532.11512.53356@vcs.savannah.gnu.org> <83mvv8wejc.fsf@gnu.org> <86bnboeymw.fsf@stephe-leake.org> <83wpuadc9k.fsf@gnu.org> <86d1w1ahsy.fsf@stephe-leake.org> <562E2A8A.1030601@yandex.ru> <83wpu9bns4.fsf@gnu.org> <86fv0x8kl6.fsf@stephe-leake.org> <83d1w0416d.fsf@gnu.org> <8337ww3ypz.fsf@gnu.org> <83vb9r2ddg.fsf@gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: plane.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: ger.gmane.org 1446086057 31034 80.91.229.3 (29 Oct 2015 02:34:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 Oct 2015 02:34:17 +0000 (UTC) Cc: emacs-devel@gnu.org, stephen_leake@stephe-leake.org, monnier@IRO.UMontreal.CA, dgutov@yandex.ru To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 29 03:34:05 2015 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 1Zrd2Q-0002Up-UV for ged-emacs-devel@m.gmane.org; Thu, 29 Oct 2015 03:34:03 +0100 Original-Received: from localhost ([::1]:41671 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zrd2Q-0008Mw-B2 for ged-emacs-devel@m.gmane.org; Wed, 28 Oct 2015 22:34:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39491) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zrd1f-0007QA-Bx for emacs-devel@gnu.org; Wed, 28 Oct 2015 22:33:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zrd1e-0005dI-DF for emacs-devel@gnu.org; Wed, 28 Oct 2015 22:33:15 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39225) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zrd1P-0005M3-9O; Wed, 28 Oct 2015 22:32:59 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1Zrd1O-00009b-Am; Wed, 28 Oct 2015 22:32:58 -0400 In-reply-to: <83vb9r2ddg.fsf@gnu.org> (message from Eli Zaretskii on Wed, 28 Oct 2015 17:59:07 +0200) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e 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:192852 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > > The manual says "directory name" ends in a slash, and talks about > > > "file name of a directory" which doesn't. > > > > I don't think we generally use the term "directory name" in such > > a strict sense. At the very least, in all these years, I never noticed > > that this term had such a precise meaning and it's never bitten me. > It's a very old confusion, yes. But that doesn't mean IMO that we > shouldn't try to fix it, at least in those places where it's > important. Like this one. I took care to make that distinction clear. If people have let it become fuzzy, let's clear it up. The elements of 'load-path' (and every ...-path variable) should properly be directory names, not file names. Some things, perhaps many, will handle directory file names in these variables, and it is ine being defensive in that way; but clean code will only put directory names into the lists. -- Dr Richard Stallman President, Free Software Foundation (gnu.org, fsf.org) Internet Hall-of-Famer (internethalloffame.org) Skype: No way! See stallman.org/skype.html.