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: Erik Sigra <freeciv@xxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: po-files are too big (PR#561)
From: gs234@xxxxxxxxx (Gaute B. Strokkenes)
Date: 14 Sep 2000 15:27:48 +0200

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

-- 
Big Gaute (not to be confused with LG)
Is this ANYWHERE, USA?



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