Oh. Well, I have yet to see anything that makes a difference to
indentation if I turn off font lock. The one reproducible recipe I
On my 5000 line java file, indentation of the body of the last function
takes about 15s whether font-lock is on or off.
have with a really clear difference (in TraverseSchema.java from
Xerces, splitting line 8942, the declaration of reportSchemaError,
after the comma, "good" is 14 seconds, "bad" is 65 seconds) shows no
difference unless I enable fontification of large files. Then
toggling either lookup-syntax-properties or font-lock-mode gives a big
win on newline-and-indent.
You mean it gets better when font-lock is turned on? That seems weird.
Interestingly enough, deletion of the whitespace is invariably much
less costly (never more than about 2 seconds, although subjectively it
seems slower when font-lock is active).
2 seconds per character deletion is waaaaaaaay too costly. That's the
problem - XEmacs becomes pretty much unusable at the bottom of a largish
Java file. Even at the bottom of a 1500 line file its too slow for comfort.
"Type-ahead" takes on a whole new perspective.
Nostalgic though - reminds me of when I ran XEmacs on a 33Mhz 486 with Linux
1.x. And no quips about PDP-11's or punchcards, its called progress.
andy