* [Patch] fixed gnus-auto-center-summary
@ 2004-05-20 21:27 Danny Siu
0 siblings, 0 replies; only message in thread
From: Danny Siu @ 2004-05-20 21:27 UTC (permalink / raw)
The summary buffer wasn't re-centering itself when moving from article to
article even when gnus-auto-center-summary is t. I have fixed that.
Can someone with cvs write access commit the changes for me?
Thanks,
--
Danny Dick-Fung Siu mailto:dsiu@adobe.com
Advanced Technology Group @ Adobe Systems Incorporated
%CVS% -d %CVS_DARG% -q diff -u -t -b -B -w lisp/ChangeLog lisp/gnus-sum.el
Index: lisp/ChangeLog
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/ChangeLog,v
retrieving revision 7.299
diff -u -t -b -B -w -r7.299 ChangeLog
--- lisp/ChangeLog 20 May 2004 16:13:40 -0000 7.299
+++ lisp/ChangeLog 20 May 2004 19:30:05 -0000
@@ -1,3 +1,8 @@
+2004-05-20 Danny Siu <dsiu@adobe.com>
+
+ * gnus-sum.el (gnus-summary-recenter): Summery buffer was not auto centered
+ even when gnus-auto-center-summary is t
+
2004-05-20 TSUCHIYA Masatoshi <tsuchiya@namazu.org>
* spam.el (spam-mark-spam-as-expired-and-move-routine): Return the
Index: lisp/gnus-sum.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/gnus-sum.el,v
retrieving revision 7.31
diff -u -t -b -B -w -r7.31 gnus-sum.el
--- lisp/gnus-sum.el 20 May 2004 08:02:39 -0000 7.31
+++ lisp/gnus-sum.el 20 May 2004 19:26:27 -0000
@@ -6307,7 +6311,8 @@
((< (window-height) 7) 1)
(t (if (numberp gnus-auto-center-summary)
gnus-auto-center-summary
- 2))))
+ (/ (1- (window-height)) 2))
+ )))
(height (1- (window-height)))
(bottom (save-excursion (goto-char (point-max))
(forward-line (- height))
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-05-20 21:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-20 21:27 [Patch] fixed gnus-auto-center-summary Danny Siu
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).