From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Colin Walters Newsgroups: gmane.emacs.devel Subject: Re: new text property Date: 11 Jun 2002 23:11:35 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <1023851495.26240.100.camel@space-ghost> References: <1023607376.8184.1228.camel@space-ghost> <87adq3jp5y.fsf@tc-1-100.kawasaki.gol.ne.jp> <1023735066.26240.14.camel@space-ghost> <1023824830.26240.84.camel@space-ghost> <877kl5pabc.fsf@tleepslib.sk.tsukuba.ac.jp> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1023852097 14732 127.0.0.1 (12 Jun 2002 03:21:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 12 Jun 2002 03:21:37 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17HyhU-0003pV-00 for ; Wed, 12 Jun 2002 05:21:36 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17Hz56-0001ME-00 for ; Wed, 12 Jun 2002 05:46:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17HyhD-0004fR-00; Tue, 11 Jun 2002 23:21:19 -0400 Original-Received: from monk.debian.net ([216.185.54.61] helo=monk.verbum.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17Hyge-0004dn-00 for ; Tue, 11 Jun 2002 23:20:44 -0400 Original-Received: from space-ghost.verbum.private (freedom.cis.ohio-state.edu [164.107.60.183]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "space-ghost.verbum.org", Issuer "monk.verbum.org" (verified OK)) by monk.verbum.org (Postfix (Debian/GNU)) with ESMTP id 839B574000BA; Tue, 11 Jun 2002 23:20:34 -0400 (EDT) Original-Received: by space-ghost.verbum.private (Postfix (Debian/GNU), from userid 1000) id B60EE91F402; Tue, 11 Jun 2002 23:11:35 -0400 (EDT) Original-To: emacs-devel@gnu.org, xemacs-design@xemacs.org In-Reply-To: <877kl5pabc.fsf@tleepslib.sk.tsukuba.ac.jp> X-Mailer: Ximian Evolution 1.0.3 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:4777 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4777 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