From: Katsumi Yamaoka <yamaoka@jpl.org>
To: Yuan MEI <yuan.mei@gmail.com>
Cc: bugs@gnus.org, ding@gnus.org, emacs-devel@gnu.org
Subject: Re: Summary Buffer cursor jumps to the center and no proper status update
Date: Thu, 20 Dec 2007 18:47:50 +0900 [thread overview]
Message-ID: <b4mhcidvgs9.fsf@jpl.org> (raw)
In-Reply-To: 86lk7xxw0q.fsf@rice.edu
[-- Attachment #1: Type: text/plain, Size: 2479 bytes --]
(For the ding and the emacs-devel subscribers the whole original
article is attached below.)
>>>>> Yuan MEI wrote:
> Gnus v5.13
> GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.1)
> of 2007-12-14 on may
> 200 aioe.org InterNetNews NNRP server INN 2.4.4 (20060818 snapshot) ready (posting ok).
> As in screenshot
> http://ymei.freeshell.org/1.png
> nnml:m.gentoo-lists is a group with auto expiration (mail which is
> read is marked 'E' automatically). It works well when I do the first
> 2 mails (press Enter on the first one, it is marked as 'E' and the
> cursor jumps to the second one, and press Enter on the second one, the
> second one is marked as 'E' and the cursor jumps to the third one).
> However, when I tried to do the same on the third one, the third one
> is marked as 'E' but the cursor didn't jump to the fourth one but
> jumped to the center of the buffer (the 7th mail). More over, when I
> typed Enter again (on the 7th mail), as in
> http://ymei.freeshell.org/2.png
> the cursor stayed at the 7th mail, and the 7th mail is not marked as
> 'E'.
> And I remember this didn't happen on the unicode branch CVS half a
> year ago. I found this happen after I updated the emacs version of
> unicode branch.
> Also, my .emacs contains
> (setq scroll-step 1
> scroll-margin 3)
> I suspect that this is relevant to the problem, but it worked fine
> with the older version of CVS unicode branch.
Did it really work fine with the older Emacs Unicode-2? Anyway,
I was aware of this problem that happens in the summary buffer
if `scroll-margin' is larger than zero. AFAIK, it arises not
only with Unicode-2 but also with the Emacs trunk and Emacs 22.1.
Strangely, it is necessary to enlarge the summary window up to
some size to reproduce the problem. So, if you try this, also
try enlarging the summary window or the whole frame height
manually. A workaround is here:
*** gnus-sum.el~ Sun Dec 16 21:51:27 2007
--- gnus-sum.el Thu Dec 20 09:45:09 2007
***************
*** 3005,3010 ****
--- 3005,3014 ----
(buffer-disable-undo)
(setq buffer-read-only t ;Disable modification
show-trailing-whitespace nil)
+ ;; FIXME: The value of `scroll-margin' larger than zero makes
+ ;; the summary buffer's maneuvering malfunction.
+ (unless (featurep 'xemacs)
+ (set (make-local-variable 'scroll-margin) 0))
(setq truncate-lines t)
(setq selective-display t)
(setq selective-display-ellipses t) ;Display `...'
[-- Attachment #2: Original Article --]
[-- Type: application/x-gzip, Size: 2563 bytes --]
[-- Attachment #3: Type: text/plain, Size: 85 bytes --]
(I'll be not so active in the net for this year-end and the
year-beginning. Sorry.)
[-- Attachment #4: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
next parent reply other threads:[~2007-12-20 9:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <86lk7xxw0q.fsf@rice.edu>
2007-12-20 9:47 ` Katsumi Yamaoka [this message]
2008-02-29 2:04 ` Summary Buffer cursor jumps to the center and no proper status update Katsumi Yamaoka
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=b4mhcidvgs9.fsf@jpl.org \
--to=yamaoka@jpl.org \
--cc=bugs@gnus.org \
--cc=ding@gnus.org \
--cc=emacs-devel@gnu.org \
--cc=yuan.mei@gmail.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.