[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug with followup in digest mode
From: |
Donald Arseneau |
Subject: |
Re: bug with followup in digest mode |
Date: |
23 Feb 2011 12:07:46 -0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Donald Arseneau <asnd@triumf.ca> writes:
>
> > so, without understanding, I would guess that message-fetch-field "reply-to"
> > is scanning the entire (digest) message, not just its headers.
>
> Yes. This has been fixed many years ago in later Gnus versions. If you
> just want to fix that one bug, replace `message-fetch-field' with
> `gnus-fetch-field', which looks like
> (defun gnus-fetch-field (field)
> "Return the value of the header FIELD of current article."
> (require 'message)
> (save-excursion
> (save-restriction
> (let ((inhibit-point-motion-hooks t))
> (nnheader-narrow-to-headers)
> (message-fetch-field field)))))
Thanks a lot. I tried to do that patch by inserting the
definition for gnus-fetch-field and a revised definition for
gnus-summary-enter-digest-group in my .gnus file, but
the change had no effect, and M-x gnus-fetch-field says
[no match]. So I apparently don't know how to apply
(re)definitions.
--
Donald Arseneau asnd@triumf.ca