Hi, Ben -
On Wed, Jul 9, 2008 at 2:24 PM, strongdog <ben.livneh(a)gmail.com> wrote:
On Dec 17 2006, 11:42 am, Vin Shelton <a...(a)xemacs.org> wrote:
> "Alan M. Feldstein" <alan.feldst...(a)computer.org> writes:
> > I lived with this problem for large files the whole time that I worked
> > at IBM. Now the problem is back, after I built XEmacs on a new server
> > at Cosmic Horizon. The fact that syntax highlighting works on the same
> > large (7232 lines) C++ source file when opened using another instance
> > of XEmacs running on a workstation at Cosmic Horizon, suggests that
> > XEmacs might be configurable, but how?
> > --
> I think the variable you're looking for is:
> `font-lock-maximum-size' (buffer: *Hyper Apropos*, mode: Hyper-Apropos)
> Customizable user variable:
> value: 256000
> *If non-nil, the maximum size for buffers for fontifying.
> Only buffers less than this can be fontified when Font Lock mode is turned on.
> If nil, means size is irrelevant.
> If a list, each element should be a cons pair of the form (MAJOR-MODE . SIZE),
> where MAJOR-MODE is a symbol or t (meaning the default). For example:
> ((c++-mode . 256000) (c-mode . 256000) (rmail-mode . 1048576))
> means that the maximum size is 250K for buffers in `c++-mode' or `c-mode',
> megabyte for buffers in `rmail-mode', and size is irrelevant otherwise.
Thanks for this information. I wonder how you go about implementing
that change? i.e. in which file, with what syntax...say for example
The easiest way to do this would be to add the line:
(setq font-lock-maximum-size 2000000)
to your .xemacs/init.el file.
To understand more about XEmacs customization, type the following
commands into an instance of XEmacs:
I've added the XEmacs beta list to the message. If you have any
follow-up questions, please make sure you reply to all.
XEmacs-Beta mailing list