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: Emanuel Berg
Subject: Re: Reading the article/message in elisp
Date: Thu, 13 Jul 2023 02:04:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Robert Pluim wrote:

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

You mean like this?

(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) ))

:)

More:
  https://dataswamp.org/~incal/emacs-init/gnus/article.el

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




reply via email to

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