From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Add a separate mode for .dir-locals.el Date: Mon, 21 Oct 2019 16:34:02 +0300 Message-ID: <0285bcef-932f-86dd-4652-c6ee1344954b@yandex.ru> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="165889"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 Cc: cpitclaudel@gmail.com, emacs-devel@gnu.org, joaotavora@gmail.com, monnier@iro.umontreal.ca To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 21 15:35:17 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 1iMXq8-000h0n-5L for ged-emacs-devel@m.gmane.org; Mon, 21 Oct 2019 15:35:16 +0200 Original-Received: from localhost ([::1]:41808 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMXq6-0006z9-D6 for ged-emacs-devel@m.gmane.org; Mon, 21 Oct 2019 09:35:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39795) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMXp4-0006uu-Se for emacs-devel@gnu.org; Mon, 21 Oct 2019 09:34:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMXp2-00067D-P8 for emacs-devel@gnu.org; Mon, 21 Oct 2019 09:34:10 -0400 Original-Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:36610) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMXp2-00066n-IV; Mon, 21 Oct 2019 09:34:08 -0400 Original-Received: by mail-wr1-x431.google.com with SMTP id w18so13480872wrt.3; Mon, 21 Oct 2019 06:34:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=YScODu3+rXwZodfS9xO1nvBJVcQ4JRm7ig3sIuxGW6s=; b=XP15Dc1xs5DRnxqfsh65NFGWRGHaHkwh/3vHxbdJOWnI6gwgVVf166Fax7si9R1rtw QKwm9edlMvzmKr1oF/pjcBvloSd/G+FEVhagHYSUT4so0xVyMxi9euVsFKnVy+QcLr37 2e1QQlxirFQ84RP2oy0Y3PQ3C0az9bxpdxPioasenGk3V+MlNyOcvpiCVLCDu+NE2Cw1 LUrOSySEleWMU2x/UXnpcRDr8xPNTpEpDCRIj6dB7HeItxG7Mik+owPdxux3iIJPZiOA 15rJ6sKrBGNCjFDFJpNiCulIlMDRe1bpRDL5AxSlJutAeNSHymJgXp3F+Q0ka1cHC6h0 Bgng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=YScODu3+rXwZodfS9xO1nvBJVcQ4JRm7ig3sIuxGW6s=; b=J7cBgmOjImxIrjop4WXOtsHH52ixlwJHp3R1ViQ+vCwgnftVRoTM2eXH9QkNQm+zjo x12bcliq7n4oQ3qVTOfxFwVcldEiJWqIkOpjNx8GqqqjaFjDcActYtr9IWcebdA+//IW CMawtqZDZ+0eBplS+Bt7ueT5++lnbigUHphUISH8b4SjuMwHwPqblx6U28qj0CgqfHgu 1jmFja8X4YbXGzYXcwpnYmeOdb1usY/FbEBc2tEbJWERDqNIjxikzrZzq0Xo5K6xeel+ nfaJ5NaIPv/F8sgMUcKM8/siq5CVO+kJc3qDU3vyGBiFFWGSfmYw5ZS7qRgZ9538U2En bXBA== X-Gm-Message-State: APjAAAUZsa/EC0apWqpxtSUlwPZoCuQ4q7dfkrzwT5Qoal5jIpXX+JdD A4NtUtGPb9Jq5zAGNpfPtl5Dor90 X-Google-Smtp-Source: APXvYqzrj2ikbPtU61f3xHJ6TV++5/lhSXFxzjvqHbSnhID/K5BVTjZfskeOCOfWqlQ67k3LOC0AFQ== X-Received: by 2002:adf:b219:: with SMTP id u25mr13663209wra.327.1571664846989; Mon, 21 Oct 2019 06:34:06 -0700 (PDT) Original-Received: from [192.168.0.140] ([109.110.245.170]) by smtp.googlemail.com with ESMTPSA id u2sm12398505wml.44.2019.10.21.06.34.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Oct 2019 06:34:05 -0700 (PDT) In-Reply-To: <83h8422qaq.fsf@gnu.org> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::431 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:241302 Archived-At: 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.