all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Colin Walters <walters@gnu.org>
Subject: Re: new text property
Date: 11 Jun 2002 23:11:35 -0400	[thread overview]
Message-ID: <1023851495.26240.100.camel@space-ghost> (raw)
In-Reply-To: <877kl5pabc.fsf@tleepslib.sk.tsukuba.ac.jp>

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

  parent reply	other threads:[~2002-06-12  3:11 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-09  7:22 new text property Colin Walters
2002-06-10  4:29 ` Stephen J. Turnbull
     [not found] ` <87y9dnycw8.fsf@tleepslib.sk.tsukuba.ac.jp>
2002-06-10  5:12   ` Miles Bader
2002-06-10  5:46   ` Colin Walters
     [not found]   ` <buod6uzbtun.fsf@mcspd15.ucom.lsi.nec.co.jp>
2002-06-10  6:38     ` Stephen J. Turnbull
     [not found]     ` <87bsajy6y8.fsf@tleepslib.sk.tsukuba.ac.jp>
2002-06-10  6:53       ` Colin Walters
2002-06-10 14:30       ` Stefan Monnier
     [not found]       ` <200206101431.g5AEV0G28267@rum.cs.yale.edu>
2002-06-10 17:35         ` Adrian Aichner
2002-06-11  5:07           ` Eli Zaretskii
2002-06-11  8:24         ` Stephen J. Turnbull
2002-06-10  8:50 ` Hrvoje Niksic
2002-06-10 11:16   ` Kai Großjohann
2002-06-10 12:07     ` Hrvoje Niksic
2002-06-10 12:26       ` Miles Bader
2002-06-10 13:32         ` Hrvoje Niksic
2002-06-10 14:28           ` Stefan Monnier
2002-06-10 15:08           ` Kai Großjohann
2002-06-10 18:51           ` Colin Walters
     [not found]           ` <1023735066.26240.14.camel@space-ghost>
2002-06-11 11:40             ` Hrvoje Niksic
2002-06-11 19:47               ` Colin Walters
2002-06-11 20:40                 ` Hrvoje Niksic
2002-06-12  8:18                   ` Kai Großjohann
2002-06-12  9:05                     ` Miles Bader
2002-06-12  1:14                 ` Stephen J. Turnbull
     [not found]                 ` <877kl5pabc.fsf@tleepslib.sk.tsukuba.ac.jp>
2002-06-12  3:11                   ` Colin Walters [this message]
2002-06-12  8:16                     ` Stephen J. Turnbull
2002-06-12 17:46                       ` Adrian Aichner
2002-06-10 15:03       ` Kai Großjohann
     [not found]       ` <vaf1ybf18hp.fsf@INBOX.auto.emacs.devel.tok.lucy.cs.uni-dortmund.de>
2002-06-10 15:13         ` Hrvoje Niksic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1023851495.26240.100.camel@space-ghost \
    --to=walters@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.