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: Tue, 18 Nov 2008 16:14:29 -0800 (PST) Message-ID: <200811190014.mAJ0ETCA002782@mothra.ics.uci.edu> References: <5f0ff9220811130629t505badf9kb1bcc380df89a08f@mail.gmail.com> <87prkz4kgh.fsf@cyd.mit.edu> <200811131728.mADHSH2M010654@mothra.ics.uci.edu> <871vxflbxb.fsf@cyd.mit.edu> <200811131848.mADImPMQ011099@mothra.ics.uci.edu> <200811181636.mAIGa9Lx000571@mothra.ics.uci.edu> <87prks6693.fsf@jurta.org> <874p24mwwz.fsf@cyd.mit.edu> <200811182341.mAINfXaH002637@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 1227053751 6987 80.91.229.12 (19 Nov 2008 00:15:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Nov 2008 00:15:51 +0000 (UTC) Cc: Tom Tromey , "T.V. Raman" , Chong Yidong , emacs-devel@gnu.org, Juri Linkov , Stefan Monnier To: "Juanma Barranquero" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 19 01:16:51 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 1L2akD-0008LF-8g for ged-emacs-devel@m.gmane.org; Wed, 19 Nov 2008 01:16:51 +0100 Original-Received: from localhost ([127.0.0.1]:41768 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L2aj3-0004D0-PE for ged-emacs-devel@m.gmane.org; Tue, 18 Nov 2008 19:15:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L2aiQ-0003xy-Fz for emacs-devel@gnu.org; Tue, 18 Nov 2008 19:14:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L2aiO-0003wQ-Ji for emacs-devel@gnu.org; Tue, 18 Nov 2008 19:14:41 -0500 Original-Received: from [199.232.76.173] (port=34655 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L2aiO-0003wJ-9W for emacs-devel@gnu.org; Tue, 18 Nov 2008 19:14:40 -0500 Original-Received: from sallyv2.ics.uci.edu ([128.195.1.120]:48623) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1L2aiO-0004DU-Iz for emacs-devel@gnu.org; Tue, 18 Nov 2008 19:14:40 -0500 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id mAJ0EUP0003515; Tue, 18 Nov 2008 16:14:30 -0800 (PST) Original-Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id mAJ0ETCA002782; Tue, 18 Nov 2008 16:14:29 -0800 (PST) In-Reply-To: (Juanma Barranquero's message of "Wed, 19 Nov 2008 00:50:06 +0100") Original-Lines: 19 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: mAJ0EUP0003515 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:105799 Archived-At: "Juanma Barranquero" writes: > On Wed, Nov 19, 2008 at 00:41, Dan Nicolaescu wrote: > > > What is the advantage of that? > > If someone is so offended by the .dir-settings.el name, they can: > > And why are you so offended by a defvar? Because it's not a variable, it has to be a constant. (And a string literal as it was until a few days ago is even better.) In a few years someone will see the defvar and will want to turn it into a defcustom and we'll have the same discussion again. > It doesn't even have to be > documented, other than a docstring: Each extra variable adds a bit of complexity, and there's no shortage of that.