[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#7265: 24.0.50; cc-mode: scrolling is slow for large enumerations

From: Alan Mackenzie
Subject: bug#7265: 24.0.50; cc-mode: scrolling is slow for large enumerations
Date: Sun, 24 Oct 2010 15:39:03 +0000
User-agent: Mutt/1.5.9i

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
>   {

     <~200 "MEMBERS" in total>

>   } 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 (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).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]