From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Add a separate mode for .dir-locals.el Date: Fri, 18 Oct 2019 09:14:08 -0400 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> <83bluf9qgb.fsf@gnu.org> <835zkn9o01.fsf@gnu.org> <83lfti8ovn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="269583"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Eli Zaretskii , cpitclaudel@gmail.com, =?windows-1252?B?Sm/jbyBU4XZvcmE=?= , Emacs developers To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 18 15:18:58 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 1iLS9h-0017wQ-Cw for ged-emacs-devel@m.gmane.org; Fri, 18 Oct 2019 15:18:57 +0200 Original-Received: from localhost ([::1]:39922 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLS9f-0004NY-H0 for ged-emacs-devel@m.gmane.org; Fri, 18 Oct 2019 09:18:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48790) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLS5B-00013L-Fi for emacs-devel@gnu.org; Fri, 18 Oct 2019 09:14:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iLS5A-0004WB-9I for emacs-devel@gnu.org; Fri, 18 Oct 2019 09:14:17 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:52401) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iLS58-0004VN-HD; Fri, 18 Oct 2019 09:14:14 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id B0D658122F; Fri, 18 Oct 2019 09:14:13 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 2129D80C84; Fri, 18 Oct 2019 09:14:12 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1571404452; bh=fetYZd0ePoWadMNoOprhS1CHzB0XHWxecC+DccdUBLs=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=Ky9juFv2oOA2ByyPIf+qJOGDrEzbdpGIKbsX7OCJah1CKbmc3DVOWM7nZExc4qEDJ 3JLV1FULSVVAlGOJcpN6YkS7QU9bXez/cLooA7fxwAm5303cyXGLTNwlhRNwM45zTI VKPZiBKkRvE0bQXF7+s0f13KBj65Bjp6evyT7LDRJP9Tcu6g99COIABDfUN5EyFmmX 9hyq85ZOqPNUIp7c9uTEUplYTtWAkU/bGhXp+I4rlyTRCLNwqX/sonNr5LW4bgmIrq ykAG2g8z39Q5pjV85xAaP2syFTCpZrqETroLWu3OMoXN3sKRIiohzGcNQTLJkssl/R 0OZpq5zPTmUyA== Original-Received: from pastel (unknown [216.154.15.203]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id BED2F120480; Fri, 18 Oct 2019 09:14:11 -0400 (EDT) In-Reply-To: (Juanma Barranquero's message of "Fri, 18 Oct 2019 10:38:36 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 132.204.25.50 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:241203 Archived-At: > I think I agree with Eli. It would perhaps make sense to have (in the > distribution, or in ELPA) a general mode to edit lisp data with all the > bells & whistles, and if so, its facilities would likely influence the way > other elisp data files are designed in the future. But a mode just to edit > one specific file type seems too much complexity for too little gain. The patch I sent creates an emacs-lisp-data-mode, not a dir-locals-file mode. We could create a dir-locals-mode on top of it, but indeed I think it'd only make sense if/when we decide to put functionality into it that's specific to .dir-locals.el files. Stefan