unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Barry Margolin <barmar@genuity.net>
Subject: Re: if/else execution in elisp
Date: Mon, 21 Oct 2002 20:10:13 GMT	[thread overview]
Message-ID: <FaZs9.17$Su6.4998@paloalto-snr1.gtei.net> (raw)
In-Reply-To: mailman.1035149738.4225.help-gnu-emacs@gnu.org

In article <mailman.1035149738.4225.help-gnu-emacs@gnu.org>,
Ehud Karni <ehud@unix.mvs.co.il> wrote:
>I suggest the use of the `nth' built-in function (check its help)
>for getting the nth element of a list, instead of `(car (cdr ...'

Or 'first', 'second', and 'third'.

-- 
Barry Margolin, barmar@genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.

  parent reply	other threads:[~2002-10-21 20:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1034973328.14861.help-gnu-emacs@gnu.org>
2002-10-18 20:43 ` if/else execution in elisp Barry Margolin
2002-10-20 19:36   ` ken
2002-10-20 21:35     ` Ehud Karni
     [not found]     ` <mailman.1035149738.4225.help-gnu-emacs@gnu.org>
2002-10-21 20:10       ` Barry Margolin [this message]
2002-10-22  4:51         ` Miles Bader
2002-10-17 13:08 ken

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='FaZs9.17$Su6.4998@paloalto-snr1.gtei.net' \
    --to=barmar@genuity.net \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).