emacs-devel
[Top][All Lists]
Advanced

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

Re: C mode too slow


From: Jindrich Makovicka
Subject: Re: C mode too slow
Date: Wed, 8 Jun 2011 09:30:59 +0200

On Tue, 07 Jun 2011 22:43:57 -0300
Stefan Monnier <address@hidden> wrote:

> >> >> > _and_ because editing lisp.h is virtually impossible these
> >> >> > days. I have to use an old Emacs - almost each editing step
> >> >> > takes about 15 secs here with the more recent Emacs
> >> >> > versions :-(
> >> >> I tend to find editing code such as lisp.h too slow as well.
> >> >> Can we do something about it?
> >> > Disable font-lock?
> >> I'd rather not have to resort to such a workaround.
> > I didn't mean that as a workaround.  I meant to point out what I
> > thought was the reason for the slowdown.
> 
> Oh, yes, it does seem strongly linked to font-lock.  There might be
> some other ways to trigger the slowness, but usually if I disable
> font-lock it's pretty responsive.

I set jit-lock-defer-time to 0.2, so the font locking at least doesn't
interfere with cursor motion (on 2.67GHz Core-i5). Makes Emacs a lot
more responsive.

-- 
Jindrich Makovicka





reply via email to

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