[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.
- Re: Namespaces - summary, conclusion, (continued)
- Re: Namespaces - summary, conclusion, Stefan Kangas, 2020/05/04
- Re: Namespaces - summary, conclusion, Joost Kremers, 2020/05/04
- Re: Namespaces - summary, conclusion, Alfred M. Szmidt, 2020/05/04
- Re: Namespaces - summary, conclusion, tomas, 2020/05/04
- Re: Namespaces - summary, conclusion, Philippe Vaucher, 2020/05/04
- Re: Namespaces - summary, conclusion, Eli Zaretskii, 2020/05/04
- Re: Namespaces - summary, conclusion, Philippe Vaucher, 2020/05/04
- Re: Namespaces - summary, conclusion, Alfred M. Szmidt, 2020/05/04
- Re: Namespaces - summary, conclusion, Alfred M. Szmidt, 2020/05/04
- Re: Namespaces - summary, conclusion, Alfred M. Szmidt, 2020/05/05
- Re: Namespaces - summary, conclusion,
Eli Zaretskii <=
- Re: Namespaces - summary, conclusion, Stefan Monnier, 2020/05/04
- Re: Namespaces - summary, conclusion, 조성빈, 2020/05/04
- Re: Namespaces - summary, conclusion, Philippe Vaucher, 2020/05/04
- Re: Namespaces - summary, conclusion, 조성빈, 2020/05/05
- Re: Namespaces - summary, conclusion, Stefan Monnier, 2020/05/04
- Re: Namespaces - summary, conclusion, Philippe Vaucher, 2020/05/04
- RE: Namespaces - summary, conclusion, Drew Adams, 2020/05/04
Re: Namespaces - summary, conclusion, Eli Zaretskii, 2020/05/04
Re: Namespaces - summary, conclusion, chad, 2020/05/04