From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik Iverson Subject: Bug: inline image display not working when org-indent-mode active, follow-up Date: Wed, 04 Aug 2010 21:19:47 -0500 Message-ID: <4C5A1FC3.5000201@ccbr.umn.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=35950 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ogpzv-0001Ln-UW for emacs-orgmode@gnu.org; Wed, 04 Aug 2010 22:15:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ogpzu-0000NM-Of for emacs-orgmode@gnu.org; Wed, 04 Aug 2010 22:15:55 -0400 Received: from pegasus.biostat.wisc.edu ([144.92.73.35]:61471) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ogpzu-0000N0-K4 for emacs-orgmode@gnu.org; Wed, 04 Aug 2010 22:15:54 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode Cc: mp26@os.inf.tu-dresden.de 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. This also happened when re-running an org-babel source block that generates graphical output, even without org-indent-mode turned on. [1] I believe I've tracked this down to the following patch, http://www.mail-archive.com/emacs-orgmode@gnu.org/msg25738.html What I think is happening, is that org-indent-mode (or alternatively, the org-babel result insertion process) must be triggering the org-display-inline-modification-hook, which deletes the overlay. This intuitively makes sense to me in both cases. I do not know how to fix this unfortunately, but I think this is the correct diagnosis. For now, I've simply removed the function hook from the ov modification-hooks, and all seems well. [1] http://www.mail-archive.com/emacs-orgmode@gnu.org/msg27500.html