Michael Heerdegen wrote:

>>>> The function `mail-header-subject' works but then you
>>>> don't get to select the header.
>>>
>>> What does "you don't get to select the header" mean?
>>
>> You only get the Subject header.
>
> With this accessor function, yes. And with the others, you
> get the other struct fields. Not sure what your question is.

We would like an arbitrary header access function where the
header is provided as an argument, as in

(defun gnus-article-header-value (hdr)
  "Get the value of HDR for the current article."
  (with-current-buffer gnus-original-article-buffer
    (gnus-fetch-field hdr) ))

 only one that works from anywhere, where the article is
fetched from what article is selected (or, lacking that, where
the point is) in the summary buffer.

-- 
underground experts united
https://dataswamp.org/~incal


Reply via email to