help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another word for "path"?


From: Pascal Bourguignon
Subject: Re: Another word for "path"?
Date: 19 Jan 2003 21:21:43 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

kai.grossjohann@uni-duisburg.de (Kai Großjohann) writes:

> A Tramp filename consists of the following parts:
> 
>   - a method specification
>   - a user name
>   - a host name
>   - and a path specifying the file on the remote host
> 
> Now the GNU coding standards say that the word "path" is defined as a
> list of directories, such as those found in $PATH and $MANPATH.

Whatever... Where have you seen 'path' defined this way?

A path is  a path, and a path  to a file is a list  of directory entry
names, the last of  which is _a_ name of the file  and the other names
of directories.

$PATH and $MANPATH are misnomers  because they don't contain one path,
but a list of paths to the directories where commands or man pages are
to  be  searched.   At most  the  could  have  been named  $PATHS  and
$MANPATHS but better names would have been: $CMDDIRS and $MANDIRS.

Let's stop now with the novlang, and name your path 'path'!


> Which word could I use for the fourth component of a Tramp filename?
> I think "filename" is not a good word, as I already use it for the
> whole thing.

Obviously, the whole thing is a URL!  http://user@host/path
Why do you call it a Tramp file name?


-- 
__Pascal_Bourguignon__                   http://www.informatimago.com/
----------------------------------------------------------------------
There is a fault in reality. Do not adjust your minds. -- Salman Rushdie


reply via email to

[Prev in Thread] Current Thread [Next in Thread]