unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#53489: 28.0.91; multi-frame images cannot be navigated in image-mode
@ 2022-01-24  2:26 YAMAMOTO Mitsuharu
  2022-01-24 10:23 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: YAMAMOTO Mitsuharu @ 2022-01-24  2:26 UTC (permalink / raw)
  To: 53489

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#53489: 28.0.91; multi-frame images cannot be navigated in image-mode
  2022-01-24  2:26 bug#53489: 28.0.91; multi-frame images cannot be navigated in image-mode YAMAMOTO Mitsuharu
@ 2022-01-24 10:23 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2022-01-24 10:23 UTC (permalink / raw)
  To: YAMAMOTO Mitsuharu; +Cc: 53489

YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> writes:

> 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

Yup.  I've now fixed this in Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-24 10:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-24  2:26 bug#53489: 28.0.91; multi-frame images cannot be navigated in image-mode YAMAMOTO Mitsuharu
2022-01-24 10:23 ` Lars Ingebrigtsen

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).