Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Re: new user assistant
Date: Tue, 18 May 2004 22:44:41 +0200	[thread overview]
Message-ID: <m3lljp4g92.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <4nk6z9bk8n.fsf_-_@lifelogs.com>

"Ted Zlatanov" <tzz@lifelogs.com> writes:

> ;; defaults to nnml
> @variable backends :'(set (const :tag "Read news via NNTP" nntp)
>                           (const :tag "Read news via RSS" nnrss)
>                           (const :tag "Read news from Slashdot" nnslashdot)
>                           (const :tag "Manage TODO items" nntodo)
>                           (const :tag "Read mail with nnml" nnml)
>                           (const :tag "Read mail with nnmaildir" nnmaildir)
>                           (const :tag "Read mail with nnimap" nnimap))
>                     '(nnml)

[...]

> ;; note that @next is a list, so we are building a tree starting at
> ;; this node - this is a very important piece of the format
> ;; I'm not worrying about the correctness of the backquoted macros,
> ;; this is just a demo of the "next node" syntax
> @next `(,@(when (assq 'nnml backends) "Configuring the nnml backend")
>         ,@(when (assq 'nntp backends) "Configuring the NNTP backend")
>        [...]
>         ,@(when (eq sendmail outbound) "Configuring sendmail")
>         ,@(when (eq smtp outbound) "Configuring SMTP"))

I don't think you'll need macros -- these things will be funcalled,
anyway.  (That is, wrapped in `lambda' forms.  Or perhaps just evaled.

Anyway, I don't think there'll be just one assistant -- the menu will
have lots of them, so it's not necessary to start with "do you want
to set up news or mail?"  And that might make navigation easier.

So, if we just allow one element to branch, that could perhaps be
expressed more succinctly... 

@next nntp "Reading news from a news server"
@next nnspool "Reading news from the local spool"

Or something.  (Except that the last one wouldn't be an option,
because it's really rare that anybody would want to do nnspool.  :-)

> What do you think about the format, before I write more?

I think it's nice.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




  reply	other threads:[~2004-05-18 20:44 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-16 13:48 Wizards! I mean, Assistants! Lars Magne Ingebrigtsen
2004-05-16 15:20 ` Simon Josefsson
2004-05-16 15:24   ` Lars Magne Ingebrigtsen
2004-05-16 17:59     ` Frank Schmitt
2004-05-17 15:35     ` Per Abrahamsen
2004-05-17 20:36     ` Adam Sjøgren
2004-05-18 12:56       ` Per Abrahamsen
2004-05-18 14:20         ` Lars Magne Ingebrigtsen
2004-05-18 14:55           ` Per Abrahamsen
2004-05-18 15:15             ` Lars Magne Ingebrigtsen
2004-05-18 16:11               ` Per Abrahamsen
2004-05-19  0:14         ` Jesper Harder
2004-05-16 16:19   ` Jonas Steverud
2004-05-17  3:15     ` Paul Jarc
2004-05-17  7:34       ` Jonas Steverud
2004-05-16 22:13   ` Miles Bader
2004-05-16 22:18   ` Miles Bader
2004-05-16 23:17     ` Lars Magne Ingebrigtsen
2004-05-17  2:01       ` Steven E. Harris
2004-05-17  8:39   ` Ian Fitchet
2004-05-17 13:43     ` Lars Magne Ingebrigtsen
2004-05-17 13:55       ` Lloyd Zusman
2004-05-21 20:33       ` luis fernandes
2004-05-22 17:18         ` Lars Magne Ingebrigtsen
2004-05-22 18:46           ` Lars Magne Ingebrigtsen
2004-05-22 21:13             ` Lars Magne Ingebrigtsen
2004-05-22 21:19               ` Miles Bader
2004-05-22 21:33                 ` Lars Magne Ingebrigtsen
2004-05-22 22:01                   ` Miles Bader
2004-05-22 22:07                     ` Lars Magne Ingebrigtsen
2004-05-22 22:15                       ` Miles Bader
2004-05-22 22:29                         ` Lars Magne Ingebrigtsen
2004-05-22 22:32                           ` Lars Magne Ingebrigtsen
2004-05-23 16:38                             ` Per Abrahamsen
2004-05-23 20:12                               ` Lars Magne Ingebrigtsen
2004-05-23 21:43                                 ` Lars Magne Ingebrigtsen
2004-05-23 22:19                                   ` Lars Magne Ingebrigtsen
2004-05-24 10:38                                 ` Per Abrahamsen
2004-05-23 21:14         ` Steinar Bang
     [not found]   ` <87pt94xpbv.fsf@telia.com>
2004-05-19  9:56     ` Simon Josefsson
2004-05-17 14:51 ` Ted Zlatanov
2004-05-17 17:05   ` Lars Magne Ingebrigtsen
2004-05-17 18:52     ` Ted Zlatanov
2004-05-17 19:36       ` Lars Magne Ingebrigtsen
2004-05-18  8:48         ` Kai Grossjohann
2004-05-18 15:25           ` Ted Zlatanov
2004-05-18 19:36         ` new user assistant (was: Wizards! I mean, Assistants!) Ted Zlatanov
2004-05-18 20:44           ` Lars Magne Ingebrigtsen [this message]
2004-05-19 14:55             ` new user assistant Ted Zlatanov
2004-05-19 15:21               ` Lars Magne Ingebrigtsen
2004-05-20 18:04           ` Gnus mail reading assistant (was: new user assistant) Ted Zlatanov
2004-05-22 23:41             ` Gnus mail reading assistant Lars Magne Ingebrigtsen
2004-05-23  0:19           ` new user assistant Dale Hagglund
2004-05-24 13:52             ` Ted Zlatanov
2004-05-25 10:13               ` Per Abrahamsen
2004-05-25 13:15                 ` Derrell.Lipman
2004-05-25 18:45                   ` Ted Zlatanov
2004-05-25 19:09                     ` Paul Jarc
2004-05-26 18:49                       ` Per Abrahamsen
2004-05-26 18:57                         ` Paul Jarc
2004-05-26 18:46                     ` Per Abrahamsen
2004-05-17 15:45 ` Wizards! I mean, Assistants! Per Abrahamsen
2004-05-17 16:58   ` Lars Magne Ingebrigtsen

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=m3lljp4g92.fsf@quimbies.gnus.org \
    --to=larsi@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).