From: Hongyi Zhao <hongyi.zhao@gmail.com>
To: Emanuel Berg <moasenwood@zoho.eu>,
help-gnu-emacs <help-gnu-emacs@gnu.org>
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 [thread overview]
Message-ID: <CAGP6POL+XoKCVSKanBc0Zkyi9ZMUV4uGOn7P0vXX0=K3PKnzyA@mail.gmail.com> (raw)
In-Reply-To: <87r1cqy9vs.fsf@zoho.eu>
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
next prev parent reply other threads:[~2021-10-12 7:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-11 13:34 Retrieve all the emails belong to a thread initiated by myself from the archive server Hongyi Zhao
2021-10-11 16:15 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-12 0:57 ` Hongyi Zhao
2021-10-12 1:11 ` Hongyi Zhao
2021-10-12 1:15 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-12 4:07 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-12 7:26 ` Hongyi Zhao
2021-10-12 7:34 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-12 7:49 ` Hongyi Zhao [this message]
2021-10-12 9:20 ` Emanuel Berg via Users list for the GNU Emacs text editor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAGP6POL+XoKCVSKanBc0Zkyi9ZMUV4uGOn7P0vXX0=K3PKnzyA@mail.gmail.com' \
--to=hongyi.zhao@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=moasenwood@zoho.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).