Gnus development mailing list
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: ding@gnus.org
Subject: Re: Backquotes and commas and ",@"
Date: Sat, 10 Dec 2011 10:04:53 +0100	[thread overview]
Message-ID: <m2r50c7q6i.fsf@igel.home> (raw)
In-Reply-To: <87sjkskfsg.fsf_-_@dod.no> (Steinar Bang's message of "Sat, 10 Dec 2011 09:10:55 +0100")

Steinar Bang <sb@dod.no> writes:

> This means that the gnus-sync-lesync-pre-save-group-entry function
> returns a list.

More specifically, it returns an alist of key/value pairs.

>  - Then the list will have an element that is a two element list,

It's a cons whose car is the key and cdr is the value.

>    consisting of the symbol '_id and the first element of the nentry
>    argument to the function (I don't understand why you have to have
>    the "." there, though...?)

Because you want the cdr to be the value of the key, not the cadr.

>  - Then passed props are spliced in (what happens if there is no
>    passed-props argument sent to the function?  It's optional...?)

Splicing the empty list will splice nothing.

>  - Then an element that is a two element list starting with 'level and
>    with a number(?) as the second element

Again, it is a cons, not a two element list.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



  reply	other threads:[~2011-12-10  9:04 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-23 19:55 gnus-sync-save fails with "wrong-type-argument number-or-marker-p" Steinar Bang
2011-11-23 20:27 ` Steinar Bang
2011-12-06 21:17   ` Steinar Bang
2011-12-08 14:50     ` Ted Zlatanov
2011-12-08 19:07       ` Steinar Bang
2011-12-10  7:11         ` Steinar Bang
2011-12-10  7:29           ` Steinar Bang
2011-12-10  8:10             ` Backquotes and commas and ",@" (Was: gnus-sync-save fails with "wrong-type-argument number-or-marker-p") Steinar Bang
2011-12-10  9:04               ` Andreas Schwab [this message]
2011-12-10  9:52                 ` Backquotes and commas and ",@" Steinar Bang
2011-12-10 10:39               ` Ted Zlatanov
2011-12-10 11:07         ` gnus-sync-save fails with "wrong-type-argument number-or-marker-p" Ted Zlatanov
2011-12-10 14:19           ` Steinar Bang
2011-12-10 14:45             ` Steinar Bang
2011-12-10 14:49               ` Steinar Bang

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=m2r50c7q6i.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=ding@gnus.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.
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).