From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Add a separate mode for .dir-locals.el Date: Thu, 17 Oct 2019 17:47:16 +0000 Message-ID: <20191017174715.GA8064@ACM> References: <2058328b-aee5-8cb1-2659-a793e1354517@mit.edu> <87wod4m7sr.fsf@gnus.org> <835zkndcz4.fsf@gnu.org> <83ftjrbjhm.fsf@gnu.org> <83sgnr9vnh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="13430"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.10.1 (2018-07-13) Cc: cpitclaudel@gmail.com, emacs-devel@gnu.org, Stefan Monnier , joaotavora@gmail.com To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 17 19:49:29 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iL9tw-0003JZ-9q for ged-emacs-devel@m.gmane.org; Thu, 17 Oct 2019 19:49:28 +0200 Original-Received: from localhost ([::1]:55060 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL9tu-0005Gp-5c for ged-emacs-devel@m.gmane.org; Thu, 17 Oct 2019 13:49:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53850) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL9ry-0005Cz-Bn for emacs-devel@gnu.org; Thu, 17 Oct 2019 13:47:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iL9rv-0004Zx-L9 for emacs-devel@gnu.org; Thu, 17 Oct 2019 13:47:25 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:23510 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1iL9ru-0004YN-Ca for emacs-devel@gnu.org; Thu, 17 Oct 2019 13:47:22 -0400 Original-Received: (qmail 92886 invoked by uid 3782); 17 Oct 2019 17:47:19 -0000 Original-Received: from acm.muc.de (p4FE15CD5.dip0.t-ipconnect.de [79.225.92.213]) by colin.muc.de (tmda-ofmipd) with ESMTP; Thu, 17 Oct 2019 19:47:16 +0200 Original-Received: (qmail 8840 invoked by uid 1000); 17 Oct 2019 17:47:16 -0000 Content-Disposition: inline In-Reply-To: <83sgnr9vnh.fsf@gnu.org> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 193.149.48.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:241157 Archived-At: Hello, Eli. On Thu, Oct 17, 2019 at 19:36:18 +0300, Eli Zaretskii wrote: > > From: Stefan Monnier > > Cc: Eli Zaretskii , Clément Pit-Claudel > > , emacs-devel > > Date: Thu, 17 Oct 2019 11:32:24 -0400 > > > A better option would be to have a base `lisp-prog-mode` and hen > > > derive emacs-lisp-mode from it. > > Exactly. dir-locals-mode should share a parent with emacs-lisp-mode. > I disagree that dir-locals-mode should exist. I agree with you. The motivation for dir-locals-mode seems to be solely that there's some problem in fly{make,check}-mode involving .dir-locals. What key bindings would people want in dir-locals-mode? What indentation strategies, what font-locking? Nobody's given such positive reasons, as yet (unless I've missed a post). And making a common ancestor for this new mode and emacs-lisp-mode would be a Bad Thing. It would fragment e-l-m for no particular gain. I say there should be no such new mode. The problems should be fixed in fly*.el, which surely should be possible. -- Alan Mackenzie (Nuremberg, Germany).