[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: list of elisp primitives ?
From: |
Jean-Christophe Helary |
Subject: |
Re: list of elisp primitives ? |
Date: |
Sun, 22 Dec 2019 12:43:19 +0900 |
Thank you Eduardo.
That's 1290 functions...
The reference seems to have 1608 functions and 294 commands, so those
primitives are not even a "useful subset" of emacs lisp functions...
I guess that was a naïve idea. So I'll just have to go through the reference
and try to find myself a minimaly useful subset (which is what the Intro should
be about, btw.)
> On Dec 22, 2019, at 12:21, Eduardo Ochs <address@hidden> wrote:
>
> Try this:
>
> (defun fboundp-and-subrp (symbol)
> (and (fboundp symbol) (subrp (symbol-function symbol))))
>
> (setq my-primitives (apropos-internal "^.*$" 'fboundp-and-subrp))
>
> (defun my-describe (symbol) (format "(describe-function '%S)\n" symbol))
>
> (insert (mapconcat 'my-describe my-primitives ""))
>
>
> On Sun, 22 Dec 2019 at 00:01, Jean-Christophe Helary <address@hidden> wrote:
> Is there a list of elisp primitive functions defined in C somewhere ?
>
> I was thinking that because of the sheer amount of functions in the elisp
> reference, it might be much easier to start programming with the primitives
> to understand how elisp works at its core, and then climb the ladder when
> need arises...
>
>
>
> Jean-Christophe Helary
> -----------------------------------------------
> http://mac4translators.blogspot.com @brandelune
- list of elisp primitives ?, Jean-Christophe Helary, 2019/12/21
- Re: list of elisp primitives ?, Eduardo Ochs, 2019/12/21
- Re: list of elisp primitives ?,
Jean-Christophe Helary <=
- Re: list of elisp primitives ?, Stephen Berman, 2019/12/22
- RE: list of elisp primitives ?, Drew Adams, 2019/12/22
- Re: list of elisp primitives ?, Jean-Christophe Helary, 2019/12/26
- RE: list of elisp primitives ?, arthur miller, 2019/12/26
- RE: list of elisp primitives ?, Drew Adams, 2019/12/26
- Re: list of elisp primitives ?, Jean-Christophe Helary, 2019/12/26
- Re: list of elisp primitives ?, Stefan Monnier, 2019/12/26
- Re: list of elisp primitives ?, Eduardo Ochs, 2019/12/26