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:46:49 +0000 Message-ID: <20191017194649.GC8064@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=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="259941"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.10.1 (2018-07-13) Cc: joaotavora@gmail.com, Eli Zaretskii , cpitclaudel@gmail.com, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 17 21:47:06 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 1iLBjk-0015Tb-Sk for ged-emacs-devel@m.gmane.org; Thu, 17 Oct 2019 21:47:05 +0200 Original-Received: from localhost ([::1]:58332 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLBjj-0002zH-83 for ged-emacs-devel@m.gmane.org; Thu, 17 Oct 2019 15:47:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44213) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLBja-0002xM-Se for emacs-devel@gnu.org; Thu, 17 Oct 2019 15:46:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iLBjY-0002YR-KH for emacs-devel@gnu.org; Thu, 17 Oct 2019 15:46:54 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:34132 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1iLBjY-0002Xr-95 for emacs-devel@gnu.org; Thu, 17 Oct 2019 15:46:52 -0400 Original-Received: (qmail 63227 invoked by uid 3782); 17 Oct 2019 19:46:51 -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:46:49 +0200 Original-Received: (qmail 9263 invoked by uid 1000); 17 Oct 2019 19:46:49 -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:241172 Archived-At: Hello, Stefan. On Thu, Oct 17, 2019 at 14:08:45 -0400, Stefan Monnier wrote: > > I say there should be no such new mode. The problems should be fixed in > > fly*.el, which surely should be possible. > It definitely does not belong in fly*.el which should know nothing about > emacs-lisp-mode or any specific major mode for that matter. Well, fly*.el needs to know _some_ things about its potential target files. For example, that they can be sensibly submitted to make. Determining this shouldn't require emacs-lisp-mode to be fragmented. I don't know much about these fly* modes (I don't use them), but somehow they must contain a mechanism analogous to auto-mode-alist which determines whether (and possibly how) to submit a file to make. Surely this mechanism is the place to filter out .dir-locals.el and similar files. > Stefan -- Alan Mackenzie (Nuremberg, Germany).