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 21:28:36 +0300 Message-ID: <83bluf9qgb.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> <83eezb9s5b.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="192196"; 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 20:29:07 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 1iLAWF-000nkk-Co for ged-emacs-devel@m.gmane.org; Thu, 17 Oct 2019 20:29:03 +0200 Original-Received: from localhost ([::1]:56164 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLAWD-0001HZ-Co for ged-emacs-devel@m.gmane.org; Thu, 17 Oct 2019 14:29:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59940) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLAW5-0001Fy-Dt for emacs-devel@gnu.org; Thu, 17 Oct 2019 14:28:54 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43972) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iLAW5-0007Y1-0m; Thu, 17 Oct 2019 14:28:53 -0400 Original-Received: from [176.228.60.248] (port=3777 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iLAW4-0006Wz-9p; Thu, 17 Oct 2019 14:28:52 -0400 In-reply-to: (message from =?iso-8859-1?Q?Jo?= =?iso-8859-1?Q?=E3o_T=E1vora?= on Thu, 17 Oct 2019 19:09:11 +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:241165 Archived-At: > From: João Távora > Cc: monnier@iro.umontreal.ca, cpitclaudel@gmail.com, emacs-devel@gnu.org > Date: Thu, 17 Oct 2019 19:09:11 +0100 > > Eli Zaretskii writes: > > >> 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? > > You asked summarily: "someone should do some research and find out what > it entails". I simple gave an answer to those questions: use the small > patch by Stefan and add some entries to auto-mode-alist, starting with See above: you asked whether I disagreed, I said I did, and you then replied that you still think what I disagreed to was a good idea. > So I didn't really disregard it, I simply advanced new arguments and am > asking you to reconsider. Stefan's patch is not a new argument, I've seen it before replying to your question. > Also, with all due respect, your "opinion" is less important to me than > the material reasons that you advance to justify it. I just though > "it's gross" wasn't a sufficiently developed reason. "Opinion", in quotes? really? Thanks a lot, that's a great way to enhance my motivation to continue being a co-maintainer for this project. "Gross" means that it solves the problem not where it is caused, and thus makes the maintenance harder by spreading information far from where it should be. Who will remember that we introduced this mode to fix that particular problem, and who will know that it may need to be updated or removed, depending on the future development of Flymake? No one will remember. I suggested to look at the other similar files and try to describe their common traits as a means to arrive at the decision whether we might need some variant of ELisp mode for such files. Just pointing out that the files exist is not enough, as that doesn't give us enough information for discussing such a mode.