From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Common Lisp in Emacs (lisp-mode, font-lock, SLIME, SLY, ...) Date: Sun, 12 Apr 2020 00:45:57 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="38044"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Luke Gorrie , YUE Daian , emacs-devel@gnu.org, Spenser , Helmut Eller , =?windows-1252?B?Sm/jbyBU4XZvcmE=?= To: Luke Gorrie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Apr 12 06:46:35 2020 Return-path: Envelope-to: ged-emacs-devel@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 1jNUVv-0009p0-BD for ged-emacs-devel@m.gmane-mx.org; Sun, 12 Apr 2020 06:46:35 +0200 Original-Received: from localhost ([::1]:58816 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNUVu-0005Nh-87 for ged-emacs-devel@m.gmane-mx.org; Sun, 12 Apr 2020 00:46:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54939) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNUVP-0004yT-1m for emacs-devel@gnu.org; Sun, 12 Apr 2020 00:46:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jNUVN-0007A9-Da for emacs-devel@gnu.org; Sun, 12 Apr 2020 00:46:02 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:36137) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jNUVN-00079f-8F for emacs-devel@gnu.org; Sun, 12 Apr 2020 00:46:01 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 4675A44FD11; Sun, 12 Apr 2020 00:46:00 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 9408144FC86; Sun, 12 Apr 2020 00:45:58 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1586666758; bh=oNSVOl3ULNy+JnxBP/klaSNrwLXKtMtRW9tnhk8DwCw=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=Ydd077YPERFFXNQor1VHeVvGlKUqZI5Fufp1T2QqwnLzPyJSeSM4zmxu3U8fsYr5P ZEsMktMKLijAhWrlKLkBt395mU9V7ScPFSi5ZGveodXfdQ7dFj9VTJHC+Tg1NBmZDu JVBU0h4w1NDlkXHsY2nm0NAmW7sozbDz8zsHMiohRDP7hiQmpxPdK7FrzrJJz/Mk0T 174zZX+bWNRt1+stdjPbGuUxXpPpRaeDAOZL4Js91phguACFCT0x80lbnAK46dmRT4 b6tgPADV1ZBFZ1cGF7H5AwVtTgS1zCPus3YrrFN39hWmURxVQrYczS6AcvgzKBtemF 5o+27lkTlOmlw== Original-Received: from alfajor (unknown [104.247.241.114]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 282651201B0; Sun, 12 Apr 2020 00:45:58 -0400 (EDT) In-Reply-To: (Luke Gorrie's message of "Sat, 11 Apr 2020 06:58:29 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:246853 Archived-At: Luke Gorrie [2020-04-11 06:58:29] wrote: > SLIME is a minor-mode below lisp-mode that reuses the lisp-mode > functionality like navigating by sexp, font-lock, indentation, etc. The > dynamic indentation stuff in SLIME, like detecting &body in macros, is us= ed > to configure property lists that lisp-mode will see. So really relying on > and heavily using lisp-mode. Teemu Likonen [2020-04-11 08:36:48] wrote: > Slime uses lisp-mode with Lisp files but adds some minor modes on the > top of it. The most important addition is slime-mode but there are > usually other minor modes too, depending on the configuration. I happen > to have slime-autodoc-mode and slime-trace-dialog-mode. Jo=E3o T=E1vora [2020-04-11 16:38:27] wrote: > No. Both SLY and SLIME use lisp-mode. They augment it with minor modes > which are added to lisp-mode-hook. slime-mode and sly-mode are such > minor modes and they are active wherever Lisp-related features are > required (finding definitions, describing symbols, inspecting values, > etc). Thank you very much for the quick answers. It gave me the info I needed right away, and helped me find quickly the rest of the answers I needed. I'm surprised and glad to see `lisp-mode` is so actively used (tho it hasn't seen much activity over the years). Stefan