[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Supplying DOC string in a `defun' using `defvar'
From: |
Michael Heerdegen |
Subject: |
Re: Supplying DOC string in a `defun' using `defvar' |
Date: |
Tue, 01 Jun 2021 03:28:01 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Jean Louis <bugs@gnu.support> writes:
> > > (defmacro my-fun ()
> > > `(defun my-fun ()
> > > ,my-doc
> > > (ignore)))
> > I'm only partially joking, actually, not at all - is the function's
> > documentation for your code's readers really that much less important
> > than its code? Maybe it's even the other way round?
>
> Yes, obviously it is not practical, but it works. And is not me who
> defines those functions. I am generating 50+ function aliases by
> Drew's suggestion: [...]
Such a loop with even automatically generated docstrings using a
template is of course a different issue that doing that for one function
as in the example above.
Michael.
- Re: Supplying DOC string in a `defun' using `defvar', (continued)
- Re: Supplying DOC string in a `defun' using `defvar', 2QdxY4RzWzUUiLuE, 2021/05/31
- Re: Supplying DOC string in a `defun' using `defvar', Jean Louis, 2021/05/31
- Supplying DOC string in a `defun' using `defvar', ludvig-faddeev, 2021/05/31
- Re: Supplying DOC string in a `defun' using `defvar', 2QdxY4RzWzUUiLuE, 2021/05/31
- Re: Supplying DOC string in a `defun' using `defvar', Jean Louis, 2021/05/31
- Re: Supplying DOC string in a `defun' using `defvar', Jean Louis, 2021/05/31
- Re: Supplying DOC string in a `defun' using `defvar', Michael Heerdegen, 2021/05/31
- Supplying DOC string in a `defun' using `defvar', ludvig-faddeev, 2021/05/31
- Re: Supplying DOC string in a `defun' using `defvar', Jean Louis, 2021/05/31
- Re: Supplying DOC string in a `defun' using `defvar',
Michael Heerdegen <=
- Re: Supplying DOC string in a `defun' using `defvar', Jean Louis, 2021/05/31
Re: Supplying DOC string in a `defun' using `defvar', Stefan Monnier, 2021/05/31
RE: [External] : Supplying DOC string in a `defun' using `defvar', Drew Adams, 2021/05/31
- Re: [External] : Supplying DOC string in a `defun' using `defvar', Michael Heerdegen, 2021/05/31
- [External] : Supplying DOC string in a `defun' using `defvar', ludvig-faddeev, 2021/05/31
- Re: [External] : Supplying DOC string in a `defun' using `defvar', Michael Heerdegen, 2021/05/31
- [External] : Supplying DOC string in a `defun' using `defvar', ludvig-faddeev, 2021/05/31
- Re: [External] : Supplying DOC string in a `defun' using `defvar', Michael Heerdegen, 2021/05/31
- [External] : Supplying DOC string in a `defun' using `defvar', ludvig-faddeev, 2021/05/31
Re: [External] : Supplying DOC string in a `defun' using `defvar', Jean Louis, 2021/05/31