From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#49278: 28.0.50; Lisp Mode is for Common Lisp Date: Wed, 30 Jun 2021 10:44:22 +0100 Message-ID: References: <87y2asa6lg.fsf@gmail.com> <87eeckdn9n.fsf@whirlwind> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37894"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 49278@debbugs.gnu.org To: Phil Hagelberg Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 30 11:45:15 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lyWmQ-0009ck-V4 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Jun 2021 11:45:14 +0200 Original-Received: from localhost ([::1]:48284 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyWmP-00046w-U7 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Jun 2021 05:45:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39452) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyWmE-00046n-EP for bug-gnu-emacs@gnu.org; Wed, 30 Jun 2021 05:45:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44922) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lyWmE-0003NA-6V for bug-gnu-emacs@gnu.org; Wed, 30 Jun 2021 05:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lyWmE-0008MB-1r for bug-gnu-emacs@gnu.org; Wed, 30 Jun 2021 05:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Jun 2021 09:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49278 X-GNU-PR-Package: emacs Original-Received: via spool by 49278-submit@debbugs.gnu.org id=B49278.162504628532086 (code B ref 49278); Wed, 30 Jun 2021 09:45:02 +0000 Original-Received: (at 49278) by debbugs.gnu.org; 30 Jun 2021 09:44:45 +0000 Original-Received: from localhost ([127.0.0.1]:56468 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyWlw-0008LR-Rz for submit@debbugs.gnu.org; Wed, 30 Jun 2021 05:44:45 -0400 Original-Received: from mail-pf1-f181.google.com ([209.85.210.181]:38450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyWlr-0008L9-Q5 for 49278@debbugs.gnu.org; Wed, 30 Jun 2021 05:44:44 -0400 Original-Received: by mail-pf1-f181.google.com with SMTP id c8so1905758pfp.5 for <49278@debbugs.gnu.org>; Wed, 30 Jun 2021 02:44:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=XnpwFmKIWW/6/xlaHLPQ33KAR9QGc6tdXa8BJzFWYqk=; b=EPxPQSoSNFfapyKjKZHaERfnFVJxjQN1m2i/tXJOHQvjoJhaf2WyOCrvAN5lV+o69H hdTNPpuU6NACJeAVsAxs2moeYx+fID4dck8ht0RUbZHA8escZR3/h62lMEtgOkyKBOSC 8NxxxR25ESnTZDbSMAGWNHX+EWF0IMnoM0Fu71kxLWmnTt3LhuVgOUc+J/K1bI7n3XVT EUZPApkYXmpoFtVbUltVLdqmQPJO6sxWrmmoXrmDCIL8Ooa6D9+M/CVCnurkHxCZQ9t5 apLZZ2URfRF0AtPrMg/WxYtxxCee9zuW9BIx1Xda0MM49gKaImbzFuL21iEMl7U+nos+ 5YHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=XnpwFmKIWW/6/xlaHLPQ33KAR9QGc6tdXa8BJzFWYqk=; b=GkgJ89R+I6/G6KWNDiWi1+LEl0Xwvhesfu671XMyAZQKraHQy570gsgNpinkKd1uz9 LVyqUcDMBSZG38jwNiGbucJVmFWpYbUSRFct6RIAKvOjg7nSispMhZRQNZzxT+zpKp3A yH4G5ts9eJjOHFweFric4qZCzeLPfOWJ/cAT8L3V8wcciNIJ3iw6Fw39mJ8+QIo8w6mn SFT5mqp4im1F6de5L9EXqFaDkbKRi2sVe8tKdcgKa9AVGxAA9j112VJDBt7Z+WK9fPer WTSedUuk+XCNqz6OICpfR44o0kdLard9UufmJkXTrd+eo0C1056GyrDTh9VOCk7KyTK1 3/mg== X-Gm-Message-State: AOAM531w3roLlLyTRjRgN90edARIE5Iau7Q4n4Qo+DPhNNsmCii+Mwd0 62Zsls+LIxX05qiezzkfHiiLHr1JO+vGWCd7VEwSdHuq X-Google-Smtp-Source: ABdhPJwt8473rpQlRHDqS1JEolljFsadx6Bep8u/doNarg/62QMCzZsjaiRU601LgJaFztMznY2QMlQv3RoW8C8GBcc= X-Received: by 2002:a63:cf02:: with SMTP id j2mr3017267pgg.411.1625046273799; Wed, 30 Jun 2021 02:44:33 -0700 (PDT) In-Reply-To: <87eeckdn9n.fsf@whirlwind> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:209147 Archived-At: On Wed, Jun 30, 2021 at 4:51 AM Phil Hagelberg wrote: > > > In addition, there is in Emacs 27.1 a new lisp-data-mode. That is > > useful for defining using define-derived-mode to make Lisp-like major > > modes derived from commonly found Lisp-style functionality such as > > parenthesis-matching syntax tables and such. > > I don't think this is a very good argument; as the author of a major > mode for a lisp language, it never would have occurred to me to even > look at lisp-data-mode because its name indicates that it's not intended > for use writing programs. Yes, I know code is data, etc, but this name > still strongly implies a different use. Maybe you were using an old Emacs, else reading the manual at "Example modes" would give you an example. And if you know code is data in Lisp, chances are other Lisp enthusiasts also know that. The manual reference isn't much, but it's not like Lisp is the biggest thing out there anyway, so I don't know if a full section on this base mode is worth it. But if the name is bugging you, Stefan once proposed "lispish-mode". I think it's very slightly silly, and the current name is accurate in meani= ng, but we could make a snazzier alias. > If the docstring for lisp-mode is to be changed, (rather than adding a > common-lisp-mode for common lisp like they should have done at the > outset) This is a tangent: but the outset was probably before Common Lisp was a thing. The first VCS-checked version of that file is from 1991, but I suspect it was around for much longer. At the time, people were really trying to kill off their own Lisps and meeting expensively in commit= tees to converge into a shiny new language. So Common Lisp mode was really to become "the Lisp". > hen it would be better if a replacement mode were introduced > which other lisp major modes could derive from. Otherwise there's no way > to enable paredit-mode (for instance) across all lisps. Deriving off > prog-mode isn't a very good solution there. Yes, this is why the prescription is to derive from lisp-data-mode. And you can (add-hook 'lisp-data-mode 'paredit-mode). If you want to make scheme mode and clojure mode and such derive from lisp-data-mode, it's probably not very hard: patches welcome. But here I'm just correcting a bug in the documentation. Jo=C3=A3o