From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Should invisible imply intangible? Date: Mon, 11 Mar 2002 12:06:11 -0700 (MST) Sender: emacs-devel-admin@gnu.org Message-ID: <200203111906.g2BJ6BY04591@wijiji.santafe.edu> 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> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1015873761 2129 80.91.224.249 (11 Mar 2002 19:09:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 11 Mar 2002 19:09:21 +0000 (UTC) Cc: monnier+gnu/emacs@rum.cs.yale.edu, 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 16kVAe-0000Y7-00 for ; Mon, 11 Mar 2002 20:09:20 +0100 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16kVCU-00043z-00 for ; Mon, 11 Mar 2002 20:11:14 +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 16kVAU-0003oD-00; Mon, 11 Mar 2002 14:09:10 -0500 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16kV7d-0003cR-00; Mon, 11 Mar 2002 14:06:13 -0500 Original-Received: from wijiji.santafe.edu (wijiji [192.12.12.5]) by pele.santafe.edu (8.11.6+Sun/8.9.3) with ESMTP id g2BJ6Pu00725; Mon, 11 Mar 2002 12:06:25 -0700 (MST) Original-Received: (from rms@localhost) by wijiji.santafe.edu (8.11.6+Sun/8.9.3) id g2BJ6BY04591; Mon, 11 Mar 2002 12:06:11 -0700 (MST) X-Authentication-Warning: wijiji.santafe.edu: rms set sender to rms@wijiji using -f Original-To: monnier+gnu/emacs@rum.cs.yale.edu In-reply-to: <200203102202.g2AM26q06798@rum.cs.yale.edu> (monnier+gnu/emacs@rum.cs.yale.edu) 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:1857 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1857 > I could agree to it but only in the case where the screen representation > is really empty, so that both cursor positions are displayed in the same > way. > > That is the case we are talking about. I do not know how to detect that case robustly. Whenever the text is invisible and does not display an ellipsis. The value of TEXT_PROP_MEANS_INVISIBLE will tell you whether this is the case. But some texts can have both an image and the invisible property. Shouldn't that make the image invisible? The image property should have no effect when the text is invisible. (It doesn't matter what the text wou;d looks like, if you don't see it.) Is that not what happens now? In my experience most cases where I encounter invisible text (and where point can easily end up inside the invisible text) is with things like outline-minor-mode and hs-minor-mode (i.e. text replaced by ellisps), so that's what I consider as the most important case to handle. What you want is right for that case, the case where an ellipsis is displayed. I am talking about what to do in the other case, the case where the text is not replaced by an ellipsis. It looks like you have another kind of scenario in mind, but I don't know what it looks like. The scenario is one where message header lines are marked as invisible using overlays, the goal being to hide them. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel