From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: YUE Daian Newsgroups: gmane.emacs.devel Subject: Re: Request: add cl-font-lock to Emacs or Elpa Date: Sat, 21 Mar 2020 14:59:28 +0800 Message-ID: <87lfnub3cf.fsf@home.i-did-not-set--mail-host-address--so-tickle-me> References: <56660D97-604F-4C15-8961-D35F07E6F29B@spensertruex.com> <3e25feef-0908-41a0-8f54-eb0dc50cce90@default> <87v9n0bg8u.fsf@home.i-did-not-set--mail-host-address--so-tickle-me> <87r1xobe62.fsf@home.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="96760"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Spenser , Spenser Truex , Drew Adams , emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Mar 21 08:00:06 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 1jFY74-000P45-Jr for ged-emacs-devel@m.gmane-mx.org; Sat, 21 Mar 2020 08:00:06 +0100 Original-Received: from localhost ([::1]:33790 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFY73-0006Bq-KQ for ged-emacs-devel@m.gmane-mx.org; Sat, 21 Mar 2020 03:00:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36646) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFY6Z-0005lB-9P for emacs-devel@gnu.org; Sat, 21 Mar 2020 02:59:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jFY6Y-0007fq-BO for emacs-devel@gnu.org; Sat, 21 Mar 2020 02:59:35 -0400 Original-Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]:36472) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jFY6Y-0007fG-6A for emacs-devel@gnu.org; Sat, 21 Mar 2020 02:59:34 -0400 Original-Received: by mail-pf1-x42e.google.com with SMTP id i13so4509709pfe.3 for ; Fri, 20 Mar 2020 23:59:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=9Dc/FEVQXirdcGWx2CI9igEi70AND7NbQ6VyiX+41zE=; b=GAYhRKWpRnb8rSptYmNaRKcM4MYdfoOM8gutH3/3rZNfsa8KNhPTaxE9gDa2La+Y5Q 7aBwsGoIChnvcQk+YsiKrePGor0GKGU5/abW7ecGDFiUVxHRUR1K8w+BAWL0av84yQyW KaMwuDfnMhLpDRtt2kg2yu5A/iucp0rqYuLg4fCUf1/xP3kac8j4S4/mvMtjZyBzM5WA sJfnNaUcwn2fIwJRF6GemRH5yxFmrCgyb9w+yseV3NA2qcgAshpcpMJGflK8PVbvKfV7 oTGooJLnkXQnuVh2Nbk+f3x9YEKFvN5u1MSjyYbY2PPSbu4r1Lt3FYx+oHpyHtRHoXY4 woAA== 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:in-reply-to:references:date :message-id:mime-version; bh=9Dc/FEVQXirdcGWx2CI9igEi70AND7NbQ6VyiX+41zE=; b=f8ACHqIjTEQQeHMkbsji1lRURYTMliOXA2X7D9MaXdWUS/dcuL/Ezjzschv2Bss+/p bUv8+gHPtWLfS+siPuG6E1sgrO48sQTS+P/rklNrfR8BNTnaj7m+BheMiWM8rE4LrMcX PhoCvisb9OURIKWdePWaWQa5pgtyBaaVwND7ItyI+MUd96RT/+E14VPEghzJBiFxYkdd 1uNT9o5OaH1myQ1sv4i8bZ9vTEl2hP+yx68fgiksr6yiapqzvwa81zbIg387cHjv70pW CLx0H/AAjg7YQR/rvAk0YsyUjG97NhNTD23owjbpGvyC1yHLBMS7NRqHqRTZ5m4hWslr VNzg== X-Gm-Message-State: ANhLgQ0f3F7bleUdnNfCr/DdkADWhrD0nmZ3P6AOrUHUytIy+xTNcawC nVHL7GPwPuiXTst+XKT5FFQ= X-Google-Smtp-Source: ADFU+vtOsi1BgY7OjcyoHXlxPeU2Mfsp/wSwU7ldGPcnohdi80PISvdbpeTe/0Dmdr7Du4S4WfE7lg== X-Received: by 2002:a63:7e10:: with SMTP id z16mr12361217pgc.412.1584773972827; Fri, 20 Mar 2020 23:59:32 -0700 (PDT) Original-Received: from localhost ([47.52.30.246]) by smtp.gmail.com with ESMTPSA id l17sm6641678pgi.71.2020.03.20.23.59.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Mar 2020 23:59:31 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::42e 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:245622 Archived-At: >>>> I also wonder how you made those lists? Have you extracted them from >>>> the CLHS? If so, it would be good to include (e.g. as comments) the >>>> code&steps that was used. >>>> [ I'm also curious why things like make-method and next-method-p are in >>>> built-in--symbols rather than in built-in--functions. ] >> They are not extracted from CLHS. They are extracted from a SBCL image. > > Works as well ;-) > Do you still have the code you used to extract it, so we can keep it > around (e.g. to update the list at some point, or just as documentation)? > I lost the original source, so I wrote a new one ;-) I have added it to the README file, here is the snippet: #+BEGIN_SRC common-lisp (defvar *functions* nil) (defvar *symbols* nil) (defvar *types* nil) (let ((pack (find-package :common-lisp))) (do-all-symbols (sym) (cond ((not (eql pack (symbol-package sym))) nil) ((fboundp sym) (pushnew sym *functions*)) ((find-class sym nil) (pushnew sym *types*)) (t (pushnew sym *symbols*))))) #+END_SRC Some manual work was done to tune the result. >> As for the 2 functions...it is because they are "local function/macro", >> which was not recognized as "function". > > Doesn't this apply to `call-next-method` as well, then? > Added. Thanks.