[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: Inaccurate doc-string for org-image-actual-width [9.2.3 (9.
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Bug: Inaccurate doc-string for org-image-actual-width [9.2.3 (9.2.3-17-g4df705-elpaplus @ /home/yantar92/.emacs.d/elpa/org-plus-contrib-20190513/)] |
Date: |
Wed, 05 Jun 2019 22:50:23 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Hello,
'Ihor Radchenko' <address@hidden> writes:
> The doc-string for org-image-actual-width states that image width can
> be set using #+ATTR.* keyword (note that it is all capital letters).
> However, org-display-inline-images only looks for lower-case #+attr_:
>
> (re-search-forward "^[ \t]*#\\+attr_.*?: +.*?:width +\\(\\S-+\\)"
> (org-element-property :post-affiliated paragraph)
> t)
>
> If case-fold-search is set to 't, and the value of
> org-image-actual-width is set to a list, #+ATTR_ORG: :width
> specifications are always ignored, while they should not.
Fixed. Thank you.
Regards,
--
Nicolas Goaziou