From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Cross Subject: Re: Cannot display local images with orgmode under macOS Date: Fri, 13 Sep 2019 14:37:40 +1000 Message-ID: <87pnk4lskr.fsf@gmail.com> References: <84lfutel4g.fsf@gmail.com> <7F7E3243-9147-4F74-B4FC-4E956F94FF3D@ucsd.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:41533) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i8dLC-0006Qu-CS for emacs-orgmode@gnu.org; Fri, 13 Sep 2019 00:37:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i8dL9-0002TY-Sh for emacs-orgmode@gnu.org; Fri, 13 Sep 2019 00:37:50 -0400 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]:40675) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i8dL9-0002T3-EM for emacs-orgmode@gnu.org; Fri, 13 Sep 2019 00:37:47 -0400 Received: by mail-pf1-x444.google.com with SMTP id x127so17283169pfb.7 for ; Thu, 12 Sep 2019 21:37:46 -0700 (PDT) In-reply-to: <7F7E3243-9147-4F74-B4FC-4E956F94FF3D@ucsd.edu> 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 Cc: Marco Wahl Running Emacs 26.3 on macOS 10.14.6 with latest org and I have no problems displaying images in org mode. I have imagemagick installed and am using railwaycat's mac-port via homebrew. Tim Berry, Charles writes: >> On Sep 12, 2019, at 5:48 AM, Marco Wahl wrote: >>=20 >> Hi, >>=20 >>> * The problem >>>=20 >>> Orgmode under macOS cannot display local images correctly, but it ca= n display internet images >>> without problem. >>>=20 >>> I tried both emacs-mac and emacs-plus, they both have this image pro= blem. But emacs under >>> ArchLinux don=E2=80=99t have this problem. >>>=20 >>> [[file:xxx.png]] cannot be displayed ev= en the file exists. >>> [[./xxx.png]] cannot be displayed e= ven the file exists. >>> [[http://example.org/xxx.png]] can be displayed if the link exi= sts. >>>=20 >>> Emacs can display any images with C-x C-f xxx.png. The problem happe= ns only with orgmode. >>>=20 >>> * The reason >>>=20 >>> After bisecting org-mode source code I found out that this commit ca= uses the problem: >>>=20 >>> https://code.orgmode.org/bzg/org-mode/commit/48da60f47a77f4b99b4160f= a620f258896ff4da3 >>>=20 >>> Reverting to previous commit fixes the problem. >>=20 >> 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. >>=20 >> Unfortunately I don't have a Mac and cannot examine the behavior you >> describe AFAICS. >>=20 >> Hopefully a Org community member with access to a Mac can have a look. >>=20 >>=20 > > > I just updated org, I can see the offending commit. > > After refreshing, I have no problems toggling display of inline images. > > I have imagemagick and dvipng installed. > > MacOS 10.14.6, Emacs 26.1, org release_9.2.6-534-g6f32e7 > > Is there anything else I can tell you? > > HTH, > > Chuck --=20 Tim Cross