From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierfranco Minsenti Subject: Problems with displaying .png images in a buffer (was: Re: Problems with diacritics in Mountain Lion + Org Mode) Date: Fri, 24 Aug 2012 15:12:49 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d0447f37c92fdd404c802bb5c Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4th3-0002rL-5o for emacs-orgmode@gnu.org; Fri, 24 Aug 2012 09:12:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T4tgw-0002SX-6M for emacs-orgmode@gnu.org; Fri, 24 Aug 2012 09:12:57 -0400 Received: from mail-ob0-f169.google.com ([209.85.214.169]:40949) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4tgv-0002SQ-Sq for emacs-orgmode@gnu.org; Fri, 24 Aug 2012 09:12:50 -0400 Received: by obhx4 with SMTP id x4so4737768obh.0 for ; Fri, 24 Aug 2012 06:12:49 -0700 (PDT) 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: Bastien Cc: emacs-orgmode@gnu.org --f46d0447f37c92fdd404c802bb5c Content-Type: text/plain; charset=ISO-8859-1 Thank you Bastien: you were right: one of my previous settings was the problem: the use as the default font of TeX Gyre Termes which so far I had not yet installed on this computer with Mountain Lion. Sorry for asking for help because of this stupid mistake. So far I find only this other problem in using Org Mode on Mountain Lion: on the previous computer with Lion when using Org mode I was able to display in a buffer a .png image when I clicked on an hyperlink in an Org mode file which pointed to this type of file. Now If I do the same this message is displayed: Cannot display image: (Cannot determine image type) (by the way: the hyperlink to the file is correct and in fact when I export the Org file to LibreOffice the .png image is rightly displayed). In my Emacs settings the option Image File Name Extensions contains a list of extensions among which the .png and Auto Image File Mode is set on So any idea what is the right configuration for displaying in a buffer a .png image when using Org mode? Pierfranco 2012/8/24 Bastien > Hi Pierfranco, > > Pierfranco Minsenti writes: > > > What should I do to check which version of Emacs is charged when I > > use the Terminal application? > > M-x emacs-version RET > M-x org-version RET > > I'm not a Mac user, but I'm pretty sure ~$ emacs from the Terminal > is *not* linked to the Aquamacs executable. > > I don't know what is the equivalent to "~$ emacs -Q" for launching > a bare Aquamacs instance, but maybe for now just remove any .emacs.el > and see if the problem comes from your configuration? > > -- > Bastien > --f46d0447f37c92fdd404c802bb5c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thank you Bastien: you were right: one of my previous settings was the prob= lem: the use as the default font of TeX Gyre Termes which so far I had not = yet installed on this computer with Mountain Lion.
Sorry for asking for= help because of this stupid mistake.=A0

So far I find only this other problem in using Org Mode= on Mountain Lion: on the previous computer with Lion when using Org mode I= was able to display in a buffer a .png image when I clicked on an hyperlin= k in an Org mode file which pointed to this type of file.=A0

Now If I do the same this message is displayed:

Cannot display image: (Cannot determine image type)
=

(by the way: the hyperlink to the file is correct and i= n fact when I export the Org file to LibreOffice the .png image is rightly = displayed).

In my Emacs settings the option=A0Image File Name Exten= sions
contains a list of extensions among which the .png=A0

and=A0Auto Image File Mode is set on=A0

S= o any idea what is the right configuration for displaying in a buffer a .pn= g image when using Org mode?

Pierfranco

2012/8/24 = Bastien <bzg@altern.org>
Hi Pierfranco,

Pierfranco Minsenti <pierfranco.minsenti@gmail.com> writes:

> What should I do to check which version of Emacs is charged= when I
> use the Terminal application?

M-x emacs-version RET
M-x org-version RET

I'm not a Mac user, but I'm pretty sure ~$ emacs from the Terminal<= br> is *not* linked to the Aquamacs executable.

I don't know what is the equivalent to "~$ emacs -Q" for laun= ching
a bare Aquamacs instance, but maybe for now just remove any .emacs.el
and see if the problem comes from your configuration?

--
=A0Bastien

--f46d0447f37c92fdd404c802bb5c--