From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: Add a separate mode for .dir-locals.el Date: Thu, 17 Oct 2019 07:51:59 -0400 Message-ID: References: <2058328b-aee5-8cb1-2659-a793e1354517@mit.edu> <87wod4m7sr.fsf@gnus.org> <835zkndcz4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="259545"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 To: emacs-devel@gnu.org, =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 17 13:52:36 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 1iL4KZ-0015Lx-0a for ged-emacs-devel@m.gmane.org; Thu, 17 Oct 2019 13:52:35 +0200 Original-Received: from localhost ([::1]:44760 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL4KX-00067X-M1 for ged-emacs-devel@m.gmane.org; Thu, 17 Oct 2019 07:52:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49748) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL4K2-00067P-UZ for emacs-devel@gnu.org; Thu, 17 Oct 2019 07:52:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iL4K1-0004vP-Qa for emacs-devel@gnu.org; Thu, 17 Oct 2019 07:52:02 -0400 Original-Received: from mail-qt1-x82d.google.com ([2607:f8b0:4864:20::82d]:47082) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iL4K1-0004vE-L6 for emacs-devel@gnu.org; Thu, 17 Oct 2019 07:52:01 -0400 Original-Received: by mail-qt1-x82d.google.com with SMTP id u22so3040993qtq.13 for ; Thu, 17 Oct 2019 04:52:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=U6w7kBTKW6CDMVz/bR4ZIIU/EgjUukQN48KeEabB9Qg=; b=us2jh5bFlwRExo9j05GDKLjl8p1WNS0QeFDNyF4gYmFW0OaOwDst38Vvp6fFRaF3fj yxkixi/vUufbzu2NRWLwsFWZYsqSo8knw/BevZXP8m/Ma3pfYwsW1OS8uYvMcailBD2y Uf2FVqVVIHpOPNZ9NisTqKPeWyyAfblAu73vBwvjsMaZzidTWpaUCeGdFD7dqUQH6N+Q yKfaScX5ad2/EuUNNVLKalg9v9FV9I2LFYkn717FQkBwdidy90U1KsH668pfvbfU5tlD BIBRpBtvJ0dhFItlGMbBkaWaRbm6U6mGnOhY9Tx6ePJz4CUf2Ue63p9/P0phtrHRx3Us FKtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=U6w7kBTKW6CDMVz/bR4ZIIU/EgjUukQN48KeEabB9Qg=; b=sGHJc77FzCXqZUvgN0mVaVsp2tUwehwcNTahX6ywfu8eFiWFisTLLnHjth7QbUv+8l UVAjPHwfb2QwAIP4Ib8yUpmA3je+oHzL7rUTuMu29TStIVJIEtEEDaWT/FYFaNA9ail6 i0zm9hqBUPFC89tDofA4RlybEv2dRpPfMr4zsA+USQOgFkIxxuEw/QpGGUwFZ1nz0DcE ob/lXkL+lG0sHOHKfnl+IEFzjntGBjhFqM7XOZbBwVWbzmOYJJJxTvVV3lzbICu8g/Zk eBSUs0blAlMIuVsyMo3NniuACJKwlwKGkKzFsaR2ED+oPnUhCQmU05SohNkPnromFavR AwLg== X-Gm-Message-State: APjAAAXcGwygKWbV01FJRQLbgEaFR8r1iETEVd01jkR0vZFf0OO1uBz3 nr4GRTOnUdU3ds0ZXcRAdNI= X-Google-Smtp-Source: APXvYqw3a3lzFUnTp6CTRbvSfl8JnQ0Hn/DGV1jdQ8RZL68ZSjS7T/3U1QFgzairfzt3vDb1NSQTpA== X-Received: by 2002:ac8:2670:: with SMTP id v45mr3334519qtv.233.1571313121105; Thu, 17 Oct 2019 04:52:01 -0700 (PDT) Original-Received: from ?IPv6:2601:184:4180:66e7:29f4:b2db:5f83:f6d2? ([2601:184:4180:66e7:29f4:b2db:5f83:f6d2]) by smtp.googlemail.com with ESMTPSA id w6sm858219qkj.136.2019.10.17.04.52.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Oct 2019 04:52:00 -0700 (PDT) In-Reply-To: <835zkndcz4.fsf@gnu.org> Content-Language: en-GB X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::82d 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:241130 Archived-At: On 2019-10-17 03:53, Eli Zaretskii wrote: >> From: Lars Ingebrigtsen >> Date: Thu, 17 Oct 2019 04:20:52 +0200 >> Cc: Emacs developers >> >> Clément Pit-Claudel writes: >> >>> The attached patch creates a trivial dir-locals-mode, derived from >>> emacs-lisp-mode, and removes Flymake backends in that mode. >>> >>> Thoughts? >> >> Makes sense to me. > > Isn't it more logical for this to be solved in Flymake itself, > including letting users have Flymake enabled in their dir-locals > files? CC-ing João for an opinion. My concern was mostly to give minor modes a clear signal that they can use to tell whether they are in proper emacs-lisp-mode, or in a dir-locals.el, as well as giving users a hook for .dir-locals.el files.