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: Sun, 20 Oct 2019 01:01:06 +0300 Message-ID: <80464c43-d9ba-c698-8d13-704ce2cd0c2d@yandex.ru> References: <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> <20191019213544.GD7911@ACM> 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="244823"; 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: Eli Zaretskii , emacs-devel@gnu.org, =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= , monnier@iro.umontreal.ca, joaotavora@gmail.com To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 20 00:02:18 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 1iLwnh-0011ZZ-Hs for ged-emacs-devel@m.gmane.org; Sun, 20 Oct 2019 00:02:17 +0200 Original-Received: from localhost ([::1]:39560 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLwnf-0000WV-RK for ged-emacs-devel@m.gmane.org; Sat, 19 Oct 2019 18:02:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57292) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLwmi-0000W2-22 for emacs-devel@gnu.org; Sat, 19 Oct 2019 18:01:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iLwmg-0004cD-0n for emacs-devel@gnu.org; Sat, 19 Oct 2019 18:01:15 -0400 Original-Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:35336) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iLwmd-0004b7-LC; Sat, 19 Oct 2019 18:01:12 -0400 Original-Received: by mail-wr1-x429.google.com with SMTP id l10so9346553wrb.2; Sat, 19 Oct 2019 15:01:11 -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=gDWm4ZMgNxZAej8YefSFEPx/LnCjgwpx4o1yx3ASCc8=; b=pFRvhUu5Yc46E3OCDx+ehlp3jvX7vd2LpGSgljrpqY9d50WXXwibDPP/pxgTkSNpcb 5VvG2PwmDWmEA5mdMK39Q2oNJcpirzK3x4WfzS1GQy6GZh9XxayXGfbrTegFjhqrPcZr W0gnjzzxVZEXLMX/7AhDDfjbzDyfS3rCbOKcjyNSweAVxsXTDONJsc+PIVqpGpRDHK+C ujI/7OTALhVqdqhTIVofwJaw5ISkPjxAvnsQ6rjwAAZs/dvxM9h3A+3lYzgYX2YZQy+5 59sHpk8xg2iG6jXZodoxwvAt+EmHUUxKTt2t6hqJRmiPgpscA+VJgm9HndBlCq05poR4 TXyA== 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=gDWm4ZMgNxZAej8YefSFEPx/LnCjgwpx4o1yx3ASCc8=; b=RMivSBMk7oChiBOz+KyIS5+91ptvz2UE5QjXJMb/Zt6rDBUvyr2KGvpoG6Z3cttjzc 75d8q0uGHJ3Yp9UFMO94unXVnXLeq667VYmN4CCt6vWsWh5SYH6vRYqFDWA1b8kwvg04 sq8+/XbLIYc+AFy2jLUGZjV+f1pSM5cJoI1hR82RwfHWtSyf2FU0x3j6ueR7ZkOwFUmK 82e4EQa93vnoTuEd9GxOi/JS8ApNxdG3184y8YSYwCdzi4BfqFKsKWhl/aZBlUAwLtk0 TujpCLQnWZjhQSrGACzyc5OB0QKOEAgBEQzIA4upLQlGFxZaktaQURDM7spRJKYnAv/G QUfQ== X-Gm-Message-State: APjAAAUEwFMFJZnyzfKDbKxN6sR6kOCJsudKqFbTf1D3r0C8bObfIB+G nlr31kYTdwQhacYgxU39MMkgNw/P X-Google-Smtp-Source: APXvYqy1U4oSgySOFpYZtju3ryTSh8iZShQEBu90p8+NgAohbZyXrr5zk1lA7iKXaNYX9A/eV62Hug== X-Received: by 2002:a5d:4286:: with SMTP id k6mr12662539wrq.192.1571522470097; Sat, 19 Oct 2019 15:01:10 -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 w9sm2011073wrt.85.2019.10.19.15.01.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 19 Oct 2019 15:01:09 -0700 (PDT) In-Reply-To: <20191019213544.GD7911@ACM> 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::429 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:241240 Archived-At: On 20.10.2019 0:35, Alan Mackenzie wrote: > Just as little effort is "elisp-data-only: t" in the local variables > section. This unambiguously does not contort the notion of major mode. We can't be sure that it's in all .dir-locals.el. And that doesn't save us from a conditional in each and every hook function that implement a facility for Emacs Lisp code.