From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Random832 Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 4d3a595: `load-path' should contain only directory names Date: Wed, 28 Oct 2015 18:04:46 -0400 Message-ID: <87bnbiabup.fsf@fastmail.com> 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> <87io5qamat.fsf@fastmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1446069953 21066 80.91.229.3 (28 Oct 2015 22:05:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 Oct 2015 22:05:53 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 28 23:05:43 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 1ZrYql-0000hL-G4 for ged-emacs-devel@m.gmane.org; Wed, 28 Oct 2015 23:05:43 +0100 Original-Received: from localhost ([::1]:40893 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrYqk-0001dW-GQ for ged-emacs-devel@m.gmane.org; Wed, 28 Oct 2015 18:05:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35022) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrYqb-0001dP-66 for emacs-devel@gnu.org; Wed, 28 Oct 2015 18:05:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZrYqX-0007Gp-Te for emacs-devel@gnu.org; Wed, 28 Oct 2015 18:05:33 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:55123) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrYqX-0007Gl-Ks for emacs-devel@gnu.org; Wed, 28 Oct 2015 18:05:29 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZrYqQ-0000Pb-KU for emacs-devel@gnu.org; Wed, 28 Oct 2015 23:05:22 +0100 Original-Received: from c-68-39-146-59.hsd1.in.comcast.net ([68.39.146.59]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Oct 2015 23:05:22 +0100 Original-Received: from random832 by c-68-39-146-59.hsd1.in.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Oct 2015 23:05:22 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 42 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-68-39-146-59.hsd1.in.comcast.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:v3ZPIAsLN0vFz0meTr970I9ol3o= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:192831 Archived-At: Random832 writes: > I think the intent of the existing documentation is that a so-called > "directory name" is the one that may be concatenated to a filename to > form a path. For example, on VMS: tl;dr: Indeed. Code archaeology follows. > DKA0:[MYDIR.SUBDIR1.SUBDIR2] would be the "directory name" > DKA0:[MYDIR.SUBDIR1]SUBDIR2.DIR;1 would be the "directory filename" > > Maybe this should be called a "directory prefix"? I don't think you can > concatenate it to a relative path other than a simple filename on VMS > though. What _do_ (or did) these functions do on VMS To answer my own question, I refer to the source code of Emacs 22. http://git.savannah.gnu.org/cgit/emacs.git/tree/src/fileio.c?id=emacs-22.3 | On VMS, converts \"[X]FOO.DIR\" to \"[X.FOO]\", etc. */) | On VMS, given a VMS-syntax directory name such as \"[X.Y]\", | it returns a file name such as \"[X]Y.DIR.1\". */) In general, the code dedicated to VMS in these functions seems far more extensive than the current versions that exclusively handle Unix and Windows/DOS paths. > or other systems with exotic path formats (Risc OS?), if any are (were > ever) supported? I couldn't find any reference to Risc OS ever being supported. > I wonder, what Emacs does (or did) on classic MacOS. At first I couldn't find any special code at all for this, and wondered if the C runtime handled it. I eventually located this file: http://git.savannah.gnu.org/cgit/emacs.git/tree/mac/src/mac.c?id=emacs-21.3 It was apparently removed immediately when OSX support was added in 2001, and no-one missed it.