emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Bug: inline image display not working when org-indent-mode


From: Erik Iverson
Subject: Re: [Orgmode] Bug: inline image display not working when org-indent-mode active, follow-up
Date: Thu, 05 Aug 2010 08:00:43 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6

On 08/05/2010 03:34 AM, Martin Pohlack wrote:
Hi,

On 05.08.2010 04:19, Erik Iverson wrote:
Hello,

I am using the latest org pulled from git.

In the past few weeks, I found that the overlays of inline images in
my org-mode
files would flash quickly and then be deleted when using
org-indent-mode.

<snip>


If a functions want to elide trigger the modification hooks it should
bind: inhibit-modification-hooks.

 From
http://www.gnu.org/software/emacs/elisp/html_node/Special-Properties.html:

modification-hooks
If a character has the property modification-hooks, then its
value should be a list of functions; modifying that character
calls all of those functions. Each function receives two
arguments: the beginning and end of the part of the buffer being
modified. Note that if a particular modification hook function
appears on several characters being modified by a single
primitive, you can't predict how many times the function will be
called.

If these functions modify the buffer, they should bind
inhibit-modification-hooks to t around doing so, to avoid
confusing the internal mechanism that calls these hooks.

Overlays also support the modification-hooks property, but the
details are somewhat different (see Overlay Properties).

Could you try to find out the path from where these modifications
occur, insert a relevant bind there, and see if this helps?

I will try to track this down, yes.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]