From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David.Kastrup@t-online.de (David Kastrup) Newsgroups: gmane.emacs.devel Subject: Re: Should invisible imply intangible? Date: 13 Mar 2002 15:15:44 +0100 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200202232019.g1NKJoG14638@aztec.santafe.edu> <200202250510.g1P5A3714156@rum.cs.yale.edu> <200202262013.g1QKDef16683@aztec.santafe.edu> <200203010130.g211UDG05790@rum.cs.yale.edu> <200203031440.g23EeN200619@aztec.santafe.edu> <200203031711.g23HBI623254@rum.cs.yale.edu> <200203042341.g24NfiH00596@aztec.santafe.edu> <200203052158.g25Lw7A01243@wijiji.santafe.edu> <200203052304.g25N4pI03908@rum.cs.yale.edu> <200203092003.g29K3b303868@wijiji.santafe.edu> <200203092237.g29MbGf29464@rum.cs.yale.edu> <200203102132.g2ALWPK04119@wijiji.santafe.edu> <200203102202.g2AM26q06798@rum.cs.yale.edu> <200203111906.g2BJ6BY04591@wijiji.santafe.edu> <200203121756.g2CHuG514941@rum.cs.yale.edu> <200203131058.g2DAwQh05428@wijiji.santafe.edu> <200203131306.g2DD6Hk19277@rum.cs.yale.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1016036892 29952 127.0.0.1 (13 Mar 2002 16:28:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 13 Mar 2002 16:28:12 +0000 (UTC) Cc: Richard Stallman , emacs-devel@gnu.org Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16lBbo-0007n0-00 for ; Wed, 13 Mar 2002 17:28:12 +0100 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16lBeV-0007mG-00 for ; Wed, 13 Mar 2002 17:30:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16lBam-00013S-00; Wed, 13 Mar 2002 11:27:08 -0500 Original-Received: from mailout09.sul.t-online.com ([194.25.134.84]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16lBZb-00010w-00; Wed, 13 Mar 2002 11:25:55 -0500 Original-Received: from fwd10.sul.t-online.de by mailout09.sul.t-online.com with smtp id 16l9Xp-00064T-06; Wed, 13 Mar 2002 15:15:57 +0100 Original-Received: from tupik.goethe.zz (520018396234-0001@[217.80.157.220]) by fwd10.sul.t-online.com with esmtp id 16l9Xh-07JzkGC; Wed, 13 Mar 2002 15:15:49 +0100 Original-Received: (from dak@localhost) by tupik.goethe.zz (8.11.6/linuxconf) id g2DEFjH03031; Wed, 13 Mar 2002 15:15:45 +0100 Original-To: "Stefan Monnier" In-Reply-To: <200203131306.g2DD6Hk19277@rum.cs.yale.edu> Original-Lines: 35 X-Sender: 520018396234-0001@t-dialin.net Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:1913 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1913 "Stefan Monnier" writes: > > > The scenario is one where message header lines are marked as > > > invisible using overlays, the goal being to hide them. > > > > Any reason why those cannot explicitly use the `intangible' > > property ? > > > > Because the invisibility of these lines is controlled > > buffer-invisibility-spec, and that can't control the intangible > > property. This text is visible sometimes and invisible sometimes, > > and we want to change that *without* changing the text properties > > directly. > > > > The text should be intangible when it is invisible, and not when > > it is not. And none of that should require changing actual text > > properties. > > Now it all makes a lot more sense, thank you. > I guess that's the part of the beginning of the discussion that I missed. > I'll see what code I can come up with, I don't think it appropriate to hack intangibility into the invisible property just because intangibility happens to be missing an API that invisibility has. It will do no harm if the user gets his cursor moved out of invisible areas at command completion time (as is done with point adjustment), but the semantics of the intangibility property are much more severe. It violates a lot of assumptions a programmer might make about how text behaves and should not be applied lightly. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum Email: David.Kastrup@t-online.de _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel