From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66402 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: Summary Buffer cursor jumps to the center and no proper status update Date: Fri, 29 Feb 2008 11:04:25 +0900 Organization: Emacsen advocacy group Message-ID: References: <86lk7xxw0q.fsf@rice.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204250769 32572 80.91.229.12 (29 Feb 2008 02:06:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Feb 2008 02:06:09 +0000 (UTC) Cc: bugs@gnus.org, ding@gnus.org, emacs-devel@gnu.org To: Yuan MEI Original-X-From: ding-owner+M14893@lists.math.uh.edu Fri Feb 29 03:06:33 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1JUuds-0006ZS-2P for ding-account@gmane.org; Fri, 29 Feb 2008 03:06:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1JUucj-0003eX-Dc; Thu, 28 Feb 2008 20:05:21 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1JUuch-0003eA-MV for ding@lists.math.uh.edu; Thu, 28 Feb 2008 20:05:19 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1JUuca-0002jp-Rn for ding@lists.math.uh.edu; Thu, 28 Feb 2008 20:05:19 -0600 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1JUucg-0006NU-00; Fri, 29 Feb 2008 03:05:18 +0100 Original-Received: from [66.225.201.151] (port=55214 helo=mail.jpl.org) by orlando.hostforweb.net with esmtpa (Exim 4.68) (envelope-from ) id 1JUuc0-0006un-AJ; Thu, 28 Feb 2008 20:04:37 -0600 X-Hashcash: 1:20:080229:yuan.mei@gmail.com::NEKWybs1mNJgPyAI:00000000000000000000000000000000000000000000rlV X-Hashcash: 1:20:080229:bugs@gnus.org::yooVW5TDUhGhWy8J:00003LBQ X-Hashcash: 1:20:080229:ding@gnus.org::/+MbSmCpPGnl7UsY:00000LvM X-Hashcash: 1:20:080229:emacs-devel@gnu.org::Vi0IUf5HwxtplMQe:0000000000000000000000000000000000000000006DAv X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:LOm8UPjrUxRg3zXK8tLUpEQuuCs= X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -2.5 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:66402 gmane.emacs.devel:90810 Archived-At: >>>>> Yuan MEI wrote: > Hi, > This really works for me, why don't you put it into CVS trunk? > Thank you Why I haven't installed the change into Gnus is because I doubt it is due to a bug of Emacs 22 and greater, not that of Gnus, i.e., the change is no more than a workaround. Actually it doesn't happen in Emacs 21.4. Could someone please look into it? The problem is, in short, that the cursor in the Gnus summary buffer jumps to a subject line that is not for the article being displayed just after selecting the article by the `g' command, if `scroll-margin' is a non-zero value (actually it is 3). You may need to have many articles in threads and to expand the summary window to a certain height. Thanks in advance. > On Thu, Dec 20, 2007 at 3:47 AM, Katsumi Yamaoka wrote: >> (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 `...' >> >> >> (I'll be not so active in the net for this year-end and the >> year-beginning. Sorry.) > -- > Yuan MEI