From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: search-invisible and friends Date: Wed, 09 Sep 2020 17:43:22 +0300 Message-ID: <838sdjko39.fsf@gnu.org> References: <87zh5z9l9y.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18622"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Sep 09 16:46:25 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kG1Me-0004kx-SL for ged-emacs-devel@m.gmane-mx.org; Wed, 09 Sep 2020 16:46:24 +0200 Original-Received: from localhost ([::1]:46784 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kG1Md-0002Xn-Op for ged-emacs-devel@m.gmane-mx.org; Wed, 09 Sep 2020 10:46:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kG1Ji-0004cC-1e for emacs-devel@gnu.org; Wed, 09 Sep 2020 10:43:25 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35755) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kG1Jh-00075h-L8; Wed, 09 Sep 2020 10:43:21 -0400 Original-Received: from [176.228.60.248] (port=2532 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kG1Jh-000437-1q; Wed, 09 Sep 2020 10:43:21 -0400 In-Reply-To: <87zh5z9l9y.fsf@gnus.org> (message from Lars Ingebrigtsen on Wed, 09 Sep 2020 14:39:37 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:254877 Archived-At: > From: Lars Ingebrigtsen > Date: Wed, 09 Sep 2020 14:39:37 +0200 > > Does Emacs have this functionality somewhere? I don't think so. > If not, I think it should, and perhaps (or perhaps not?) by > piggy-backing on the search-invisible variable. How about extending search-invisible to support additional properties, by providing some variable that would hold the list of such properties? Then we could also avoid searching in text that is visible, if some Lisp needs that (for example, you could have a form where you'd like to search only the writable fields).