From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel Subject: Re: dir-locals.el take precedence over user's mode-hook changes Date: Wed, 24 Dec 2008 13:31:08 -0700 Message-ID: References: <200812241903.mBOJ3SjQ009445@mothra.ics.uci.edu> Reply-To: Tom Tromey NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1230150757 22529 80.91.229.12 (24 Dec 2008 20:32:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Dec 2008 20:32:37 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 24 21:33:43 2008 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 1LFaQI-0005H7-69 for ged-emacs-devel@m.gmane.org; Wed, 24 Dec 2008 21:33:42 +0100 Original-Received: from localhost ([127.0.0.1]:59494 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LFaP4-000261-Q2 for ged-emacs-devel@m.gmane.org; Wed, 24 Dec 2008 15:32:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LFaNw-0001oc-L4 for emacs-devel@gnu.org; Wed, 24 Dec 2008 15:31:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LFaNv-0001ns-17 for emacs-devel@gnu.org; Wed, 24 Dec 2008 15:31:16 -0500 Original-Received: from [199.232.76.173] (port=42832 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LFaNu-0001nl-RK for emacs-devel@gnu.org; Wed, 24 Dec 2008 15:31:14 -0500 Original-Received: from mx2.redhat.com ([66.187.237.31]:35530) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LFaNu-0007J2-EN for emacs-devel@gnu.org; Wed, 24 Dec 2008 15:31:14 -0500 Original-Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id mBOKVDYo009751; Wed, 24 Dec 2008 15:31:13 -0500 Original-Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id mBOKVA2x009582; Wed, 24 Dec 2008 15:31:11 -0500 Original-Received: from opsy.redhat.com (vpn-12-114.rdu.redhat.com [10.11.12.114]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id mBOKV9XD010168; Wed, 24 Dec 2008 15:31:10 -0500 Original-Received: by opsy.redhat.com (Postfix, from userid 500) id 1662550801F; Wed, 24 Dec 2008 13:31:08 -0700 (MST) X-Attribution: Tom In-Reply-To: <200812241903.mBOJ3SjQ009445@mothra.ics.uci.edu> (Dan Nicolaescu's message of "Wed\, 24 Dec 2008 11\:03\:28 -0800 \(PST\)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 X-detected-operating-system: by monty-python.gnu.org: GNU/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:107278 Archived-At: >>>>> "Dan" == Dan Nicolaescu writes: Dan> If the user really really wants to override the settings doesn't Dan> rm .dir-locals.el Dan> or Dan> changing the contents of .dir-locals.el Dan> work well enough? My intent was for projects to check these into version control. So, removing them is not always ok. As I recall you can set up your own local definition for a project to override the project's file, though. This is somewhat inconvenient, but it ought to work. Tom