[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Graphic files displayed in buffer?
From: |
Rasmus |
Subject: |
Re: [O] Graphic files displayed in buffer? |
Date: |
Sun, 13 Sep 2015 22:06:08 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Hi,
>> Links to graphic files in one section of a long-lived document now
>> display the graphic in the Org mode buffer. This new behavior is
>> surprising and unwanted.
>>
>> Links to graphic files in other sections of the same document are
>> displayed correctly as links.
>>
>> I'd like to have all the links displayed as links. Any ideas how to fix
>> this?
>
> I think I've found a recently introduced bug.
>
> The behavior I describe above can be triggered by a call to org-sbe,
> which I have set up like this at the end of my Org mode file.
>
> # Local Variables:
> # org-entities-user: nil
> # eval: (and (fboundp 'org-sbe) (not (fboundp 'sbe)) (fset 'sbe 'org-sbe))
> # eval: (sbe "user-entities")
> # End:
>
> If I omit the # eval: (sbe "user-entities") line, save the file, close
> it, and re-open it then all is well.
>
> If I add the line and refresh the setup, then the problem returns.
I cannot reproduce. What is your "user-entities" code block?
This is my test file:
[[file:/tmp/test.png]]
#+name: user-entities
#+BEGIN_SRC emacs-lisp
1
#+END_SRC
# Local Variables:
# org-entities-user: nil
# eval: (and (fboundp 'org-sbe) (not (fboundp 'sbe)) (fset 'sbe 'org-sbe))
# eval: (sbe "user-entities")
# End:
--
With monopolies the cake is a lie!