From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: files.el: Patch to make project-settings optional/customizable Date: Tue, 18 Nov 2008 20:48:07 -0500 Message-ID: <87iqqkxz8o.fsf@stupidchicken.com> 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> <200811190014.mAJ0ETCA002782@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 1227059303 21603 80.91.229.12 (19 Nov 2008 01:48:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Nov 2008 01:48:23 +0000 (UTC) Cc: Tom Tromey , Juanma Barranquero , emacs-devel@gnu.org, Juri Linkov , Stefan Monnier , "T.V. Raman" To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 19 02:49:26 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 1L2cC4-0007Rm-W0 for ged-emacs-devel@m.gmane.org; Wed, 19 Nov 2008 02:49:25 +0100 Original-Received: from localhost ([127.0.0.1]:46661 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L2cAw-0006Ed-0k for ged-emacs-devel@m.gmane.org; Tue, 18 Nov 2008 20:48:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L2cAs-0006EX-PY for emacs-devel@gnu.org; Tue, 18 Nov 2008 20:48:10 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L2cAq-0006EL-94 for emacs-devel@gnu.org; Tue, 18 Nov 2008 20:48:09 -0500 Original-Received: from [199.232.76.173] (port=48548 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L2cAq-0006EI-4I for emacs-devel@gnu.org; Tue, 18 Nov 2008 20:48:08 -0500 Original-Received: from eight-four-seventy-seven.mit.edu ([18.115.6.222]:47723 helo=furry) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L2cAp-0001Tu-SY for emacs-devel@gnu.org; Tue, 18 Nov 2008 20:48:07 -0500 Original-Received: by furry (Postfix, from userid 1000) id 959CAC054; Tue, 18 Nov 2008 20:48:07 -0500 (EST) In-Reply-To: <200811190014.mAJ0ETCA002782@mothra.ics.uci.edu> (Dan Nicolaescu's message of "Tue, 18 Nov 2008 16:14:29 -0800 (PST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:105800 Archived-At: Dan Nicolaescu writes: > 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. Just add a comment to the code, pointing to this discussion. > Each extra variable adds a bit of complexity, and there's no shortage > of that. The complexity is negligible. This is a matter of good programming practice.