emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [PROBLEM] The commit "e1f09607e0" caused org-mode inline image previ


From: Lars Ingebrigtsen
Subject: Re: [PROBLEM] The commit "e1f09607e0" caused org-mode inline image preview try to convert PDF file link
Date: Sat, 22 Aug 2020 15:03:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

"numbchild@gmail.com" <numbchild@gmail.com> writes:

> The commit "e1f09607e0" caused this problem. I confirmed by git
> checkout a commit before it. And re-eval source code, then the problem
> is gone. This is because the commit added
> ~image-converter-file-name-extensions~ in image-convert.el library
> which includes "pdf" file extension. It uses command "gs" to convert
> pdf to image which use 100% of CPU.

I think image-converter.el should have a list of types that it shouldn't
attempt to convert, even if the backend says that it can.  PDF/PS are
obvious things -- they aren't images, but imagemagick will offer to
display them anyway.

I'll add that to Emacs 28.

-- 
(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]