From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: Should invisible imply intangible? Date: Mon, 25 Feb 2002 00:10:03 -0500 Message-ID: <200202250510.g1P5A3714156@rum.cs.yale.edu> References: <200202232019.g1NKJoG14638@aztec.santafe.edu> NNTP-Posting-Host: quimby2.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: quimby2.netfonds.no 1014614109 23203 195.204.10.66 (25 Feb 2002 05:15:09 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 25 Feb 2002 05:15:09 GMT Cc: emacs-devel@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16fDTh-000629-00 for ; Mon, 25 Feb 2002 06:15:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16fDQt-0004H4-00; Mon, 25 Feb 2002 00:12:15 -0500 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16fDOm-00048f-00; Mon, 25 Feb 2002 00:10:04 -0500 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id g1P5A3714156; Mon, 25 Feb 2002 00:10:03 -0500 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Richard Stallman 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: quimby.gnus.org gmane.emacs.devel:1501 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1501 > A few weeks ago I made some changes that result in sensible cursor > motion behavior for invisible, intangible text. However, invisible > text which is not intangible tends to give strange behavior. > Meanwhile, the buffer-invisibility-spec feature makes it easy to > control invisibility of parts of the text, but not intangibility as > well. > > What would people think of making invisible imply intangible? Bad idea. > Is there any practical use for text which is invisible but not > intangible? Yes. Check out lisp/reveal.el (aka reveal-mode) which detects (from post-command-hook) when point is inside an invisible area and makes that area visible (temporarily). It works particularly nicely with outline-minor-mode (which has special support for it), but it also work with hideif.el, hs-minor-mode, ... Stefan _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel