From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: highlight-changes-mode Date: Wed, 6 Dec 2006 11:58:00 -0800 Message-ID: References: NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1165435211 10179 80.91.229.10 (6 Dec 2006 20:00:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 6 Dec 2006 20:00:11 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 06 21:00:09 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 1Gs2w2-00060I-1l for ged-emacs-devel@m.gmane.org; Wed, 06 Dec 2006 21:00:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gs2w1-0001E2-LM for ged-emacs-devel@m.gmane.org; Wed, 06 Dec 2006 15:00:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gs2vn-0001DE-GO for emacs-devel@gnu.org; Wed, 06 Dec 2006 14:59:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gs2vl-0001C1-55 for emacs-devel@gnu.org; Wed, 06 Dec 2006 14:59:50 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gs2vk-0001Bv-Vv for emacs-devel@gnu.org; Wed, 06 Dec 2006 14:59:49 -0500 Original-Received: from [141.146.126.228] (helo=agminet01.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Gs2vk-0000mx-9k for emacs-devel@gnu.org; Wed, 06 Dec 2006 14:59:48 -0500 Original-Received: from rgmgw1.us.oracle.com (rgmgw1.us.oracle.com [138.1.186.110]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id kB6Jxg60029484 for ; Wed, 6 Dec 2006 13:59:43 -0600 Original-Received: from rcsmt250.oracle.com (rcsmt250.oracle.com [148.87.90.195]) by rgmgw1.us.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id kB6I54sH015738 for ; Wed, 6 Dec 2006 12:59:42 -0700 Original-Received: from dhcp-amer-csvpn-gw2-141-144-76-217.vpn.oracle.com by rcsmt250.oracle.com with ESMTP id 2259939591165435096; Wed, 06 Dec 2006 12:58:16 -0700 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-Whitelist: TRUE X-Whitelist: TRUE X-Brightmail-Tracker: AAAAAQAAAAI= 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:63378 > 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? My opinion: I want turning on or off a global minor mode to affect all existing and all future buffers (until another explicit mode change). Anything else would be a nuisance, in addition to being confusing. There may be some particular global minor modes that one doesn't want to turn on or off in particular buffers, but they should be handled as special cases. The general case should be to treat a global minor mode as, well, global - to have it do for all buffers what a local minor mode does for the current buffer.