[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiling a recursive macro
From: |
Michael Heerdegen |
Subject: |
Re: Compiling a recursive macro |
Date: |
Fri, 12 Jun 2020 12:49:19 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Douglas Lewan <d.lewan2000@gmail.com> writes:
> They are buffer-local. Definition of such a variable spans the tree of
> buffers in question. I suppose I could just define them in the root
> buffer, but then I'd also need to use a specialized getter instead of
> the variable itself. The latter definitely seems preferable to me. If
> there's a way to do this with emacs lisp's natural scoping, I'm more
> than happy to learn.
If you want to use local variables: `make-local-variable' makes a
variable local in the current buffer, `make-variable-buffer-local'
generally; both are functions (not special forms or macros). And the
getter is `buffer-local-value'; also a function.
Michael.
- Compiling a recursive macro, Douglas Lewan, 2020/06/11
- Re: Compiling a recursive macro, Stefan Monnier, 2020/06/11
- Re: Compiling a recursive macro, Douglas Lewan, 2020/06/11
- Re: Compiling a recursive macro, Michael Heerdegen, 2020/06/11
- Re: Compiling a recursive macro, Douglas Lewan, 2020/06/11
- Re: Compiling a recursive macro, Michael Heerdegen, 2020/06/11
- Re: Compiling a recursive macro, Douglas Lewan, 2020/06/11
- Re: Compiling a recursive macro,
Michael Heerdegen <=
- Re: Compiling a recursive macro, Douglas Lewan, 2020/06/12
- Re: Compiling a recursive macro, Douglas Lewan, 2020/06/11
- Re: Compiling a recursive macro, Michael Heerdegen, 2020/06/13
- Re: Compiling a recursive macro, Jakub Jankiewicz, 2020/06/13
- Re: Compiling a recursive macro, Stefan Monnier, 2020/06/11
Re: Compiling a recursive macro, Michael Heerdegen, 2020/06/11
Re: Compiling a recursive macro, Jakub Jankiewicz, 2020/06/11