[Top][All Lists]

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

Re: Patch: Syntax and Hard Newlines

From: Herbert Euler
Subject: Re: Patch: Syntax and Hard Newlines
Date: Fri, 17 Nov 2006 14:30:45 +0800

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.

All minor modes should use a same value for a variable, either local
or global, to avoid conflicting each other.  If the value of a global
variable is changed, all buffers will be affected.  Carefully designed
minor modes will not likely do this for a variable that does not
belong to itself, so only the behavior of killing local variables
matters here.

Because many minor modes may be activated or deactivated in any order,
your method seems to be the only way.  But it requires checking every
minor mode, which is a lot of work.  :(

Guanpeng Xu

Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

reply via email to

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