info-gnus-english
[Top][All Lists]
Advanced

[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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]