Gnus development mailing list
 help / color / mirror / Atom feed
From: Danny Siu <dsiu@adobe.com>
Subject: [Patch] fixed gnus-auto-center-summary
Date: Thu, 20 May 2004 14:27:00 -0700	[thread overview]
Message-ID: <u8yfmx00r.fsf@adobe.com> (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))





                 reply	other threads:[~2004-05-20 21:27 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=u8yfmx00r.fsf@adobe.com \
    --to=dsiu@adobe.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).