🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #20333

Re: GNKSA: Gnus 5.0.15

#20333
From: Tim Pierce
Date: Tue, 02 Apr 1996 00:00
105 lines
5053 bytes
In article <rjpw9q4xt2.fsf@babbage.i-have-a-misconfigured-system-so-shoot-me>,
Per Abrahamsen  <abraham@dina.kvl.dk> wrote:

>>>>>> "TP" == Tim Pierce <twpierce@midway.uchicago.edu> writes:
>
>TP> Or it should be interpreted as preventing posting of malformed
>TP> articles "out of the box" -- i.e. with source code unmodified from
>TP> its distribution form.  Do you really think this actually needs to
>TP> be said?
>
>"Unmodified source code" makes a lot of sense in newsreaders where
>there is a clear difference between the implementation language and
>the customization language. 

I don't agree that there's a meaningful distinction to be made
here.

The Gnus distribution includes a number of .el files, among others--

ChangeLog      doc.txt        gnus-mh.el     nnbabyl.el     nnmail.el
Makefile       gnus-cache.el  gnus-msg.el    nndir.el       nnmbox.el
TAGS           gnus-cite.el   gnus-score.el  nndoc.el       nnmh.el
auc-menu.el    gnus-cus.el    gnus-uu.el     nneething.el   nnml.el
browse-url.el  gnus-edit.el   gnus-vis.el    nnfolder.el    nnspool.el
custom.el      gnus-ems.el    gnus-vm.el     nnheader.el    nntp.el
dgnushack.el   gnus-kill.el   gnus.el        nnkiboze.el    nnvirtual.el

Do any of these .el files need to be modified in order to run
Gnus?  Neither the readme nor the Makefile indicates that they
do.  Although users may need to modify their .emacs files, they do
not need to change any Elisp that is bundled in gnus.tar.gz.  I
claim that it is reasonable to define an "unmodified source
distribution" of Gnus as the set of .el files packaged up by
Larsi.

>	(remove-hook 'message-required-news-headers 'From)
>
>With your interpretation, it is still non-conforming since no source
>is modified.

Correct.

>I hope you agree that the person who added the last line
>probably knows what he is doing, and shouldn't be stopped.

I don't agree at all.  People who are that determined to bypass
the news standards can go in and wire nntp.el to do whatever fool
thing they like.  There is no reason at all for the newsreader to
be designed to make this easy or automatic.

>TP> Why can't that helpful person be Gnus itself?
>
>TP>   (cond ((index host #?@) (error "You can't have an @ in your hostname!"))
>TP> 	((not (index host #?.)) (error "You must have a . in your hostname!"))
>TP>         ((= 0 (length user)) (error "You must supply a non-null username!"))
>TP> 	...
>
>Cause that doesn't tell the user how to fix the problem, only what the
>problem is.  

Now this is really picking nits.  Supply a more verbose error
message.

   (cond ((index host ?\@)
	  (error "You can't have a @ in your hostname!")
	  (how-to-fix-your-from-header))
	 ((not (index host ?\.))
	  (error "You must have a . in your hostname!")
	  (how-to-fix-your-from-header))
         ((= 0 (length user))
	  (error "You must supply a non-null username!")
	  (how-to-fix-your-from-header))
	 ...)

   (defun how-to-fix-your-from-header ()
     (error "You must set your `From' header to a legal Usenet e-mail
             address.  Make sure that your .emacs contains a line
	     like the following:

		(setq user-mail-address \"user@hostname.dom\")

	     and then restart Gnus.  The string between double
	     quotes must be an e-mail address where you receive
	     mail.  Typically, `user' will be your login id and
	     `hostname.dom' will be the name of the machine you
	     log in to.  Or, `user' may be a POPmail ID and
	     `hostname.dom' the name of your POP server.

	     If you are not sure what your e-mail address is, ask
	     a knowledgable user or the technical support staff at
	     your site."))

(Yes, yes, I know this isn't correct elisp.  Don't quibble about
my spacing or my defuns.)

The point is that if the newsreader can tell that your e-mail
address is broken -- and it surely can -- then it can tell you
what you should do to fix it.

-- 
By sending unsolicited commercially-oriented e-mail to this address, the 
sender agrees to pay a $100 flat fee to the recipient for proofreading 
services.

Technical Details
Message-ID: <Dp8v0L.182@midway.uchicago.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <yxs68btyp8o.fsf@stint.cl.cam.ac.uk> <rjag0wi29w.fsf@babbage.dina.kvl.dk> <Dp7D5E.KnE@midway.uchicago.edu> <rjpw9q4xt2.fsf@babbage.i-have-a-misconfigured-system-so-shoot-me>

Show Full Headers
Complete Article Headers
Message-ID: <Dp8v0L.182@midway.uchicago.edu>
Subject: Re: GNKSA: Gnus 5.0.15
Date: Tue, 02 Apr 1996 00:00:00 +0000
From: Tim Pierce <twpierce@midway.uchicago.edu>
References: <yxs68btyp8o.fsf@stint.cl.cam.ac.uk> <rjag0wi29w.fsf@babbage.dina.kvl.dk> <Dp7D5E.KnE@midway.uchicago.edu> <rjpw9q4xt2.fsf@babbage.i-have-a-misconfigured-system-so-shoot-me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 145450694
Sender: news@midway.uchicago.edu (News Administrator)
X-nntp-posting-host: bio-5.bsd.uchicago.edu
X-web: Mosaic, minus neat concept
Organization: Direct Frontal Assaults on Bob Dornan
Newsgroups: news.software.readers
Originator: twpierce@mail.bsd.uchicago.edu (Tim Pierce)