From: Lloyd Zusman <ljz@asfast.com>
Subject: [PATCH] gnus-summary-auto-center in gnus-xmas.el
Date: 13 Dec 1998 01:25:27 -0500 [thread overview]
Message-ID: <ltemq4a78o.fsf@asfast.com> (raw)
In one of the fairly recent pgnus upgrades, Lars made a change in the
`gnus-summary-recenter' routine to allow the use of an optional
numeric value for the `gnus-summary-auto-center' variable.
It seems that the corresponding change also has to be made in
`gnus-xmas.el' in the `gnus-xmas-summary-recenter' routine. The
enclosed patch to pgnus-0.65 takes care of this case.
*** gnus-xmas.el.orig Sun Dec 13 01:12:54 1998
--- gnus-xmas.el Sun Dec 13 01:12:55 1998
***************
*** 181,187 ****
(- (window-height) 2)))
(top (cond ((< height 4) 0)
((< height 7) 1)
! (t 2)))
(bottom (save-excursion (goto-char (point-max))
(forward-line (- height))
(point)))
--- 181,189 ----
(- (window-height) 2)))
(top (cond ((< height 4) 0)
((< height 7) 1)
! (t (if (numberp gnus-auto-center-summary)
! gnus-auto-center-summary
! 2))))
(bottom (save-excursion (goto-char (point-max))
(forward-line (- height))
(point)))
--
Lloyd Zusman
ljz@asfast.com
reply other threads:[~1998-12-13 6:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=ltemq4a78o.fsf@asfast.com \
--to=ljz@asfast.com \
/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).