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:49:35 +0800

On Tue, Oct 12, 2021 at 3:38 PM Emanuel Berg via Users list for the
GNU Emacs text editor <help-gnu-emacs@gnu.org> wrote:
>
> Hongyi Zhao 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.
>
> But won't do anything without the regexps ...
>
> (setq nnmail-split-methods
>       '(
>         ("mail.ml-ooa"    
> "\\(To\\|Cc\\):.*\\(help-gnu-emacs@gnu.org\\|ding@gnus.org\\|emacs-w3m@namazu.org\\|emacs-devel@gnu.org\\|gmane-discuss@quimby.gnus.org\\|tex-live@tug.org\\|gnuplot-info@lists.sourceforge.net\\|emacs-orgmode@gnu.org\\|emacs-erc@gnu.org\\)")
>         [...]
>         ("mail.misc"      "")
>       ))
>
> (note default last)
>
> `B q' or `gnus-summary-respool-query' is the testing function
> I spoke of, after you set up the regexps ...
>
> For example of your message it says
>
>   This message would go to mail.ml-ooa
>
> That is because I assume I'd see it here (i.e.
> gmane.emacs.help)

You have set a bunch of ML addressed in the regexps, why you only
mention `gmane.emacs.help' here?

> anyway so if I get it as a mail it'll
> respool to the mail ML out-of-action group where it doesn't
> bother me ...
>
> --
> underground experts united
> https://dataswamp.org/~incal



reply via email to

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