Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Helmut Waitzmann <nn.throttle@xoxy.net>
To: info-gnus-english@gnu.org
Subject: Re: own webbased newsgroup types
Date: Thu, 05 Feb 2015 02:28:54 +0100	[thread overview]
Message-ID: <878ugdywls.fsf@helmutwaitzmann.news.arcor.de> (raw)
In-Reply-To: <87r3u5uxz5.fsf@jupiter.lan>

Stefan Huchler <stefan.huchler@mail.de> writes:

>  (let ((last (car (last articles)))
>	(did nil)
>
>
>I have no idea what this "did" thing is supposed to be

You might read the documentation for the special form "let".  To do
that, type C-h f let RET

Let me comment that documentation:

The first parameter of "let" is the VARLIST, a list of variables.  Each
variable in that VARLIST is either a symbol: SYMBOL, which is bound to
nil, or it is a list of 2 elements: (SYMBOL VALUEFORM), which binds the
SYMBOL to the value of VALUEFORM.

In your example:

>  (let ((last (car (last articles)))
>	(did nil)

the first element of the VARLIST is a list of two elements:

(last (car (last articles)))

= (SYMBOL VALUEFORM)

which tells "let" to bind the SYMBOL "last" to the value of the
VALUEFORM (car (last articles)),

and the second element of the VARLIST is a list of two elements, as well:

(did nil)

= (SYMBOL VALUEFORM)

which tells "let" to bind the SYMBOL "did" to the value of the
VALUEFORM nil.



      reply	other threads:[~2015-02-05  1:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-04 22:13 Stefan Huchler
2015-02-05  1:28 ` Helmut Waitzmann [this message]

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=878ugdywls.fsf@helmutwaitzmann.news.arcor.de \
    --to=nn.throttle@xoxy.net \
    --cc=info-gnus-english@gnu.org \
    --cc=oe.throttle@xoxy.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 NNTP newsgroup(s).