From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bruce Korb Newsgroups: gmane.emacs.devel Subject: Re: Project initialization files? Date: Tue, 17 Jul 2012 13:25:26 -0700 Message-ID: References: <83fw8q9t9c.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1342556761 20486 80.91.229.3 (17 Jul 2012 20:26:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 17 Jul 2012 20:26:01 +0000 (UTC) Cc: emacs development To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 17 22:26:01 2012 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 1SrELC-0007sa-NM for ged-emacs-devel@m.gmane.org; Tue, 17 Jul 2012 22:25:54 +0200 Original-Received: from localhost ([::1]:46056 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrELB-0004p6-F1 for ged-emacs-devel@m.gmane.org; Tue, 17 Jul 2012 16:25:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55439) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrEL9-0004ox-3J for emacs-devel@gnu.org; Tue, 17 Jul 2012 16:25:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SrEL7-0002t3-1x for emacs-devel@gnu.org; Tue, 17 Jul 2012 16:25:51 -0400 Original-Received: from mail-yw0-f41.google.com ([209.85.213.41]:40741) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrEL4-0002sk-QW; Tue, 17 Jul 2012 16:25:46 -0400 Original-Received: by yhr47 with SMTP id 47so1047445yhr.0 for ; Tue, 17 Jul 2012 13:25:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=vYEaXUMwFG+QmEPCFaWXH1daBHWa8+xeC/sf/FplKus=; b=Z6f5D5i3fpjqSdw6QO7DwKglq6JANty7v+jVbGmtI8Wl5y7YSHNTe78xHzngb7Qk0+ Bd7F7AjzVIaYKiFSAFbahAxMc9rkoFIsIhKcUgPSjM346DKFhbFkuh4Mp1MpAM3ffPv9 hcIkBZuS/hQBWUJWOYeuZyu0rcn4Hy54A5gkRzbXaGLj4FUxy7FRAIzBzajM1cxX+xGB 4ObKXMa4W8pX8S7f1evsz+Y7C2FRwwHXJWGJj3f4WAOCk16tE//yXVzbYdETw4ovm6jc pQ7Lv6EH9Wik1AfXKGs7gnMf0W7/ARbBYfZEb/ZnCOUJ3x93qbToouiY6PVaJjlXxkH7 GWrA== Original-Received: by 10.60.12.37 with SMTP id v5mr2821835oeb.25.1342556746360; Tue, 17 Jul 2012 13:25:46 -0700 (PDT) Original-Received: by 10.76.172.164 with HTTP; Tue, 17 Jul 2012 13:25:26 -0700 (PDT) In-Reply-To: <83fw8q9t9c.fsf@gnu.org> X-Google-Sender-Auth: 1CL_SR2oGPokYRrIbUzWH2IUk0E X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.213.41 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:151713 Archived-At: Hi Eli, On Tue, Jul 17, 2012 at 10:45 AM, Eli Zaretskii wrote: >> ~/my-day-job, I use the "work" style, etc. >> >> Does such a thing already exist? > Is the .dir-locals.el feature (described in the "Specifying File > Variables" node of the Emacs manual) fit the bill? If not, why not? Only that it entails adding a file to the source tree. But then, adding a superior directory with this file is probably as easy as maintaining ~/.emacs.d/projects anyway, so no real difference. Thank you!! :) Cheers - Bruce P.S. ``To avoid slowdown, this search is skipped for remote files.'' Remote files over a 10GigE or better connection may not be so "remote". Maybe a way to say, "search anyway"? Anyway, I'm stil glad to know of this :) PPS: on one platform, my home directory is a remote mount with /some/very/long/list/of/superior/directories, so I suppose an empty .dir-locals.el file would cut off the search and do nothing?