From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#49278: 28.0.50; Lisp Mode is for Common Lisp Date: Wed, 30 Jun 2021 15:35:05 +0300 Message-ID: <83v95vmsxy.fsf@gnu.org> References: <87y2asa6lg.fsf@gmail.com> <835yxwo7td.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38572"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, 49278@debbugs.gnu.org To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 30 14:36:26 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 1lyZS5-0009rZ-FU for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Jun 2021 14:36:25 +0200 Original-Received: from localhost ([::1]:47240 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyZS4-0003np-Ga for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Jun 2021 08:36:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47734) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyZRi-0003mp-Pu for bug-gnu-emacs@gnu.org; Wed, 30 Jun 2021 08:36:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45139) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lyZRi-0004Qc-ID for bug-gnu-emacs@gnu.org; Wed, 30 Jun 2021 08:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lyZRi-0000Hi-GI for bug-gnu-emacs@gnu.org; Wed, 30 Jun 2021 08:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Jun 2021 12:36: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.16250565111020 (code B ref 49278); Wed, 30 Jun 2021 12:36:02 +0000 Original-Received: (at 49278) by debbugs.gnu.org; 30 Jun 2021 12:35:11 +0000 Original-Received: from localhost ([127.0.0.1]:56685 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyZQs-0000GN-K8 for submit@debbugs.gnu.org; Wed, 30 Jun 2021 08:35:10 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49788) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyZQr-0000G7-5H for 49278@debbugs.gnu.org; Wed, 30 Jun 2021 08:35:09 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36724) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyZQl-0003pX-93; Wed, 30 Jun 2021 08:35:03 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4177 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyZQk-0002mg-Sb; Wed, 30 Jun 2021 08:35:03 -0400 In-Reply-To: (message from =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= on Tue, 29 Jun 2021 19:25:45 +0100) 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:209161 Archived-At: > From: João Távora > Date: Tue, 29 Jun 2021 19:25:45 +0100 > Cc: 49278@debbugs.gnu.org, Stefan Monnier > > > > - Lisp mode is the major mode for editing programs written in > > > -general-purpose Lisp dialects, such as Common Lisp. Its mode command > > > -is @kbd{M-x lisp-mode}. Emacs uses Lisp mode automatically for files > > > -whose names end in @file{.l}, @file{.lsp}, or @file{.lisp}. > > > + Lisp mode is the major mode for editing programs written in Common > > > +Lisp or its ancestor dialects. Its mode command is @kbd{M-x > > > +lisp-mode}. Emacs uses Lisp mode automatically for files whose names > > > +end in @file{.l}, @file{.lsp}, or @file{.lisp}. > > > > This basically doesn't change anything, and the original text does > > mention CL. If mentioning the ancestor dialects is important, we > > could add that. > > The point is to make sure that noone is misinformed to think that > lisp-mode is a suitable ancestor for, say, scheme-mode or clojure-mode or > my-2021-lisp-mode. We can mention Scheme and Clojure there (as examples of languages that are NOT handled), if that's the issue. Or maybe you can describe those dialects that you'd like to exempt in some more general way? > So it's not true that this doesn't change anything: it removes an > ambiguity. Not in my eyes, no. I think you assign too much significance to the "ancestor" part, and rely on the reader to understand that significance. > > > (define-derived-mode lisp-mode lisp-data-mode "Lisp" > > > - "Major mode for editing Lisp code for Lisps other than GNU Emacs Lisp. > > > + "Major mode for editing Common Lisp code. > > > > Here I'd prefer to mention CL without un-mentioning the other Lisps. > > There's no reason to deny they exist or existed. > > That's true, I guess. The point is to make sure that no one gets the > temptation to derive new Lisp-ish modes based on lisp-mode for > languages that have no relation to CL. So what to you say to: > > "Major mode for editing Common Lisp and historically related Lisps" > > "Major mode for editing Common Lisp and its ancestors" > > "Major mode for editing code historically related to Common Lisp" Again, I'd like to understand better what misunderstandings are you trying to prevent. If we are only talking about Scheme and Clojure, I think it's easier to mention them explicitly.