From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: .emacs-settings.el Date: Fri, 07 Sep 2007 13:40:48 -0400 Message-ID: References: <60282.128.165.123.18.1189002441.squirrel@webmail.lanl.gov> <87k5r350o5.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1189186867 13660 80.91.229.12 (7 Sep 2007 17:41:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 7 Sep 2007 17:41:07 +0000 (UTC) Cc: Ted Zlatanov , emacs-devel@gnu.org To: tromey@redhat.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 07 19:41:06 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IThpA-0004mu-In for ged-emacs-devel@m.gmane.org; Fri, 07 Sep 2007 19:40:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IThp8-0005TA-SR for ged-emacs-devel@m.gmane.org; Fri, 07 Sep 2007 13:40:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IThp5-0005Qg-2C for emacs-devel@gnu.org; Fri, 07 Sep 2007 13:40:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IThp3-0005Lk-1C for emacs-devel@gnu.org; Fri, 07 Sep 2007 13:40:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IThp2-0005LP-Pr for emacs-devel@gnu.org; Fri, 07 Sep 2007 13:40:48 -0400 Original-Received: from x-132-204-253-127.xtpr.umontreal.ca ([132.204.253.127] helo=ceviche.home) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IThp2-00063D-6A for emacs-devel@gnu.org; Fri, 07 Sep 2007 13:40:48 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 09F14B40A1; Fri, 7 Sep 2007 13:40:47 -0400 (EDT) In-Reply-To: (Tom Tromey's message of "Thu\, 06 Sep 2007 14\:10\:41 -0600") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) X-Detected-Kernel: Linux 2.6 (newer, 3) 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:78172 Archived-At: Ted> Also, C-h v and customize-variable should say that project.el has Ted> overridden a variable, so the user doesn't have to wonder. There should Ted> also be a user-visible message when project.el is detected and used. > Do we do these things for file-local variables? No. But it would be nice for C-h v to tell the user where the buffer-local setting comes from (e.g. from the file-local section, with a hyperlink to it). > I don't mind the latter, though I imagine I would consider it noise. Agreed. > I'd rather not do the former. But if I must, I may need help here. > Offhand I don't know how I'd implement it. I don't think it's a necessary feature, but it would be a nice addition (for for file-local and dir-local settings). I'm not sure how to implement it either, but I guess we could change hack-local-variables to maintain a new (buffer-local) variable `file-local-settings' and in C-h v we check this var to see if the variable displayed is among the ones that were set file-locally. Stefan