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: Sat, 12 Sep 2020 13:48:16 +0200 Message-ID: <87lfhf2p33.fsf@gnus.org> References: <87zh5z9l9y.fsf@gnus.org> <838sdjko39.fsf@gnu.org> <871rj9957z.fsf@gnus.org> <83a6xxk8nj.fsf@gnu.org> <87v9gkzgcd.fsf@gnus.org> <83blich4yz.fsf@gnu.org> <87sgbowf4a.fsf@gnus.org> <83mu1wfjv0.fsf@gnu.org> <87ft7owedl.fsf@gnus.org> <83k0x0fiq4.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="20759"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org, monnier@iro.umontreal.ca, yuri.v.khan@gmail.com To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Sep 12 13:49:09 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 1kH41k-0005GG-2i for ged-emacs-devel@m.gmane-mx.org; Sat, 12 Sep 2020 13:49:08 +0200 Original-Received: from localhost ([::1]:57340 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kH41j-0004NT-3w for ged-emacs-devel@m.gmane-mx.org; Sat, 12 Sep 2020 07:49:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55212) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kH417-0003WO-K7 for emacs-devel@gnu.org; Sat, 12 Sep 2020 07:48:29 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:50956) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kH415-0001Si-Ro; Sat, 12 Sep 2020 07:48:29 -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=w2FLkH8xLuKcxL5qKLVQLhM0NCH0sahicMn2bTaXoQ0=; b=LKYVvGXqY7Y06kwRYYHLI9fdRy nNoVmUEStQOGxHBFbOs7HWz/PxTXRrHMSFWhT1VgPAUt0KPjSQwpphfernqw+4CPi9vRc3VgBZtLA B6/d1NaMk4GxAfDg8gYJA/Tap8Z7cBd7OpJtK9UUMnFt22OniGkSUQ1d9J0T6iRanYWc=; 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 1kH40v-00062Q-U9; Sat, 12 Sep 2020 13:48:23 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEXWq2TeuoyiYkxB LyT////lU39VAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+QJDAssFsd3H+MAAAGNSURBVDjLbZMBssMg CESRXEDzL2DgAvlw/7t1URNNG6bTZnzCsoQSRaRSSlZH1BJBI3CeyhbnblRyyWmCsnuPmnLKtKRs AyBllqJE2a+oZSaA7Dc4lwSiuxLiAq2/ohOktdtbAheOod4SGjB1E2kgdw/hwlRwKKL+nxeJv7hb dzDR8wnkCj2XptLmoijkavjcgDIFcOc+FI5EIBbCqUD+UMOTcaUOQJq/UG9jRAQgrlHHdBcAMRQQ 6ULRvUnNwofU3puT1AGYuJ+Fe3caF9wqziHL0hpcABoRTplhaAJtoEAj6jU3dM0b4qRywJI+AVzg coLEDyDBOuUXwCnejxgG+dTg8EEab6x3pZcGRmiMZivjJYdzGQAJlWEPJ5sRvtGOD+sS2sb4wmxj O9puUmrL0o3QcbeFSac2fn12FYTbdn23extqpS+gIjNX3jP6851hPhdeV3A13W/pMsTxfwocLifQ AeB7BTZ+D+0D+imVMeKkv8D2mIy8ZABwjlX+BgR3+xtoC/ZWCvM9a4h/AOuenqUSokA1AAAAJXRF WHRkYXRlOmNyZWF0ZQAyMDIwLTA5LTEyVDExOjQ0OjIyKzAwOjAw/sjoUAAAACV0RVh0ZGF0ZTpt b2RpZnkAMjAyMC0wOS0xMlQxMTo0NDoyMiswMDowMI+VUOwAAAAASUVORK5CYII= X-Now-Playing: Joni Mitchell's _Clouds_: "Tin Angel" In-Reply-To: <83k0x0fiq4.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 11 Sep 2020 18:14:59 +0300") 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:255310 Archived-At: Eli Zaretskii writes: > You are talking about adding features we currently don't have, like > alternate-text for images in HTML. Yuri's suggestion is a generalisation of your idea of adding something like a `no-search' text property... > But I was worried about supporting the existing features that simply > hide text, and the desire to allow the user to say whether he/she > wants or doesn't want to find search matches within such hidden text. > AFAIU, that cannot be provide by Yuri's proposal, because that > proposal requires the code which ides text to be amended. > > I hope we can come up with a solution that allows both use cases. After you suggested adding a `no-search' text property, my original use case (modes being able to say whether an image `display' property should "hide" the text beneath from isearch) became less enticing to me. These modes can just slap a `no-search' text property on the images instead, so it seems unnecessary. And then Yuri's suggestion generalises upon this, making my original use case even less vital. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no