GNU bug report logs - #25905
25.1; Can't find regexp and replace in SVG files

Previous Next

Package: emacs;

Reported by: Matthias Meulien <matthias.meulien <at> delair-tech.com>

Date: Wed, 1 Mar 2017 00:25:01 UTC

Severity: minor

Tags: fixed

Found in version 25.1

Fixed in version 28.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: Matthias Meulien <matthias.meulien <at> delair-tech.com>, 25905 <at> debbugs.gnu.org
Subject: bug#25905: 25.1; Can't find regexp and replace in SVG files
Date: Sun, 13 Dec 2020 13:35:44 +0100
Juri Linkov <juri <at> linkov.net> writes:

> A general solution is to customize image-visiting mode as text
> by adding to the init file:
>
>   (push '("\\.svgz?\\'" . image-mode-as-text) auto-mode-alist)
>
> I don't know whether or where this solution could be mentioned more,
> but currently this is documented in image-mode-as-text:
>
>   You can use `image-mode-as-text' in `auto-mode-alist' when you want
>   to display an image file as text initially.

I don't think that's a general solution -- most people would want Emacs
to display .svg files as images, I think.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 229 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.