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: Sat, 19 Oct 2019 23:38:20 +0300 Message-ID: <5c9ce9a7-aaa7-8299-e5be-498cb4f2b173@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> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="186476"; 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: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= , Eli Zaretskii , =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 19 22:38:59 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 1iLvV5-000mKu-A9 for ged-emacs-devel@m.gmane.org; Sat, 19 Oct 2019 22:38:59 +0200 Original-Received: from localhost ([::1]:37398 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLvV4-0004iH-5e for ged-emacs-devel@m.gmane.org; Sat, 19 Oct 2019 16:38:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51614) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLvUY-0004ft-1T for emacs-devel@gnu.org; Sat, 19 Oct 2019 16:38:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iLvUX-0002iw-1Q for emacs-devel@gnu.org; Sat, 19 Oct 2019 16:38:25 -0400 Original-Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:46448) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iLvUW-0002iV-S6; Sat, 19 Oct 2019 16:38:24 -0400 Original-Received: by mail-wr1-x434.google.com with SMTP id o18so9640316wrv.13; Sat, 19 Oct 2019 13:38:24 -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=Zc4nQdx5EAHkNUlVpLpgh7FFBtBhprp5dyRFeIMGEts=; b=dQNctPVFGdmvoUB+WIPxZaDBzRVAxS0X+tZ+kJMH1S8t3yYdhJZuRM3e8NqMYuM+tW OEybgdC3/UR2TTGJevvLm5TMtDgsnoaXdYsGGRFmqZwGtPVthkYvoXOX+AySrDJlKc/n 3kfEpu0h32w14exmy6QQ627Sj1rhgEvNW7v0UABbPFfG1E/A7XL/qL12gGQkmEXA9OZS A/i5WidZ5AMDf5ay/7vLRLLn5y6MvU4blb0UNEMHXGA7tgcKGwceVe1vJL1uVRa5Ct9f Q5nfPXpG5i07Afs9N1SVhzGfUR7kjk5M4kMFeAL/QSPEHDkBhMjZwojgOilqQP4Wf6cC 2D+Q== 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=Zc4nQdx5EAHkNUlVpLpgh7FFBtBhprp5dyRFeIMGEts=; b=HCvBL8oqrtw3HBmiJjH6xoawqp5lm4ML75JlDzP+2KL9yvSouQw8cwYVBRU2e/AV16 M1QtQYlTftQj55rU5rbdNlrtkwnlgq6YyhMTtvVHwrjuoEPXl9MiCkpH8lUaMNh//90X 1rrymZnF/HeZgv7gWxRIjLpTVJEGfzkYt3hjPDJLe6QXHf3IHln+Ja3kwaShnrCdpMIc 4L3fRAyxu8kUzXVDBXR2yWpDF8pdLxo3xZ0Mq/+qc2YgFFxI1jLD5zN/Qn4j61bSCo8r WXkUxMFbBr142JAOMo3bzU2M7graOS017+ZMCcChJ2oHRMdjXDIGQQOSx1h6i90AY4M8 1POw== X-Gm-Message-State: APjAAAVz2JwXgxcwjneDnUPEcn58A+W6z2wHHhIH6DsmMZgNQA4K0tWe QKuA49b81RuCsILHnmxr9ETwUNn6 X-Google-Smtp-Source: APXvYqzRArO4DuD3FSM2oGCY59zV/JDOKl8L1dq+KOmJsQ5I5h1e0XXKYMcUjd0oqNw6m3OjU1Uo1g== X-Received: by 2002:a5d:674f:: with SMTP id l15mr4772782wrw.80.1571517503434; Sat, 19 Oct 2019 13:38:23 -0700 (PDT) Original-Received: from [192.168.1.125] (62-65-176.netrun.cytanet.com.cy. [62.228.65.176]) by smtp.googlemail.com with ESMTPSA id t10sm12213048wrw.23.2019.10.19.13.38.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 19 Oct 2019 13:38:22 -0700 (PDT) In-Reply-To: <7f141905-6be3-2c21-e2af-b5926dd80223@gmail.com> 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::434 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:241236 Archived-At: On 19.10.2019 15:53, Clément Pit-Claudel wrote: > Finally, what motivated me to propose a split was the fact that a fix was needed in two places (Flymake and Flycheck), and likely in others (company and completion-at-point-functions should ideally work differently in .dir-locals.el; imenu doesn't make much sense there, ELisp syntax-highlighting is sub-optimal for these files outside of `eval' forms, etc.). Exactly. xref-backend-functions and project-external-roots-functions come to mind as well. And they all will have to duplicate the check.