Gnus development mailing list
 help / color / mirror / Atom feed
From: Frank Schmitt <usereplyto@Frank-Schmitt.net>
Subject: Re: ... and now for something completely different: User Friendliness
Date: Thu, 02 Jan 2003 11:11:12 +0100	[thread overview]
Message-ID: <u1grq2tb.fsf@hschmi22.userfqdn.rz-online.de> (raw)
In-Reply-To: <m3znqkhuj3.fsf@quimbies.gnus.org>

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

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

What a pity.

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

That depends. Define 

gnus-wizard-look-for-nntp-server
gnus-wizard-look-for-pop3-server
gnus-wizard-look-for-spool-file

and 

(gnus-wizard-get-nntp-server-from-user &opt proposed-server)
(gnus-wizard-get-pop-server-from-user &opt proposed-server)

...

And stuff already looks much better.

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

And the user needs an apache or alike on his system.

> 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?

Whatever you do, remember that there are other systems then
Linux/FreeBSD running Gnus, e.g. MacOS or Windows. Your solution should
work on those systems, too so I'd still vote for a wizard in Emacs Lisp,
asking the user in Minibuffer and some explanation on what he should
input in a buffer above.

-- 
One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them
In the Land of Mordor where the Shadows lie.



  reply	other threads:[~2003-01-02 10:11 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-02  7:37 Lars Magne Ingebrigtsen
2003-01-02 10:11 ` Frank Schmitt [this message]
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

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=u1grq2tb.fsf@hschmi22.userfqdn.rz-online.de \
    --to=usereplyto@frank-schmitt.net \
    --cc=replies@Frank-Schmitt.net \
    /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).