unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
To: 53489@debbugs.gnu.org
Subject: bug#53489: 28.0.91; multi-frame images cannot be navigated in image-mode
Date: Mon, 24 Jan 2022 11:26:09 +0900	[thread overview]
Message-ID: <wlfspdj2da.wl-mituharu@math.s.chiba-u.ac.jp> (raw)

[-- Attachment #1: Type: text/plain, Size: 1490 bytes --]

Steps to reproduce:

1. Save the attached TIFF file as attach.tiff.
2. $ emacs -Q attach.tiff &
3. Notice that the image contains multiple frames.
4. Type `f' (image-next-frame).

Expected behavior:
Switch to the next frame.  Emacs 27 works as expected.

Actual behavior:
Wrong type argument: number-or-marker-p, nil

This seems to be a regression introduced by the following change:

commit 4aa4a8f9525efa6453816aa588ad178b01df554d
Author: Lars Ingebrigtsen <larsi@gnus.org>
Date:   Mon May 3 11:45:22 2021 +0200

    Speed up animation of non-displayed images
    
    * lisp/image.el (image-animate): Only compute the animation data
    once -- this avoids recomputing the image on every iteration when
    the image is not displayed (bug#47895).

				     YAMAMOTO Mitsuharu
				mituharu@math.s.chiba-u.ac.jp

In GNU Emacs 28.0.91 (build 2, x86_64-apple-darwin20.6.0, GTK+ Version 3.24.31, cairo version 1.17.4)
 of 2022-01-24 built on YAMAMOTO-no-iMac-5K.local
Repository revision: 6d3608be88e1b30d2d10ee81f14dd485275c20ff
Repository branch: emacs-28
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description:  macOS 11.6.2

Configured using:
 'configure --without-ns --with-modules LDFLAGS=-L/opt/local/lib
 CPPFLAGS=-I/opt/local/include'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LCMS2 LIBXML2 MODULES NOTIFY KQUEUE PDUMPER PNG RSVG THREADS TIFF
TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB


[-- Attachment #2: attach.tiff --]
[-- Type: image/tiff, Size: 10990 bytes --]

             reply	other threads:[~2022-01-24  2:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-24  2:26 YAMAMOTO Mitsuharu [this message]
2022-01-24 10:23 ` bug#53489: 28.0.91; multi-frame images cannot be navigated in image-mode Lars Ingebrigtsen

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=wlfspdj2da.wl-mituharu@math.s.chiba-u.ac.jp \
    --to=mituharu@math.s.chiba-u.ac.jp \
    --cc=53489@debbugs.gnu.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).