[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: doc elisp intro cross reference fixes
From: |
Stefan Monnier |
Subject: |
Re: doc elisp intro cross reference fixes |
Date: |
20 Nov 2003 09:39:23 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
> No, indeed, it's a bug that needs to be fixed in set-variable.
> If this would be considered a bug, then the global variant of
> set-variable would be easy to fix, by having set-variable call the
> :set function. C-u set-variable (buffer-local variant) could not be
> handled this way, because :set functions are usually not intended to
> handle buffer-local values.
That's another problem with custom in that it handles buffer-local
settings pretty poorly. But note that for this particular case,
it's not as bad as you make it to be since there's custom-local-buffer
to take care of it. Admittedly many setter functions don't pay attention
to it, but that's just another thing that needs to be fixed.
> Of course, customize-option can not
> handle buffer-local values at all. One would need a new
> :set-buffer-local keyword, or similar, if one wanted set-variable to
> be able to handle buffer-local values for such variables.
No, custom-local-buffer is all you need for this particular case.
Stefan
- Re: doc elisp intro cross reference fixes, (continued)
- Re: doc elisp intro cross reference fixes, Stefan Monnier, 2003/11/30
- Re: doc elisp intro cross reference fixes, Richard Stallman, 2003/11/30
- Re: doc elisp intro cross reference fixes, Per Abrahamsen, 2003/11/27
- Re: doc elisp intro cross reference fixes, Richard Stallman, 2003/11/27
- Re: doc elisp intro cross reference fixes, Per Abrahamsen, 2003/11/28
- Re: doc elisp intro cross reference fixes, Luc Teirlinck, 2003/11/19
- Re: doc elisp intro cross reference fixes, Miles Bader, 2003/11/19
- Re: doc elisp intro cross reference fixes, Kevin Rodgers, 2003/11/20
- Re: doc elisp intro cross reference fixes, Stefan Monnier, 2003/11/20
- Re: doc elisp intro cross reference fixes, Luc Teirlinck, 2003/11/20
- Re: doc elisp intro cross reference fixes,
Stefan Monnier <=
- Re: doc elisp intro cross reference fixes, Kevin Rodgers, 2003/11/20
- Re: doc elisp intro cross reference fixes, Stefan Monnier, 2003/11/20
- Re: doc elisp intro cross reference fixes, Kai Grossjohann, 2003/11/29
- Re: doc elisp intro cross reference fixes, Stefan Monnier, 2003/11/30
- Re: doc elisp intro cross reference fixes, Kai Grossjohann, 2003/11/30
- Re: doc elisp intro cross reference fixes, Stefan Monnier, 2003/11/30
- Re: doc elisp intro cross reference fixes, Richard Stallman, 2003/11/30
- Re: doc elisp intro cross reference fixes, Richard Stallman, 2003/11/21
- Re: doc elisp intro cross reference fixes, Miles Bader, 2003/11/21
- Re: doc elisp intro cross reference fixes, Stefan Monnier, 2003/11/21