[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reading the article/message in elisp
From: |
Emanuel Berg |
Subject: |
Re: Reading the article/message in elisp |
Date: |
Sun, 16 Jul 2023 17:35:03 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
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
- Re: Reading the article/message in elisp, (continued)
- Re: Reading the article/message in elisp, Emanuel Berg, 2023/07/13
- Re: Reading the article/message in elisp, Michael Heerdegen, 2023/07/13
- Re: Reading the article/message in elisp, Emanuel Berg, 2023/07/14
- Re: Reading the article/message in elisp, Michael Heerdegen, 2023/07/14
- Re: Reading the article/message in elisp, Emanuel Berg, 2023/07/14
- Re: Reading the article/message in elisp, Michael Heerdegen, 2023/07/14
- Re: Reading the article/message in elisp, Emanuel Berg, 2023/07/15
- Re: Reading the article/message in elisp, Michael Heerdegen, 2023/07/15
- Re: Reading the article/message in elisp, Emanuel Berg, 2023/07/15
- Re: Reading the article/message in elisp, Michael Heerdegen, 2023/07/15
- Re: Reading the article/message in elisp,
Emanuel Berg <=
- Re: Reading the article/message in elisp, Michael Heerdegen, 2023/07/28
- Re: Reading the article/message in elisp, Emanuel Berg, 2023/07/15
- Re: Reading the article/message in elisp, Michael Heerdegen, 2023/07/15
- Re: Reading the article/message in elisp, Emanuel Berg, 2023/07/16