From: Wes Hardaker <wes@hardakers.net>
Subject: Re: new feature request: highlights on scoring matches
Date: Mon, 27 Jan 2003 07:54:44 -0800 [thread overview]
Message-ID: <sdn0lm1tbv.fsf@wanderer.hardakers.net> (raw)
In-Reply-To: <m3wuku6y9d.fsf@quimbies.gnus.org> (Lars Magne Ingebrigtsen's message of "Fri, 24 Jan 2003 22:20:14 +0100")
>>>>> On Fri, 24 Jan 2003 22:20:14 +0100, Lars Magne Ingebrigtsen <larsi@gnus.org> said:
Lars> Hm... These expressions would do nothing but highlight regions
Lars> in the summary buffer? Yes, and then the scoring code could add
Lars> more of these matches to the mechanism, like you say. Yes, that
Lars> sounds a lot cleaner than hacking up something in the scoring
Lars> code itself.
That's what I thought.
Lars> On the other hand, if the score rule is, say "^hello" on
Lars> Subject, just adding that to a list of highlighting regexps and
Lars> running it over the buffer won't match anything. And there'll
Lars> be misleading matches between, say, Subject and From as
Lars> displayed.
Err, good point.
Lars> No, perhaps it isn't as simple as that. The highlighting would
Lars> have to be applied before the strings are entered into the
Lars> buffer. That could be done by transforming a copy of the header
Lars> structure before it is inserted into the buffer...
Well, just having a basic-infrastructure for highlighting I think is
the first correct step. If nothing else, people can hind-rewrite
their expressions for scoring for highlighting use.
I wonder if there are any tricky cases other than ^ and $. I'd have
to think about it, because otherwise those could be easily replaced.
err, no they couldn't as the summary line format is different for
every person. arg.
--
"The trouble with having an open mind, of course, is that people will
insist on coming along and trying to put things in it." -- Terry Pratchett
next prev parent reply other threads:[~2003-01-27 15:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-21 14:48 Wes Hardaker
2003-01-21 23:03 ` Lars Magne Ingebrigtsen
2003-01-21 23:17 ` Andreas Fuchs
2003-01-22 0:26 ` Wes Hardaker
2003-01-22 0:28 ` Wes Hardaker
2003-01-24 21:20 ` Lars Magne Ingebrigtsen
2003-01-27 15:54 ` Wes Hardaker [this message]
2003-02-01 16:17 ` Lars Magne Ingebrigtsen
2003-02-04 17:05 ` Wes Hardaker
2003-02-07 12:33 ` Lars Magne Ingebrigtsen
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=sdn0lm1tbv.fsf@wanderer.hardakers.net \
--to=wes@hardakers.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).