From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#11378: 24.1.50; Suggestion: Let M-i in isearch cycle `search-invisible' Date: Wed, 30 May 2012 00:32:50 -0400 Message-ID: References: <87haw32hly.fsf@web.de> <87397m6oxf.fsf@mail.jurta.org> <87y5pcdzxx.fsf@mail.jurta.org> <874nqzgcuk.fsf@mail.jurta.org> <87vcjesccy.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1338352423 8380 80.91.229.3 (30 May 2012 04:33:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 30 May 2012 04:33:43 +0000 (UTC) Cc: michael_heerdegen@web.de, 11378@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 30 06:33:41 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SZabN-0004iM-4h for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 May 2012 06:33:41 +0200 Original-Received: from localhost ([::1]:35507 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZabM-0002MH-UW for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 May 2012 00:33:40 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZabK-0002Lq-6a for bug-gnu-emacs@gnu.org; Wed, 30 May 2012 00:33:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SZabI-0005NQ-GE for bug-gnu-emacs@gnu.org; Wed, 30 May 2012 00:33:37 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39635) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZabI-0005NK-CQ for bug-gnu-emacs@gnu.org; Wed, 30 May 2012 00:33:36 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SZacf-0003uY-OH for bug-gnu-emacs@gnu.org; Wed, 30 May 2012 00:35:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 May 2012 04:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11378 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11378-submit@debbugs.gnu.org id=B11378.133835246514988 (code B ref 11378); Wed, 30 May 2012 04:35:01 +0000 Original-Received: (at 11378) by debbugs.gnu.org; 30 May 2012 04:34:25 +0000 Original-Received: from localhost ([127.0.0.1]:49179 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SZac5-0003th-AO for submit@debbugs.gnu.org; Wed, 30 May 2012 00:34:25 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:52267) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SZac3-0003tT-KY for 11378@debbugs.gnu.org; Wed, 30 May 2012 00:34:24 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai0FAG6Zu09MCpYd/2dsb2JhbABEsEiDSYEIghUBAQQBViMFCws0EhQYDSSIHAW6CZBEA6MzgViDBQ X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="184036008" Original-Received: from 76-10-150-29.dsl.teksavvy.com (HELO pastel.home) ([76.10.150.29]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 30 May 2012 00:32:50 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 2F65958F58; Wed, 30 May 2012 00:32:50 -0400 (EDT) In-Reply-To: <87vcjesccy.fsf@mail.jurta.org> (Juri Linkov's message of "Wed, 30 May 2012 03:40:05 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:60500 Archived-At: >> I suggest renaming it to isearch-filter-predicates or >> isearch-filter-functions. > isearch-filter-functions is more usual name for the hook-like > functionality than isearch-filter-predicates. By convention, "-functions" is used for non-standard hooks, of which predicates are one particular subset. But "-predicates" is fine by me. > Then the combination of comments and strings could be named "text" with > its filter bound to `M-s f t'. And the inverse filter to exclude > comments and strings could be bound to `M-s f T'. Also it could be > enabled only in prog-mode. I was thinking that maybe a cycling behavior would be better than toggling for these: off / foo-only / foo-excluded. > I believe that binding `inhibit-point-motion-hooks' to t unconditionally > shouldn't cause an unwanted effect because `isearch-done' takes care > about moving point outside of intangible text at the end of the search > (the source lines that begin with the comment ";; If we ended in the middle > of some intangible text, move to the further end of that intangible text.") > But currently I know no test case to prove the effect of > `inhibit-point-motion-hooks'. I see. Since I hate intangible, it's probably OK ;-) Stefan