[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs Lisp and Guile
From: |
Marius Vollmer |
Subject: |
Re: Emacs Lisp and Guile |
Date: |
19 Aug 2002 23:03:47 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Richard Stallman <address@hidden> writes:
> All Elisp variables would be constructed specially, even if they
> didn't make use of any of the available features initially. That
> would mean that variables declared in Scheme can not be later made
> buffer local since normal Scheme variabled would not be constructed in
> the special way.
>
> This would be a big inconvenience in practice. It would mean that
> mentioning a variable in Scheme code once prevents you from using it
> in other ways. It needs to be possible to make a variable "special"
> (in this sense) after having used it in other non-lexical ways.
Hmm, I think that maybe Scheme people will prefer to explicitely
declare that a variable is buffer local at the point of its
definition. But maybe I'm wrong.
In any case, we can reverse the logic and say that variables need to
be specially constructed when the user does not want them to be used
"specially" (i.e., buffer-locally, etc).
That would work just as well, I think.
Variables that hold functions would be a candidate, for example. That is,
(define foo #f)
would construct a normal variable that can be made thread-local,
buffer-local, etc., while
(define (frob-foo)
...)
would construct a 'dumb' variable that can't these things, but that
would allow faster access.
--
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405
- Re: Emacs Lisp and Guile, (continued)
- Re: Emacs Lisp and Guile, Marius Vollmer, 2002/08/14
- Re: Emacs Lisp and Guile, Richard Stallman, 2002/08/07
- Re: Emacs Lisp and Guile, Marius Vollmer, 2002/08/08
- Re: Emacs Lisp and Guile, Richard Stallman, 2002/08/09
- Re: Emacs Lisp and Guile, Marius Vollmer, 2002/08/12
- Re: Emacs Lisp and Guile, Richard Stallman, 2002/08/12
- Re: Emacs Lisp and Guile, Marius Vollmer, 2002/08/13
- Re: Emacs Lisp and Guile, Richard Stallman, 2002/08/14
- Re: Emacs Lisp and Guile, Marius Vollmer, 2002/08/14
- Re: Emacs Lisp and Guile, Richard Stallman, 2002/08/15
- Re: Emacs Lisp and Guile,
Marius Vollmer <=
- Re: Emacs Lisp and Guile, Richard Stallman, 2002/08/20
- Re: Emacs Lisp and Guile, Stefan Monnier, 2002/08/09
- Re: Emacs Lisp and Guile, Richard Stallman, 2002/08/10
Re: Emacs Lisp and Guile, Michael Sperber [Mr. Preprocessor], 2002/08/10
- Re: Emacs Lisp and Guile, Richard Stallman, 2002/08/10
- Re: Emacs Lisp and Guile, Michael Sperber [Mr. Preprocessor], 2002/08/11
- Re: Emacs Lisp and Guile, Richard Stallman, 2002/08/12
- Re: Emacs Lisp and Guile, Michael Sperber [Mr. Preprocessor], 2002/08/13
- Message not available
- Re: Emacs Lisp and Guile, Richard Stallman, 2002/08/13
- Re: Emacs Lisp and Guile, Marius Vollmer, 2002/08/14