all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Pascal J. Bourguignon" <pjb@informatimago.com>
To: help-gnu-emacs@gnu.org
Subject: Re: print out all members of a list, v.1.0
Date: Tue, 01 Mar 2011 06:48:41 +0100	[thread overview]
Message-ID: <87sjv7xufa.fsf@kuiper.lan.informatimago.com> (raw)
In-Reply-To: mailman.5.1298917525.1451.help-gnu-emacs@gnu.org

ken <gebser@mousecar.com> writes:

> Ughhh.  Finally, after reading many, many info pages and running a dozen
> or so google searches and reading four or five that many web pages over
> the past couple days, I found what I was after... mapconcat.  Still then
> it took a bit of reading error messages and playing around with syntax,
> but it's working.  All that for one line of code!
>
> I've programmed in a lot of languages over the decades, but elisp
> definitely has the steepest learning curve... prolly cuz it's so
> hodge-podgey.  

It is not.  Just read a lisp programming course.

You can in general use Common Lisp books and tutorials to good effect,
since emacs lisp is close enough to Common Lisp (even if emacs lisp has
some limitations that you need to understand).  The point is that there
is much more material for Common Lisp studying than for emacs lisp.

http://www.gnu.org/software/emacs/emacs-lisp-intro/
http://www.gnu.org/software/emacs/manual/html_mono/elisp.html


http://cliki.net/Online%20Tutorial
http://www.cliki.net/Lisp%20books

I would advise these books:

    http://www-2.cs.cmu.edu/~dst/LispBook/ 
    http://www.gigamonkeys.com/book/


> Well, this isn't a discussion I have time for.  I'm just
> sayin', if not for emacs, elisp would be gone... and it might be gone
> anyway in a generation or two.  I'll leave it to those who know the
> language better than I to if/how to prevent that happening.

Outside of gnu emacs (and forks), indeed there are better lisps.  I
prefer Common Lisp, but some kind of scheme is even considered to
replace emacs lisp.  

But it would not change your problem, since these languages are all
lisps, they behave at taste mostly the same.  Notably for fundamental
notions such as lists.

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
A bad day in () is better than a good day in {}.


  parent reply	other threads:[~2011-03-01  5:48 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-28 15:20 print out all members of a list ken
2011-02-28 16:50 ` Teemu Likonen
2011-02-28 17:21 ` ken
2011-02-28 18:25   ` print out all members of a list, v.1.0 ken
2011-02-28 18:32   ` print out all members of a list Thierry Volpiatto
2011-02-28 20:26   ` PJ Weisberg
     [not found]   ` <mailman.5.1298917525.1451.help-gnu-emacs@gnu.org>
2011-02-28 21:32     ` print out all members of a list, v.1.0 Tim X
2011-03-01  5:48     ` Pascal J. Bourguignon [this message]
2011-03-01  6:02     ` rusi
2011-03-02  4:51       ` Barry Margolin
2011-03-02  5:33         ` rusi
2011-03-02 11:56         ` Pascal J. Bourguignon
2011-03-03  0:36           ` Barry Margolin
2011-03-03  9:02             ` Pascal J. Bourguignon
2011-03-03 15:37               ` rusi
2011-03-03 16:00                 ` Pascal J. Bourguignon
2011-03-04  2:34               ` Barry Margolin
2011-03-04  4:09                 ` Drew Adams
2011-03-04 10:39                 ` Pascal J. Bourguignon
2011-03-04 11:06                   ` David Kastrup
2011-03-05  3:24                   ` Barry Margolin
     [not found] ` <mailman.0.1298913700.1451.help-gnu-emacs@gnu.org>
2011-03-01  5:41   ` print out all members of a list Pascal J. Bourguignon
2011-03-01 11:33 ` Andreas Röhler
2011-03-01 11:44 ` Andreas Röhler
     [not found] ` <mailman.5.1298979610.15512.help-gnu-emacs@gnu.org>
2011-03-01 13:10   ` Pascal J. Bourguignon
2011-03-01 14:45     ` Stefan Monnier
2011-03-01 14:50     ` Le Wang
2011-03-01 15:10     ` Richard Riley
2011-03-01 18:39     ` Andreas Röhler

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=87sjv7xufa.fsf@kuiper.lan.informatimago.com \
    --to=pjb@informatimago.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.