From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/35873 Path: main.gmane.org!not-for-mail From: Per Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Wizards and W3 integration (was: Re: A road map for Oort Gnus) Date: 17 Apr 2001 12:57:02 +0200 Organization: The Church of Emacs Message-ID: References: <2561-Sat14Apr2001193850+0300-eliz@is.elta.co.il> <7458-Mon16Apr2001220522+0300-eliz@is.elta.co.il> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1035171554 5449 80.91.224.250 (21 Oct 2002 03:39:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:39:14 +0000 (UTC) Return-Path: Original-Received: (qmail 10298 invoked by alias); 17 Apr 2001 10:57:30 -0000 Original-Received: (qmail 10293 invoked from network); 17 Apr 2001 10:57:30 -0000 Original-Received: from sheridan.dina.kvl.dk (130.225.40.227) by gnus.org with SMTP; 17 Apr 2001 10:57:30 -0000 Original-Received: from ssv2.dina.kvl.dk (ssv2.dina.kvl.dk [130.225.40.226]) by sheridan.dina.kvl.dk (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id MAA01533; Tue, 17 Apr 2001 12:57:02 +0200 Original-Received: from abraham by ssv2.dina.kvl.dk with local (Exim 3.12 #1 (Debian)) id 14pTAM-0007Cw-00; Tue, 17 Apr 2001 12:57:02 +0200 Original-To: ding@gnus.org, emacs-devel@gnu.org, wmperry@aventail.com X-Face: +kRV2]2q}lixHkE{U)mY#+6]{AH=yN~S9@IFiOa@X6?GM|8MBp/ In-Reply-To: <7458-Mon16Apr2001220522+0300-eliz@is.elta.co.il> ("Eli Zaretskii"'s message of "Mon, 16 Apr 2001 22:05:22 +0300") User-Agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/20.7 Original-Lines: 43 Xref: main.gmane.org gmane.emacs.gnus.general:35873 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:35873 --=-=-= "Eli Zaretskii" writes: > Given this description, I don't understand how did you get to > discussing HTML and W3. This sounds like a possible extension of > Customize, plus some glue to go through several options in a > predefined order. Am I missing something? Basically, there are four proposals. #1. To use HTML with embedded customize widgets and Emacs Lisp as the basis for the saints. Basically, an interactive tutorial where you can set the options directly from the tutorial using embedded customize widget, with the smartness (if any) programmed with embedded Emacs Lisp. This is already implemented in Bill Perrys W3. Demonstration at (one embedded customize widget, no smartness). The page only make sense with Emacs W3. In your words, we would use HTML as the glue between the options. #2. Some kind of rule based knowledge base, proposed by Lars. I have no idea what this would #3. Use the saint foundation developed for JDE. Apparently, this is an Emacs Lisp only solution using a library build on top of customize and eieio. #4. A pure customize solution. The customize framework already allows special purpose groups with existing options listed in a specific order. I wrote one for Gnus as a demonstration, which I have attached to this message. Load the file, and type 'M-x gnus-virgin '. ... My preference is #1, but even though it is already implemented, it is mostly useless as long as w3 is not integrated in Emacs. --=-=-= Content-Type: application/emacs-lisp Content-Disposition: inline; filename=gnus-virgin.el Content-Description: Gnus Saint ;;; gnus-virgin.el --- Run Gnus for the very first time. ;; ;; Copyright (C) 2001 Free Software Foundation, Inc. ;; ;; Author: Per Abrahamsen ;; Keywords: news, mail, help ;; ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation; either version 2 of the License, or ;; (at your option) any later version. ;; ;; This program is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License ;; along with this program; if not, write to the ;; Free Software Foundation, Inc., 59 Temple Place, Suite 330, ;; Boston, MA 02111-1307, USA. ;;; Comments: ;; ;; Gentle introduction to Gnus. ;;; Code: (defcustom gnus-virgin t "Non-nil (on) means user haven't finished Gnus setup yet. Set this option to false if you want to avoid getting this buffer next time you start Gnus. That is, you *must* unset this flag in order to start Gnus for real." :type 'boolean) (defgroup gnus-virgin '((gnus-virgin custom-variable) (user-full-name custom-variable) (user-mail-address custom-variable) (message-user-organization custom-variable) (gnus-select-method custom-variable) (gnus-secondary-select-methods custom-variable)) "Setup Gnus for the very first time. This buffer contains the options that most people need to set in order to use Gnus for reading Mail and Usenet newsgroups. You should look at each of the options below (use the \"Show\" buttons when needed), set their value as appropriate, and then press the \"Save for Future Sessions\" button. Viola! Gnus should be ready to use. You can then start Gnus by typing with `M-x gnus '. If you ever want to revisit these option, type `M-x customize-group gnus-virgin '. Please note that there are many more options in Gnus than those listed below. Just about everything about Gnus is customizable. To see all the options, type `M-x customize-group gnus '. Now about the individual options: \"Virgin\": Set this to off using the Toggle button, efter you have finished with the other options. \"User Full Name\" and \"User Mail Address\": Type in your name and e-mail address in the text fields. \"Message User Organization\": Select \"String\" by clicking the right mouse button on the Value Menu, then enter the name of the organization you want to be associated with in your mail and news messages. \"Select Method\": Select \"nntp\" from the Value Menu, then type in the name of your news server in the text field below. If you don't know the name of your news server, ask your ISP. \"Secondary Select Methods\": This one has two purposes, reading mail and connecting to specialized news servers. Here is how to use it for mail. Ignore it if you don't want to use Gnus for reading mail. If you *do* want to use Gnus for mail, be warned that Gnus will download all your mail so you can't use other mailers as well. Stil here? Good. Gnus as a mail reader is strange, but cool. Type the Ins button. A \"Select Method\" entry should appear. Now select \"nnimap\" from the Value Menu and type the name of the server you want to read mail from. Again, your ISP should know the correct name. Using it for extra news servers is similar. Push the Ins button to get a new \"Select Method\" entry. Select \"nntp\" from the Value Menu. Write the address of the server you want to connect to in the text field below. Repeat for each server you want to read news. Try for example \"quimby.gnus.org\", a server that onbly carry Gnus releated newsgroups." :link '(custom-manual "(gnus)Top") :link '(url-link :tag "Development Page" "http://www.gnus.org/") :prefix "gnus-" :group 'gnus :group 'wizards) (defun gnus-virgin () "Setup gnus for the very first time. Please be gentle. Or just run it if already experienced." (interactive) (if gnus-virgin (customize-group 'gnus-virgin) (call-interactively 'gnus))) ;;; gnus-virgin.el ends here --=-=-=--