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 19:09:11 +0100 Message-ID: References: <2058328b-aee5-8cb1-2659-a793e1354517@mit.edu> <87wod4m7sr.fsf@gnus.org> <835zkndcz4.fsf@gnu.org> <83ftjrbjhm.fsf@gnu.org> <83ftjr9sx4.fsf@gnu.org> <83eezb9s5b.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="112932"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (windows-nt) Cc: cpitclaudel@gmail.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 17 20:11:01 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 1iLAEl-000TES-SF for ged-emacs-devel@m.gmane.org; Thu, 17 Oct 2019 20:11:00 +0200 Original-Received: from localhost ([::1]:55770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLAEk-0001z6-Oc for ged-emacs-devel@m.gmane.org; Thu, 17 Oct 2019 14:10:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57158) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLADC-000164-Gi for emacs-devel@gnu.org; Thu, 17 Oct 2019 14:09:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iLADB-00045f-GP for emacs-devel@gnu.org; Thu, 17 Oct 2019 14:09:22 -0400 Original-Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:37576) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iLADB-00044y-8v; Thu, 17 Oct 2019 14:09:21 -0400 Original-Received: by mail-wr1-x431.google.com with SMTP id p14so3426183wro.4; Thu, 17 Oct 2019 11:09:21 -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=Jb/n28I7oyh2GXr+FF8Bsi7/Nx9CKr/PCuRW/GSEBNg=; b=dmCA3J1gDoSm4680aLGCNbXQ78RqPhbhlo3e3lykLBzuPJrIsDMaE6sCetkihWkoOI J3C84LRdKfkUGETtMfEZZImhfVc1HKKobWJluF8sc8iNf/k3rmB/yFOG7AxboliI/BTK DG1M9uSLrdhjP67YoXLYkzoi/WS0p3PKRONw3PBUgsEZKSY1bfpH8uvJ2prht1XZm4bx AWHP5PyYvlqJDSm6pke7il69QUw6w8mEJt1OfdwfAnQwHQhQVLdxSCzaouHJsdFkUOBs h5RTonPgMKzCuOPsWmECQWOieXpjOwDkScUNxSSH/PDrq8USildVVH1ogyxZcXq74OBu NxGQ== 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=Jb/n28I7oyh2GXr+FF8Bsi7/Nx9CKr/PCuRW/GSEBNg=; b=mCWEp3zeEnary7qKYySIPKQGah/AYUL9iQwjDLqQlHfLz+GwGnCuKDmEx8FdbiJ+TJ CnhgPkDZ3ZWeoDR26VmSGbRWI17/IIPTFK9N3gR2WNJJz112ugRs2tFn/wIRnLGM/ZZN lb2RdMji6+ph/HYrA07hgYzIEccSVZgAAi+J91Cb4DrBQ10+zBJcGnbcE4OBhG3LAS61 m9HKcmi7hQymg3YWlMCJi6jJhWYOrcj/aLU75b0Ckpajc8/8Se9rnsHRKhujr0lrfTda +GcY/2E/qIKjaMd5dgaKIn6RI6ujq67w6EywwD1+BtFKdHoIoY18gn4+kSkVk7/ar1cQ 8FyA== X-Gm-Message-State: APjAAAVOEjrzTdLLAtEIkVIZAaFhjJYpaYGUdLf2a1LG655JjJ1Rju4C tR/6DuJ6CaX+CcgxoHI1VxHvcj3k X-Google-Smtp-Source: APXvYqyczci/uiymvWCK7H1kRL2zmKM9sncFsjU5e1iR25hwFO0HgwdgNPpyb4rDdJvN68Z9flsleQ== X-Received: by 2002:a5d:51c3:: with SMTP id n3mr4229938wrv.5.1571335759829; Thu, 17 Oct 2019 11:09:19 -0700 (PDT) Original-Received: from GONDOMAR.yourcompany.com (mail1.siscog.pt. [89.115.233.242]) by smtp.gmail.com with ESMTPSA id t8sm3030000wrx.76.2019.10.17.11.09.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 Oct 2019 11:09:18 -0700 (PDT) In-Reply-To: <83eezb9s5b.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 17 Oct 2019 20:52:00 +0300") 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::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:241162 Archived-At: Eli Zaretskii writes: >> From: Jo=E3o T=E1vora >> Cc: monnier@iro.umontreal.ca, cpitclaudel@gmail.com, emacs-devel@gnu.o= rg >> Date: Thu, 17 Oct 2019 18:42:32 +0100 >>=20 >> >> Indeed, quite nice. Eli, would you also opposed to having .dir-local= s.el >> >> buffers use emacs-lisp-data-mode by default? We could reuse it for >> >> other things other than dir-locals. >> > >> > As I said, I don't want to introduce a major mode for this tiny >> > problem. It's gross. >>=20 >> If the problem is small but the best solution is equally small and >> cheap, then I think you should consider it. Stefan's solution isn't >> gross at all, it's the most correct way to reuse code in this situation. > > If you are going to disregard my opinion, why did you ask for it? You asked summarily: "someone should do some research and find out what it entails". I simple gave an answer to those questions: use the small patch by Stefan and add some entries to auto-mode-alist, starting with So I didn't really disregard it, I simply advanced new arguments and am asking you to reconsider. Also, with all due respect, your "opinion" is less important to me than the material reasons that you advance to justify it. I just though "it's gross" wasn't a sufficiently developed reason. Jo=E3o