GNU bug report logs - #4016
23.1.50; docview: scrolling up breaks after setting a slice

Previous Next

Package: emacs;

Reported by: Paer Kurlberg <kurlberg <at> math.kth.se>

Date: Sun, 2 Aug 2009 14:15:04 UTC

Severity: normal

Tags: moreinfo

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paer Kurlberg <kurlberg <at> math.kth.se>
To: 4016 <at> debbugs.gnu.org
Subject: bug#4016: Acknowledgement (23.1.50; docview: scrolling up breaks after setting a slice)
Date: Sun, 02 Aug 2009 18:08:21 +0200
In case it might be helpful: below is a backtrace.  It seems that the
problem is that image-get-display-property (called in the function
image-next-line) returns the list

((slice 0 0 1100 1600) (image :type png :file
  "/tmp/docview1000/arnold.dvi-b04e9949bb98146d331479915a45fc5b/page-1.png"
  :pointer arrow))

and therefore image-size complains since a "proper image" should be a
list whose car equals 'image.


BACKTRACE: 

Debugger entered--Lisp error: (error "Invalid image specification")
  image-size(((slice 0 0 1100 1600) (image :type png :file
  "/tmp/docview1000/arnold.dvi-b04e9949bb98146d331479915a45fc5b/page-1.png"
  :pointer arrow)))
  image-next-line(36)
  image-scroll-up(nil)
  doc-view-scroll-up-or-next-page()
  call-interactively(doc-view-scroll-up-or-next-page nil nil)



This bug report was last modified 3 years and 308 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.