From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: files.el: Patch to make project-settings optional/customizable Date: Sat, 22 Nov 2008 21:51:47 +0200 Organization: JURTA Message-ID: <87ej13h73g.fsf@jurta.org> References: <5f0ff9220811130629t505badf9kb1bcc380df89a08f@mail.gmail.com> <200811131619.mADGJukm010206@mothra.ics.uci.edu> <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> <87iqqjcp3j.fsf@jurta.org> <87zljrh93w.fsf@jurta.org> <200811221940.mAMJeMpj020419@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 1227383851 13995 80.91.229.12 (22 Nov 2008 19:57:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Nov 2008 19:57:31 +0000 (UTC) Cc: Tom Tromey , "T.V. Raman" , Stefan Monnier , emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 22 20:58:33 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 1L3ycg-0008Qx-Qc for ged-emacs-devel@m.gmane.org; Sat, 22 Nov 2008 20:58:31 +0100 Original-Received: from localhost ([127.0.0.1]:51879 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L3ybX-00080a-R1 for ged-emacs-devel@m.gmane.org; Sat, 22 Nov 2008 14:57:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L3ybT-0007zR-O1 for emacs-devel@gnu.org; Sat, 22 Nov 2008 14:57:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L3ybR-0007xN-O1 for emacs-devel@gnu.org; Sat, 22 Nov 2008 14:57:14 -0500 Original-Received: from [199.232.76.173] (port=46746 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L3ybR-0007xK-Eh for emacs-devel@gnu.org; Sat, 22 Nov 2008 14:57:13 -0500 Original-Received: from relay02.kiev.sovam.com ([62.64.120.197]:52040) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L3ybR-0004qV-5s for emacs-devel@gnu.org; Sat, 22 Nov 2008 14:57:13 -0500 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay02.kiev.sovam.com with esmtp (Exim 4.67) (envelope-from ) id 1L3ybO-0006cl-Rl; Sat, 22 Nov 2008 21:57:11 +0200 In-Reply-To: <200811221940.mAMJeMpj020419@mothra.ics.uci.edu> (Dan Nicolaescu's message of "Sat, 22 Nov 2008 11:40:22 -0800 (PST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) X-Scanner-Signature: ef6c50392af5ec65634338665e82f3c2 X-DrWeb-checked: yes X-SpamTest-Envelope-From: juri@jurta.org X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Trusted X-SpamTest-Info: Profiles 5805 [Nov 22 2008] X-SpamTest-Info: {received from trusted relay: common white list} X-SpamTest-Info: {HEADERS: header Content-Type found without required header Content-Transfer-Encoding} X-SpamTest-Method: white ip list X-SpamTest-Rate: 10 X-SpamTest-Status: Trusted X-SpamTest-Status-Extended: trusted X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0278], KAS30/Release X-detected-operating-system: by monty-python.gnu.org: FreeBSD 6.x (1) 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:105973 Archived-At: > Since dir-locals-file is used in exactly one function, it would be > better to just let bind it there. > And defconsts are not exactly constants in elisp, so if someone does a > (setq dir-locals-file BLAH), the problem that started this whole > discussion still happens. More, we don't have defconsts for > "Local Variables" or "-*-" which serve a similar purpose but at file > level. I don't care how constant constants are. Function definitions are not constant either, so everyone can redefine the function with own file name and have the same problem ;-) IOW, defconst says the user should not complain when the user changes its value, so I see no problems with defconst. -- Juri Linkov http://www.jurta.org/emacs/