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:46:10 +0200 Message-ID: <87v9gkzgcd.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; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6805"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Eli Zaretskii , Stefan Monnier , Emacs developers To: Yuri Khan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 11 13:46:59 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 1kGhW6-0001dK-Kn for ged-emacs-devel@m.gmane-mx.org; Fri, 11 Sep 2020 13:46:58 +0200 Original-Received: from localhost ([::1]:56218 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kGhW5-0007qr-NR for ged-emacs-devel@m.gmane-mx.org; Fri, 11 Sep 2020 07:46:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50712) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGhVT-0007Pu-T0 for emacs-devel@gnu.org; Fri, 11 Sep 2020 07:46:19 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:39970) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGhVS-0002x3-6o; Fri, 11 Sep 2020 07:46:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: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=vJoZDhRFwbEH09RAUuJRvnqNpBsvgdlxv5O1ZL9bz/U=; b=TbFOk+Qkg7+BCBg0kxcEUw5Ta/ 7Er121mGb6u1EM0kQBMRfwulbLAy0h1h8mrqGR/39DE19jQeBhGAEgl7NAOMdSzE++dL9DXXS8uoJ FFj8J5ZS1m3t+GVpLRv1cLM66edEx9VxQxG0RgF42/zhELGHA0AYb0/zqAiEY1mdu2GA=; 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 1kGhVM-0001bJ-Ma; Fri, 11 Sep 2020 13:46:15 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAMFBMVEUaGBomIyQ2MTId HCFaUUwhHiAhHB4ODA42Ih5kSjqRcVeAWTtPMSypjW60nIX///8gj8uoAAAAAWJLR0QPGLoA2QAA AAd0SU1FB+QJCwsqGgVMzPcAAAGKSURBVDjLdZA/T8JAGMbfivwzDFbTwcHBi6MmJP0CSjo5lZDr XIZ2cqiDsjgwkejooDjwAYhonI0Di8QB3KkeH4BEP4PXFo732uMZru3zu+ee9woaUehA3wXtkFhp l8sGzbKsU/5OdmJXj2V4wMFiDxalEYBm2ne8Kge1TMBzAaKEVasjt27YTuTDBa9IQLJS348DcEls TzeoQfksfHuyO9IV0Q2HUqpzxn0XAVKAgsdtp6kbtvAhIITvyvuO4xV0cBFIHjzl3jyNPyGrgv94 9N5RAG1jUBlA5iheUz45/wHVUXvk+hW2FeB2PnlQJeArDIdK8ML6bWXHbP48El/VFcjP2PfH8iOH gMb+uq4K5Fk47qgAPLOBr+qoMDbF5eKXlHqz33tVAo7ZtK3sKL91xXvOxFdE05oSOFtNazYw6PVF RE5MQlFuonH5WAhIiX02VJdvhSMRaMigLRIS2EQdEijdrbkHmlAuR2qsA2sTZi5ai61YQZACCz+W dFQLC4rBEhRbaS3OzIJY/3sEjAf8ow9GAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIwLTA5LTExVDEx OjQyOjI2KzAwOjAwLlEI9gAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMC0wOS0xMVQxMTo0MjoyNisw MDowMF8MsEoAAAAASUVORK5CYII= X-Now-Playing: Melanie de Biasio's _No Deal_: "The Flow" In-Reply-To: (Yuri Khan's message of "Fri, 11 Sep 2020 12:35:53 +0700") 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:255148 Archived-At: Yuri Khan writes: > The =E2=80=98display=E2=80=99 property can replace buffer text with a dif= ferent string > or an image for purposes of display. Maybe it makes sense to have a > property that can similarly specify a different string for purposes of > search? A property that can replace buffer text with a different > string or a waveform for purposes of text-to-speech? Oh, that's smart and even more general. Yes, I like it. > A mode that replaces one word with another could decide which aspects > (display, search and/or text-to-speech) it wants to affect and how. Yup. If the new text property is, say, `search', we could also have special values like `ignore' to say that there is no alternative (search) text, and `display', which means that if it's a textual replacing display property, then isearch should use that text as the search. Like (propertize "foo" 'display "bar" 'search 'display) Or perhaps that's too complicated. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no