[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reading the article/message in elisp
From: |
Husain Alshehhi |
Subject: |
Re: Reading the article/message in elisp |
Date: |
Fri, 14 Jul 2023 00:52:18 +0000 |
Robert Pluim <rpluim@gmail.com> writes:
>
> In a temp buffer, no, but you can access the article buffer using eg
> `gnus-with-article' or `gnus-with-article-buffer', or even
> `gnus-with-article-headers' if you only care about the headers.
I suppose that gnus-with-article-buffer works, almost. In the case that
I am in gnus summary page, with the point on an unopened article, when I
run the following:
(defun husain--test-gnus-with-article-buffer()
(interactive)
(gnus-with-article-buffer
(message "%s" (message-fetch-field "Subject"))))
It fails to read the subject. However, it works very well after I open
the article. I think this solves 95% of the cases I run into.
Thank you.
- Reading the article/message in elisp, husain, 2023/07/10
- Re: Reading the article/message in elisp, Husain Alshehhi, 2023/07/12
- Re: Reading the article/message in elisp,
Husain Alshehhi <=
- 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