From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/25496 Path: main.gmane.org!not-for-mail From: Shenghuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-auto-center-summary off-center Date: 28 Sep 1999 02:10:08 -0400 Organization: U of Rochester Sender: owner-ding@hpc.uh.edu Message-ID: <2n3dvzefcv.fsf@tiger.jia.vnet> References: <5bln9wvwfu.fsf@giga.cs.rochester.edu> <2nln9rj0d7.fsf@tiger.jia.vnet> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035162870 14248 80.91.224.250 (21 Oct 2002 01:14:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:14:30 +0000 (UTC) Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id CAA12703 for ; Tue, 28 Sep 1999 02:09:03 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id BAB07647; Tue, 28 Sep 1999 01:08:37 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 28 Sep 1999 01:08:33 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id BAA00013 for ; Tue, 28 Sep 1999 01:08:22 -0500 (CDT) Original-Received: from cayuga.cs.rochester.edu (cayuga.cs.rochester.edu [192.5.53.209]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id CAA12698 for ; Tue, 28 Sep 1999 02:06:20 -0400 (EDT) Original-Received: from heart.cs.rochester.edu (heart.cs.rochester.edu [192.5.53.109]) by cayuga.cs.rochester.edu (8.9.3/Q) with ESMTP id CAA14585 for ; Tue, 28 Sep 1999 02:06:16 -0400 (EDT) Original-Received: (from zsh@localhost) by heart.cs.rochester.edu (8.9.3/8.9.3) id CAA03646; Tue, 28 Sep 1999 02:10:09 -0400 Original-To: Gnus Mailing List X-Attribution: ZSH X-Face: 'IF:e51ib'Qbl^(}l^&4-J`'P!@[4~O|&k#:@Gld#b/]oMq&`&FVY._3+b`mzp~Jeve~/#/ ERD!OTe<86UhyN=l`mrPY)M7_}`Ktt\K+58Z!hu7>qU,i.N7TotU[FYE(f1;}`g2xj!u*l`^&=Q!g{ *q|ddto|nkt"$r,K$[)"|6,elPH= GJ6Q In-Reply-To: Stainless Steel Rat's message of "27 Sep 1999 22:22:08 -0400" Original-Lines: 33 User-Agent: Gnus/5.07009701 (Pterodactyl Gnus v0.97.1) XEmacs/21.2 (Shinjuku) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:25496 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:25496 >>>>> "Rat" == Stainless Steel Rat writes: Rat> What I think is happening is that the mode line bezel makes the Rat> mode line "taller" than a line of text. XEmacs laps the bezel Rat> over the buffer text, producing your "half-chopped-off line". Rat> This is not a bug, it is normal and correct behaviour for XEmacs. Rat> When you select the last message in the summary buffer, XEmacs Rat> scrolls up the entire window by 1 line so that the full text of Rat> the line is displayed without being cropped. Rat> What happens if you reduce the size of the mode line bezel to 0 Rat> with `(set-specifier modeline-shadow-thickness 0)'? This will Rat> make XEmacs' mode lines look like FSF Emacs mode lines and should Rat> make the cropping problem go away. Rat> I normally use XEmacs without mode line bezels. Your "fix" Rat> really screws up the display, I am sorry to say. Unfortunately, it is not the case. The mode line bezel does not make Gnus get wrong answer. In XEmacs, Gnus use `window-displayed-height' to calculate the height of the window. I guess `window-displayed-height' has count the thickness of the mode line bezel. And I never said it is a bug of XEmacs. But, it is the *displayed* height. When Gnus scrolls the summary lines, some lines leaves the windows, and other lines enter. Then the window-displayed-height may change, since the font size of lines may be different. In the case that the last line is the current line, Gnus may scroll it half-chopped-off or even out of the window. This is the bug I tried to fix. -- Shenghuo ZHU