From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Re: Scoring problem for short messages
Date: 26 Feb 1999 09:17:08 +0100 [thread overview]
Message-ID: <m3yall1svv.fsf@quimbies.gnus.org> (raw)
In-Reply-To: François Pinard's message of "22 Feb 1999 21:35:00 -0500"
François Pinard <pinard@iro.umontreal.ca> writes:
> I could use some bigger number of lines and use an inequality, but then,
> the score might be decreased if a message happens to contain `rapquot'
> together with something else which then interests me. I would like the
> score to be decreased /only/ if the message contains `rapquot' and nothing
> else than white lines, say. Do you have an idea how I could manage this?
You could score on "body" and, er, blankness, but that would take a
while.
> I also do not know when and how lines are counted. Is there a way to
> arrange so that count excludes prior and subsequent white lines?
Gnus uses the contents of the Lines header. So for mail you could
have a function run off of `nnmail-prepare-incoming-message-hook'
remove all heading and trailing blank lines, and then the Lines header
should be correct, I think.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
prev parent reply other threads:[~1999-02-26 8:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-02-23 2:35 François Pinard
1999-02-26 8:17 ` Lars Magne Ingebrigtsen [this message]
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=m3yall1svv.fsf@quimbies.gnus.org \
--to=larsi@gnus.org \
/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).