help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Editing large files usin Emacs 21.2


From: SENTHIL S
Subject: Editing large files usin Emacs 21.2
Date: Wed, 16 Mar 2005 20:54:20 -0800 (PST)

Hello,

The editor hangs when browsing thru large verilog
files
say 40,000 lines.I saw thru the known bugs and found
the below ... But it doesnt help .. 

Plz help me out with a solution .. 

The version is 21.2 and the machine UltraSPARC-IIIi
OS - SUN5.9
Thanks


* Font Lock displays portions of the bufefr in
incorrect faces.

By far the most frequent cause of this is a
parenthesis `(' or a brace
`{' in column zero.  Font Lock assumes that such a
paren is outside of
any comment or string.  This is of course not true in
general, but the
vast majority of well-formatted program source files
don't have such
parens, and therefore this assumption is used to allow
optimizations
in Font Lock's syntactical analysis.  These
optimizations avoid some
patological cases where jit-lock, the Just-in-Time
fontification
introduced with Emacs 21.1, could significantly slow
down scrolling
through the buffer, especially scrolling backwards,
and also jumping
to the end of a very large buffer.

If you don't use large buffers, or have a very fast
machine which
makes the delays insignificant, you can avoid the
incorrect
fontification by setting the variable
`font-lock-beginning-of-syntax-function' to a nil
value.  (This must
be done _after_ turning on Font Lock.)


                
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]