From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#7265: 24.0.50; cc-mode: scrolling is slow for large enumerations Date: Sun, 24 Oct 2010 15:39:03 +0000 Message-ID: <20101024153903.GA7323@muc.de> References: <86iq0vxhjv.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1287935013 29339 80.91.229.12 (24 Oct 2010 15:43:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 24 Oct 2010 15:43:33 +0000 (UTC) Cc: 7265@debbugs.gnu.org To: Christoph Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 24 17:43:31 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PA2jI-00054W-J5 for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Oct 2010 17:43:28 +0200 Original-Received: from localhost ([127.0.0.1]:45425 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PA2jG-0001VI-S7 for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Oct 2010 11:43:26 -0400 Original-Received: from [140.186.70.92] (port=33719 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PA2jB-0001V8-2K for bug-gnu-emacs@gnu.org; Sun, 24 Oct 2010 11:43:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PA2ij-0006b4-78 for bug-gnu-emacs@gnu.org; Sun, 24 Oct 2010 11:42:54 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40426) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PA2ih-0006aj-9F; Sun, 24 Oct 2010 11:42:51 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PA2OY-00035p-7z; Sun, 24 Oct 2010 11:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sun, 24 Oct 2010 15:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7265 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 7265-submit@debbugs.gnu.org id=B7265.128793371411883 (code B ref 7265); Sun, 24 Oct 2010 15:22:02 +0000 Original-Received: (at 7265) by debbugs.gnu.org; 24 Oct 2010 15:21:54 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PA2OP-00035c-La for submit@debbugs.gnu.org; Sun, 24 Oct 2010 11:21:53 -0400 Original-Received: from colin.muc.de ([193.149.48.1] helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PA2ON-00035X-D1 for 7265@debbugs.gnu.org; Sun, 24 Oct 2010 11:21:52 -0400 Original-Received: (qmail 55819 invoked by uid 3782); 24 Oct 2010 15:25:49 -0000 Original-Received: from acm.muc.de (pD9E5186F.dip.t-dialin.net [217.229.24.111]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Sun, 24 Oct 2010 17:25:48 +0200 Original-Received: (qmail 7432 invoked by uid 1000); 24 Oct 2010 15:39:04 -0000 Content-Disposition: inline In-Reply-To: <86iq0vxhjv.fsf@gmail.com> User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 24 Oct 2010 11:22:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:41109 Archived-At: Hi, Christof! On Thu, Oct 21, 2010 at 05:16:52PM -0600, Christoph wrote: > Note, this might be related to bug #7264. > Copy the following code in a file.c and open it: > typedef enum > { > MEMBER = _MEMBER, > MEMBER = _MEMBER, > MEMBER = _MEMBER, <~200 "MEMBERS" in total> > MEMBER = _MEMBER > } MyEnum; > Scrolling down with C-v is very slow and on my older machine at work it > takes a second or two for the screen to scroll at all. Alt-v seems work > correcly and is responsive as normal. > I also noticed that once I have scrolled through the file once, then go > back to the beginning and scroll with C-v again, it seems to work as > normal. > This problem does not occur in Emacs 23.2, where on the same machine at > work the scrolling is snappy as expected and there is no noticable delay. I've just committed a patch to fix this. I'd be grateful if you could play with it a little, and confirm it's OK or report any misfeatures the change might have introduced. Note that this patch doesn't fix bug #7264 (fontification only partly done). That's a tad more complicated. ;-( > In GNU Emacs 24.0.50.1 (i386-mingw-nt6.1.7600) > of 2010-10-21 on MARVIN Thanks for taking the trouble to report these two bugs. -- Alan Mackenzie (Nuremberg, Germany).