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: how to use an external dir-locals file? Date: Wed, 27 Mar 2013 16:00:49 -0400 Message-ID: References: <87r4jaymhl.fsf@lifelogs.com> <87ip4kzw9d.fsf@lifelogs.com> <87mwtqv7lp.fsf@lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1364414464 7787 80.91.229.3 (27 Mar 2013 20:01:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Mar 2013 20:01:04 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 27 21:01:29 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UKwXE-0004Ob-8y for ged-emacs-devel@m.gmane.org; Wed, 27 Mar 2013 21:01:24 +0100 Original-Received: from localhost ([::1]:55644 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKwWq-00040G-7F for ged-emacs-devel@m.gmane.org; Wed, 27 Mar 2013 16:01:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47810) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKwWm-000407-NZ for emacs-devel@gnu.org; Wed, 27 Mar 2013 16:00:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKwWi-0007me-1W for emacs-devel@gnu.org; Wed, 27 Mar 2013 16:00:56 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:60058) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKwWh-0007mL-A0 for emacs-devel@gnu.org; Wed, 27 Mar 2013 16:00:51 -0400 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id r2RK0nKW003618; Wed, 27 Mar 2013 16:00:49 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 3822EB4178; Wed, 27 Mar 2013 16:00:49 -0400 (EDT) In-Reply-To: <87mwtqv7lp.fsf@lifelogs.com> (Ted Zlatanov's message of "Tue, 26 Mar 2013 05:22:10 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4531=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4531> : streams <929236> : uri <1377776> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:158323 Archived-At: > In general, it's really nice to hold *reindentation* (not regular > indentation) settings in a .el file, even if it's not used as That doesn't really help me understand your use-case, because I don't know what's the difference between reindentation and indentation, nor why you'd want them to behave differently. > I just want a way to override the default choice of "the > nearest .dir-locals.el". Have you tried to let-bind dir-locals-file? It should "just work" AFAICT. Stefan