all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Syntax Highlighting is toooo slow
@ 2005-08-03  9:07 Steven Woody
  2005-08-03 12:49 ` J. David Boyd
       [not found] ` <mailman.2447.1123075301.20277.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 6+ messages in thread
From: Steven Woody @ 2005-08-03  9:07 UTC (permalink / raw



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?

-- 
steven woody (id: narke)

Jesse: You want to know why I wrote that stupid book?
Celine: Why?
Jesse: So that you might come to a reading in Paris and I could walk
up to you and ask, "Where the fuck were you?"
Celine: [laughing] No - you thought I'd be here today?
Jesse: I'm serious. I think I wrote it, in a way, to try to find you.
Celine: Okay, that's - I know that's not true, but that's sweet of you
to say.
Jesse: I think it is true. 

	- Before Sunset (2004)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Syntax Highlighting is toooo slow
  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>
  1 sibling, 0 replies; 6+ messages in thread
From: J. David Boyd @ 2005-08-03 12:49 UTC (permalink / raw


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...

Dave

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Syntax Highlighting is toooo slow
       [not found] ` <mailman.2447.1123075301.20277.help-gnu-emacs@gnu.org>
@ 2005-08-03 17:19   ` Steven Woody
  2005-08-04  3:52     ` Joe Corneli
       [not found]     ` <mailman.2524.1123128097.20277.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 6+ messages in thread
From: Steven Woody @ 2005-08-03 17:19 UTC (permalink / raw


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)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Syntax Highlighting is toooo slow
  2005-08-03 17:19   ` Steven Woody
@ 2005-08-04  3:52     ` Joe Corneli
       [not found]     ` <mailman.2524.1123128097.20277.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 6+ messages in thread
From: Joe Corneli @ 2005-08-04  3:52 UTC (permalink / raw


BTW, youur sig file is tooo long.  Edited version below.

--
/narke "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." - Before Sunset (2004)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Syntax Highlighting is toooo slow
       [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
  0 siblings, 1 reply; 6+ messages in thread
From: Steven Woody @ 2005-08-04 10:30 UTC (permalink / raw


Joe Corneli <jcorneli@math.utexas.edu> writes:

> BTW, youur sig file is tooo long.  Edited version below.
>
> --
> /narke "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." - Before Sunset (2004)

thanks :) but that's not the full story ...

>
>
>
>
>

-- 
steven woody (id: narke)

Virginia Woolf: Someone has to die Leonard, in order that the rest of
us should value our life more.

	- The Hours (2002)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Syntax Highlighting is toooo slow
  2005-08-04 10:30       ` Steven Woody
@ 2005-08-04 15:34         ` Joe Corneli
  0 siblings, 0 replies; 6+ messages in thread
From: Joe Corneli @ 2005-08-04 15:34 UTC (permalink / raw



   thanks :) but that's not the full story ...

It almost never is.  Savor that.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-08-04 15:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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.