[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Specifiers
From: |
Stefan Monnier |
Subject: |
Re: Specifiers |
Date: |
Thu, 29 May 2008 22:21:46 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
> - what should (setq var val) do?
> currently is magically uses either the global or the current-buffer
> locus depending on whether the variable is already buffer-local.
> but if it's buffer-local and frame-local, which setting should
> be changed?
> - how does it interact with make-variable-buffer-local?
> I.e. if a variable is just window-local and you do (setq var val), is
> it going to be made buffer-local?
> - what about `let'? This one is really fun!
> All these issues arise already with the current features,
Yes, pretty much, except we don't have to worry about combinations of
buffer-local with other forms of foo-local at the same time (well,
supposedly we have to worry about it for buffer-local + frame-local,
but we already know we don't handle that correctly).
> and won't get any worse with the proposed new feature.
Try it.
> ISTR that there is already code in specbind to try to DTRT
> for some of these.
Yes, there's already a fair bit of code trying to get things to work
right for buffer-local variables (in specbind and a bunch of other
places). It's already pretty complex just like that.
Stefan
- Re: face-remapping patch, (continued)
- Re: face-remapping patch, Richard M Stallman, 2008/05/29
- Re: face-remapping patch, David Kastrup, 2008/05/29
- Specifiers (was: face-remapping patch), Stefan Monnier, 2008/05/29
- Re: Specifiers, David Kastrup, 2008/05/29
- Re: Specifiers, Stefan Monnier, 2008/05/29
- Re: Specifiers, Stephen J. Turnbull, 2008/05/29
- Re: Specifiers (was: face-remapping patch), Richard M Stallman, 2008/05/29
- Re: Specifiers,
Stefan Monnier <=
- Re: Specifiers, David Kastrup, 2008/05/30
- Re: Specifiers, Stefan Monnier, 2008/05/30
- Re: Specifiers, David Kastrup, 2008/05/30
- Re: Specifiers, Stefan Monnier, 2008/05/30
- Re: Specifiers, Richard M Stallman, 2008/05/31
- Re: face-remapping patch, Stefan Monnier, 2008/05/29
- Re: face-remapping patch, David Kastrup, 2008/05/29
Re: face-remapping patch, Miles Bader, 2008/05/29