all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: emacs-devel@gnu.org
Subject: Re: master 8542f66 2/3: Automatically rotate images in image-mode based on Exif data
Date: Wed, 30 Oct 2019 17:15:01 +0100	[thread overview]
Message-ID: <m2pniefbwa.fsf@gmail.com> (raw)
In-Reply-To: <87tv7qthqi.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 30 Oct 2019 15:45:09 +0100")

>>>>> On Wed, 30 Oct 2019 15:45:09 +0100, Lars Ingebrigtsen <larsi@gnus.org> said:

    Lars> Robert Pluim <rpluim@gmail.com> writes:
    >> So I attempted to visit a PNG file from emacs, and got a buffer
    >> containing the image data, and the following in *Messages*
    >> 
    >> Cannot display image: ((app1 (cdr (assq 65505 (exif--parse-jpeg)))))
    >> 
    >> Itʼs unclear to me whether emacs should be able to display PNG
    >> natively here. (featurep 'png) is nil, but this is on macOS, which
    >> allegedly has builtin support for PNG. In any case Iʼm not expecting
    >> an error message about exif data.

    Lars> I'm unable to reproduce this error -- viewing png images works fine for
    Lars> me.

    Lars> Could you post a backtrace?  The easiest is probably to say

    Lars> M-: (image-toggle-display-image)

Debugger entered--Lisp error: (error "The buffer is not in Image mode")
  signal(error ("The buffer is not in Image mode"))
  error("The buffer is not in Image mode")
  image-toggle-display-image()
  eval((image-toggle-display-image) t)
  eval-expression((image-toggle-display-image) nil nil 127)
  funcall-interactively(eval-expression (image-toggle-display-image) nil nil 127)
  call-interactively(eval-expression nil nil)
  command-execute(eval-expression)

which is a whole different error (although the modeline says
"(Fundamental Image)"

Robert



  reply	other threads:[~2019-10-30 16:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20190922122352.13822.75583@vcs0.savannah.gnu.org>
     [not found] ` <20190922122354.5232A207FC@vcs0.savannah.gnu.org>
2019-10-30 14:19   ` master 8542f66 2/3: Automatically rotate images in image-mode based on Exif data Robert Pluim
2019-10-30 14:45     ` Lars Ingebrigtsen
2019-10-30 16:15       ` Robert Pluim [this message]
2019-10-30 16:18         ` Lars Ingebrigtsen
2019-10-30 16:26           ` Robert Pluim
2019-10-30 16:45             ` Lars Ingebrigtsen
2019-10-30 16:56               ` Robert Pluim
2019-10-30 19:35                 ` Stefan Monnier

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

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

  git send-email \
    --in-reply-to=m2pniefbwa.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.