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: Tue, 01 May 2012 08:59:43 -0400 Message-ID: References: <87haw32hly.fsf@web.de> <87397m6oxf.fsf@mail.jurta.org> <87y5pcdzxx.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1335877247 5894 80.91.229.3 (1 May 2012 13:00:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 1 May 2012 13:00:47 +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 Tue May 01 15:00:46 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 1SPCh9-0005Jo-Nr for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 May 2012 15:00:43 +0200 Original-Received: from localhost ([::1]:42968 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPCh9-0002a7-73 for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 May 2012 09:00:43 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPCh4-0002Zw-VI for bug-gnu-emacs@gnu.org; Tue, 01 May 2012 09:00:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SPCh3-0004GE-Bx for bug-gnu-emacs@gnu.org; Tue, 01 May 2012 09:00:38 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59472) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPCh3-0004G3-8y for bug-gnu-emacs@gnu.org; Tue, 01 May 2012 09:00:37 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SPCiR-000485-CT for bug-gnu-emacs@gnu.org; Tue, 01 May 2012 09:02:03 -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: Tue, 01 May 2012 13:02:02 +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.133587728015824 (code B ref 11378); Tue, 01 May 2012 13:02:02 +0000 Original-Received: (at 11378) by debbugs.gnu.org; 1 May 2012 13:01:20 +0000 Original-Received: from localhost ([127.0.0.1]:60506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SPChk-00047A-66 for submit@debbugs.gnu.org; Tue, 01 May 2012 09:01:20 -0400 Original-Received: from ironport-out.teksavvy.com ([206.248.143.162]:41317) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SPChh-00046x-VS for 11378@debbugs.gnu.org; Tue, 01 May 2012 09:01:18 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjEKACxOgk9soX5J/2dsb2JhbABDtheCDAOBDIEIggkBAQQBViMFCws0EhQYDSSIHAW2MothhHkEpEWBXYMD X-IronPort-AV: E=Sophos;i="4.75,391,1330923600"; d="scan'208";a="177955110" Original-Received: from 108-161-126-73.dsl.teksavvy.com (HELO pastel.home) ([108.161.126.73]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 01 May 2012 08:59:44 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id DBEA2590E8; Tue, 1 May 2012 08:59:43 -0400 (EDT) In-Reply-To: <87y5pcdzxx.fsf@mail.jurta.org> (Juri Linkov's message of "Tue, 01 May 2012 12:15:54 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (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:59674 Archived-At: >> There are more isearch filters that could share the same map `M-s f'. > Actually, currently these isearch filters can be used only one at a time. > It would be more useful to allow multiple filters by transforming > `isearch-filter-predicate' from the variable defining a predicate to the > hook-like list defining a set of predicates all of which should satisfy > for the search hit. Sounds good to me. Not sure how you'll fix the (and (eq isearch-filter-predicate 'isearch-filter-visible) search-invisible)) (which I already had annotated in my local tree with the comment "FIXME: equality comparisons on functions is asking for trouble.") > The default value could be a list with the current default element > `isearch-filter-visible'. And it still could allow a symbol as its value > for backward compatibility. Yes, you could just `run-hook-with-args-until-success'. Stefan