From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, RCVD_IN_DNSWL_LOW autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 7403 invoked from network); 25 Sep 2020 04:01:23 -0000 Received: from lists1.math.uh.edu (129.7.128.208) by inbox.vuxu.org with ESMTPUTF8; 25 Sep 2020 04:01:23 -0000 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.94) (envelope-from ) id 1kLeud-00GF0P-9M; Thu, 24 Sep 2020 23:00:47 -0500 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1kLeuX-00GEyW-HS for ding@lists.math.uh.edu; Thu, 24 Sep 2020 23:00:41 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx2.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1kLeuV-008y9j-Qc for ding@lists.math.uh.edu; Thu, 24 Sep 2020 23:00:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=lMm4bIf1HhC32FgMbFkgGwbC5RgSHcH5/uSp/mi5bbk=; b=ee3a1U4TLE4XdhPn/LPN6urQZx z1pyDoIVGKUbfEfFUCDri40ljY48X7wXfaZpw8lRp62qHCXE31291U5gl18+IOSOI08NoiVk6wDAz +yx2UqwHGtum5kM+46NX0hCVwrd4RaRZGq8QAN6Y5QuXy5x4hIT1gAls74MUSyEGfmlI=; Received: from mail-pj1-x102d.google.com ([2607:f8b0:4864:20::102d]) by quimby with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kLeuN-00060v-VK for ding@gnus.org; Fri, 25 Sep 2020 06:00:35 +0200 Received: by mail-pj1-x102d.google.com with SMTP id mn7so1087262pjb.5 for ; Thu, 24 Sep 2020 21:00:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeisgreat-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=lMm4bIf1HhC32FgMbFkgGwbC5RgSHcH5/uSp/mi5bbk=; b=SBKKMm3kSLtgY0Cd14bmUh9A216/zDqoInCpTIZmi4x6bFq8tkXkEo1vRNQ1cG/vG7 IMAVaV/+9moyt0zGwzIW4k2O/1t6cfPLpqmSVC+FnCfUt9DXQtmCQf5jlyvRoo31xl9u C/mXfWQMUTrlzkc2zHunpwibz6igdXRwULGnoVeLVtSZYUVybtw2LyaeDufPrk/vuhzn fyt+sqpW4pkzWxHZsVyFq3BtnkCFRH2COuXX9C/RbdMbEVXZyvdskCK1KDJpRRWGJGDY WKt4dt+aSYOzFJu2hCryatqVUcgIyxU8IfuaxTOYDsMPXtGkgvsJaBzo3OH5YlAwIIZK DZhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:organization:references:date :in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=lMm4bIf1HhC32FgMbFkgGwbC5RgSHcH5/uSp/mi5bbk=; b=Als177O7WYKiQFvXMRMG9+wqVGoHwrDULV6mT/ElUOMJsbtdJg2jEmTIpjdG+g0uf0 CSk4eH2JO1gZhDdGNuvZAyVe/6qo4QxBZ08ZhYwL9PjpxDwjoMD3m3I5O5rYwtsYZiky 8cuRzp+6ykPW6MQs1JKTKkzTJBXpBq9qRmEEcj6xOGDY9srdIoH4R5mtXgNdwxmJpFJr iNvy4eL5bDIvLtlA7vE8gPsWPXrPMOcd4ejCrVLMjKkEQm+CjGe5yEJfoo4+3V2+48TI vE3jxFqafJpdR0sF/9WDiWpEkyq4wSB/UFflagSO1Zf/oHclduw2ONM/iYKR81YHY+BJ /A6w== X-Gm-Message-State: AOAM53142AutZQhHTQsNYvsQKjujYn+giECerjh8Ps0SkBinYEQCDW/R WkT/QY5+tulSWoqQmNYWcilWm1pdFC5zeg== X-Google-Smtp-Source: ABdhPJx+ChnxNTCJRsn2ANFUL0xY6e3Sx6tE3YBlt2o5oir3aTecqcaNsa/vE6wa/pSQoPdKq/sVyQ== X-Received: by 2002:a17:90a:d18b:: with SMTP id fu11mr783766pjb.203.1601006429849; Thu, 24 Sep 2020 21:00:29 -0700 (PDT) Received: from BigBook.local ([2405:201:5c06:7085:3465:874d:a087:e76b]) by smtp.gmail.com with ESMTPSA id ca6sm603704pjb.53.2020.09.24.21.00.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Sep 2020 21:00:29 -0700 (PDT) From: Pankaj Jangid To: Adam =?utf-8?Q?Sj=C3=B8gren?= Cc: ding@gnus.org Subject: Re: Does Gnus automatically run 'notmuch new' if configured? Organization: Code Is Great Foundation References: <875z83njo0.fsf@tullinup.koldfront.dk> X-Face: #1mZPTdyZkzei|Hk$MhE?f(3T[Uxh9MW'Ewn610"\p9Q@7LjiO{4>uH&z3p'6Y?_,h)GQ'Y A;.i)[28BKd`Ton]]cOd|#isdz)&E!jRx@DX8N/*63[|x&JqwC,AmukEFVvt&AA*2H..Z'wxqs([H> kbp(Q/\fTwAm% !C}\xG0DS7(DaXPynsU3VED[SbY_:*`C`U'@;vp[YQ6I\#>E/slE#fLI4ap(^kSLS\*/ ]XNNMD6#b9KK\|:=(=DFek9%)L-ZTg3n#$0B Date: Fri, 25 Sep 2020 09:30:26 +0530 In-Reply-To: <875z83njo0.fsf@tullinup.koldfront.dk> ("Adam =?utf-8?Q?Sj?= =?utf-8?Q?=C3=B8gren=22's?= message of "Thu, 24 Sep 2020 19:55:59 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-ID: Precedence: bulk On Thu, Sep 24 2020, Adam Sj=C3=B8gren wrote: >> does Gnus automatically run "notmuch new" if notmuch is the configured >> search engine. > > If you want it run every time you have fetched mail, I think you could > add calling it to a hook, maybe gnus-after-getting-new-news-hook? Are hooks asynchronous? Eric had also suggested a similar solution. He suggested to put this at the time of startup. But my question is - will it increase the waiting time? I am fetching emails from multiple sources and it already takes 4-5 seconds to fetch emails when I press 'g'.