From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#25905: 25.1; Can't find regexp and replace in SVG files Date: Sun, 13 Dec 2020 20:39:43 +0200 Message-ID: <6696b3a8-435f-7660-661d-19b2f32725a6@yandex.ru> 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; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1520"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 Cc: Matthias Meulien , 25905@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 13 19:40: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 1koWI2-0000JY-Qc for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Dec 2020 19:40:14 +0100 Original-Received: from localhost ([::1]:49914 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koWI1-0007T6-R1 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Dec 2020 13:40:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47832) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koWHq-0007Sx-6I for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2020 13:40:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38673) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koWHp-00043u-VI for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2020 13:40:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1koWHp-00042Q-Ro for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2020 13:40:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Dec 2020 18:40: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.160788479315482 (code B ref 25905); Sun, 13 Dec 2020 18:40:01 +0000 Original-Received: (at 25905) by debbugs.gnu.org; 13 Dec 2020 18:39:53 +0000 Original-Received: from localhost ([127.0.0.1]:50219 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koWHh-00041e-EH for submit@debbugs.gnu.org; Sun, 13 Dec 2020 13:39:53 -0500 Original-Received: from mail-wr1-f44.google.com ([209.85.221.44]:34068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koWHg-00040z-7s for 25905@debbugs.gnu.org; Sun, 13 Dec 2020 13:39:52 -0500 Original-Received: by mail-wr1-f44.google.com with SMTP id q18so6704754wrn.1 for <25905@debbugs.gnu.org>; Sun, 13 Dec 2020 10:39:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=FRmqHBKKeP1dTjafJKTQnxLdgAAp7kH6X5+BtMbm3zI=; b=swzv96upExYsWmtbIEjmki7BifMtmCIh0bzYU6phiIREGXcUxSB1z14Cp5A6s3c/oH NVhDFc8xt6VHHDQ0K2GIFIY6VU+ZD2xwxzjHtNbHKZeXJA7vdmPamSRHsp6wKRx3sRwB P/9MbqVtSuBmSRofurgG4HoFPIxWGWN6zfDp/SpA0ybgUWBM20PvgBeY//okjE9Z//8v 2KDtRkeEgoZ04N1rSbwKLcikET664IIVwru2+HD2kChzxU+0dwZwF5R8ziWuUvhdeVJC vZ3qKXxmDafEWOwWUnzFtA/tiTtgPxp7SvgiXXfqPTjxH2H845EHRSscjAf1Unn7/TId QPGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=FRmqHBKKeP1dTjafJKTQnxLdgAAp7kH6X5+BtMbm3zI=; b=kpFnlNtp2COmgXph10WXPIFZtPfbrPl/nSiv43kFvKx5HMvbIS9ik3p1rU9sKciZHs rTTrWB2n45Kt9SAKBgu5WPS6FsBViTTJw8pjG7XNCbw2PamfbTs8sMHMXjRK4itrBD3R wIfKoZxZnEkV5xDm+A+fdB6gFXGygZYOhJbqcgZ+Y/V4gxfawsTsOiVjNeK0tkc5YtJv f9Dxu0ra4AgWg+8ql6OGA+aHZa735binaokwO0LNpAWdvXT2IrqpgayWVY5aUyEdS359 IhKJqNnfWNaBdWxct8s+mjNoCPGwKUSwiTFkqT0aNIFd4z5jW0tIGQAdELXxeyvpWmyS TuZQ== X-Gm-Message-State: AOAM533Bp1ijk15ICw8JHKo9CyJtxlvyCtxYQf1MHbIU0GcENgnUw7iH PMF3caMAf1r6oXGM00E66nPuNrzTonJzBg== X-Google-Smtp-Source: ABdhPJwWAUNNjjXMRM30Sw6Cdb7l/n3kABgOJlNJL6glJPqpRCGMY18hhgogLl3R1PmT31mVwQ+XhQ== X-Received: by 2002:a5d:540f:: with SMTP id g15mr25182254wrv.397.1607884785936; Sun, 13 Dec 2020 10:39:45 -0800 (PST) Original-Received: from [192.168.0.5] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id o13sm25504512wmc.44.2020.12.13.10.39.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 13 Dec 2020 10:39:44 -0800 (PST) In-Reply-To: <87a6uh6fnu.fsf@gnus.org> Content-Language: en-US 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:195992 Archived-At: On 13.12.2020 14:42, Lars Ingebrigtsen wrote: > (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? I don't know about the rest of the implementation, but the above is pretty much exactly what I was thinking of, thanks.