From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: Isearch setting of inhibit-point-motion-hooks too inflexible Date: Tue, 29 Oct 2002 09:14:18 -0500 Sender: emacs-devel-admin@gnu.org Message-ID: <200210291414.g9TEEI515336@rum.cs.yale.edu> References: <15803.53742.404653.98167@gs.qfs.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035901074 29711 80.91.224.249 (29 Oct 2002 14:17:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 29 Oct 2002 14:17:54 +0000 (UTC) Cc: Gregor.Schmid@qfs.de, emacs-devel@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 186XBo-0007ik-00 for ; Tue, 29 Oct 2002 15:17:52 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 186XGS-0006CK-00 for ; Tue, 29 Oct 2002 15:22:40 +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 186XAi-0008WH-00; Tue, 29 Oct 2002 09:16:44 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 186X8t-0006Vk-00 for emacs-devel@gnu.org; Tue, 29 Oct 2002 09:14:51 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 186X8N-0006MN-00 for emacs-devel@gnu.org; Tue, 29 Oct 2002 09:14:50 -0500 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by monty-python.gnu.org with esmtp (Exim 4.10) id 186X8N-0006MD-00; Tue, 29 Oct 2002 09:14:19 -0500 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id g9TEEI515336; Tue, 29 Oct 2002 09:14:18 -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.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:8891 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8891 > The following patch against emacs 21.2 will add a new variable > `isearch-inhibit-point-motion-hooks' and change `isearch-search' to > make use of it. > > That would solve your problem, but since it is an all-or-nothing > choice, we must expect that people using multiple packages will find > that neither t nor nil gives good results for all of those packages. > > I wonder if we can find a solution where a single mode > will work with various packages. Does someone recall why > isearch currently wants inhibit-point-motion-hooks to be t > if it can match in invisible text? I think it's for intangible text (i.e. it doesn't just allow to search in invisible text but also in invisible+intangible). At least, the code is careful to make text tangible if it wasn't before. Stefan