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 14:15:05 -0800 (PST) Message-ID: <200811182215.mAIMF5jc002057@mothra.ics.uci.edu> References: <5f0ff9220811130629t505badf9kb1bcc380df89a08f@mail.gmail.com> <87y6zn4pqw.fsf@cyd.mit.edu> <200811131607.mADG71u6010167@mothra.ics.uci.edu> <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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1227046761 17471 80.91.229.12 (18 Nov 2008 22:19:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Nov 2008 22:19:21 +0000 (UTC) Cc: Tom Tromey , "T.V. Raman" , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 18 23:20:22 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 1L2YvU-0001pG-AR for ged-emacs-devel@m.gmane.org; Tue, 18 Nov 2008 23:20:05 +0100 Original-Received: from localhost ([127.0.0.1]:47863 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L2YuL-00047r-J9 for ged-emacs-devel@m.gmane.org; Tue, 18 Nov 2008 17:18:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L2Yqr-00010u-9s for emacs-devel@gnu.org; Tue, 18 Nov 2008 17:15:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L2Yqp-0000zg-LC for emacs-devel@gnu.org; Tue, 18 Nov 2008 17:15:16 -0500 Original-Received: from [199.232.76.173] (port=35235 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L2Yqp-0000zT-Fw for emacs-devel@gnu.org; Tue, 18 Nov 2008 17:15:15 -0500 Original-Received: from barrelv2.ics.uci.edu ([128.195.1.114]:62956) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1L2Yqp-0002Pj-J2 for emacs-devel@gnu.org; Tue, 18 Nov 2008 17:15:15 -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 mAIMF5Aa019473; Tue, 18 Nov 2008 14:15:06 -0800 (PST) Original-Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id mAIMF5jc002057; Tue, 18 Nov 2008 14:15:05 -0800 (PST) In-Reply-To: <87prks6693.fsf@jurta.org> (Juri Linkov's message of "Wed, 19 Nov 2008 00:04:08 +0200") Original-Lines: 26 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: mAIMF5Aa019473 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:105786 Archived-At: Juri Linkov writes: > > > > > > I think it's generally good policy to avoid hardcoding file names. > > > > > > > > > > But general policy should not be applied without thinking about the > > > > > particulars of each case. As Tom said, there were some long > > > > > discussions about this, and I think that the opposite conclusion was > > > > > reached _for this particular case_. Just undoing that decision > > > > > without reviewing the previous discussions on this does not seem like > > > > > a good idea. > > > > > > > > I can't seem to find the discussion. Could you point me to it? > > > > > > I don't have anything handy, I'd guess that searching for > > > .dir-settings.el and Tom's name should be good enough. > > > > > > > (Even if we decide to hardcode the name, which I'm not convinced about, > > > > there needs to be a comment in the code explaining why.) > > > > Any news about this? > > I agree with Juanma that the name .dir-settings.el is "ugly as hell". > Perhaps this is the reason why users want to customize it. You did read the part that showed that as things stand now, if the file name is changed, the feature completely breaks?