emacs-devel
[Top][All Lists]
Advanced

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

Re: Patch: Syntax and Hard Newlines


From: Stefan Monnier
Subject: Re: Patch: Syntax and Hard Newlines
Date: Thu, 16 Nov 2006 09:22:11 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux)

> A silly question maybe: Wouldn't

> +     (kill-local-variable 'parse-sexp-lookup-properties)

> cause problems for major modes using that?

Indeed.  AFAIK the only reason to set parse-sexp-lookup-properties to nil is
performance, so it shouldn't hurt to leave it set to t.

> I suppose it would be cleaner to require minor modes that want to turn
> on/off `parse-sexp-lookup-properties' in a buffer append/remove their
> name from/to that variable and kill it iff that list gets empty.

Maybe.  It seems overkill to me for this specific case, but it would make
sense to try and devise a general scheme for these kinds of problems,


        Stefan




reply via email to

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