From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#49278: [External] : bug#49278: 28.0.50; Lisp Mode is for Common Lisp Date: Mon, 27 Sep 2021 22:06:40 -0400 Message-ID: References: <87y2asa6lg.fsf@gmail.com> <87y27l4kym.fsf@gmail.com> <874ka981ty.fsf@gmail.com> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10526"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Stefan Kangas , =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= , "49278@debbugs.gnu.org" <49278@debbugs.gnu.org> To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 28 04:11:38 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 1mV2am-0002X2-TV for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 28 Sep 2021 04:11:37 +0200 Original-Received: from localhost ([::1]:36672 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mV2al-0001mz-N4 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Sep 2021 22:11:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58226) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mV2WM-0002ZT-Pl for bug-gnu-emacs@gnu.org; Mon, 27 Sep 2021 22:07:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59953) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mV2WM-0001B3-Ht for bug-gnu-emacs@gnu.org; Mon, 27 Sep 2021 22:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mV2WM-0007sn-A8 for bug-gnu-emacs@gnu.org; Mon, 27 Sep 2021 22:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Sep 2021 02:07: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.163279481130283 (code B ref 49278); Tue, 28 Sep 2021 02:07:02 +0000 Original-Received: (at 49278) by debbugs.gnu.org; 28 Sep 2021 02:06:51 +0000 Original-Received: from localhost ([127.0.0.1]:43266 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mV2WB-0007sN-It for submit@debbugs.gnu.org; Mon, 27 Sep 2021 22:06:51 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:23495) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mV2W9-0007s9-RP for 49278@debbugs.gnu.org; Mon, 27 Sep 2021 22:06:50 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id CA36010021B; Mon, 27 Sep 2021 22:06:43 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 7D9F4100134; Mon, 27 Sep 2021 22:06:42 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1632794802; bh=WJ4itH2xJpT5bdiSdkvJxsu13EACBtNWekkunT0rGhY=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=iQAYIGLEAHUZLCy5XF+OwYuWOmt8eSw7dnNFjHFQ0T/JCn9SjU7mtl2Udm8NZ9WvL tUadZQVScqJykhqxCnZHPmyKu8byuuzOjyTZP38GfEuxE42JCmzN9/yyj8Ekua09xf 1AiGkmE/ljSDWAVHScIdijBGER42n1Ns74+LXWQq3BnCC7AoDbulls2xpVh6iJtrJ8 1x/cqt1s9pPYNpTazJrrKINyXa8GSKbWVqcme5fGAsrr0iJVlyCIUL8nDu0UmYHmJT EHpS2vS3vnuKAgUXej6BkfBJeBX3EE42p1DZVwLFHZs4pQsCgd7wGeuI+UsxmkkkbJ 1pzHDXw5S4q1A== Original-Received: from milanesa (unknown [45.72.241.23]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 3AB90120327; Mon, 27 Sep 2021 22:06:42 -0400 (EDT) In-Reply-To: (Drew Adams's message of "Mon, 27 Sep 2021 23:24:07 +0000") 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:215722 Archived-At: > No. I was saying that I don't see why we should > say that "lisp-mode is only for Common Lisp". AFAIK nobody has suggested to say "only Common Lisp". The suggested text was: + 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}. >> No, that's the thing, it's a Common Lisp mode, not just "any Lisp" mode. > Then call it such, if you're sure it's useful > only for Common Lisp. Again, where does that "only" come from? The thing I think we should say clearly is that it's a major mode for Common Lisp. The current text: - Lisp mode is the major mode for editing programs written in -general-purpose Lisp dialects, such as Common Lisp. Its mode command is just misleading since you'll probably be quite disappointed if you try to use it with most other "general-purpose Lisp dialects" (such as Clojure or Scheme). Among the non-general purpose Lisp languages, I think it can be tolerably for AutoCAD's Lisp (tho `emacs-lisp-mode` would probably work about as well), but probably not for DSSSL (and even less for XSLT, tho whether it'd still qualify as Lisp is not so clear). >> Why should the name of the major mode be relevant to this discussion? > Why indeed. `irrelevant-mode'? `mystery-mode'? > I'd like to call it `fortran-mode', but I guess > that's out. The major mode I use for ELisp is called `emacs-lisp-mode`, the major mode I use for OCaml is `tuareg-mode`, the major mode I use for C is `sm-c-mode`. The most popular major mode for Perl is arguably `cperl-mode`. It's common for major modes's names to be related yet not identical to the language they support. Stefan