From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pierre Lorenzon Newsgroups: gmane.emacs.help Subject: Re: better .dir-locals Date: Fri, 17 May 2013 19:02:47 +0200 (CEST) Message-ID: <20130517.190247.193718436.devel@pollock-nageoire.net> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1368810490 11914 80.91.229.3 (17 May 2013 17:08:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 May 2013 17:08:10 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: andrea.crotti.0@gmail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 17 19:08:09 2013 Return-path: Envelope-to: geh-help-gnu-emacs@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 1UdO8W-00025N-Sm for geh-help-gnu-emacs@m.gmane.org; Fri, 17 May 2013 19:08:09 +0200 Original-Received: from localhost ([::1]:59453 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UdO8W-0002yH-CP for geh-help-gnu-emacs@m.gmane.org; Fri, 17 May 2013 13:08:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UdO8F-0002vs-DG for help-gnu-emacs@gnu.org; Fri, 17 May 2013 13:07:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UdO8D-0001lm-Pf for help-gnu-emacs@gnu.org; Fri, 17 May 2013 13:07:51 -0400 Original-Received: from smtp03.smtpout.orange.fr ([80.12.242.125]:44442 helo=smtp.smtpout.orange.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UdO8D-0001lD-J2 for help-gnu-emacs@gnu.org; Fri, 17 May 2013 13:07:49 -0400 Original-Received: from localhost ([92.163.103.37]) by mwinf5d58 with ME id d57m1l00U0oRKAL0357mk3; Fri, 17 May 2013 19:07:47 +0200 In-Reply-To: X-Mailer: Mew version 6.2.51 on Emacs 24.0.50 / Mule 6.0 (HANACHIRUSATO) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.12.242.125 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:90876 Archived-At: From: andrea crotti Subject: better .dir-locals Date: Fri, 17 May 2013 09:53:48 +0200 > I'm trying to find a better way to define variables that are specific to > certain projects. > > At the moment I'm using .dir-locals, but the problem with that is that > I didn't find a way to extend other .dir-locals, so each of them down > the tree should contain everything. > > 1. is there a way to extend another one explicitly > 2. any other suggested way to accomplish similar things? ede could probably be an idea. But ede version currently embedded in emacs is perhaps not fully functional and the last devlopment version in cedet is probably better. Pierre > > For example I would like to set some variables depending on the path, > it could be something like: > > /path/to/proj: (variable some-value) > > And so on, any advices?