all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <moasen@zoho.com>
To: help-gnu-emacs@gnu.org
Subject: Re: introduction to lisp
Date: Sun, 18 Jun 2017 12:03:07 +0200	[thread overview]
Message-ID: <86vantbokk.fsf@zoho.com> (raw)
In-Reply-To: alpine.NEB.2.20.1706171526310.23747@panix1.panix.com

Jude DaShiell wrote:

> This material might be useful for lisp and
> those writing buster.js code. It might also be
> somewhat incorrect too.
>
> http://cjohansen.no/

A very ambitious article/project!

Here is the direct link:

    http://cjohansen.no/an-introduction-to-elisp/

Try byte-compiling the code! It will tell you
some things to improve, I think. But I don't
know since I get an error on line 24:

    (void-variable open-paren-pairs-count) in cond

When the byte-compiler is silent and the
program works there is a fair chance the
program is good.

Code style - consider replacing 'if X' with
`when' and 'if not X' with `unless' when there
isn't a second branch. Then there is no need
for explicit `progn's.

Also I would write

    (global-set-key (kbd "C-c C-d") 'buster-disable-test)

like this:

    (global-set-key "\C-c\C-d" #'buster-disable-test)

Keep it up!

-- 
underground experts united
http://user.it.uu.se/~embe8573




  reply	other threads:[~2017-06-18 10:03 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-17 19:28 introduction to lisp Jude DaShiell
2017-06-18 10:03 ` Emanuel Berg [this message]
2017-06-20  0:10   ` John Ankarström
2017-06-20  0:25     ` Kaushal Modi
2017-06-20  4:59       ` Emanuel Berg
2017-06-20  8:42         ` tomas
2017-06-20  9:04           ` Emanuel Berg
2017-06-20 10:41             ` tomas
2017-06-25  7:34           ` Narendra Joshi
2017-06-25 10:08             ` Footnotes [was: introduction to lisp] tomas
2017-06-20 12:29         ` introduction to lisp Kaushal Modi
2017-06-20 12:57           ` Emanuel Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86vantbokk.fsf@zoho.com \
    --to=moasen@zoho.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.