From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: Re: files.el: Patch to make project-settings optional/customizable Date: Wed, 19 Nov 2008 09:39:17 +0100 Message-ID: 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1227083975 9573 80.91.229.12 (19 Nov 2008 08:39:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Nov 2008 08:39:35 +0000 (UTC) Cc: Juri Linkov , Tom Tromey , Dan Nicolaescu , emacs-devel@gnu.org, "T.V. Raman" To: "Stefan Monnier" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 19 09:40:36 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 1L2ibz-0004IW-Nt for ged-emacs-devel@m.gmane.org; Wed, 19 Nov 2008 09:40:35 +0100 Original-Received: from localhost ([127.0.0.1]:51882 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L2iar-0006fS-2b for ged-emacs-devel@m.gmane.org; Wed, 19 Nov 2008 03:39:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L2ial-0006eh-Ot for emacs-devel@gnu.org; Wed, 19 Nov 2008 03:39:19 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L2iak-0006dh-Te for emacs-devel@gnu.org; Wed, 19 Nov 2008 03:39:19 -0500 Original-Received: from [199.232.76.173] (port=38935 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L2iak-0006dS-Jt for emacs-devel@gnu.org; Wed, 19 Nov 2008 03:39:18 -0500 Original-Received: from an-out-0708.google.com ([209.85.132.248]:24506) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L2iak-0003bE-GF for emacs-devel@gnu.org; Wed, 19 Nov 2008 03:39:18 -0500 Original-Received: by an-out-0708.google.com with SMTP id c38so1459974ana.21 for ; Wed, 19 Nov 2008 00:39:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=5QzRxhfS1zOTSwPV2hj5aeVqYI7sYCgxagRZcVxiPGY=; b=kcF/wezzo5nt5lsZk5jpKI1YlKwafyknSZcm7oVP2WLheC408wMjIi1BfGWfALK8S5 JXlBshS0Zzsyg8k+0mZeCIwYh2Pce5/YgkZqHsREoYI9sZ+jxFf7ZGxiLyLXa+BOmkFy L1G7OlJLnMXs2+WBemcwLZODMSf/q3AP4SxXc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=FQmYrxqaSu3hnWT2wLzIXRXE4votmjWg6EvTlPDXHND9VtBV6UHZ++nEUysTFTZava 9n4cf+83R3Njah7SLJkOcaAbx7mkpNfSvP3L7Xdj6oE8DKznQYbGroTYnczWNu7LasOr vSepeilK/p3DeHlQAoT5HaVNLqLlVGu2Lebrs= Original-Received: by 10.100.11.14 with SMTP id 14mr458441ank.89.1227083957775; Wed, 19 Nov 2008 00:39:17 -0800 (PST) Original-Received: by 10.100.13.13 with HTTP; Wed, 19 Nov 2008 00:39:17 -0800 (PST) In-Reply-To: Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:105812 Archived-At: On Wed, Nov 19, 2008 at 03:01, Stefan Monnier wrote: > Do you advocate making "Local Variables:" in hack-local-variables > customizable as well? If you think one deserves customization, then I'd > argue that the other deserves it just as well. I'd argue that, too, but the uses are quite different. Most "Local Variables:" sections I will encounter are not of my doing; if I change that string, I'll have incompatibilities all around. But that is not true with ".dir-settings.el". I'm not involved in many shared projects, nor likely to be. Bets are that all (or almost all) .dir-settings.el I'll ever find will be my own, in my own projects. It makes perfect sense for me to change that name to something "better" (for subjective values of better). If my assumption is wrong and I find that I'm really running into incompatibilities, I can change it back. But the incompatibility is theoretic; the wish to use a better name is real. > As far as I can tell, the only reason people want to customize it is > because they find the default choice ugly. I.e. for purely aesthetic > reasons. This is a pretty poor justification for introducing complexity > and incompatibilities between projects. The complexity of a defvar is negligible (as I've said, I don't think it merits being documented in the manual). As for aesthetic reasons, that's why we allow changing almost every filename or path used by most Emacs packages. And, regarding incompatibility: why do you assume the first thing people will do is change the value? It is really hard for the user to grasp a comment saying "DO NOT change unless you're aware of the consequences."? > As for its name: we're not wedded to it, AFAIK. It was the result of > a pretty long thread, so it's not going to be easy to find something > else that's more or less consensual. But for starters, if people could > argue about why it's "ugly", maybe we can tweak it. I'm no big believer in restarting already settled discussions for "aesthetic reasons". That's why I strongly believe it is better to let those who want to change it to do so: because there is no good value that will look nice to everyone. No amount of discussion is going to change that. Juanma