Gnus development mailing list
 help / color / mirror / Atom feed
From: "Ted Zlatanov" <tzz@lifelogs.com>
Subject: Gnus mail reading assistant (was: new user assistant)
Date: 20 May 2004 14:04:25 -0400	[thread overview]
Message-ID: <4n3c5v2cwm.fsf_-_@lifelogs.com> (raw)
In-Reply-To: <4nk6z9bk8n.fsf_-_@lifelogs.com> (Ted Zlatanov's message of "18 May 2004 15:36:40 -0400")

Some more work on the mail setup assistant.  The syntax is nebulous
so I'm trying my best to make it do what we want.  It's not clear,
for example, what we should do when a nnml server is created - do we
create a new "mail" group?  Do we set up splitting?

For NNTP, do we ask for a username and password, or do we test the
server and see if they are needed, or is that too advanced for a
setup assistant?

Ted

@ifassistant

@title Configuring Gnus for the first time
@node What do you want to do with Gnus?

;; 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)

;; defaults to sendmail
@variable outbound :'(choice (const :tag "Send mail via sendmail" sendmail)
                             (const :tag "Send mail via SMTP" smtp)) 
                    'sendmail

@result primary-mail-selections (list backends outbound)
@text
Welcome to Gnus.  You need to tell us what you want to do with Gnus
before we go on to specific configurations.

Choose the tasks you want to set up: @variable{backends}

Choose the method Gnus will use to send mail: @variable{outbound}
@end text

;; this is like a cond, and multiples are allowed
@next (assq 'nnml backends) "Configuring the nnml backend"
@next (assq 'nntp backends) "Configuring the NNTP backend"
@next (eq sendmail outbound) "Configuring sendmail"
@next (eq smtp outbound) "Configuring SMTP"

@node "Configuring the nnml backend"

;; note that we don't need "@variable nnml-directory"

;; but we do need @result, so undo and reset know what to undo
@result nnml-directory

;; invented functions
@next-action '(gnus-server-add-server-direct 'nnml)

@undo-action '(gnus-server-remove-server-direct 'nnml)

@text

In order to use nnml, you need to specify a directory where your mail
will live: @variable{nnml-directory}

The default is usually fine.

@end text

@node "Configuring the NNTP backend"

;; defaults to nntp-address?
@variable server :string nntp-address

;; invented functions
@next-action '(gnus-server-add-server-direct 'nntp server)

@undo-action '(gnus-server-remove-server-direct 'nntp server)

@text

You need a NNTP server to read news via nntp: @variable{server}

@end text

@end ifassistant



  parent reply	other threads:[~2004-05-20 18:04 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           ` new user assistant Lars Magne Ingebrigtsen
2004-05-19 14:55             ` Ted Zlatanov
2004-05-19 15:21               ` Lars Magne Ingebrigtsen
2004-05-20 18:04           ` Ted Zlatanov [this message]
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=4n3c5v2cwm.fsf_-_@lifelogs.com \
    --to=tzz@lifelogs.com \
    /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).