emacs-devel
[Top][All Lists]
Advanced

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

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


From: Richard M. Stallman
Subject: Re: address@hidden: Emacs very slow opening file]
Date: Fri, 30 Sep 2005 13:33:58 -0400

    Recently I ran into the problem when Emacs tried to interpret the
    Local Variables section in the "htmlized" file.  I suggested to the
    author of htmlize.el to replace `Local Variables:' in the output by
    its HTML equivalent `Local Variables:' that Emacs doesn't recognize.

This method, to change the program that produces the file,
is applicable in some cases.  But I don't think it is applicable to diff.

    With a new special variable HTML mode could set it to a value that
    matches the Local Variables section only inside HTML comments, and such
    problems of mistakenly using a Local Variables section wouldn't occur
    in packages that convert files to other representations.

Yes, that could work--if the variable gets set before Emacs looks for
the local variable list.  However, I am not sure a regexp is powerful enough
to do the job for diff files.




reply via email to

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