From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.bugs Subject: bug#4016: Acknowledgement (23.1.50; docview: scrolling up breaks after setting a slice) Date: Mon, 03 Aug 2009 08:46:27 +0200 Message-ID: <87d47dpf7g.fsf@thinkpad.tsdh.de> References: Reply-To: Tassilo Horn , 4016@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1249283231 19618 80.91.229.12 (3 Aug 2009 07:07:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Aug 2009 07:07:11 +0000 (UTC) Cc: 4016@emacsbugs.donarmstrong.com To: Paer Kurlberg Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 03 09:07:04 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MXrdO-0004uq-Gx for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Aug 2009 09:07:03 +0200 Original-Received: from localhost ([127.0.0.1]:48524 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXrdO-0002nz-1U for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Aug 2009 03:07:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXrdI-0002n5-Hg for bug-gnu-emacs@gnu.org; Mon, 03 Aug 2009 03:06:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXrdD-0002hb-4e for bug-gnu-emacs@gnu.org; Mon, 03 Aug 2009 03:06:55 -0400 Original-Received: from [199.232.76.173] (port=39286 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXrdD-0002hY-0k for bug-gnu-emacs@gnu.org; Mon, 03 Aug 2009 03:06:51 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:19987) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MXrdC-0004zv-Bf for bug-gnu-emacs@gnu.org; Mon, 03 Aug 2009 03:06:50 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MXrdB-0000Uy-Dc for bug-gnu-emacs@gnu.org; Mon, 03 Aug 2009 03:06:49 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7376kDE025399; Mon, 3 Aug 2009 00:06:47 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n736t7U4023637; Sun, 2 Aug 2009 23:55:07 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Tassilo Horn Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 03 Aug 2009 06:55:07 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4016 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4016-submit@emacsbugs.donarmstrong.com id=B4016.124928198623077 (code B ref 4016); Mon, 03 Aug 2009 06:55:07 +0000 Original-Received: (at 4016) by emacsbugs.donarmstrong.com; 3 Aug 2009 06:46:26 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from deliver.uni-koblenz.de (deliver.uni-koblenz.de [141.26.64.15]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n736kL2r023070 for <4016@emacsbugs.donarmstrong.com>; Sun, 2 Aug 2009 23:46:22 -0700 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id EEFB378A131F; Mon, 3 Aug 2009 08:46:19 +0200 (CEST) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23352-06; Mon, 3 Aug 2009 08:46:18 +0200 (CEST) X-CHKRCPT: Envelopesender vrfy tassilo@member.fsf.org Original-Received: from thinkpad.tsdh.de (unknown [141.26.94.22]) by deliver.uni-koblenz.de (Postfix) with ESMTP id A44A878A1318; Mon, 3 Aug 2009 08:46:18 +0200 (CEST) In-Reply-To: (Paer Kurlberg's message of "Sun, 02 Aug 2009 18:08:21 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-Virus-Scanned: amavisd-new at uni-koblenz.de X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Resent-Date: Mon, 03 Aug 2009 03:06:55 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:29826 Archived-At: Paer Kurlberg writes: > 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. I can reproduce the error. But I'm not too sure where the bug is located. According to the docs, the display property may be a single display spec, or a list or vector of such. ,----[ (info "(elisp)Display Property") ] | The value of the `display' property should be a display specification, | or a list or vector containing several display specifications. `---- So in that respect the slice + image spec are ok. I think that maybe the C function int valid_image_p (object) Lisp_Object object; in image.c should be adapted to accept lists/vectors including one image spec. Bye, Tassilo