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

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

Re: Can a mail-sources :prescript communicate progress back to the user?


From: Adam Sjøgren
Subject: Re: Can a mail-sources :prescript communicate progress back to the user?
Date: Wed, 11 Apr 2018 21:33:26 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Lars writes:

> asjo@koldfront.dk (Adam Sjøgren) writes:
>
>> I am wondering whether there is any functionality for a :prescript in
>> mail-sources to report progress back to the user - e.g. by messages
>> being shown in the mini-buffer?
>
> Yes...  can't you just use a prescript like, er,
>
> :prescript (lambda () (message "Before fetching..."))
>
> or something?

Hm, yes, I guess I could made my :prescript a (defun) that calls the
Python script and reads stdout, (message)'ing every line...

Thanks for the pointer!


  Best regards,

    Adam

-- 
 "I'm only civil because I don't know any swear words."       Adam Sjøgren
                                                         asjo@koldfront.dk




reply via email to

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