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 19:38:32 +0000 Message-ID: <20191017193832.GB8064@ACM> References: <87wod4m7sr.fsf@gnus.org> <835zkndcz4.fsf@gnu.org> <83ftjrbjhm.fsf@gnu.org> <83sgnr9vnh.fsf@gnu.org> <20191017174715.GA8064@ACM> 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="227799"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.10.1 (2018-07-13) Cc: Eli Zaretskii , cpitclaudel@gmail.com, Stefan Monnier , emacs-devel@gnu.org To: =?iso-8859-1?Q?Jo=E3o_T=E1vora?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 17 21:39:10 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 1iLBc5-000x85-Ta for ged-emacs-devel@m.gmane.org; Thu, 17 Oct 2019 21:39:10 +0200 Original-Received: from localhost ([::1]:58170 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLBc4-0007dY-AZ for ged-emacs-devel@m.gmane.org; Thu, 17 Oct 2019 15:39:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42805) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLBbb-0007dR-Jz for emacs-devel@gnu.org; Thu, 17 Oct 2019 15:38:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iLBba-0008LB-GY for emacs-devel@gnu.org; Thu, 17 Oct 2019 15:38:39 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:34048 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1iLBba-0008Kq-53 for emacs-devel@gnu.org; Thu, 17 Oct 2019 15:38:38 -0400 Original-Received: (qmail 57076 invoked by uid 3782); 17 Oct 2019 19:38:36 -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 21:38:32 +0200 Original-Received: (qmail 9225 invoked by uid 1000); 17 Oct 2019 19:38:32 -0000 Content-Disposition: inline In-Reply-To: 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:241171 Archived-At: Hello, Joćo. On Thu, Oct 17, 2019 at 19:19:39 +0100, Joćo Tįvora wrote: > Alan Mackenzie writes: [ .... ] > > 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. > What exactly do you mean by "fragmentation"? Something which is a coherent whole and is currently in one place will be split amongst two, or several, places, leaving it less coherent. > What is the thing that you can do now that you believe you will not be > able to do later? Nothing, of course. But it will be more difficult, less pleasant, more frustrating and more error-prone. Maybe not by a lot, but noticeably so. There were several bugs several years ago caused by the introduction of prog-mode. And there are now features in major modes where it's not obvious whether they're implemented in prog-mode or the major mode itself. Finding that out is extra work. That's fragmentation. > Joćo -- Alan Mackenzie (Nuremberg, Germany).