I sent this reply to the wrong address, back in 2004. Here's the text again.
--
Andreas Fuchs, (http://|im:asf@|mailto:asf@)boinkor.net, antifuchs
--- Begin Message ---
On 2004-08-03, Peter S. Galbraith <[EMAIL PROTECTED]> wrote:
> Hi,
Hi!
>> It would be great if one could click on bug numbers in the context
>> of the weekly bugreport mails, i.e.
>>
>> Package: gnuplot (debian/main)
>> Maintainer: Thimo Neubauer <[EMAIL PROTECTED]>
>> 239679 [P ] gnuplot -> gnuplot-x11 breaks upgrades
>
> Let me know if you are interested in doing this or not.
Well, doing it isn't so hard; the code is already in the file,
AFAICT. I'm no longer using gnus, though (or reading debian
development groups), so testing a fix is pretty hard for me right now.
Anyway, this should work:
replacing the fugly construct:
(add-hook 'gnus-select-article-hook
(lambda ()
(setq in-debian-group-p (string-match "debian"
(gnus-group-real-name
gnus-newsgroup-name)))))
with:
(defvar anti-debian-devel-announce-group-name "debian\.devel\.announce"
"*Name of the group that mail to debian-devel-announce lands in.")
(defun anti-check-debian-devel-announce-entered ()
(setq in-debian-devel-announce-group-p
(string-match anti-debian-devel-announce-group-name
(gnus-group-real-name gnus-newsgroup-name))))
(add-hook 'gnus-select-article-hook
'anti-check-debian-devel-announce-entered)
ought Just Do The Right Thing (-:
That way, Frank can set anti-debian-devel-announce-group-name to the
gnus group name debian-devel-announce mail lands in, and bug numbers
will be highlighted - package names, too.
Wow, I haven't touched that code in a very, very long time. Nice how
the format of debian's mails doesn't seem to change (-:
Hope this helps,
--
Andreas Fuchs, <[EMAIL PROTECTED]>, [EMAIL PROTECTED], antifuchs
--- End Message ---