Howdy, folks!

After 4 hours of head-banging...

CONFIGURATION:

For the tests below, we use an Org file that includes the link:

  [[attachment:cover.png][attachment:[email protected]]]
  
where `cover.png' and `[email protected]' are existing attachments.

TEST/BUG 1:

Org in Emacs compiled from `master':

  - `C-c C-x C-v' *FAILS* (No images to display inline)
  - `C-c C-x C-v' *WORKS* after `M-: (require 'org-attach) RET'

  Error message:

    "No images to display inline"
  
  TL;DR:

    Org should auto-require `org-attach' when needed.

TEST/BUG 2:

Org from `main':

  - Emacs from `master' (3cb1cdfba79) and Org from `main' (69b891b59)
  - `C-c C-x C-v' *FAILS*
  - `C-c C-x C-v' *FAILS* even after `M-: (require 'org-attach) RET'

  Error message:

    "[image at point] No images to display inline."

  TL;DR:

    The new `org-link-preview' does not work at all in this case.

Rudy
-- 
"Programming reliably -- must be an activity of an undeniably
mathematical nature […] You see, mathematics is about thinking, and
doing mathematics is always trying to think as well as possible."
--- Edsger W. Dijkstra, 1981

Rudolf Adamkovič <[email protected]> [he/him]
http://adamkovic.org

Reply via email to