[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accessing hidden headers

From: Damien Collard
Subject: Re: Accessing hidden headers
Date: Wed, 10 Apr 2019 07:42:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (darwin)

On Mar, avr 09 2019, Eric Abrahamsen wrote:

> You can get it with:
> (mail-header-message-id
>  (gnus-data-header
>   (gnus-data-find
>    (gnus-summary-article-number)))

Perfect, thank you!

I need it as part of a treatment, for which point is in the article
buffer, so I'll be using it as follows:

(when (gnus-buffer-live-p gnus-summary-buffer)
  (with-current-buffer gnus-summary-buffer
    <...your code...>))

> While point is on the message in question. If there's a more direct way
> I'd like to know about it!

Way more direct and way cleaner than what I had tried!



reply via email to

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