unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jindrich Makovicka <makovick@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: C mode too slow
Date: Wed, 8 Jun 2011 09:30:59 +0200	[thread overview]
Message-ID: <20110608093059.68293061@holly> (raw)
In-Reply-To: <jwvpqmpxfmq.fsf-monnier+emacs@gnu.org>

On Tue, 07 Jun 2011 22:43:57 -0300
Stefan Monnier <monnier@iro.umontreal.ca> 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	other threads:[~2011-06-08  7:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4DEDC752.7090604@gmx.at>
2011-06-07 12:23 ` C mode too slow Stefan Monnier
2011-06-07 14:12   ` Eli Zaretskii
2011-06-07 17:57     ` Stefan Monnier
2011-06-07 18:45       ` Nikodemus Siivola
2011-06-08  1:42         ` Stefan Monnier
2011-06-07 20:14       ` Eli Zaretskii
2011-06-08  1:43         ` Stefan Monnier
2011-06-08  7:30           ` Jindrich Makovicka [this message]
2011-06-12 20:38 Alan Mackenzie
2011-06-13 14:59 ` Alan Mackenzie
2011-06-20 21:10   ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110608093059.68293061@holly \
    --to=makovick@gmail.com \
    --cc=emacs-devel@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).