Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Subject: Re: assistants, again
Date: Tue, 19 Oct 2010 14:21:08 -0500	[thread overview]
Message-ID: <87ocaqng4b.fsf@lifelogs.com> (raw)
In-Reply-To: <m3k4leatkv.fsf@quimbies.gnus.org>

On Tue, 19 Oct 2010 21:08:48 +0200 Lars Magne Ingebrigtsen <larsi@gnus.org> wrote: 

LMI> Ted Zlatanov <tzz@lifelogs.com> writes:
>> I'll work on it.

LMI> Great!

Heh.  Maybe I'll get to it by Christmas.  Not the one in 2010.

>> I really need you to explain how assistants work, though.  Your parse,
>> render, and data assembly code makes sense when I read it but in
>> practice (writing actual .ast files) it's hard to use.  Plus it's not
>> obvious to me how to make assisted changes permanent: do I need to
>> write a converter or can assistant.el customize things directly?

LMI> I think you need to hook it into customize, probably, if I remember
LMI> correctly.  I meant to write that bit, but didn't get around to it.

OK.  Is it supposed to be hooked into one of the :get or :initialize
`defcustom' options?  I have never touched those areas.  The alternate
is to just use 'finish to directly set some variables so assistant.el is
standalone.

LMI> If the .ast file format is difficult to use, feel free to change the
LMI> format to something better.  I don't think this is used by anybody.

No, I mean it's like Lego blocks: I understand each piece but don't know
how to put together a big assembly.  The parser is fine, the format is
fine, but I need to see at least one complete example to do it.  It
doesn't have to be a full example, it can be just a variable with two
configuration paths: either it's a single choice of symbols or a list of
symbols or sublists (to show recursion).  So given the choices 'one,
'two, 'three, show me how to customize a variable to have these possible
values:

'one
nil
'(one two)
'((one two) (three))

...and make it permanent afterwards.

That will be most of what I need and I can figure out the rest.

Ted




  reply	other threads:[~2010-10-19 19:21 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-14  5:07 make it easier to use nnml for archive groups Dan Nicolaescu
2010-10-14 18:05 ` Lars Magne Ingebrigtsen
2010-10-15 14:50   ` Dan Nicolaescu
2010-10-16 18:15     ` Lars Magne Ingebrigtsen
2010-10-18  7:34       ` Dan Nicolaescu
2010-10-18 19:13         ` Lars Magne Ingebrigtsen
2010-10-19 14:20           ` Ted Zlatanov
2010-10-19 18:22             ` Lars Magne Ingebrigtsen
2010-10-19 18:37               ` Ted Zlatanov
2010-10-19 18:50                 ` Lars Magne Ingebrigtsen
2010-10-19 19:01                   ` assistants, again (was: make it easier to use nnml for archive groups) Ted Zlatanov
2010-10-19 19:08                     ` assistants, again Lars Magne Ingebrigtsen
2010-10-19 19:21                       ` Ted Zlatanov [this message]
2010-10-19 19:30                         ` Lars Magne Ingebrigtsen
2010-10-20 12:14                     ` Ted Zlatanov
2010-10-20 15:12                       ` Ted Zlatanov
2010-10-20 15:33                         ` Julien Danjou
2010-10-20 16:16                           ` Ted Zlatanov
2010-10-20 16:42                             ` Lars Magne Ingebrigtsen
2010-10-20 16:58                               ` Ted Zlatanov
2010-10-20 17:16                               ` Lars Magne Ingebrigtsen
2010-10-20 16:40                       ` Lars Magne Ingebrigtsen
2010-10-19 19:41               ` make it easier to use nnml for archive groups Andreas Schwab
2010-10-20  6:31                 ` Reiner Steib
2010-10-20 14:59                   ` Ted Zlatanov
2010-10-20 15:32                     ` Dan Nicolaescu
2010-10-20 16:12                       ` Ted Zlatanov
2010-10-20 16:19                     ` Robert Pluim
2010-10-21  1:22                     ` Lars Magne Ingebrigtsen
2010-10-21  1:21                   ` Lars Magne Ingebrigtsen
2010-10-20 15:29               ` Dan Nicolaescu

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=87ocaqng4b.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --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).