From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/57515 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: new user assistant Date: Tue, 18 May 2004 22:44:41 +0200 Organization: Programmerer Ingebrigtsen Sender: ding-owner@lists.math.uh.edu Message-ID: 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 1084913141 16172 80.91.224.253 (18 May 2004 20:45:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 May 2004 20:45:41 +0000 (UTC) Original-X-From: ding-owner+M6055@lists.math.uh.edu Tue May 18 22:45:27 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 1BQBSp-0007yV-00 for ; Tue, 18 May 2004 22:45:27 +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 1BQBSi-0006M2-00; Tue, 18 May 2004 15:45:20 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BQBSe-0006Lx-00 for ding@lists.math.uh.edu; Tue, 18 May 2004 15:45:16 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BQBSd-0003pc-Db for ding@lists.math.uh.edu; Tue, 18 May 2004 15:45:15 -0500 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id 21A203A0026 for ; Tue, 18 May 2004 15:45:14 -0500 (CDT) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BQBSb-0003i8-00 for ; Tue, 18 May 2004 22:45:13 +0200 Original-Received: from quimbies.gnus.org ([80.91.231.2]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 May 2004 22:45:13 +0200 Original-Received: from larsi by quimbies.gnus.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 May 2004 22:45:13 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Original-Lines: 47 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: quimbies.gnus.org Mail-Copies-To: never X-Now-Playing: Coil's _Love's Secret Domain_: "Windowpane" Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAADFBMVEWpd0UnEBJ0NSVUHxzJ JpK9AAACCElEQVR4nCXSz2vTYBgH8K8p/sro/AO8FETUiPXkdRT/h5eA0KXgQRwIQyiVjC25yOYu uw+ZsbDSPampCMPZuiToZXjyUnuQNT1qylovXWdj8vqme0/vh+/zPO/LywsmVnF1bBjjEwbGJqwY BzwaPxVQjSKfJlHkeLFI1CI/80a81uRIezpHXpwM7XN0/XwUukkyAxdwnF4rRTnqO9R2uUjKKm+9 XyNb++lBLRucPrtEj/QmVPbCoRZVFS8cQdOWFWr92rQcnUPjfcX+ShuQjRT1T2GVCHe5gbXgdJ/Z dyobSmRgerpQ27Hw1pJXVUz/Uc0iZMJ5xqCHTsO6AklXZqjv+jKyul1UoU8bewULl7apyLAU1V6V FOR3PAF9QHZJxjXuVQR+N6ggI0+uGLAUNpoFCfddNy0bHqVoyi2ejva3fCDfbhtjLIZmtmDi1vYH 0aMOzKsAsklVlLGQGhJwoUeTDhjJQ6SQOyKpyzWYmHs9nyI0m5Csy9Y5rEwB9QQLgcBzgH3JHsCJ Bc5yuO6v50wcCvQOcO/beg5Iz1nkyGxuWTI9EQgCRVJumMqPNAmOxXNAMt88E5jEEFtI3RMVjBs+ CWS0scCI/10m6fbNrnYsEj587M+9+6itVASSYR/Sy1jlac80+Q5c3FU1DWzKvT8SHuwzY0XcehCX 8rQ3Fl8ALGodPqQZ2H8vjCYQEHIoHAAAAABJRU5ErkJggg== User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:q3mpeq2+Gk6/Wre7OT5YYt6t/Fw= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:57515 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:57515 "Ted Zlatanov" 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