From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Image display problems in Gnus Date: Wed, 13 Sep 2006 16:40:40 +0200 Message-ID: References: <85hczbj1a3.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1158158536 24422 80.91.229.2 (13 Sep 2006 14:42:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Sep 2006 14:42:16 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 13 16:42:15 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GNVwA-0004tj-JF for ged-emacs-devel@m.gmane.org; Wed, 13 Sep 2006 16:42:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GNVw9-0001I3-TJ for ged-emacs-devel@m.gmane.org; Wed, 13 Sep 2006 10:42:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GNVvy-0001Gh-RY for emacs-devel@gnu.org; Wed, 13 Sep 2006 10:41:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GNVvx-0001Eg-Px for emacs-devel@gnu.org; Wed, 13 Sep 2006 10:41:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GNVvx-0001ED-L4 for emacs-devel@gnu.org; Wed, 13 Sep 2006 10:41:49 -0400 Original-Received: from [195.41.46.237] (helo=pfepc.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GNVxf-0006x1-BB; Wed, 13 Sep 2006 10:43:35 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (unknown [80.165.4.124]) by pfepc.post.tele.dk (Postfix) with SMTP id 844058A0010; Wed, 13 Sep 2006 16:41:44 +0200 (CEST) Original-To: David Kastrup In-Reply-To: <85hczbj1a3.fsf@lola.goethe.zz> (David Kastrup's message of "Wed\, 13 Sep 2006 16\:20\:52 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:59772 Archived-At: David Kastrup writes: Ref: [Reiner Steib] [AUCTeX-devel] toolbar-x.el modifies global value of `tool-bar-map' > Ok, this mail behaves _really_ weird with regard to images. Hopefully > you are using gnus as a mail reader (and the geometry is suitable > similar to mine). I don't see the problem, but perhaps it is because your signature was appended to the original mail. However, I know there is a problem with images at the end of a message in Gnus article buffers! It is somehow related to the image being shown as part of an overlay on the last newline character in the buffer (or some such), followed by another overlay covering the rest of the article (the signature). I didn't quite figure out what Gnus does though. This causese problems for the redisplay engine when it tries to figure out where to display the cursor -- and it ends up displaying it at some position which is not visible in the window. This triggers the recenting code in redisplay which wants the cursor position to be displayed in the window. But this still results in the cursor in some invalid position.... .. and finally, the redisplay has some code which catches this anomaly and displays the cursor in the upper left corner of the window instead. I've been trying hard to find a way to fix that, but as I said in my message about the recent fixes to improve image scrolling, it works for "normal images" ... and I should have added under "normal circumstances". I think this may be easier to fix this in Gnus than in redisplay!! -- Kim F. Storm http://www.cua.dk