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 15:26:28 +0300 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> <5c9ce9a7-aaa7-8299-e5be-498cb4f2b173@yandex.ru> <8336fo6koq.fsf@gnu.org> <09a6f3b6-6743-fe31-4be8-9283e59753fd@yandex.ru> <83eez64nw3.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="133307"; 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 14:27:20 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 1iMWmM-000YWL-Qx for ged-emacs-devel@m.gmane.org; Mon, 21 Oct 2019 14:27:18 +0200 Original-Received: from localhost ([::1]:40060 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMWmL-0002yH-0r for ged-emacs-devel@m.gmane.org; Mon, 21 Oct 2019 08:27:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57162) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMWle-0002y6-GF for emacs-devel@gnu.org; Mon, 21 Oct 2019 08:26:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMWld-0004Ef-F4 for emacs-devel@gnu.org; Mon, 21 Oct 2019 08:26:34 -0400 Original-Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:38364) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMWld-0004E0-76; Mon, 21 Oct 2019 08:26:33 -0400 Original-Received: by mail-wm1-x32d.google.com with SMTP id 3so12589763wmi.3; Mon, 21 Oct 2019 05:26:33 -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=lvdxbOoFvPUTNFmpNELxLygH0/XUxiVvxJeI8mKf/yI=; b=FD7PsRbH0DGBnU/LKvj58fNRRHoaxBbA2nqh9FqaGtXnEJKFVNbeF+8tXDEXzoGlZ/ bBtW0zLnBb0Q7uDsveSh/fRr7DXCfk2n2znTw2hc7+Dss9YSJo0yoN/IB0ITTRtZBU/P aDpyMcUM8IByRrM8HimAxWkPZdivtRHjNuCGdVgOSMXopYPSF04mRQBK5+YAoEhxvLk3 ur4hZX5pspGPguRLGkY0qdOCKtoNKTHzVP128qVdg5x++uBh+oH8iukFVFA7kghogO2x Xl7lTHPqHFF8EWyTWzB99xr7b1IRZTy1tPyxsD9jRuWHeXfV2Hn0RhV0bqP7oiyc1kVn CYKQ== 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=lvdxbOoFvPUTNFmpNELxLygH0/XUxiVvxJeI8mKf/yI=; b=cyoAKja9KwR8aDmobELTP29F6v2jI9GszpCvWYJj4u03PtKFSxdEsvew4NyYjQlxRp rBrSwuZIVUsQ0n8mSKAskEn6QMcqBQj4LyJkEKcanmIWs3lPAyLBmUXL7p1w4Ieqk4Mx eqvr9S7fDUepX3gfb6tDVCSplYdi4ag4uIUxCK/LaaBZT6WBqMhDNKRpni+aD6kwr+on f1ZXqfHSIIb9N4Gvw+sWUAoFyycjLFiaazwYEABdNfu3mp7YbNArhRwX9w5gq6snPrwI Tov+l8oIftgJOK7uG82IS2q4x2CTf+9zrwtrdM+bbjPYoSQIeb1dOpGdnJT2TCiKHYHR iMCA== X-Gm-Message-State: APjAAAVpzYXEmCuUxjrxkRr+010xTynLeKFtBBvr0EXzdwFLtd0EMaRs h5kb7CfYs0nj1VJwkOeUNYMiQhXi X-Google-Smtp-Source: APXvYqxZSVmb4sf1/+m8MvibO8PG89h/qnUxzvH8SPnUybxwSg5QMhKL89UVhL4IRdjRLFhgJ2zP1A== X-Received: by 2002:a1c:e404:: with SMTP id b4mr20538262wmh.90.1571660791269; Mon, 21 Oct 2019 05:26:31 -0700 (PDT) Original-Received: from [192.168.0.140] ([109.110.245.170]) by smtp.googlemail.com with ESMTPSA id z142sm15227464wmc.24.2019.10.21.05.26.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Oct 2019 05:26:30 -0700 (PDT) In-Reply-To: <83eez64nw3.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::32d 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:241295 Archived-At: On 21.10.2019 9:24, Eli Zaretskii wrote: >> So we have several features that, somewhere in the implementation, will >> need to make that check and act differently because of that. A new major >> mode will do that nicely. > > And the current major mode mostly does TRT already, as you yourself > point out. There's no *and* here. I'm talking about how the current major mode will have to function. It does TRT only for Xref, but not for completion-at-point-functions, or Flymake/Flycheck. As I have pointed out in some detail. >> Speaking of no-brainers, I don't see why you're fighting this one. > > I don't like the idea, given the motivation. Am I allowed to have gut > feelings? I suppose. Though, when asked, in similar situations I try to describe my "gut feeling" in logical terms, in terms of user experience, etc. Similarly to what I have done in this discussion. When one side wields explanations and another is based on gut feeling, is often when we have long, pointless discussions like this one. > Is the question "why you're fighting this one" only > applicable to me? I don't think so. In general, we should use it more often. For instance, in the very discussion where I got the "no-brainer" quote from, I conceded the essence of the change and now only focus on the details of the implementation.