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: outline-regexp Date: Sat, 09 Dec 2006 01:01:21 -0500 Message-ID: References: <457424E9.2060107@easy-emacs.de> <45781AC5.5000705@easy-emacs.de> Reply-To: rms@gnu.org NNTP-Posting-Host: dough.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1165644165 29832 80.91.229.10 (9 Dec 2006 06:02:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 9 Dec 2006 06:02:45 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 09 07:02:45 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 1GsvIL-0001td-0Z for ged-emacs-devel@m.gmane.org; Sat, 09 Dec 2006 07:02:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GsvIK-000825-LA for ged-emacs-devel@m.gmane.org; Sat, 09 Dec 2006 01:02:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GsvH2-0007eT-2R for emacs-devel@gnu.org; Sat, 09 Dec 2006 01:01:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GsvH1-0007do-A3 for emacs-devel@gnu.org; Sat, 09 Dec 2006 01:01:23 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GsvH1-0007dd-2V for emacs-devel@gnu.org; Sat, 09 Dec 2006 01:01:23 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GsvH0-0003Kq-Ht for emacs-devel@gnu.org; Sat, 09 Dec 2006 01:01:22 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.52) id 1GsvGz-00032H-RK; Sat, 09 Dec 2006 01:01:21 -0500 Original-To: Andreas Roehler In-reply-to: <45781AC5.5000705@easy-emacs.de> (message from Andreas Roehler on Thu, 07 Dec 2006 14:44:37 +0100) 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:63495 Archived-At: Why not let `outline-regexp' go with the mode, although not through a function as it's done now, but with defcustom. The way this is done now is that major modes can set `outline-regexp' as a buffer-local variable. Stefan suggested: If the user sees this text via C-h v it will also give both the global and the buffer-local value, thus making it fairly obvious what's going on. Maybe `custom' should do similar: e.g. check whether the variable is locally changed in some buffers and if so add a little blurb about the global setting not taking effect in those buffers. I think that is a good idea.