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.bugs Subject: bug#25905: 25.1; Can't find regexp and replace in SVG files Date: Fri, 18 Dec 2020 11:02:55 +0100 Message-ID: <87czz7jusw.fsf@gnus.org> References: <1488327656.1648.1.camel@delair-tech.com> <87a6ui94s8.fsf@gnus.org> <9f8916a2-293e-16c9-4a3c-f69f215a7fa2@yandex.ru> <87a6uh6fnu.fsf@gnus.org> <87y2i1cw4d.fsf@mail.linkov.net> <875z541hpt.fsf@gnus.org> <87mtyg2ryb.fsf@mail.linkov.net> <87a6uf1sss.fsf@gnus.org> <87mtyeycdr.fsf@mail.linkov.net> <875z50gkf4.fsf@mail.linkov.net> <87bler1lpl.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28781"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 25905@debbugs.gnu.org, Dmitry Gutov To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 18 11:04:14 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1kqCcP-0007L0-Af for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Dec 2020 11:04:13 +0100 Original-Received: from localhost ([::1]:47238 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqCcO-0000N4-9L for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Dec 2020 05:04:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqCcE-0000Mq-Ol for bug-gnu-emacs@gnu.org; Fri, 18 Dec 2020 05:04:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54434) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kqCcE-0000BD-HC for bug-gnu-emacs@gnu.org; Fri, 18 Dec 2020 05:04:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kqCcE-0006Sb-Bh for bug-gnu-emacs@gnu.org; Fri, 18 Dec 2020 05:04:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Dec 2020 10:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25905 X-GNU-PR-Package: emacs Original-Received: via spool by 25905-submit@debbugs.gnu.org id=B25905.160828579324774 (code B ref 25905); Fri, 18 Dec 2020 10:04:02 +0000 Original-Received: (at 25905) by debbugs.gnu.org; 18 Dec 2020 10:03:13 +0000 Original-Received: from localhost ([127.0.0.1]:37747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqCbR-0006RW-3J for submit@debbugs.gnu.org; Fri, 18 Dec 2020 05:03:13 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:33750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqCbP-0006RJ-OD for 25905@debbugs.gnu.org; Fri, 18 Dec 2020 05:03:12 -0500 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=5qe8ujM4mmEbN4lY44oGGDyU/C7jlG9O7AF4ZH5CyR0=; b=SQSMt8lyvMK2sR93yW+4vAgeIQ 9/AyfSqHVMkMgK10hZUJ11ovlB2L8kln3L0aZ1HZULaLkHFerOSvAFBsvWWnK6QPNUaygkI4Ev+ya gNRCMuhO9NerJhd8+/vnEFWFjbcSajCeKX/1hwMaD3xRn9ZrMGHOUd55v1CUAjBzP5l0=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kqCbA-0000Vz-Hp; Fri, 18 Dec 2020 11:03:05 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEXAqKSjhXqUcGZo VVVMNzf///+JDhOSAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+QMEgkvKFaZKjkAAAGsSURBVDjLXZTh gSshCIT1VSBuAxEbeKd2oP3XdMyAl9zxZ3f5YACDSSmlXGdLtNxHE7M6T3JQHEhXkWKP5eAZASwV IPezQ8BBfqYrBZBJYJ7uQOehVF1DUrZSOllbDUzWNuCBG6BqXxtA1lYG2vdQTyCoDiq+NTLnRE9n IAwVkYCIqZrs2QSFbahjDkQsAkGr2biBPelHQAqjtHnMFrm7C0jtJFCcKO7x2Yse2ifgwP0vyLV5 w9BBCxeIilZFxvwL1ACLBzjjB7CCg7PPaRyO/hEVHL1Y2uPXNnBzis12hdZGp+sDMCOE4jEIxI90 3dkA7Jjy52wEZl9+rL9Hg/3nqf74b/yY1m2rcP/ycxsT9QH4A3mCyAsA73StHW55CqVuRYIvsdXo L++qB0ERXgPscuEuT715BvLTAujQmzXw82ssf42+0PCQIk/zPajdt4mDoCeVu2n9ZmxcENtZByEf o8sF7zlOnAeWHCBqwO/HHDf1nu6kH2/qoEgNNVV0aNfr/hvYfiID0rzh7b3PdaLN4vdxfoA+TYVf /+yWvUHtw4cFGBeYtDUTfoDi799SnpeJFQGK6AAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMC0xMi0x OFQwOTo0NzozOSswMDowMCd9L2oAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMTItMThUMDk6NDc6 MzkrMDA6MDBWIJfWAAAAAElFTkSuQmCC X-Now-Playing: Chapterhouse's _Blood Music_: "Beta Phase" In-Reply-To: <87bler1lpl.fsf@mail.linkov.net> (Juri Linkov's message of "Fri, 18 Dec 2020 10:46:38 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:196314 Archived-At: Juri Linkov writes: > +(defun image-mode-isearch-filter (_beg _end) > + "Show image as text when trying to search in the image buffer." > + (when (and (derived-mode-p 'image-mode) > + (image-get-display-property)) > + (image-mode-as-text)) > + t) This would switch to text representation for all images, though. Is that what we want? Hm... perhaps? So that's a good solution for isearch, but I don't think we'd want that for search/replace. Possibly. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no