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: Thu, 10 Sep 2020 15:42:50 +0300 Message-ID: <83een9kdkl.fsf@gnu.org> References: <87zh5z9l9y.fsf@gnus.org> <83y2ljj7i6.fsf@gnu.org> <83v9gmkjdb.fsf@gnu.org> <875z8l95cp.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18744"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Sep 10 14:48:11 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 1kGLzn-0004m2-Gt for ged-emacs-devel@m.gmane-mx.org; Thu, 10 Sep 2020 14:48:11 +0200 Original-Received: from localhost ([::1]:57946 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kGLzm-0000gX-Ih for ged-emacs-devel@m.gmane-mx.org; Thu, 10 Sep 2020 08:48:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53444) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGLz7-0008I5-4w for emacs-devel@gnu.org; Thu, 10 Sep 2020 08:47:29 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57692) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kGLz5-0002Km-Q2; Thu, 10 Sep 2020 08:47:28 -0400 Original-Received: from [176.228.60.248] (port=1099 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kGLuY-0007pV-D6; Thu, 10 Sep 2020 08:42:46 -0400 In-Reply-To: <875z8l95cp.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 10 Sep 2020 14:35:50 +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:254987 Archived-At: > From: Lars Ingebrigtsen > Cc: Stefan Monnier , emacs-devel@gnu.org > Date: Thu, 10 Sep 2020 14:35:50 +0200 > > Eli Zaretskii writes: > > >> Right, but we wouldn't to re-implement the test in isearch.el, so the > >> question is to find an existing function which gives us the answer. > > > > We'd need to write it, I think. > > So basically mash up this stuff into a convenient DEFUN? > > && !NILP (val = get_char_property_and_overlay > (make_fixnum (PT), Qdisplay, selected_window, > &overlay)) > && display_prop_intangible_p (val, overlay, PT, PT_BYTE) Yes, something like that. But what about 'display' properties on overlay strings? do we want to support that as well? > I also read the "Display Specs That Replace The Text" node in the > manual, but I'm not quite sure what the relevance is here -- it talks > about how (display) text properties are collated (i.e., merged over eq > sequences of text), but does isearch have to deal with that? The rest of the section makes a point of saying, for each display property kind, whether it is replacing or not.