From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Wahl Subject: Re: Cannot display local images with orgmode under macOS Date: Thu, 12 Sep 2019 14:48:15 +0200 Message-ID: <84lfutel4g.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:54641) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i8ORj-00038X-SS for emacs-orgmode@gnu.org; Thu, 12 Sep 2019 08:43:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i8ORi-0001J0-PK for emacs-orgmode@gnu.org; Thu, 12 Sep 2019 08:43:35 -0400 Received: from 195-159-176-226.customer.powertech.no ([195.159.176.226]:42064 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i8ORi-0001Ii-It for emacs-orgmode@gnu.org; Thu, 12 Sep 2019 08:43:34 -0400 Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1i8ORb-0014FY-PN for emacs-orgmode@gnu.org; Thu, 12 Sep 2019 14:43:27 +0200 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" To: emacs-orgmode@gnu.org Hi, > * The problem > > Orgmode under macOS cannot display local images correctly, but it can display internet images > without problem. > > I tried both emacs-mac and emacs-plus, they both have this image problem. But emacs under > ArchLinux don’t have this problem. > > [[file:xxx.png]] cannot be displayed even the file exists. > [[./xxx.png]] cannot be displayed even the file exists. > [[http://example.org/xxx.png]] can be displayed if the link exists. > > Emacs can display any images with C-x C-f xxx.png. The problem happens only with orgmode. > > * The reason > > After bisecting org-mode source code I found out that this commit causes the problem: > > https://code.orgmode.org/bzg/org-mode/commit/48da60f47a77f4b99b4160fa620f258896ff4da3 > > Reverting to previous commit fixes the problem. Gaa! Looks like I did this. With the commit one should be able to see inline images also in the case when Emacs has been build without imagemagick support, at least for newer Emacsens in the 27 line. Unfortunately I don't have a Mac and cannot examine the behavior you describe AFAICS. Hopefully a Org community member with access to a Mac can have a look. Thanks for reporting, -- Marco