[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Image-conversion shims
From: |
Eli Zaretskii |
Subject: |
Re: Image-conversion shims |
Date: |
Mon, 30 Sep 2019 17:01:00 +0300 |
> From: Lars Ingebrigtsen <address@hidden>
> Cc: address@hidden, address@hidden
> Date: Mon, 30 Sep 2019 15:42:11 +0200
>
> Eli Zaretskii <address@hidden> writes:
>
> > I don't think I understand why we can't put the association in
> > auto-mode-alist before running "gm convert". Please elaborate why.
>
> If we put (say) .webp into auto-mode-alist, but we can't read .webp
> files, then image-mode will end up issuing an error when called on these
> files.
I thought when image-mode is invoked, the external converter is called
automagically, no?
> Besides, what formats "gm convert" supports changes over time. By
> consulting it, auto-mode-alist will be automatically updated without us
> having to do anything.
Yes, but I think it's better to have a solution that is 99% correct
and simple, rather than one that is 100% and much more complex. After
all, this is somewhat obscure use case, at least for now.
> > Not "do nothing", but display an error message saying this image
> > format is unsupported, IMO.
>
> Yup. I meant "do nothing" in the image-mode context, which means "show
> the data as raw bytes and signal an error".
Right.
- Re: Image-conversion shims, (continued)
- Re: Image-conversion shims, Stefan Monnier, 2019/09/28
- Re: Image-conversion shims, Lars Ingebrigtsen, 2019/09/28
- Re: Image-conversion shims, Lars Ingebrigtsen, 2019/09/28
- Re: Image-conversion shims, Lars Ingebrigtsen, 2019/09/28
- Re: Image-conversion shims, Eli Zaretskii, 2019/09/29
- Re: Image-conversion shims, Lars Ingebrigtsen, 2019/09/29
- Re: Image-conversion shims, Eli Zaretskii, 2019/09/29
- Re: Image-conversion shims, Lars Ingebrigtsen, 2019/09/30
- Re: Image-conversion shims, Eli Zaretskii, 2019/09/30
- Re: Image-conversion shims, Lars Ingebrigtsen, 2019/09/30
- Re: Image-conversion shims,
Eli Zaretskii <=
- Re: Image-conversion shims, Stefan Monnier, 2019/09/30