emacs-devel
[Top][All Lists]
Advanced

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

Re: document cygwin-convert-path-{from,to}-windows?


From: Stefan Monnier
Subject: Re: document cygwin-convert-path-{from,to}-windows?
Date: Sun, 18 Nov 2012 22:46:30 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> "Please do not use the term “pathname” that is used in Unix
> documentation; use “file name” (two words) instead. We use the term
> “path” only for search paths, which are lists of directory names."

> The document could be clearer on what to call names that can refer to either
> 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



reply via email to

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