help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Retrieve all the emails belong to a thread initiated by myself from


From: Hongyi Zhao
Subject: Re: Retrieve all the emails belong to a thread initiated by myself from the archive server.
Date: Tue, 12 Oct 2021 15:26:19 +0800

On Tue, Oct 12, 2021 at 12:08 PM Emanuel Berg via Users list for the
GNU Emacs text editor <help-gnu-emacs@gnu.org> wrote:
>
> I found one defun I hade, useful but it is just a wrapper.
>
> Maybe the group should be a ordinary argument - or an optional
> argument where "nnml:mail.misc" is the default ...
>
> Yeah, looks good in its simple way :)
>
> (defun gnus-summary-respool-all (&optional beg end)
>   (interactive (when (use-region-p)
>                  (list (region-beginning) (region-end)) ))
>   (let*((b (or beg (point-min)))
>         (e (or end (point-max)))
>         (lines (count-lines b e)) )
>     (goto-char b)
>     (gnus-summary-respool-article
>        lines
>        (gnus-find-method-for-group "nnml:mail.misc") )))

Thank you for sharing your valuable experience, I'll try it to see
whether I can do the job with Gnus.

HZ



reply via email to

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