Gnus development mailing list
 help / color / mirror / Atom feed
* ... and now for something completely different: User Friendliness
@ 2003-01-02  7:37 Lars Magne Ingebrigtsen
  2003-01-02 10:11 ` Frank Schmitt
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Lars Magne Ingebrigtsen @ 2003-01-02  7:37 UTC (permalink / raw)


Remember a few years back when I was talking about actually starting
to do some work towards making Gnus easier to set up?  No?  How odd.

Ok, then.

Other programs that have non-trivial setup rules have "wizards" that
guide you through the process.  These wizards usually poke around the
environment a bit, and then ask the user for some information, checks
this information and asks the user a bit more.

For instance, let's say the user starts up Gnus the first time.  Gnus
could then look if NNTPSERVER was defined (which it usually is on
well-administered sites, but not on private systems).  Gnus could
look around a bit, and then ask the user whether she wants to read
news from that server, or if it's not defined (or she doesn't want
that server), to specify another server.  Using various access
methods.

For setting up mail, it's basically the same.  Look for a mail spool,
look for a POP server, ask a bit, generate a configuration.

One can almost do this with Customize, but not quite.  Customize has
lots of information about valid values for different variables, but
doesn't have a notion of "if this thing is set here, then probably
this other thing should be set there", and no notion of "first do
this, and if so, do that, and definitely not that".

So we come back to these questions: What language should these
configuration santas be written in, and what should be used to render
the user interface?

Now, the most obvious thing to do is to just write them in Lisp, and
I definitely don't want to do that.

(if (string= (getenv "NNTPSERVER") "")
    (if (query "You don't seem to have set a news server,
so do you want to use Gnus to read news or mail?")
         (setq news-server (quert "Ok, then gimme the
name of the news server"))))

Eek.  It's a readability nightmare.

The same is the case with anything that looks like HTML with embedded
program statements.  If you write PHP with lots of strings and stuff
in between, it soon just gets too ugly to be fun.

So -- any good ideas?  Surely somebody must have come up with a nice
solution here...

The other question is -- how to render the user interface?  Again,
Customize has lots of stuff for that, and might be a likely
contender.  The other is HTML and w3.  Any other ideas?

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



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2003-01-13 19:22 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-02  7:37 ... and now for something completely different: User Friendliness Lars Magne Ingebrigtsen
2003-01-02 10:11 ` Frank Schmitt
2003-01-02 18:19   ` Lars Magne Ingebrigtsen
2003-01-02 19:29 ` Simon Josefsson
2003-01-02 19:37   ` Lars Magne Ingebrigtsen
2003-01-02 22:10     ` Simon Josefsson
2003-01-06 16:05 ` Wes Hardaker
2003-01-07  5:23   ` Lars Magne Ingebrigtsen
2003-01-07 15:27     ` Wes Hardaker
2003-01-08  4:45       ` Lars Magne Ingebrigtsen
2003-01-08  6:31         ` Wes Hardaker
2003-01-08 15:18         ` Ted Zlatanov
2003-01-11 20:10           ` Lars Magne Ingebrigtsen
2003-01-13  0:44             ` Wes Hardaker
2003-01-13 18:24               ` Lars Magne Ingebrigtsen
2003-01-13 19:22             ` Ted Zlatanov

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