From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help 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 Message-ID: References: <87v9231qsr.fsf@zoho.eu> <87o87vyrf2.fsf@zoho.eu> <87k0iizy0f.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8397"; mail-complaints-to="usenet@ciao.gmane.io" To: Emanuel Berg , help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 12 09:27:54 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1maCCY-0001y4-GN for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 12 Oct 2021 09:27:54 +0200 Original-Received: from localhost ([::1]:38356 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1maCCX-0001mq-Dt for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 12 Oct 2021 03:27:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41718) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maCBF-0001lD-Up for help-gnu-emacs@gnu.org; Tue, 12 Oct 2021 03:26:34 -0400 Original-Received: from mail-ua1-x929.google.com ([2607:f8b0:4864:20::929]:39799) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1maCBE-0003WY-B6 for help-gnu-emacs@gnu.org; Tue, 12 Oct 2021 03:26:33 -0400 Original-Received: by mail-ua1-x929.google.com with SMTP id f3so13351194uap.6 for ; Tue, 12 Oct 2021 00:26:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=FdE//z9VRFW9mL7K2ER4DVpqvjDTKm0uY9u6cG0UWq8=; b=CY3mk6k2BbFAMJDeLjYz3Vz+vwSTJ05v+UICKzazzUMJVNLXz2KAUtWwrIdwBIwmOa jRTKt0VUqqcHqcrIoakxXNw7FeZRJFqxtGTGvW5HGNtAfDOT+bih/JIX+GtJR4Xd9wL7 sGOzkg8mreo2g/lD3fPAVybdcClM5RQskBBowfVikyU+jfp5rC12669kK3PnjF8ICOoT Gwa+5xDm/L0130uLhoBIDXphVWKfwO0VdDKk97gd/Yvy9uFsd2oDDL8UHLjZAIjXuD/m +BZ0yVk1BYwaYcZq2BkfOZ7zq0cf7hHdmtwyJQTA/bDV9s6T9IzP7v5wVt3zTPSZxnYm PAYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=FdE//z9VRFW9mL7K2ER4DVpqvjDTKm0uY9u6cG0UWq8=; b=slO9/3iB6UylqTA37K2At2E3/5ix3fPPUB95CkutJSosMQUSWQUJ5EphJa33L6wjyr Kri/8L2m/CpgMV/394LOhmNP+v9/RSP0VnOiEPNHwIJjpyDNTVqkOS5j863/zhbgJKn3 vHthgfjaaPSxxNNFXnS2ROpzp86ZYGNvRRMEwhzZkLmtkZYyTgq+g6elvCN12IZhghqy FWPs8uzYT0+zvgO1wCivYdgPTsgLSTNIC7xA4AY4wtBxDgit+IIpP+naJSwW5h51U1bR 93AXL5J/dSlWnpWCSkR1jGl97vUrqqkbmRiTVAEwd8w65bxKfqAxZACi7yiYTbBtpum2 uHRw== X-Gm-Message-State: AOAM530SKOZssS/uUUeVLJMmMf+7fvCpsjfU1oOIR+mAJbnqvu7CGoFI d3Qdu+gjMNrIQDjyXk6oEAA8pudMBwliyeYdNkM= X-Google-Smtp-Source: ABdhPJxd74NYmwavf64idth/Yz8X7udwSRmhJ4DaVLQJC/jTnB1Cl+Mhd6Tg4U4DB1W6Bh3M8TsEXnIh4nveD43YRfs= X-Received: by 2002:a67:c31c:: with SMTP id r28mr28915247vsj.10.1634023590309; Tue, 12 Oct 2021 00:26:30 -0700 (PDT) In-Reply-To: <87k0iizy0f.fsf@zoho.eu> Received-SPF: pass client-ip=2607:f8b0:4864:20::929; envelope-from=hongyi.zhao@gmail.com; helo=mail-ua1-x929.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:133742 Archived-At: On Tue, Oct 12, 2021 at 12:08 PM Emanuel Berg via Users list for the GNU Emacs text editor 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