Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2000:
[Freeciv-Dev] Re: po-files are too big (PR#561)
Home

[Freeciv-Dev] Re: po-files are too big (PR#561)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: po-files are too big (PR#561)
From: Erik Sigra <freeciv@xxxxxxx>
Date: Thu, 14 Sep 2000 15:47:58 +0200

"Gaute B. Strokkenes" wrote:
> 
> Erik Sigra <freeciv@xxxxxxx> writes:
> 
> > Full Name: Erik Sigra
> > Version: Current CVS
> >
> > Problem:
> > When I open a po file in emacs, i get the following error message:
> >
> >   Fontifying XX.po...buffer too big
> >
> > I don't think the problem is my memory. It might just be that po-files
> > larger than 450k are too big for emacs. Even the smallest po-file i
> > found didn't open correctly. Has anyone successfully
> > fontified such big po-files? How is this supposed to work?
> >
> > Solution:
> > Divide the translation into sane-sized chunks or fix the po-mode/emacs.
> >
> > I want that highlighting!!
> 
> Don't worry--it's a feature, not a bug.  By default, emacs disables
> font-lock for large files, so that you don't lock up your machine if
> you load a 200 MB file by mistake.  From the manual:
> 
> <<<
>    Fontification can be too slow for large buffers, so you can suppress
> it.  The variable `font-lock-maximum-size' specifies a buffer size,
> beyond which buffer fontification is suppressed.
> >>>
> 
> (comp.emacs and gnu.emacs.help are great places to go with questions
> like this.  Emacs comes with great technical support; his name is Kai
> Großjohann...)

Thanks! I got this working now. And it's beautiful...



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