[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, 08 Oct 2019 18:06:56 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Juri Linkov <address@hidden> writes:
> After customizing imagemagick-enabled-types to t, it registers all image
> types; image-converter could do the same. This is a good trade-off to
> not register all exotic formats in auto-mode-alist by default,
> but still easy to customize to stuff everything to auto-mode-alist
> when needed.
Ah, I see. Yes, it has a
:set (lambda (symbol value)
(set-default symbol value)
(imagemagick-register-types))
and we could basically do the same for `image-use-external-converter'.
The only wrinkle is that it would then call the --probe function
typically at Emacs startup (because that's when ~/.emacs is loaded and
`custom-set-variables' is run). But... the impact of that would be
pretty small ("gm convert -list format" is very fast), and would only
happen for those who have opted in.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: Image-conversion shims, Lars Ingebrigtsen, 2019/10/01
- Re: Image-conversion shims, Lars Ingebrigtsen, 2019/10/01
- Re: Image-conversion shims, Juri Linkov, 2019/10/06
- Re: Image-conversion shims, Lars Ingebrigtsen, 2019/10/06
- Re: Image-conversion shims, Juri Linkov, 2019/10/07
- Re: Image-conversion shims,
Lars Ingebrigtsen <=
- Re: Image-conversion shims, Stefan Monnier, 2019/10/08
- Re: Image-conversion shims, Lars Ingebrigtsen, 2019/10/09
- Re: Image-conversion shims, Stefan Monnier, 2019/10/09
- Re: Image-conversion shims, Lars Ingebrigtsen, 2019/10/14
- Re: Image-conversion shims, Juri Linkov, 2019/10/14
- Re: Image-conversion shims, Lars Ingebrigtsen, 2019/10/14