From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: info invisible changes Date: Wed, 6 Nov 2002 11:32:43 -0500 Sender: emacs-devel-admin@gnu.org Message-ID: <20021106163243.GA9775@gnu.org> References: <200211011623.gA1GNAL03601@rum.cs.yale.edu> <5xznsnvabl.fsf@kfs2.cua.dk> <200211061511.gA6FBfL02691@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1036602276 10267 80.91.224.249 (6 Nov 2002 17:04:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 6 Nov 2002 17:04:36 +0000 (UTC) Cc: Miles Bader , "Kim F. Storm" , Stefan Monnier , emacs-devel@gnu.org, emacs-pretest-bug@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 189TbW-0002fT-00 for ; Wed, 06 Nov 2002 18:04:34 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 189Tk6-0006wA-00 for ; Wed, 06 Nov 2002 18:13:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 189TKz-0005m3-00; Wed, 06 Nov 2002 11:47:29 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 189T6m-0000V5-00 for emacs-devel@gnu.org; Wed, 06 Nov 2002 11:32:48 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 189T6i-0000TB-00 for emacs-devel@gnu.org; Wed, 06 Nov 2002 11:32:46 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10) id 189T6i-0000T2-00 for emacs-devel@gnu.org; Wed, 06 Nov 2002 11:32:44 -0500 Original-Received: from miles by fencepost.gnu.org with local (Exim 4.10) id 189T6h-0002n1-00; Wed, 06 Nov 2002 11:32:43 -0500 Original-To: Stefan Monnier Content-Disposition: inline In-Reply-To: <200211061511.gA6FBfL02691@rum.cs.yale.edu> User-Agent: Mutt/1.3.28i Blat: Foop Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:9194 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9194 On Wed, Nov 06, 2002 at 10:11:41AM -0500, Stefan Monnier wrote: > > I think a lot of this stuff would become _much_ simpler if you could must > > munge the buffer instead of using invisible/display properties (with all > > their associated oddities), perhaps using text properties to store the > > necessary non-displayed info instead of parsing the buffer for it -- of > > course this would perhaps be a bigger change, since you'd have to modify > > the various info-getting functions too, but I don't see why it would be > > _that_ big a job (presumably the modified code would support both > > text-property stored info and buffer-parsing, for backward > > compatibility). > > I disagree. Especially since it's all customizable, it's easier and > safer to keep only one buffer-format and change the appearance > via properties. Safer I don't know (though I suspect it doesn't really make all that much difference), but easier? Modifying a buffer is _far_ more straight-forward than using display-modification properties (because lots of stuff in emacs simply doesn't know about them or their effects, and happily proceeds as if they weren't there). -Miles -- P.S. All information contained in the above letter is false, for reasons of military security.