From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: search-invisible and friends Date: Fri, 11 Sep 2020 13:41:03 +0200 Message-ID: <87zh5wzgkw.fsf@gnus.org> References: <87zh5z9l9y.fsf@gnus.org> <838sdjko39.fsf@gnu.org> <871rj9957z.fsf@gnus.org> <83a6xxk8nj.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24522"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 11 13:42:08 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 1kGhRQ-0006G5-1D for ged-emacs-devel@m.gmane-mx.org; Fri, 11 Sep 2020 13:42:08 +0200 Original-Received: from localhost ([::1]:53040 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kGhRP-0006Df-36 for ged-emacs-devel@m.gmane-mx.org; Fri, 11 Sep 2020 07:42:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGhQY-0005Dg-L8 for emacs-devel@gnu.org; Fri, 11 Sep 2020 07:41:14 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:39926) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGhQW-0002Ha-Tu; Fri, 11 Sep 2020 07:41:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=HT/RE79F9zq/RRLZQ8IscSkmmvSVLLcMTg9xEP0tKYQ=; b=UHmUx/xJLixmiZi5LbvPEIi09d ieFP8lZLr9zi5Okf2/aIMH/6qrNbD5hCjqgHWU+1ptkfeVcILNZnfC6g8RaPoCZtywoQFkRL+rZup 2ZSLI7O0CEUCdoYIoGSV78bjJtLHMLIk3AQQOk5KjHB8ehKHhofUBV7qol2P+U5Z6dhU=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kGhQP-0001XT-A5; Fri, 11 Sep 2020 13:41:09 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAFVBMVEX8/PXl3tOpnJhi V1mHd3c3LzT///98Xaj6AAAAAWJLR0QGYWa4fQAAAAd0SU1FB+QJCwsON7F7cSQAAAGqSURBVDjL bdRtdqwgDAZgHL3/xdMF1JAuoIQsoAQ3ILL/rdzgV/F08m98Tl5InBljjuqstRN5e5R+Nma8AYRu 0CcnjNbiQuMv2NFcaY7zZ3eDaUCoge4Gg9J2/EaZSfJo3sGL8mjfRb24BdOA8Pf4pqOzjijOf8FO mBLRfK7khgkgKYjvntAhgAtCFJ7X7SxEXaJQpie8wHkF+guRc31eslxznDNEl+udCslspwYGjxso MKZvi80cQ3TbVAHQHx326nAbop6d0mqhObz/cRtUIAkwNzBEyQqcKSDExxm86cUqQIzN1gfgNbqj I0DT0QMHqvclQgptFLBP4CgQpQOuyRVAs3xdZHgsUTuCAoo8onooIMJFzxBeH1Dn88wqnOsbPFfS 44oYflzdPOXmZ9A7j0Cgz4NIbt55BZcraOK2R10Q01J0iqCw7lHmgm0pmbIHlPURFb2C6JjpgDPq 4ytEnUK/PiBLC6+FcB+vhH3AO2rQZXApmWvcA/iAUjw9oOcoZa9EvDXwLwAfQLm0MAQsZ3GIzYAD uhsiNPBydEHxbUc3zXDV+e/zvrr/z5Nz6RlXsqsAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjAtMDkt MTFUMTE6MTQ6NTQrMDA6MDDPQszDAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIwLTA5LTExVDExOjE0 OjU0KzAwOjAwvh90fwAAAABJRU5ErkJggg== X-Now-Playing: Rema Rema's _Fond Reflections (1): Wheel in the Roses (Extended)_: "Murdermuzic" In-Reply-To: (Stefan Monnier's message of "Thu, 10 Sep 2020 11:03:06 -0400") Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:255147 Archived-At: Stefan Monnier writes: > OTOH, maybe there could be unusual circumstances where it would make > sense to consider hidden text as "visible" (e.g. if the `display` > property replaces the text with something that looks very much like the > same text, tho maybe rendered a bit differently). Yeah, we have the recent proposed fix for Customize buffers where symbols like `fill-column' have a bunch of display properties put on top that makes it look like "Fill Column"... having isearch skip past all that would be unintended. > So, maybe there should be a value of `no-search` (or some other > property) which says "please do consider this text as visible even tho > it's technically hidden". I think perhaps the most obvious and flexible is to just make isearch work the way it does today on text with a display property (i.e., agnostic), and then have a standard text property that modes can use to make isearch skip. I.e., just having a replacing display property in itself isn't a strong enough hint that isearch should ignore the text. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no