[Top][All Lists]

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

Re: Proposal to change naming format to allow package-prefix/function-na

From: Juanma Barranquero
Subject: Re: Proposal to change naming format to allow package-prefix/function-name
Date: Mon, 30 Dec 2019 13:03:45 +0100

On Mon, Dec 30, 2019 at 8:03 AM Zachary Kanfer <address@hidden> wrote:

> Some Elisp functions that are part of Emacs already follow this format.
> 1. Many eshell functions already follow this format, for example eshell/ls, eshell/exit, and eshell/define.
> 2. Pcomplete functions use this format, even some for more than one hierarchical level, e.g. pcomplete/gzip, pcomplete/erc-mode/complete-command, pcomplete/org-mode/block-option/src.
> 3. Org-plot has half a dozen functions, like org-plot/goto-nearest-table.

I think this proposal is unlikely to gain traction. But if it were, in a Lisp context colon (:) would make more sense IMHO, as it is used in Common Lisp to separate the namespace ("package", in CL-speak) from the symbol name. That would make easier to adapt to CL-style namespaces, if they were implemented in Emacs some day (which I think won't ever happen, if previous discussions on the subject are to be believed).

reply via email to

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