From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Gregor Schmid Newsgroups: gmane.emacs.devel Subject: Re: Isearch setting of inhibit-point-motion-hooks too inflexible Date: 31 Oct 2002 09:23:49 +0100 Sender: emacs-devel-admin@gnu.org Message-ID: <5f1y67yq22.fsf@gs.qfs.de> 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 1036053390 30804 80.91.224.249 (31 Oct 2002 08:36:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 31 Oct 2002 08:36:30 +0000 (UTC) Cc: 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 187AoX-00080i-00 for ; Thu, 31 Oct 2002 09:36:29 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 187Au2-0003cP-00 for ; Thu, 31 Oct 2002 09:42:10 +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 187An9-0000Lb-00; Thu, 31 Oct 2002 03:35:03 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 187Alm-0006ax-00 for emacs-devel@gnu.org; Thu, 31 Oct 2002 03:33:38 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 187Alj-0006Y8-00 for emacs-devel@gnu.org; Thu, 31 Oct 2002 03:33:36 -0500 Original-Received: from pop.wor.net ([212.11.225.6] helo=ford.wor.net) by monty-python.gnu.org with esmtp (Exim 4.10) id 187Alh-0006TM-00; Thu, 31 Oct 2002 03:33:34 -0500 Original-Received: from qfs.de (oolon.wor.net [212.11.225.81]) by ford.wor.net (8.11.6/8.11.6/WorNet) with ESMTP id g9V8XVZ08035; Thu, 31 Oct 2002 09:33:31 +0100 Original-Received: from [212.11.225.81] (HELO gs.qfs.de) by qfs.de (CommuniGate Pro SMTP 3.5.9) with ESMTP id 90518; Thu, 31 Oct 2002 09:33:31 +0100 Original-Received: (from gs@localhost) by gs.qfs.de (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) id g9V8Nnb01781; Thu, 31 Oct 2002 09:23:49 +0100 X-Authentication-Warning: gs.qfs.de: gs set sender to Gregor.Schmid@qfs.de using -f Original-To: rms@gnu.org, "Stefan Monnier" In-Reply-To: Original-Lines: 38 User-Agent: Emacs Gnus 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:8985 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8985 Dear Richard, dear Stefan, Richard Stallman writes: > Correct me if I'm wrong, but wouldn't > (make-local-variable 'isearch-inhibit-point-motion-hooks) > solve this if some mode needs a non-default behavior? > > If a particular major mode wants a non-default behavior, this would > do it. But these features are not always major modes. Can we use > an overlay property to make the decision? Possibly. But consider Stefan's comment: "Stefan Monnier" writes: > Since this thing is used by isearch in order to look inside > intangible text, I think it should simply be removed: > isearch should *not* look inside intangible text. > > As we have discussed in this group at length, `intangible' is a very > strong statement and has far reaching implications. It should be > used very sparingly. My favourite soultion would also be to simply remove any manipulation of inhibit-point-motion-hooks from isearch-search. If you decide to leave it in and make it more flexible than with my suggested patch, e.g. thorugh overlays, please also add a simple option that just requires setting some variable, so as to keep the simple case simple. Whatever the solution, anything will be better than the current totally inflexible scheme. Thanks for addressing this issue, best regards, Greg -- Gregor Schmid Gregor.Schmid@qfs.de Quality First Software GmbH http://www.qfs.de