From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas S. Dye Subject: Re: Graphic files displayed in buffer? Date: Sun, 13 Sep 2015 09:14:50 -1000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54107) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbCk3-00074w-7I for emacs-orgmode@gnu.org; Sun, 13 Sep 2015 15:15:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZbCjz-0008QG-UU for emacs-orgmode@gnu.org; Sun, 13 Sep 2015 15:15:11 -0400 Received: from gproxy9-pub.mail.unifiedlayer.com ([69.89.20.122]:48021) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1ZbCjz-0008Nr-Nx for emacs-orgmode@gnu.org; Sun, 13 Sep 2015 15:15:07 -0400 Received: from [98.155.37.29] (port=49235 helo=manifi) by box472.bluehost.com with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84) (envelope-from ) id 1ZbCjm-0001gz-Nl for emacs-orgmode@gnu.org; Sun, 13 Sep 2015 13:14:54 -0600 In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Aloha all, Answering myself ... Thomas S. Dye writes: > Aloha all, > > 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. If I then delete the line, so there are no calls to org-sbe (or its alias, sbe), and refresh the setup, then the problem persists. If I then save the file, kill its buffer, and re-open it, the problem is gone. I hope this makes sense. It seems to me that org-sbe has recently begun hosing something. This is all code that I've been using regularly and successfully for months or years. All the best, Tom -- Thomas S. Dye http://www.tsdye.com