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:19:39 +0100 Message-ID: References: <2058328b-aee5-8cb1-2659-a793e1354517@mit.edu> <87wod4m7sr.fsf@gnus.org> <835zkndcz4.fsf@gnu.org> <83ftjrbjhm.fsf@gnu.org> <83sgnr9vnh.fsf@gnu.org> <20191017174715.GA8064@ACM> 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="150236"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (windows-nt) Cc: Eli Zaretskii , cpitclaudel@gmail.com, Stefan Monnier , emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 17 20:20:00 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 1iLANS-000cvc-D0 for ged-emacs-devel@m.gmane.org; Thu, 17 Oct 2019 20:19:58 +0200 Original-Received: from localhost ([::1]:55978 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLANR-0005wR-2s for ged-emacs-devel@m.gmane.org; Thu, 17 Oct 2019 14:19:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58753) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLANF-0005rj-Tc for emacs-devel@gnu.org; Thu, 17 Oct 2019 14:19:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iLANE-0005zP-VV for emacs-devel@gnu.org; Thu, 17 Oct 2019 14:19:45 -0400 Original-Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]:36708) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iLANE-0005yy-Py; Thu, 17 Oct 2019 14:19:44 -0400 Original-Received: by mail-wm1-x336.google.com with SMTP id m18so3551937wmc.1; Thu, 17 Oct 2019 11:19:44 -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=vGcbv8V8OsBFVdad71Q3f1CpPiV3dHz0QRLCoY26WiM=; b=dmrc8aNPq14u+H0Axg2D/fHllLQfLEpQxdqilq+VpqSMBMLdn3MTRTPIDJw0MX6z4N aKVrO5dX4ZlqVtFowxK5MgVfskZ4Fkb5QbczsL/6RfMY1mbOvof1xOGnuECgo3BBdk0h Q/VS7R5wRX9NqFmPM2X4e4sG5xuwsoJX2S1cSLFVBvrUmYsOhXRtg38T0VUXkS87UG0B N0EJL0Slaa0BubtG6Rp55wbw3oxbRhyi2jmVzxgRa5noevAuZPfHDxX/ZiJ+YSvJf881 s/wZCe6MNUAiZ/mYICZcOTjoxH0u/maB194lCYmp6Z5HlcFnYh5lOV9hj8Htv9wJ2Wh4 hREw== 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=vGcbv8V8OsBFVdad71Q3f1CpPiV3dHz0QRLCoY26WiM=; b=BNKwctGF8rZ2eP751AAp1dGSF/9cpwFBC3jgc63IBElM0ekb1ygm42BdmBKhvWOz1L IvrOXO5Krvn/dT5Vctl/yhThTpWNhTl0TShalrwavGAXQKazrRZYY6nn+KuZjPvFDKY0 KZfoHQgXy/qXDNaPCCUlv1WwU9SkSlp7dIxJZ+u0IVdz3hLpLEXxMXrzQykr77lmDJk1 9tXnCXdBCiakeriWPKdxd8qT0UhIyYYaJSSn8W4H2EdbhADOfhD7w5ta4wZ6cXo7Cv7Z qSMnodlFRMgAvzzBTPeas5WBuRLhS2vESA0DmvDusIPmE34NXmEQSqd+Dz2l0Qignv6K TIOg== X-Gm-Message-State: APjAAAVKMOwduPXL4YtoDCcAyBu/AsczUq+Zy8XIRIjUaoEtMj3tMzHU 8Loa50UfJFDeDzWl0YNBi1ONHLjD X-Google-Smtp-Source: APXvYqzCJh6kDg8BcoaQlb5Te132S4YtArGI4z0mvnirs70sown85QuPsA48OLHuMLl51N9AFazGfw== X-Received: by 2002:a7b:c74a:: with SMTP id w10mr4024247wmk.30.1571336382623; Thu, 17 Oct 2019 11:19:42 -0700 (PDT) Original-Received: from GONDOMAR.yourcompany.com (mail1.siscog.pt. [89.115.233.242]) by smtp.gmail.com with ESMTPSA id q19sm3793699wra.89.2019.10.17.11.19.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 Oct 2019 11:19:41 -0700 (PDT) In-Reply-To: <20191017174715.GA8064@ACM> (Alan Mackenzie's message of "Thu, 17 Oct 2019 17:47:16 +0000") 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:241164 Archived-At: Alan Mackenzie writes: > What key bindings would people want in dir-locals-mode? What indentation > strategies, what font-locking? The answer to these questions lies in these lines of Stefan's patch, which is extremely easy to read: +(define-derived-mode emacs-lisp-data-mode prog-mode "Emacs-Lisp-Data" + "Major mode for buffers holding data written in Emacs Lisp syntax." + :group 'lisp + (lisp-mode-variables nil nil 'elisp) + (setq-local electric-quote-string t) + (setq imenu-case-fold-search nil)) > Nobody's given such positive reasons, as yet (unless I've missed a > post). I think you've missed at least a couple (aside from the original one) > And making a common ancestor for this new mode and emacs-lisp-mode would > be a Bad Thing. It would fragment e-l-m for no particular gain. What exactly do you mean by "fragmentation"? What is the thing that you can do now that you believe you will not be able to do later? Jo=E3o