[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new text property
From: |
Colin Walters |
Subject: |
Re: new text property |
Date: |
11 Jun 2002 23:11:35 -0400 |
On Tue, 2002-06-11 at 21:14, Stephen J. Turnbull wrote:
> Good idea, but we're already heading this way in general with
> "behaviors." Unification we don't have, but the mechanism would allow
> arbitrary unifications, I think, just as custom allows you to "set"
> variables that don't exist or are a group of related variables.. And
> the "recreate buffer somehow" is the main (current) point of the
> "behavior feature."
But recreating the buffer is a bad way to solve this problem. For
example, suppose I do "M-x occur RET foo", and I keep that *Occur*
buffer around, but I kill the source buffer, because I don't need it
anymore. Then later I want to see it unfontified, so I do the natural
thing: type M-x font-lock-mode. But the `occur' will fail because the
original buffer is gone.
And if we ever extended Occur to allow the user to edit the buffer
(which I plan to do for Emacs at some point), then it becomes a lot
harder to recreate it.
> So AFAICT, we can get the immediate effect of the new features through
> our general mechanism. Why reduplicate it ad hoc?
Well, if these "behaviors" aren't implemented, it is hard to discuss.
One thing that bugs me about using behaviors for this is that you still
have to hunt down a `foo-highlight', `foo-fontify',
`foo-enable-fontification', etc. variable to set in the first place.
> grep for "ben wing + behavior" in xemacs-beta, xemacs-design,
> xemacs-patches: http://list-archive.xemacs.org/$LIST_NAME
I got no results:
http://list-archive.xemacs.org/cgi-bin/wilma_glimpse/xemacs-beta?query=ben%3Bwing%3Bbehavior&Search=Search&filelist=200206&filelist=200205&filelist=200204&filelist=200203&filelist=200202&filelist=200201&filelist=200112&filelist=200111&filelist=200110&filelist=200109&filelist=200108&filelist=200107&filelist=200106&filelist=200105&filelist=200104&filelist=200103&filelist=200102&filelist=200101&filelist=200012&filelist=200011&filelist=200010&filelist=200009&filelist=200008&filelist=200007&filelist=200006&filelist=200005&filelist=200004&filelist=200003&filelist=200002&filelist=200001&filelist=199912&errors=0&maxfiles=50&maxlines=10&.cgifields=lineonly&.cgifields=filelist&.cgifields=case&.cgifields=partial&.cgifields=restricttofiles
http://list-archive.xemacs.org/cgi-bin/wilma_glimpse/xemacs-patches?query=ben%3Bwing%3Bbehavior&Search=Search&filelist=200206&filelist=200205&filelist=200204&filelist=200203&filelist=200202&filelist=200201&filelist=200112&filelist=200111&filelist=200110&filelist=200109&filelist=200108&filelist=200107&filelist=200106&filelist=200105&filelist=200104&filelist=200103&filelist=200102&filelist=200101&filelist=200012&filelist=200011&filelist=200010&filelist=200009&filelist=200008&filelist=200007&filelist=200006&filelist=200005&filelist=200004&filelist=200003&filelist=200002&filelist=200001&filelist=199912&errors=0&maxfiles=50&maxlines=10&.cgifields=lineonly&.cgifields=filelist&.cgifields=case&.cgifields=partial&.cgifields=restricttofiles
http://list-archive.xemacs.org/cgi-bin/wilma_glimpse/xemacs-design?query=ben%3Bwing%3Bbehavior&Search=Search&filelist=200206&filelist=200205&filelist=200204&filelist=200203&filelist=200202&filelist=200201&filelist=200112&filelist=200111&filelist=200110&filelist=200109&filelist=200108&filelist=200107&filelist=200106&filelist=200105&filelist=200104&filelist=200103&filelist=200102&filelist=200101&filelist=200012&filelist=200011&filelist=200010&filelist=200009&filelist=200008&filelist=200007&filelist=200006&filelist=200005&filelist=200004&filelist=200003&filelist=200002&filelist=200001&filelist=199912&errors=0&maxfiles=50&maxlines=10&.cgifields=lineonly&.cgifields=filelist&.cgifields=case&.cgifields=partial&.cgifields=restricttofiles
- Re: new text property, (continued)
- Re: new text property, Hrvoje Niksic, 2002/06/10
- Re: new text property, Stefan Monnier, 2002/06/10
- Re: new text property, Kai Großjohann, 2002/06/10
- Re: new text property, Colin Walters, 2002/06/10
- Re: new text property, Hrvoje Niksic, 2002/06/11
- Re: new text property, Colin Walters, 2002/06/11
- Re: new text property, Hrvoje Niksic, 2002/06/11
- Re: new text property, Kai Großjohann, 2002/06/12
- Re: new text property, Miles Bader, 2002/06/12
- Re: new text property, Stephen J. Turnbull, 2002/06/11
- Re: new text property,
Colin Walters <=
- Re: new text property, Stephen J. Turnbull, 2002/06/12
- Re: new text property, Adrian Aichner, 2002/06/12
- Re: new text property, Kai Großjohann, 2002/06/10
- Re: new text property, Hrvoje Niksic, 2002/06/10