From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/57590 Path: main.gmane.org!not-for-mail From: "Ted Zlatanov" Newsgroups: gmane.emacs.gnus.general Subject: Gnus mail reading assistant (was: new user assistant) Date: 20 May 2004 14:04:25 -0400 Organization: =?us-ascii?Q?=3D=3Fkoi8-r=3Fq=3F=3DF4=3DC5=3DCF=3DC4=3D?= =?us-ascii?Q?CF=3DD2=3D20=3DFA=3DCC=3DC1=3DD4=3DC1=3DCE=3DCF=3DD7=3F?= =?us-ascii?Q?=3D_=40_Cienfuegos?= Sender: ding-owner@lists.math.uh.edu Message-ID: <4n3c5v2cwm.fsf_-_@lifelogs.com> References: <4nd653nm2i.fsf@lifelogs.com> <4nzn86honu.fsf@lifelogs.com> <4nk6z9bk8n.fsf_-_@lifelogs.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1085077315 15943 80.91.224.253 (20 May 2004 18:21:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 20 May 2004 18:21:55 +0000 (UTC) Original-X-From: ding-owner+M6130@lists.math.uh.edu Thu May 20 20:21:46 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BQsAs-00037i-00 for ; Thu, 20 May 2004 20:21:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1BQsAf-0008NI-00; Thu, 20 May 2004 13:21:33 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BQsAa-0008ND-00 for ding@lists.math.uh.edu; Thu, 20 May 2004 13:21:28 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BQsAZ-0001B4-3i for ding@lists.math.uh.edu; Thu, 20 May 2004 13:21:27 -0500 Original-Received: from mail.bwh.harvard.edu (sysblade0.bwh.harvard.edu [134.174.9.44]) by justine.libertine.org (Postfix) with ESMTP id 870B63A00BB for ; Thu, 20 May 2004 13:21:26 -0500 (CDT) Original-Received: (qmail 229 invoked from network); 20 May 2004 18:15:44 -0000 Envelope-Sender: tzz@lifelogs.com Envelope-Recipients: ding@gnus.org, Original-Received: from asimov.bwh.harvard.edu (HELO asimov) ([134.174.9.63]) (envelope-sender ) by mail.bwh.harvard.edu (qmail-ldap-1.03) with SMTP for ; 20 May 2004 18:15:23 -0000 Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" In-Reply-To: <4nk6z9bk8n.fsf_-_@lifelogs.com> (Ted Zlatanov's message of "18 May 2004 15:36:40 -0400") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:57590 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:57590 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