unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Steven Woody <anti-spam.narkewoody@gmail.com.dont-post-to>
Subject: Re: Syntax Highlighting is toooo slow
Date: Thu, 04 Aug 2005 01:19:00 +0800	[thread overview]
Message-ID: <87acjzaqgr.fsf@narke.yellow.line> (raw)
In-Reply-To: mailman.2447.1123075301.20277.help-gnu-emacs@gnu.org

david@adboyd.com (J. David Boyd) writes:

> Steven Woody <anti-spam.narkewoody@gmail.com.dont-post-to> writes:
>
>> in varity of programming modes such as c-abbrev, c++-mode syntax
>> highlighting is a kind friend.  but i found these days that my syntax
>> highting act too slow to make feeling good. it is always when i type in the
>> last half of the code, the first half of code got colored correctly.  what's
>> the problem?
>>
>
>
> Are you using the ctypes functions, and have you defined many of your own
> types?  I've had that slow me down some...

no! i tried a very simple test:

,----
| int main(void) {
|     int i = 0;
|     char *abc = "hello, world";
| 
|     while (i < 100)
| 	i++;
| 
|     exit(0);
| }
`----

after i from scatch input all the code above, there is no any color. then i
close the file and re-open it. the color comes up. :(

-- 
steven woody (id: narke)

Jesse: I heard this story once about when the Germans were occupying
Paris and they had to retreat back. They wired Notre Dame to blow,
but they had to leave one guy in charge of hitting the switch. And
the guy, the soldier, he couldn't do it. You know, he just sat
there, knocked out by how beautiful the place was. And then when
the allied troops came in, they found all the explosives just
lying there and the switch unturned, and they found the same thing
at Sacre Couer, Eiffel Tower. Couple other places I think...
Celine: Is that true?
Jesse: I don't know. I always liked the story, though. 

	- Before Sunset (2004)

  parent reply	other threads:[~2005-08-03 17:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-03  9:07 Syntax Highlighting is toooo slow Steven Woody
2005-08-03 12:49 ` J. David Boyd
     [not found] ` <mailman.2447.1123075301.20277.help-gnu-emacs@gnu.org>
2005-08-03 17:19   ` Steven Woody [this message]
2005-08-04  3:52     ` Joe Corneli
     [not found]     ` <mailman.2524.1123128097.20277.help-gnu-emacs@gnu.org>
2005-08-04 10:30       ` Steven Woody
2005-08-04 15:34         ` Joe Corneli

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=87acjzaqgr.fsf@narke.yellow.line \
    --to=anti-spam.narkewoody@gmail.com.dont-post-to \
    /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.
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).