all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Simon Josefsson <jas@extundo.com>
Subject: font-lock latency
Date: Mon, 02 Sep 2002 23:50:01 +0200	[thread overview]
Message-ID: <ilu7ki4giye.fsf@latte.josefsson.org> (raw)

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.2.1 (i386-debian-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2002-03-22 on raven, modified by Debian
configured using `configure  i386-debian-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --with-x=yes --with-x-toolkit=athena --without-gif'
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: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

This has really started to annoy me, and isn't fixed in CVS, so I'm
reporting it.  I did not investigate the causes so this may be known,
but I didn't find anything in PROBLEMS.  It doesn't happen in Emacs 20
or Emacs 19.

$ emacs -q --no-site-file foo.c
M-x font-lock-mode RET

change the line

#include "foo.h"

into

#include "foo.

and wait a couple of seconds.  Then add the " back.  Font locking in
the buffer is now messed up and the only way to restore it is to wait
a couple of seconds again.

I find myself wasting many seconds each day staring at the screen
waiting for it to redisplay. ;-)

Is there a workaround?  Ideally I think this should not be present at
all by default.  IMHO, highlighting of unterminated strings should be
disabled if this can't be fixed properly.

foo.c looks like:

#include "foo.h"

int
main()
{
  int i;
  for (i=0;i<42;i++)
    puts("foo");
  return i;
}


Recent input:
<down-mouse-5> <mouse-5> <double-down-mouse-5> <double-mouse-5> 
<down-mouse-5> <mouse-5> <down-mouse-1> <mouse-1> <down-mouse-5> 
<mouse-5> <double-down-mouse-5> <double-mouse-5> <triple-down-mouse-5> 
<triple-mouse-5> <triple-down-mouse-5> <triple-mouse-5> 
<down-mouse-1> <mouse-1> M-x f o n t - o c <backspace> 
<backspace> l o c k - m o d e <return> <down-mouse-1> 
<mouse-1> <backspace> SPC f o o " C-_ C-_ M-x r e p 
o r <tab> e <backspace> <return>

Recent messages:
Loading image...done
Loading tooltip...done
For information about the GNU Project and its goals, type C-h C-p.
Loading cc-mode...done
Loading font-lock...
Loading regexp-opt...done
Loading font-lock...done
Font-Lock mode enabled
Undo! [2 times]
Loading emacsbug...done

             reply	other threads:[~2002-09-02 21:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-02 21:50 Simon Josefsson [this message]
2002-09-03  5:01 ` font-lock latency Eli Zaretskii
2002-09-03 10:21   ` Simon Josefsson
2002-09-03 16:17     ` Eli Zaretskii
2002-09-03 16:41       ` Simon Josefsson
2002-09-05  2:47         ` Richard Stallman
2002-09-05  3:58           ` Simon Josefsson
2002-09-09  1:33             ` Simon Josefsson

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=ilu7ki4giye.fsf@latte.josefsson.org \
    --to=jas@extundo.com \
    /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.