emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Bug: Inaccurate doc-string for org-image-actual-width [9.2.3 (9.2.3-


From: 'Ihor Radchenko'
Subject: [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 17:13:16 +0800

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.

Best,
Ihor



Emacs  : GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit)
 of 2019-04-29
Package: Org mode version 9.2.3 (9.2.3-17-g4df705-elpaplus @ 
/home/yantar92/.emacs.d/elpa/org-plus-contrib-20190513/)
-- 
Ihor Radchenko,
PhD,
Center for Advancing Materials Performance from the Nanoscale (CAMP-nano)
State Key Laboratory for Mechanical Behavior of Materials, Xi'an Jiaotong 
University, Xi'an, China
Email: address@hidden, address@hidden




reply via email to

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