Article View: news.software.readers
Article #20377Re: GNKSA: Gnus 5.0.15
From: Lars Magne Ingebrigtsen
Date: Wed, 03 Apr 1996 00:00
Date: Wed, 03 Apr 1996 00:00
45 lines
2622 bytes
2622 bytes
Tim Pierce <twpierce@midway.uchicago.edu> writes:
> I still think there are reasons not to include such hooks. It's a
> matter of intent. If there's a hook function provided by the
> author for the explicit and sole purpose of turning off syntax
> checks, it carries a mild stamp of acceptability.
Well, the `remove-hook' line was a bit misleading, because it isn't a
hook that's being removed.
(setq message-syntax-checks
(delq 'From message-syntax-checks))
is what one really does. (This is functionally equivalent to the
`remove-hook' trick -- which really is a trick.)
> Honestly, I think that the difference between add-hook and fset is
> already non-trivial. Someone who's not an Elisp hacker won't
> generally know about fset, but may very well have a few
> `add-hook's in their own .emacsen.
Well, that's true. The question is whether one should trust that
people who take the time to read the manual (which is something that
one has to do to find the `message-syntax-checks' variable) knows what
they're doing. I definitely think so. If they have enough savvy to
read the manual, then they probably have enough savvy to to trivial
alterations to the source code (like the `fset' trick). They may
furthermore have perfectly valid reasons to turn the "From" check off
selectively -- for instance when testing to see whether the nntp
server rejects articles with syntactically invalid headers, which is
something I've done a couple of times.
I think the checks should help people avoid posting invalid articles
by mistake, but if they really want to do something like that, there's
no way I can stop them, so I see no reason to try to do that.
(Obviously, I would never add a "Disable From Syntax Checks" menu
entry -- that would make it too easy for novices to shoot themselves
in the foot.)
--
(domestic pets only, the antidote for overdose, milk.)
larsi@ifi.uio.no * Lars Ingebrigtsen
Technical Details
Message-ID:
<w8sivfht4lw.fsf@aegir.ifi.uio.no>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-mailReferences:
<yxs68btyp8o.fsf@stint.cl.cam.ac.uk>Show Full Headers
Complete Article Headers
Message-ID: <w8sivfht4lw.fsf@aegir.ifi.uio.no> Subject: Re: GNKSA: Gnus 5.0.15 Date: Wed, 03 Apr 1996 00:00:00 +0000 From: Lars Magne Ingebrigtsen <larsi@aegir.ifi.uio.no> References: <yxs68btyp8o.fsf@stint.cl.cam.ac.uk> 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: 145657293 Content-type: text/plain; charset="iso-8859-1" Organization: Dept. of Informatics, University of Oslo, Norway Mime-version: 1.0 Newsgroups: news.software.readers