From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: Add a separate mode for .dir-locals.el Date: Mon, 21 Oct 2019 14:41:03 +0100 Message-ID: References: <2058328b-aee5-8cb1-2659-a793e1354517@mit.edu> <835zkndcz4.fsf@gnu.org> <83ftjrbjhm.fsf@gnu.org> <83ftjr9sx4.fsf@gnu.org> <83eezb9s5b.fsf@gnu.org> <83bluf9qgb.fsf@gnu.org> <835zkn9o01.fsf@gnu.org> <83lfti8ovn.fsf@gnu.org> <83d0eu8c80.fsf@gnu.org> <83lfth6p0y.fsf@gnu.org> <7f141905-6be3-2c21-e2af-b5926dd80223@gmail.com> <83a79w7rg6.fsf@gnu.org> <38522c1f-8127-0560-7cc5-7bdce849e650@yandex.ru> <831rv86kcg.fsf@gnu.org> <60d451a0-9cbb-4158-6143-3646c1eb05f2@yandex.ru> <83h8422qaq.fsf@gnu.org> <0285bcef-932f-86dd-4652-c6ee1344954b@yandex.ru> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000070611005956bd6fa" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="197929"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Eli Zaretskii , emacs-devel , =?UTF-8?Q?Cl=C3=A9ment_Pit=2DClaudel?= , Stefan Monnier To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 21 15:42:01 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 1iMXwd-000pHx-6r for ged-emacs-devel@m.gmane.org; Mon, 21 Oct 2019 15:41:59 +0200 Original-Received: from localhost ([::1]:42078 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMXwb-0006q2-1k for ged-emacs-devel@m.gmane.org; Mon, 21 Oct 2019 09:41:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41126) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMXw0-0006lc-1f for emacs-devel@gnu.org; Mon, 21 Oct 2019 09:41:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMXvx-0008Jv-Tf for emacs-devel@gnu.org; Mon, 21 Oct 2019 09:41:19 -0400 Original-Received: from mail-io1-xd32.google.com ([2607:f8b0:4864:20::d32]:37819) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMXvw-0008Ix-AX; Mon, 21 Oct 2019 09:41:16 -0400 Original-Received: by mail-io1-xd32.google.com with SMTP id 1so4583792iou.4; Mon, 21 Oct 2019 06:41:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mQ08WJZHJClanOvk/2ThlFh0zkdGZLtZaSfpIaKiWbc=; b=dR/6nFWS/pf2ZWwPaU0u8LeO2Y0IDR+l0ZtmvRO6COZBdjS+/rC4TEmhscN1Jov4Tj Uu47yPVn/P06Q2GEOqhNi27u8hqgn/rEifokkIjROLIqAVqPWeODdNrqD8LN8A+CM/Sh aNDRxVREqNYdoLvK4Gj7Xve+JQ6txF1+kP5KbXRDQClvbHw55xvRjBridCIr2eO6+kZh WddwgHBgBmgEDMSpOYc8BILpHFP/bwpW2Nb4W6/jkic0h0ZI6tVxq5fWgLnxVmBN1Jqo CYPuhHu8gblvG+cwnxugxcUegtq0ZSjgXfQbUoGgSt/DrR1f1slyoiZCw2NRWdi9mrWV 8ZmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mQ08WJZHJClanOvk/2ThlFh0zkdGZLtZaSfpIaKiWbc=; b=ZYGaZxHU7hgODLoBueujMN6BmEe7OWhFQVgfrosEk6SaPccTY+hIgRM5/MK/hqTuoi 8u4vNryCGWWL3Vhq//BKiUh5fHOTXH+ROmGsc+0YBynOnW5Y7S6dsM7rxB1U+U/B5T3n NE8YRZc6Ma6kUotupx7KPGht9+Y/K7Bc85yCp6gcAL7LKqxENKiHLLl7g+eQO64ZcEwn kspFXG1xihBcI6IZRQcEzBdTFL7KdB2HB2M54IAmri4hFB0+StQmDRhqJ23Ip9rqv5rz 3LUOer+jhtOMFUy/yDmx9hy1maFSSAk+CUNIBmRX3nwq/L73vHgEe4w3mRdlJM/ffjRG twsQ== X-Gm-Message-State: APjAAAUPVMh0SkKH9wCBt3JXD88XYNqbOXwcHOU6+PU+XJOoGKYSgCa2 xOFg/E15l4/qQsKquk8jUWpS6L5JPSERqB7JsZo= X-Google-Smtp-Source: APXvYqwKgHXB9PaeDJvA6vA+cLRvqJfLuPYyKY14ue7OKcvNwYebIKsDDQp4tXkUH6nB61k5irhwfIDtJp1bWtaQFXA= X-Received: by 2002:a5e:8e05:: with SMTP id a5mr4348739ion.125.1571665275279; Mon, 21 Oct 2019 06:41:15 -0700 (PDT) In-Reply-To: <0285bcef-932f-86dd-4652-c6ee1344954b@yandex.ru> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::d32 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:241303 Archived-At: --00000000000070611005956bd6fa Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Oct 21, 2019 at 2:34 PM Dmitry Gutov wrote: > On 21.10.2019 16:15, Eli Zaretskii wrote: > > it was that we shouldn't make the decision before we have > > a good understanding of the problem beyond the specific issue with > > .dir-locals.el > > I think we do, they are just spread evenly across this discussion. > > 1. Flycheck will have to duplicate the same filename check. And IDK if > the same problem applies to other similar files mentioned in this > discussion. I can't find the beginning of this discussion. The current > thread starts with Lars's "Makes sense to me" in my email client. > > 2. elisp-completion-at-point will need to add the same check and do > something different to give better results when such file is being > edited. E.g. currently where the user types a variable name is suggests > functions only (in .dir-locals.el). > > 3. (add-hook 'after-load-functions > #'elisp--font-lock-flush-elisp-buffers) seems strictly unnecessary in > such files. > > 4. project-vc-external-roots-function should probably be nil, but it's > not really hurting anyone. > Add `which-function-mode` to the list, please, also produces bogus results. Jo=C3=A3o --00000000000070611005956bd6fa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, Oct 21, 2019 at 2:34 PM Dmitry Gutov <dgutov@yandex.ru> wrote:
On 21.10.2019 16:15, Eli Zaretskii wrote:<= br> > it was that we shouldn't make the decision before we have
> a good understanding of the problem beyond the specific issue with
> .dir-locals.el

I think we do, they are just spread evenly across this discussion.

1. Flycheck will have to duplicate the same filename check. And IDK if
the same problem applies to other similar files mentioned in this
discussion. I can't find the beginning of this discussion. The current =
thread starts with Lars's "Makes sense to me" in my email cli= ent.

2. elisp-completion-at-point will need to add the same check and do
something different to give better results when such file is being
edited. E.g. currently where the user types a variable name is suggests functions only (in .dir-locals.el).

3. (add-hook 'after-load-functions
#'elisp--font-lock-flush-elisp-buffers) seems strictly unnecessary in <= br> such files.

4. project-vc-external-roots-function should probably be nil, but it's =
not really hurting anyone.

Add `which-function-mode` to the list, please, also produces
bogus results.

Jo=C3=A3o
--00000000000070611005956bd6fa--