Gnus development mailing list
 help / color / mirror / Atom feed
From: Stainless Steel Rat <ratinox@peorth.gweep.net>
Subject: Re: gnus-auto-center-summary off-center
Date: Tue, 28 Sep 1999 10:46:38 -0400	[thread overview]
Message-ID: <99Sep28.104828edt.115208@gateway.intersys.com> (raw)
In-Reply-To: Shenghuo ZHU's message of "28 Sep 1999 02:10:08 -0400"

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

* Shenghuo ZHU <zsh@cs.rochester.edu>  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 <ratinox@peorth.gweep.net>    \ 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.



  reply	other threads:[~1999-09-28 14:46 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-20  2:54 Stainless Steel Rat
1999-08-28  1:03 ` Stainless Steel Rat
1999-09-24 18:33   ` Lars Magne Ingebrigtsen
1999-09-24 20:39     ` Stainless Steel Rat
1999-09-24 21:20       ` Shenghuo ZHU
1999-09-24 23:36         ` Stainless Steel Rat
1999-09-25  5:23           ` Shenghuo ZHU
1999-09-25 10:16         ` Lars Magne Ingebrigtsen
1999-09-28  1:22           ` Shenghuo ZHU
1999-09-28  2:22             ` Stainless Steel Rat
1999-09-28  2:49               ` Stainless Steel Rat
1999-09-28  6:10               ` Shenghuo ZHU
1999-09-28 14:46                 ` Stainless Steel Rat [this message]
1999-09-29  8:59             ` Jan Vroonhof
1999-09-29 16:44               ` Stainless Steel Rat
1999-11-05 22:58               ` Lars Magne Ingebrigtsen
1999-09-30 10:52             ` Jan Vroonhof
1999-09-30 18:44               ` Stainless Steel Rat
1999-10-01 12:45             ` Jan Vroonhof
1999-09-26 18:19         ` Shenghuo ZHU

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=99Sep28.104828edt.115208@gateway.intersys.com \
    --to=ratinox@peorth.gweep.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).