From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Herbert Euler" Newsgroups: gmane.emacs.devel Subject: Re: Patch: Syntax and Hard Newlines Date: Fri, 17 Nov 2006 14:30:45 +0800 Message-ID: References: <455C248B.7080100@gmx.at> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: sea.gmane.org 1163745193 23497 80.91.229.2 (17 Nov 2006 06:33:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 17 Nov 2006 06:33:13 +0000 (UTC) Cc: rms@gnu.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 17 07:33:11 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GkxHi-0006BQ-71 for ged-emacs-devel@m.gmane.org; Fri, 17 Nov 2006 07:33:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GkxHg-000581-L7 for ged-emacs-devel@m.gmane.org; Fri, 17 Nov 2006 01:33:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GkxHU-00057S-0g for emacs-devel@gnu.org; Fri, 17 Nov 2006 01:32:56 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GkxHR-00056J-P5 for emacs-devel@gnu.org; Fri, 17 Nov 2006 01:32:55 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GkxHR-00056G-Iv for emacs-devel@gnu.org; Fri, 17 Nov 2006 01:32:53 -0500 Original-Received: from [199.232.41.67] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GkxHR-0006Ij-96; Fri, 17 Nov 2006 01:32:53 -0500 Original-Received: from [65.54.246.113] (helo=bay0-omc1-s41.bay0.hotmail.com) by mx20.gnu.org with esmtp (Exim 4.52) id 1GkxFx-00030D-TS; Fri, 17 Nov 2006 01:31:22 -0500 Original-Received: from hotmail.com ([64.4.26.47]) by bay0-omc1-s41.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 16 Nov 2006 22:30:48 -0800 Original-Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 16 Nov 2006 22:30:48 -0800 Original-Received: from 64.4.26.200 by by112fd.bay112.hotmail.msn.com with HTTP; Fri, 17 Nov 2006 06:30:45 GMT X-Originating-IP: [216.145.54.158] X-Originating-Email: [herberteuler@hotmail.com] X-Sender: herberteuler@hotmail.com In-Reply-To: <455C248B.7080100@gmx.at> Original-To: rudalics@gmx.at X-OriginalArrivalTime: 17 Nov 2006 06:30:48.0351 (UTC) FILETIME=[EB67AAF0:01C70A11] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:62392 Archived-At: >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. :( Regards, Guanpeng Xu _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/