From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/25508 Path: main.gmane.org!not-for-mail From: Stainless Steel Rat Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-auto-center-summary off-center Date: Tue, 28 Sep 1999 10:46:38 -0400 Organization: The Happy Fun Ball Brigade Sender: owner-ding@hpc.uh.edu Message-ID: <99Sep28.104828edt.115208@gateway.intersys.com> References: <5bln9wvwfu.fsf@giga.cs.rochester.edu> <2nln9rj0d7.fsf@tiger.jia.vnet> <2n3dvzefcv.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 1035162880 14317 80.91.224.250 (21 Oct 2002 01:14:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:14:40 +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 KAA16621 for ; Tue, 28 Sep 1999 10:50:23 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id JAB08409; Tue, 28 Sep 1999 09:49:15 -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 09:49:42 -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 JAA08546 for ; Tue, 28 Sep 1999 09:49:33 -0500 (CDT) Original-Received: from intersys.com (gateway.intersys.com [198.133.74.253]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id KAA16530 for ; Tue, 28 Sep 1999 10:47:31 -0400 (EDT) Original-Received: by gateway.intersys.com id <115208>; Tue, 28 Sep 1999 10:48:28 -0400 Original-To: "(ding)" X-Attribution: Rat In-Reply-To: Shenghuo ZHU's message of "28 Sep 1999 02:10:08 -0400" Original-Lines: 31 User-Agent: Gnus/5.070097 (Pterodactyl Gnus v0.97) XEmacs/20.4 (Emerald) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:25508 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:25508 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 * Shenghuo ZHU on Tue, 28 Sep 1999 | 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. This is not actually a bug, per se. It is a side effect of counting lines where the size of a line is not a constant. How about this: when a message is selected, compare window-displayed-height to window-height. If they differ significantly enough, shrink or enlarge the summary buffer window so that it displays the correct number of summary lines. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.0 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE38NTOgl+vIlSVSNkRAsqMAKC7ZDA+H/S3v1ZUM7813DgwNCy23ACdFp8i 309RKFnA14w2A/5gDfmR8P0= =tieA -----END PGP SIGNATURE----- -- Rat \ When not in use, Happy Fun Ball should be Minion of Nathan - Nathan says Hi! \ returned to its special container and PGP Key: at a key server near you! \ kept under refrigeration.