From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?iso-8859-1?Q?Jo=E3o_T=E1vora?= Newsgroups: gmane.emacs.devel Subject: Re: Add a separate mode for .dir-locals.el Date: Thu, 17 Oct 2019 16:41:00 +0100 Message-ID: References: <2058328b-aee5-8cb1-2659-a793e1354517@mit.edu> <87wod4m7sr.fsf@gnus.org> <835zkndcz4.fsf@gnu.org> <83ftjrbjhm.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="172183"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (windows-nt) Cc: Eli Zaretskii , =?iso-8859-1?Q?Cl=E9ment?= Pit-Claudel , emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 17 18:22:23 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 1iL8Xe-000iZ8-63 for ged-emacs-devel@m.gmane.org; Thu, 17 Oct 2019 18:22:22 +0200 Original-Received: from localhost ([::1]:52384 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL8Xc-0002qr-IL for ged-emacs-devel@m.gmane.org; Thu, 17 Oct 2019 12:22:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59556) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL7tj-00018z-Dh for emacs-devel@gnu.org; Thu, 17 Oct 2019 11:41:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iL7ti-0005Y2-IV for emacs-devel@gnu.org; Thu, 17 Oct 2019 11:41:07 -0400 Original-Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]:54527) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iL7ti-0005Xh-CV; Thu, 17 Oct 2019 11:41:06 -0400 Original-Received: by mail-wm1-x336.google.com with SMTP id p7so3054164wmp.4; Thu, 17 Oct 2019 08:41:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=ILbG43JhgaMEBUbena4OntREqUgzjiS4cbwmm65t69k=; b=V8KcOiHqiwwInoDwlpILX6gk3bVMF6SV/hTmXQ1+GRvFesptmRkXbE4BQDNHVwUGGh kQPs9kLi7bvRGkY8hcAYdnOgNSLMZ7CSXw5WUx/osqRdsKvgXPyDmSVSJnGipESB2DAG /eX16srXLjMKfhQip/0aLqTdsTxnwdORIf+zr/3heTDV6qzTRSE8ieKGj0vwZD9AS0ZY 9LmJqJFlfELyE1Yo8Z+dQsjjncgSmJxL9RlQ59IW0vNpAuzw/191N2NEh8tmFODZoXOE nHdmw4Jg9y3TXrRrELWUERZ5CT4LbSQ65YOlvwZhM1CwMxKiHSFoLVLbGdr7Z36Vzv81 lnEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=ILbG43JhgaMEBUbena4OntREqUgzjiS4cbwmm65t69k=; b=DQKqtuusO/kMOWiC/V+IJQAMeSIJ9XehsvP2RyBqCvIiVUllSC77J1ALuQa8HPsGSV 4Qt24iS6efpctpMm2xnfdUY9hdx3f5SwYCdEnPgR8ovM2vmhHcW5w0yq3o3NIhMGT5pE TfxkBXIXqXmL6e0g9WTG4O1xlUnwE+zaf+zJkSY+3NR8I9tlK+82buzFMZkfMxJHCA9f /zD1SY2q5wgmD0dcduRhPSapt5G9hIq2FAqea4clddj3I+PrlDn7aNPciQ1YhqWeW+YG zDQiwq+I+52RwF/86jYWe9BZAH8nSWteZymsbpa2g1FhQiQ0K0tJLKtX4Z99VnQzln5V Zeew== X-Gm-Message-State: APjAAAVotH0O4cR3KpOGcV0yH2wLs9fzVkL3zUVYdVuQe9wqoBI1Zuru 82Qk4GZBk+wBfpGh7WHl6oED+6sy X-Google-Smtp-Source: APXvYqyDjh+hb8E3vN6j3W6xLrkfryBeTBIAEMjLDVM5Dgip+oGl9gnRl0lMdFPGo8UY8QdBHELmrg== X-Received: by 2002:a7b:ce8f:: with SMTP id q15mr3414533wmj.3.1571326864873; Thu, 17 Oct 2019 08:41:04 -0700 (PDT) Original-Received: from GONDOMAR.yourcompany.com (mail3.siscog.pt. [195.23.29.18]) by smtp.gmail.com with ESMTPSA id k8sm1226164wrg.15.2019.10.17.08.41.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 Oct 2019 08:41:04 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Thu, 17 Oct 2019 11:32:24 -0400") X-Antivirus: AVG (VPS 191015-6, 16-10-2019), Outbound message X-Antivirus-Status: Clean X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::336 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:241144 Archived-At: Stefan Monnier writes: >> BTW, and on a tangent, a derived dir-locals-mode isn't the >> bestoption. > > I think it is, and you seem to agree below: I was unclear. I wrote "derived dir-locals-mode", meaning the trivial derivation from e-l-m proposed by someone (Lars? Cl=E9ment?) isn't the best option. >> A better option would be to have a base `lisp-prog-mode` and hen >> derive emacs-lisp-mode from it. > > Exactly. dir-locals-mode should share a parent with emacs-lisp-mode. Yes. Is this very hard to do? Jo=E3o