From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#25905: 25.1; Can't find regexp and replace in SVG files Date: Sun, 13 Dec 2020 22:02:42 +0200 Organization: LINKOV.NET Message-ID: <87y2i1cw4d.fsf@mail.linkov.net> References: <1488327656.1648.1.camel@delair-tech.com> <87a6ui94s8.fsf@gnus.org> <9f8916a2-293e-16c9-4a3c-f69f215a7fa2@yandex.ru> <87a6uh6fnu.fsf@gnus.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="1647"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: Matthias Meulien , 25905@debbugs.gnu.org, Dmitry Gutov To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 13 21:05:12 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 1koXcF-0000I9-LK for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Dec 2020 21:05:11 +0100 Original-Received: from localhost ([::1]:33320 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koXcE-00051d-Lx for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Dec 2020 15:05:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36616) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koXc6-00051M-8W for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2020 15:05:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38848) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koXc6-0007o2-0E for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2020 15:05:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1koXc5-0001zk-Rn for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2020 15:05:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Dec 2020 20:05:01 +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.16078898987637 (code B ref 25905); Sun, 13 Dec 2020 20:05:01 +0000 Original-Received: (at 25905) by debbugs.gnu.org; 13 Dec 2020 20:04:58 +0000 Original-Received: from localhost ([127.0.0.1]:50394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koXc1-0001z7-Qo for submit@debbugs.gnu.org; Sun, 13 Dec 2020 15:04:57 -0500 Original-Received: from relay10.mail.gandi.net ([217.70.178.230]:52765) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koXby-0001yN-U5 for 25905@debbugs.gnu.org; Sun, 13 Dec 2020 15:04:55 -0500 Original-Received: from mail.gandi.net (m91-129-99-98.cust.tele2.ee [91.129.99.98]) (Authenticated sender: juri@linkov.net) by relay10.mail.gandi.net (Postfix) with ESMTPSA id DA275240004; Sun, 13 Dec 2020 20:04:47 +0000 (UTC) In-Reply-To: <87a6uh6fnu.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 13 Dec 2020 13:42:29 +0100") 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:196006 Archived-At: > (defvar query-replace-overriding-mode-alist > '(("\\.svgz?\\'" . image-mode-as-text) > ("\\.x[bp]m\\'" . image-mode-as-text) > ("\\.p[bpgn]m\\'" . image-mode-as-text))) > > That would make this trivial to implement. Comments? Why only for query-replace? Shouldn't isearch display an image file as text for search too? Maybe this should work like the option 'search-invisible' when its value is 'open', i.e. to make the searched text visible - in case of images this means displaying image buffers as text for search/replace.