emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: Graphic files displayed in buffer?
Date: Sun, 13 Sep 2015 22:06:08 +0200	[thread overview]
Message-ID: <87613e2ifj.fsf@gmx.us> (raw)
In-Reply-To: m2h9my2kt1.fsf@tsdye.com

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!

  reply	other threads:[~2015-09-13 20:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-13 18:26 Graphic files displayed in buffer? Thomas S. Dye
2015-09-13 19:14 ` Thomas S. Dye
2015-09-13 20:06   ` Rasmus [this message]
2015-09-14  1:05     ` Thomas S. Dye
2015-09-15 19:55       ` Rasmus
2015-09-15 20:56         ` Thomas S. Dye
2015-09-15 22:29           ` Rasmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87613e2ifj.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).