[Top][All Lists]

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

Re: address@hidden: Emacs very slow opening file]

From: Kenichi Handa
Subject: Re: address@hidden: Emacs very slow opening file]
Date: Thu, 29 Sep 2005 21:24:43 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

In article <address@hidden>, Sascha Wilde <address@hidden> writes:

> So, I would conclude, that there is no bug at all.  Emacs can't
> possibly know, that the "Local Variables:" block isn't meant to be
> interpreted in the diff file.  

> And I wouldn't consider the fact, that c-mode fontification takes so
> long on a big file, which isn't valid c-code at all, a bug.

> Workaround: turn of global-font-lock-mode or set
> enable-local-variables to nil, before opening a file like that.

Perhaps, Emacs has to detect that the file is a patch before
checking "-*- ... -*-" and "Local Variables".

Kenichi Handa

reply via email to

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