From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Add a separate mode for .dir-locals.el Date: Thu, 17 Oct 2019 20:52:00 +0300 Message-ID: <83eezb9s5b.fsf@gnu.org> References: <2058328b-aee5-8cb1-2659-a793e1354517@mit.edu> <87wod4m7sr.fsf@gnus.org> <835zkndcz4.fsf@gnu.org> <83ftjrbjhm.fsf@gnu.org> <83ftjr9sx4.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="46091"; mail-complaints-to="usenet@blaine.gmane.org" Cc: cpitclaudel@gmail.com, monnier@iro.umontreal.ca, 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 19:56:33 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 1iLA0n-000Br6-1r for ged-emacs-devel@m.gmane.org; Thu, 17 Oct 2019 19:56:33 +0200 Original-Received: from localhost ([::1]:55472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLA0l-0004iI-UY for ged-emacs-devel@m.gmane.org; Thu, 17 Oct 2019 13:56:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54913) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL9wg-0001rx-1E for emacs-devel@gnu.org; Thu, 17 Oct 2019 13:52:18 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43329) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iL9wf-00079i-E7; Thu, 17 Oct 2019 13:52:17 -0400 Original-Received: from [176.228.60.248] (port=1556 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iL9we-0005jO-NW; Thu, 17 Oct 2019 13:52:17 -0400 In-reply-to: (message from =?iso-8859-1?Q?Jo?= =?iso-8859-1?Q?=E3o_T=E1vora?= on Thu, 17 Oct 2019 18:42:32 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:241159 Archived-At: > From: João Távora > Cc: monnier@iro.umontreal.ca, cpitclaudel@gmail.com, emacs-devel@gnu.org > Date: Thu, 17 Oct 2019 18:42:32 +0100 > > >> Indeed, quite nice. Eli, would you also opposed to having .dir-locals.el > >> buffers use emacs-lisp-data-mode by default? We could reuse it for > >> other things other than dir-locals. > > > > As I said, I don't want to introduce a major mode for this tiny > > problem. It's gross. > > If the problem is small but the best solution is equally small and > cheap, then I think you should consider it. Stefan's solution isn't > gross at all, it's the most correct way to reuse code in this situation. If you are going to disregard my opinion, why did you ask for it?