From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/48920 Path: main.gmane.org!not-for-mail From: Wes Hardaker Newsgroups: gmane.emacs.gnus.general Subject: Re: ... and now for something completely different: User Friendliness Date: Tue, 07 Jan 2003 22:31:02 -0800 Organization: Network Associates Laboratories Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1042007472 3126 80.91.224.249 (8 Jan 2003 06:31:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 8 Jan 2003 06:31:12 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18W9k6-0000oI-00 for ; Wed, 08 Jan 2003 07:31:10 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18W9ke-0001OP-00; Wed, 08 Jan 2003 00:31:44 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 08 Jan 2003 00:32:39 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id AAA13229 for ; Wed, 8 Jan 2003 00:32:27 -0600 (CST) Original-Received: (qmail 25424 invoked by alias); 8 Jan 2003 06:31:28 -0000 Original-Received: (qmail 25419 invoked from network); 8 Jan 2003 06:31:28 -0000 Original-Received: from adsl-66-127-127-227.dsl.scrm01.pacbell.net (HELO localhost.localdomain) (@66.127.127.227) by 66.230.238.6 with SMTP; 8 Jan 2003 06:31:28 -0000 Original-Received: (from hardaker@localhost) by localhost.localdomain (8.11.6/8.11.6) id h086V2f17984; Tue, 7 Jan 2003 22:31:02 -0800 Original-To: ding@gnus.org X-Face: #qW^}a%m*T^{A:Cp}$R\"38+d}41-Z}uU8,r%F#c#s:~Nzp0G9](s?,K49KJ]s"*7gvRgA SrAvQc4@/}L7Qc=w{)]ACO\R{LF@S{pXfojjjGg6c;q6{~C}CxC^^&~(F]`1W)%9j/iS/ IM",B1M.?{w8ckLTYD'`|kTr\i\cgY)P4 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Wed, 08 Jan 2003 05:45:53 +0100") User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.5 (brussels sprouts, i686-pc-linux) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:48920 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:48920 >>>>> On Wed, 08 Jan 2003 05:45:53 +0100, Lars Magne Ingebrigtsen said: Lars> Wes Hardaker writes: >> Oh, uh, yeah... This is defined in perl structures: Lars> Probably not completely ideal for Emacs purposes, then. :-) >> { name => 'snmpNotifyType', >> text => >> 'What type of notification do you want to send?', >> type => 'radio', >> values => [qw(1 2)], >> labels => {'1' => 'trap', >> '2' => 'inform'}}, Lars> I had hoped to avoid going into this level of detail in the Lars> wizard-defining language, but now that I think more about it, Lars> I'm not quite sure how. It's all somewhat vague to me... If it makes you feel any better, the values clause above is no longer needed and just "labels" is fine :-/ (that's an old piece of code). That's about the minimal set of info that I can get. The real power of the perl module in question is state tracking and things like that are taken care of, plus it should work with the same definitions under multiple front-ends (web, cli, tk, ...) -- "The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it." -- Terry Pratchett