From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.emacs.devel Subject: Re: list of elisp primitives ? Date: Fri, 27 Dec 2019 02:39:09 +0900 Message-ID: <701C773A-96C5-47FD-B75F-92947976E57B@traduction-libre.org> References: <627F3815-987E-4E82-8118-EE559CA7721F@traduction-libre.org> <5E53A27C-7C86-4275-AC12-9799C3CB1956@traduction-libre.org> Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="167317"; mail-complaints-to="usenet@blaine.gmane.org" To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 26 18:39:30 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ikX6c-000hMq-NQ for ged-emacs-devel@m.gmane.org; Thu, 26 Dec 2019 18:39:26 +0100 Original-Received: from localhost ([::1]:55476 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ikX6b-0002G2-JQ for ged-emacs-devel@m.gmane.org; Thu, 26 Dec 2019 12:39:25 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54509) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ikX6V-0002Fw-Uu for emacs-devel@gnu.org; Thu, 26 Dec 2019 12:39:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ikX6U-0002lC-HQ for emacs-devel@gnu.org; Thu, 26 Dec 2019 12:39:19 -0500 Original-Received: from relay3-d.mail.gandi.net ([217.70.183.195]:46755) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ikX6U-0002ko-BJ for emacs-devel@gnu.org; Thu, 26 Dec 2019 12:39:18 -0500 X-Originating-IP: 182.251.133.105 Original-Received: from [172.20.10.3] (KD182251133105.au-net.ne.jp [182.251.133.105]) (Authenticated sender: jean.christophe.helary@traduction-libre.org) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 6627760002 for ; Thu, 26 Dec 2019 17:39:14 +0000 (UTC) X-Priority: 3 In-Reply-To: X-Mailer: Apple Mail (2.3608.40.2.2.4) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.70.183.195 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:243662 Archived-At: > On Dec 23, 2019, at 2:31, Drew Adams wrote: >=20 >> I'm trying ... to find a limited subset of >> functions that one can use to program in elisp > ^^^^^^^^^^^^^^^^ >> and do non-trivial things but that do not > ^^^^^^^^^^^^^^^^^^^^^ >> involve searching the reference at all times. > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >=20 > That's not what a list of subrs gives you, at all. > A subr is just a function coded in C, not in Lisp. > Likewise, for other things, such as variables, > that might be defined in C. >=20 > The choice of whether to implement something in C > has nothing to do with, and is no guide for, ease > in learning or how often something is used in > typical Elisp code. I'm not suggesting that implementing lisp functions in C is related to = ease of learning or anything. My idea, which may be wrong, is that lisp code uses building blocks to = provide more advanced functions and that the most basic blocks are lisp = functions implemented in C. Hence, knowing the building blocks (or a few dozen useful ones) can give = a clearer idea of what to do with elisp in general. Mind you, I too am trying to find my way around and it's not easy. My = pet peeve is "discoverability" and for now despite the info/doc = integration, I'm still very much struggling. Jean-Christophe Helary ----------------------------------------------- http://mac4translators.blogspot.com @brandelune