From: Alan Mackenzie <acm@muc.de>
To: 7265-done@debbugs.gnu.org
Subject: bug#7265: 24.0.50; cc-mode: scrolling is slow for large enumerations
Date: Sat, 30 Oct 2010 21:11:07 +0000 [thread overview]
Message-ID: <20101030211107.GB3232__19953.5267930061$1288473226$gmane$org@muc.de> (raw)
In-Reply-To: <86iq0vxhjv.fsf@gmail.com>
The bug has been fixed.
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,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> MEMBER = _MEMBER,
> 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.
>
>
>
> In GNU Emacs 24.0.50.1 (i386-mingw-nt6.1.7600)
> of 2010-10-21 on MARVIN
> Windowing system distributor `Microsoft Corp.', version 6.1.7600
> configured using `configure --with-gcc (4.5) --cflags -IC:/Progra~2/GnuWin32/include -ID:/devel/emacs/libXpm-3.5.8/include -ID:/devel/emacs/libXpm-3.5.8/src'
>
> Important settings:
> value of $LC_ALL: nil
> value of $LC_COLLATE: nil
> value of $LC_CTYPE: nil
> value of $LC_MESSAGES: nil
> value of $LC_MONETARY: nil
> value of $LC_NUMERIC: nil
> value of $LC_TIME: nil
> value of $LANG: ENU
> value of $XMODIFIERS: nil
> locale-coding-system: cp1252
> default enable-multibyte-characters: t
>
> Major mode: C/l
>
> Minor modes in effect:
> ido-everywhere: t
> yas/global-mode: t
> yas/minor-mode: t
> global-auto-revert-mode: t
> tooltip-mode: t
> mouse-wheel-mode: t
> file-name-shadow-mode: t
> global-font-lock-mode: t
> font-lock-mode: t
> blink-cursor-mode: t
> auto-composition-mode: t
> auto-encryption-mode: t
> auto-compression-mode: t
> size-indication-mode: t
> column-number-mode: t
> line-number-mode: t
> abbrev-mode: t
>
> Recent input:
> <down> <down> <down> <down> <down> <down> <down> <down>
> <down> <down> <down> <down> <down> <down> <down> <down>
> <down> <down> <down> <down> <down> <down> <down> <down>
> <down> <down> <down> <down> <down> <down> <down> <down>
> <down> <down> <down> <down> <down> <down> <down> <down>
> <down> <down> <down> <down> <down> <down> <down> <prior>
> <prior> <prior> <prior> <prior> <prior> <prior> <prior>
> <prior> <next> <next> <next> <next> <next> <next> <next>
> <next> <next> <next> <up> <up> <up> <up> <up> <up>
> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
> <up> <up> <down> <down> <down> <down> <down> <down>
> C-k C-k C-k <down> <down> <down> <down> <return> <backspace>
> <backspace> <up> <up> <up> <C-left> <C-left> <C-left>
> <C-left> <C-right> <C-right> <C-right> <C-right> <C-right>
> SPC o n SPC m y SPC m a c h i n e <backspace> <backspace>
> <backspace> <backspace> <backspace> <backspace> <backspace>
> <backspace> <backspace> <backspace> <backspace> <backspace>
> <backspace> <backspace> <down> <right> <right> <right>
> <right> <right> <right> SPC C l o s i n g SPC t h e
> SPC <backspace> <backspace> <backspace> <backspace>
> <backspace> <backspace> <backspace> <backspace> <backspace>
> <backspace> <backspace> <backspace> A l s o , SPC <backspace>
> <backspace> <backspace> <backspace> <backspace> <backspace>
> <down> <down> <return> <up> <right> <right> <right>
> <right> <right> <right> <right> <right> <right> <right>
> <right> <right> <right> <right> <right> <right> <right>
> <right> <right> <right> <right> <right> <right> <right>
> <right> <right> <right> <right> <right> <right> <right>
> <right> <right> <right> SPC a n d SPC a l l SPC e n
> u m e r a t i o n SPC m e m b e r SPC a <backspace>
> <backspace> e <backspace> s SPC a r e SPC c o r r e
> c t l y SPC f o n t i f i e d . C-c C-c y e s <return>
> C-x RET r e p o t <backspace> r t <tab> <return>
>
> Recent messages:
> Mark set
> Auto-saving...done
> Mark set
> Mark activated
> Auto-saving...done
> Auto-saving...done
> Auto-saving...done
> Sending...
> Sending via mail...
> Sending...done
>
> Load-path shadows:
> d:/devel/emacs/emacs-bzr/trunk/lisp/emacs-lisp/lmenu hides d:/devel/emacs/emacs-bzr/trunk/lisp/obsolete/lmenu
> d:/devel/emacs/emacs-bzr/trunk/lisp/emacs-lisp/cl-compat hides d:/devel/emacs/emacs-bzr/trunk/lisp/obsolete/cl-compat
>
> Features:
> (rect newcomment help-mode view shadow sort gnus-util mail-extr message
> rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
> rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils
> gmm-utils mailheader emacsbug server js2-mode-autoloads
> rainbow-mode-autoloads finder-inf package re-builder dired+ dired-x
> ediff-merg ediff-diff ediff-wind ediff-mult ediff-help ediff-init
> ediff-util dired-aux ibuffer nav nav-tags python-21 python nav-bufs
> anything-config warnings browse-url semantic/util-modes semantic/util
> semantic semantic/tag semantic/lex semantic/fw loaddefs eieio byte-opt
> bytecomp byte-compile mode-local cedet imenu bookmark pp dired rx ffap
> thingatpt anything google-c-style cc-mode cc-fonts cc-menus cc-cmds
> cc-styles cc-align cc-engine cc-vars cc-defs grep-o-matic grep compile
> comint browse-kill-ring+ browse-kill-ring second-sel ido yasnippet
> dropdown-list derived easy-mmode assoc etags-table etags ring remember
> zenburn color-theme edmacro kmacro wid-edit cl sendmail regexp-opt
> reporter easymenu uniquify advice help-fns advice-preload autorevert
> tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table
> ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode
> register page menu-bar rfn-eshadow timer select scroll-bar mouse
> jit-lock font-lock syntax facemenu font-core frame cham georgian
> utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
> japanese hebrew greek romanian slovak czech european ethiopic indian
> cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
> button minibuffer faces cus-face files text-properties overlay md5
> base64 format env code-pages mule custom widget hashtable-print-readable
> backquote make-network-process multi-tty emacs)
>
>
>
prev parent reply other threads:[~2010-10-30 21:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-21 23:16 bug#7265: 24.0.50; cc-mode: scrolling is slow for large enumerations Christoph
2010-10-24 15:39 ` Alan Mackenzie
2010-10-25 21:47 ` Christoph
2010-10-30 21:11 ` Alan Mackenzie [this message]
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='20101030211107.GB3232__19953.5267930061$1288473226$gmane$org@muc.de' \
--to=acm@muc.de \
--cc=7265-done@debbugs.gnu.org \
/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.