Hello,
"Basil L. Contovounesios" writes:
> I realise that the 'display' property is a pretty complicated beast, so
> it may be impractical for 'org-string-width' to do this, but I think
> more accurate/useful behaviour would be to calculate the displayed width
> of the image via 'image-size' or
Nicolas Goaziou writes:
> "Basil L. Contovounesios" writes:
>
>> Severity: minor
>>
>> 0. emacs -Q
>> 1. M-x toggle-debug-on-error RET
>> 2. Evaluate the following:
>>
>> (require 'org)
>> (org-string-display
>>(propertize " " 'display '(image :type svg
>>
Hello,
"Basil L. Contovounesios" writes:
> Severity: minor
>
> 0. emacs -Q
> 1. M-x toggle-debug-on-error RET
> 2. Evaluate the following:
>
> (require 'org)
> (org-string-display
>(propertize " " 'display '(image :type svg
> :file
Severity: minor
0. emacs -Q
1. M-x toggle-debug-on-error RET
2. Evaluate the following:
(require 'org)
(org-string-display
(propertize " " 'display '(image :type svg
:file "/path/to/image.svg")))
This gives the following error backtrace:
Debugger