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: Sun, 16 Jul 2023 17:38:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Michael Heerdegen wrote:

>>> It will then be the summary buffer article at point, not
>>> the selected one. If one is selected, it would make more
>>> sense to operate on that.
>>
>> Probably, but how that works I don't know, this
>>
>> (gnus-summary-article-number)
>>
>> is 20086 in the summary buffer but opening that up and
>> doing the same thing in that buffer (the article buffer)
>> I get 20085, but not point nor highlight has moved in the
>> summary buffer ... ?
>
> Looks like this function is useful only when called with the
> summary buffer current.

But as long as there is a summary buffer one could use point
to determine what article to act upon, so, if someone would
solve that practically, then a similar, improved version of
that function would be callable from wherever in Emacs and
still find and article and, from there, a header field value.

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




reply via email to

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