emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thomas S. Dye <tsd@tsdye.com>
To: Rasmus <rasmus@gmx.us>
Cc: emacs-orgmode@gnu.org
Subject: Re: Graphic files displayed in buffer?
Date: Sun, 13 Sep 2015 15:05:23 -1000	[thread overview]
Message-ID: <m2egi1dd4c.fsf@tsdye.com> (raw)
In-Reply-To: <87613e2ifj.fsf@gmx.us>

Hi Rasmus,

Rasmus <rasmus@gmx.us> writes:

>
> 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: 

Thanks for looking into this.  Your file works here, too.

I found that loading my file somehow sets this variable:

org-inline-image-overlays is a variable defined in `org.el'.
Its value is
(#<overlay from 80946 to 80979 in anth_464_syllabus.org> #<overlay from 80254 to 80292 in anth_464_syllabus.org> #<overlay from 80060 to 80099 in anth_464_syllabus.org> #<overlay from 79977 to 80011 in anth_464_syllabus.org> #<overlay from 79840 to 79879 in anth_464_syllabus.org> #<overlay from 79720 to 79759 in anth_464_syllabus.org> #<overlay from 78291 to 78328 in anth_464_syllabus.org> #<overlay from 75204 to 75241 in anth_464_syllabus.org> #<overlay from 74778 to 74813 in anth_464_syllabus.org> #<overlay from 74224 to 74266 in anth_464_syllabus.org> #<overlay from 71381 to 71419 in anth_464_syllabus.org> #<overlay from 35207 to 35246 in anth_464_syllabus.org> #<overlay from 34346 to 34381 in anth_464_syllabus.org> #<overlay from 33565 to 33603 in anth_464_syllabus.org> #<overlay from 
 32615 to 32661 in anth_464_syllabus.org> #<overlay from 30451 to 30489 in anth_464_syllabus.org> #<overlay from 29134 to 29173 in anth_464_syllabus.org>)

Local in buffer anth_464_syllabus.org; global value is nil

Any idea how that might happen?  It is just one part of the file, the
rest is good (even though it contains lots of images).

Running org-remove-inline-images gets rid of the overlays.  If I save
after they are removed, kill the buffer, and then read it again I have
the same problem.

All the best,
Tom
-- 
Thomas S. Dye
http://www.tsdye.com

  reply	other threads:[~2015-09-14  1:05 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
2015-09-14  1:05     ` Thomas S. Dye [this message]
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=m2egi1dd4c.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rasmus@gmx.us \
    /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).