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.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,RCVD_IN_DNSWL_LOW autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 457 invoked from network); 25 Sep 2020 18:16:44 -0000 Received: from lists1.math.uh.edu (129.7.128.208) by inbox.vuxu.org with ESMTPUTF8; 25 Sep 2020 18:16:44 -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 1kLsGv-00GNii-Ho; Fri, 25 Sep 2020 13:16:41 -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 1kLsGr-00GNgk-Fs for ding@lists.math.uh.edu; Fri, 25 Sep 2020 13:16:37 -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 1kLsGp-009NtT-0g for ding@lists.math.uh.edu; Fri, 25 Sep 2020 13:16:37 -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:References :Message-ID:Date:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=7oKMZTLXZAL+m3mni9+1VEdkz1veUZJvvGzxf+nap2s=; b=W3cb206OZhaLtecgsrgxF9JJug lkPLxWsMhqzncqzzQhzzpGNnLa9coj711N3fLcLdDx1jg5CDf2HJKYkYhXwKOZiM7lvaWPnjnH2dh wZJ/epNeYfCibsGxsOxEzZ/ywyE6wdkmV5ayhYRdpK4j3HzG0FLkFCGv1BtMKSR6fMrE=; Received: from static.214.254.202.116.clients.your-server.de ([116.202.254.214] helo=ciao.gmane.io) by quimby with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kLsGg-0005A4-62 for ding@gnus.org; Fri, 25 Sep 2020 20:16:30 +0200 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1kLsGf-0000nt-LG for ding@gnus.org; Fri, 25 Sep 2020 20:16:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: =?utf-8?Q?Adam_Sj=C3=B8gren?= Subject: Re: Does Gnus automatically run 'notmuch new' if configured? Date: Fri, 25 Sep 2020 20:16:21 +0200 Organization: koldfront - analysis & revolution, Copenhagen, Denmark Message-ID: <873635sowa.fsf@tullinup.koldfront.dk> References: <875z83njo0.fsf@tullinup.koldfront.dk> <87o8luz39v.fsf@ucl.ac.uk> <87o8lukxsm.fsf@tullinup.koldfront.dk> <873635akcz.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cancel-Lock: sha1:bnrDO/3BFJm7/KcSJpY7CYh8kNg= OpenPGP: id=476630590A231909B0A0961A49D0746121BDE416; url=https://asjo.koldfront.dk/gpg.asc Mail-Follow-Up-To: never X-Face: )qY&CseJ?.:=8F#^~GcSA?F=9eu'{KAFfL1C3/A&:nE?PW\i65"ba0NS)97,Q(^@xk}n4Ou rPuR#V8I(J_@~H($[ym:`K_+]*kjvW>xH5jbgLBVFGXY:(#4P>zVBklLbdL&XxL\M)%T}3S/IS9lMJ ^St'=VZBR Precedence: bulk Pankaj writes: > which hook is best for the purpose? Currently I am using > `gnus-after-getting-new-news-hook`. But that is run only when I press > `g` (gnus-group-get-new-news). It seems that the hook is not invoked > when I start Gnus. Hm. That seems like a bug to me - I would expect it to fire after getting new news, regardless of whether it was fetched by startup or by explicit action. You could advice M-x gnus to run notmuch after startup: (defadvice gnus (after gnus-notmuch-new activate) (your-run-notmuch-new-function)) in addition to the hook. But it still feels wrong that the hook doesn't fire - doesn't it? Best regards, Adam -- "I'm so glad to have you, and it's getting worse Adam Sjøgren I'm so mad to love you, and your evil curse" asjo@koldfront.dk