From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: highlight-changes-mode Date: Wed, 06 Dec 2006 13:44:30 -0500 Message-ID: References: <17721.60660.980363.609046@kahikatea.snap.net.nz> <17725.23383.490888.442550@cube.homenetwork> <17770.17915.319182.723314@cube.homenetwork> <17770.35080.725821.391914@kahikatea.snap.net.nz> <17782.25188.121126.54191@cube.homenetwork> Reply-To: rms@gnu.org NNTP-Posting-Host: dough.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1165430794 25519 80.91.229.10 (6 Dec 2006 18:46:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 6 Dec 2006 18:46:34 +0000 (UTC) Cc: nickrob@snap.net.nz, emacs-devel@gnu.org, rsharman@pobox.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 06 19:46:33 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1Gs1ml-0003BP-IY for ged-emacs-devel@m.gmane.org; Wed, 06 Dec 2006 19:46:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gs1ml-00026g-5a for ged-emacs-devel@m.gmane.org; Wed, 06 Dec 2006 13:46:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gs1kv-0000ws-Aa for emacs-devel@gnu.org; Wed, 06 Dec 2006 13:44:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gs1ku-0000vs-Jh for emacs-devel@gnu.org; Wed, 06 Dec 2006 13:44:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gs1ku-0000vc-6y for emacs-devel@gnu.org; Wed, 06 Dec 2006 13:44:32 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gs1ku-0005SS-5T for emacs-devel@gnu.org; Wed, 06 Dec 2006 13:44:32 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.52) id 1Gs1ks-0006oG-1X; Wed, 06 Dec 2006 13:44:30 -0500 Original-To: rsharman@pobox.com In-reply-to: <17782.25188.121126.54191@cube.homenetwork> (rsharman@pobox.com) 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:63369 Archived-At: I added a new keyword :only-new EXPR which allows restricting a change of mode to new only new buffers if EXPR is non-nil. (So the default behaviour, without this keyword, is unchanged.) If we want that functionality, this is a clean way of providing it. I think the real question is which way we want global minor modes to work. Do we want the global mode command to affect only buffers created subsequently? Do we want it to affect all existing buffers? Only existing buffers in which the user has not specified any setting for the mode? Is there a good reason why global-highlight-changes should not be like Global Font Lock mode, and affect all buffers where it is applicable?