From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: files.el: Patch to make project-settings optional/customizable Date: Thu, 13 Nov 2008 08:19:56 -0800 (PST) Message-ID: <200811131619.mADGJukm010206@mothra.ics.uci.edu> References: <5f0ff9220811130629t505badf9kb1bcc380df89a08f@mail.gmail.com> <87y6zn4pqw.fsf@cyd.mit.edu> <200811131607.mADG71u6010167@mothra.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1226593433 2655 80.91.229.12 (13 Nov 2008 16:23:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Nov 2008 16:23:53 +0000 (UTC) Cc: "T.V. Raman" , emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 13 17:24:54 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 1L0ezz-0006BG-W0 for ged-emacs-devel@m.gmane.org; Thu, 13 Nov 2008 17:24:52 +0100 Original-Received: from localhost ([127.0.0.1]:55699 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L0eyr-0007V6-Tx for ged-emacs-devel@m.gmane.org; Thu, 13 Nov 2008 11:23:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L0evU-00065q-88 for emacs-devel@gnu.org; Thu, 13 Nov 2008 11:20:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L0evT-00065b-KU for emacs-devel@gnu.org; Thu, 13 Nov 2008 11:20:11 -0500 Original-Received: from [199.232.76.173] (port=46573 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L0evS-00065T-Ol for emacs-devel@gnu.org; Thu, 13 Nov 2008 11:20:10 -0500 Original-Received: from barrelv2.ics.uci.edu ([128.195.1.114]:51545) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1L0evS-0004v3-RU for emacs-devel@gnu.org; Thu, 13 Nov 2008 11:20:11 -0500 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by barrelv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id mADGJuDs014279; Thu, 13 Nov 2008 08:20:01 -0800 (PST) Original-Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id mADGJukm010206; Thu, 13 Nov 2008 08:19:56 -0800 (PST) In-Reply-To: <200811131607.mADG71u6010167@mothra.ics.uci.edu> (Dan Nicolaescu's message of "Thu, 13 Nov 2008 08:07:01 -0800 (PST)") Original-Lines: 24 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: mADGJuDs014279 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) 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:105650 Archived-At: Dan Nicolaescu writes: > Chong Yidong writes: > > > "T.V. Raman" writes: > > > > > Introduces a defcustom for project-settings-file -- rather than > > > hard-coding the name, and if set to nil, arranges for function > > > project-find-settings-file to do nothing. > > > > Looks reasonable. I've checked it in, thanks. > > Shouldn't the variable be called dir-settings-file ? > The default name is .dir.settings.el and this is documented in a > "Directory Variables" section in the manual after all... On second thought: is the goal of this change just to disable the search for .dir-settings.el ? If yes, then maybe another variable should be used for that. If no, what is the advantage of having this name customizable? What happens if different projects using different names? It seems that it would just bring in complications...