From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Davis Herring" Newsgroups: gmane.emacs.devel Subject: Re: .emacs-settings.el Date: Fri, 7 Sep 2007 09:03:11 -0700 (PDT) Message-ID: <38396.128.165.123.18.1189180991.squirrel@webmail.lanl.gov> References: <60282.128.165.123.18.1189002441.squirrel@webmail.lanl.gov> <20070907121455.GA22265@saeurebad.de> Reply-To: herring@lanl.gov NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1189181386 27342 80.91.229.12 (7 Sep 2007 16:09:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 7 Sep 2007 16:09:46 +0000 (UTC) To: bob@rattlesnake.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 07 18:09:46 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 1ITgOu-0002bM-Vl for ged-emacs-devel@m.gmane.org; Fri, 07 Sep 2007 18:09:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITgOs-0008R3-OY for ged-emacs-devel@m.gmane.org; Fri, 07 Sep 2007 12:09:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ITgIk-00024Z-71 for emacs-devel@gnu.org; Fri, 07 Sep 2007 12:03:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ITgIi-00023Y-He for emacs-devel@gnu.org; Fri, 07 Sep 2007 12:03:21 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITgIi-00023K-Cc for emacs-devel@gnu.org; Fri, 07 Sep 2007 12:03:20 -0400 Original-Received: from mailwasher.lanl.gov ([192.65.95.54] helo=mailwasher-b.lanl.gov) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ITgIh-0000JT-Oj for emacs-devel@gnu.org; Fri, 07 Sep 2007 12:03:20 -0400 Original-Received: from mailrelay2.lanl.gov (mailrelay2.lanl.gov [128.165.4.103]) by mailwasher-b.lanl.gov (8.13.8/8.13.6/(ccn-5)) with ESMTP id l87G3F3n012677; Fri, 7 Sep 2007 10:03:15 -0600 Original-Received: from webmail1.lanl.gov (webmail1.lanl.gov [128.165.4.106]) by mailrelay2.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id l87G3Bd5026892; Fri, 7 Sep 2007 10:03:11 -0600 Original-Received: from webmail1.lanl.gov (localhost.localdomain [127.0.0.1]) by webmail1.lanl.gov (8.12.11.20060308/8.12.11) with ESMTP id l87G3Bt8021895; Fri, 7 Sep 2007 10:03:11 -0600 Original-Received: (from apache@localhost) by webmail1.lanl.gov (8.12.11.20060308/8.12.11/Submit) id l87G3BN2021893; Fri, 7 Sep 2007 09:03:11 -0700 X-Authentication-Warning: webmail1.lanl.gov: apache set sender to herring@lanl.gov using -f Original-Received: from 128.165.123.18 (SquirrelMail authenticated user 196434) by webmail.lanl.gov with HTTP; Fri, 7 Sep 2007 09:03:11 -0700 (PDT) In-Reply-To: <20070907121455.GA22265@saeurebad.de> User-Agent: SquirrelMail/1.4.8-6.el3.2lanl X-Priority: 3 (Normal) Importance: Normal X-CTN-5-MailScanner-Information: Please see http://network.lanl.gov/email/virus-scan.php X-CTN-5-MailScanner: Found to be clean X-CTN-5-MailScanner-From: herring@lanl.gov X-Detected-Kernel: Linux 2.4-2.6 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:78167 Archived-At: > I would really dislike such files. Imagine every editor has a > project-specific > configuration file in the project root and you have 10 hackers working on > this > project with 10 different editors. Surely a project with 10 hackers has much more than 10 files, so that adding one project-settings file per editor does not dwarf the real work of the project? I don't imagine that the settings files would need to be synchronized or anything, since the different editors will have very different support for the preferences of the project. > And I would dislike to have a limited set of configuration options within > such > a file. Having a (safe) local variable `project-settings-library' which would be loaded (with confirmation) by M-x load-project-settings ("load" in its name to emphasize that it's executing real, unconstrained Lisp) would be an easy way to allow other configuration in a per-project way with reasonable security; just put a setting for that variable in the variables-only project file we're discussing now. The only trick would be that the filename would need to be absolute if it were specified for any non-trivial directory tree, since one cannot run `expand-file-name' in a local variable setting. Davis -- This product is sold by volume, not by mass. If it appears too dense or too sparse, it is because mass-energy conversion has occurred during shipping.