[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Image-conversion shims

From: Lars Ingebrigtsen
Subject: Re: Image-conversion shims
Date: Tue, 01 Oct 2019 14:08:38 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> I.e., we want ("*.webp" . image-mode) in auto-mode-alist, but we can't
>> put it there before we've called "gm convert -list format",
> Why?  .webp is an image format, so it should be associated with
> image-mode, whether we can display it or not (it's not like the
> behavior would be much better if we don't and end up showing it in
> fundamental-mode).

For .webp I agree, but there's a bunch of formats that are really
obscure.  It would be nice if Emacs did the right thing if the user has
switched the external image thing on, but some of them might otherwise
be confusing.

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]