emacs-devel
[Top][All Lists]
Advanced

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

Re: Namespaces - summary, conclusion


From: Eli Zaretskii
Subject: Re: Namespaces - summary, conclusion
Date: Mon, 04 May 2020 20:08:14 +0300

> From: Philippe Vaucher <address@hidden>
> Date: Mon, 4 May 2020 18:36:46 +0200
> Cc: Stefan Kangas <address@hidden>, Emacs developers <address@hidden>
> 
> > > rename-file -> file-rename
> > > delete-file -> file-delete
> > > copy-file -> file-copy
> > > expand-file-name -> file-expand-name
> >
> > These are different: in Emacs we have functions that work on _files_,
> > and we have functions that work on _file names_.  The first 3 above
> > are of the former kind, the last one is of the second kind (there are
> > a lot more of that kind).  We shouldn't mix them.
> 
> What is commonly done in other languages for functions operating on
> paths only is to be prefixed with "path-".

GNU Coding standards frown on using "path" for anything but PATH-style
directory lists.  Compare with load-path, exec-path, etc.



reply via email to

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