emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tim Cross <theophilusx@gmail.com>
To: emacs-orgmode@gnu.org
Cc: Marco Wahl <marcowahlsoft@gmail.com>
Subject: Re: Cannot display local images with orgmode under macOS
Date: Fri, 13 Sep 2019 14:37:40 +1000	[thread overview]
Message-ID: <87pnk4lskr.fsf@gmail.com> (raw)
In-Reply-To: <7F7E3243-9147-4F74-B4FC-4E956F94FF3D@ucsd.edu>


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 <ccberry@ucsd.edu> writes:

>> On Sep 12, 2019, at 5:48 AM, Marco Wahl <marcowahlsoft@gmail.com> wrote:
>> 
>> 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.
>> 
>> 
>
>
> 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


-- 
Tim Cross

  reply	other threads:[~2019-09-13  4:37 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-12  2:33 Cannot display local images with orgmode under macOS Zhengyu Duan
2019-09-12 12:48 ` Marco Wahl
2019-09-12 17:02   ` Berry, Charles
2019-09-13  4:37     ` Tim Cross [this message]
2019-09-14  7:43       ` Marco Wahl
2019-09-27 10:30         ` Zhengyu Duan
2019-09-27 16:27           ` Marco Wahl
2019-09-13 11:50   ` Rick Frankel
2019-11-17 16:37   ` Jack Kamm
2019-11-17 22:55     ` Jack Kamm
2019-11-18 21:58       ` Marco Wahl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pnk4lskr.fsf@gmail.com \
    --to=theophilusx@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=marcowahlsoft@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).