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 30950 invoked from network); 25 Sep 2020 07:52:40 -0000 Received: from lists1.math.uh.edu (129.7.128.208) by inbox.vuxu.org with ESMTPUTF8; 25 Sep 2020 07:52:40 -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 1kLiWU-00GH6s-13; Fri, 25 Sep 2020 02:52:06 -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 1kLiWO-00GH4y-68 for ding@lists.math.uh.edu; Fri, 25 Sep 2020 02:52:00 -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 1kLiWM-00967X-8x for ding@lists.math.uh.edu; Fri, 25 Sep 2020 02:51:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=xg+qpJgWNsxaHsnRg6ougfp5wIEAcOp4so8I45qa+pQ=; b=uqilvkuOtQSavpSOAPukRiLVcA V87NlfP6OgmjsYzu+Q+O51QwO0VO5HUHNpUUMLuBn7fEZ2cXhXf3sm5cLjVIc7My1TTBmaTCmAyr5 45N2MZuMN0w+IWCISCDGw5CAsHt/p5hMbtr07bHnqeNKsxbWenT2d9Deop3fRfUFJlQw=; Received: from mail-pg1-x531.google.com ([2607:f8b0:4864:20::531]) by quimby with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kLiWE-00084f-EW for ding@gnus.org; Fri, 25 Sep 2020 09:51:53 +0200 Received: by mail-pg1-x531.google.com with SMTP id 197so1832854pge.8 for ; Fri, 25 Sep 2020 00:51:50 -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; bh=xg+qpJgWNsxaHsnRg6ougfp5wIEAcOp4so8I45qa+pQ=; b=GD3RThfS17dl9+v54mOZQCwTdf5Jbe3QV2oCabWRT43z0H5Ylgyl9XYhnzDE+xxxpj le9oSDFzFwoDbmNY8+xwlbjkx65ceDGIvRJiP4K45+u5EnICpDGRlazKcwocaNw/1EBa z6I7MhUkaRDhlqOIpOKZ4Rg3vQfnA3sgX/XlNd0ywzVplCrsHwsNWGj3M3RLnZPvKW+7 XnlYPycMsFRaUzx8jD/g9fB09VOxM5UqoGOhFdWbZLIQP2thIWiIUX3BASZls9+Ef+jZ 36qq/YESCyfba9IQlAYlxvRe32cvneDQXxwL1JKh07FcqbYFsfSFGrQqTrzLPMfrePvO 97yA== 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; bh=xg+qpJgWNsxaHsnRg6ougfp5wIEAcOp4so8I45qa+pQ=; b=Kpu360iq8jJ/g+uSTOwvaqPnz3xl0pAAKiKZk1yz61pRSNkdAycbqC8sYkD4dDUZAb j7SHoSdaNQ3gRM+h/KPdITZ9x3CJIq2gc6lFytFQDVVE0wrDLNvlAkGX2DbUXGO4I7mC uvA0A8JXXYxMyP3YMikWSFtgZll/7NW7qetEXuzIf8t0IFclCwvZYziYAQiITvACiMPY fv/onJxIAYKmzdTL1nOjW6txfwyzOBtMdraLWfLSbmuzb9i/OEiyTW5q2qF13/M9KlaM wX0XWbkWF92zdr5/ol6oDESRKHoFZ9o/5itQ0g0KmSzTG2OTdzI8+sBzmifr3I0Y9Q5n 3Suw== X-Gm-Message-State: AOAM530uywG+yfqrJL+9TNVeWliSUZK7uKlUeqyuYl0yWaf5zfSHuC4R 0mA9f//bDMxkFjcPeNb5lQtrNZoTxdV6dA== X-Google-Smtp-Source: ABdhPJyl03RCcyuwYALBVFWIaeA4kiAuWRO4YaUDk+hNU5hAPwRhCNWWzYb7YStOoi2DSoHswXdf7A== X-Received: by 2002:a17:902:7844:b029:d0:cbe1:e704 with SMTP id e4-20020a1709027844b02900d0cbe1e704mr3176781pln.18.1601020307247; Fri, 25 Sep 2020 00:51:47 -0700 (PDT) Received: from BigBook.local ([2405:201:5c06:7085:3465:874d:a087:e76b]) by smtp.gmail.com with ESMTPSA id n2sm1628132pfa.182.2020.09.25.00.51.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Sep 2020 00:51:46 -0700 (PDT) From: Pankaj Jangid To: Eric Abrahamsen Cc: Pankaj Jangid , Adam =?utf-8?Q?Sj=C3=B8gren?= , ding@gnus.org Subject: Re: Does Gnus automatically run 'notmuch new' if configured? Organization: Code Is Great Foundation References: <875z83njo0.fsf@tullinup.koldfront.dk> <87r1qq9ysd.fsf@ericabrahamsen.net> 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 13:21:43 +0530 In-Reply-To: <87r1qq9ysd.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Thu, 24 Sep 2020 23:05:22 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain List-ID: Precedence: bulk On Thu, Sep 24 2020, Eric Abrahamsen wrote: > It's not the hook that's synchronous or asynchronous, it's the call to > the external process. You can use `shell-command' for a synchronous call > (probably not what you want), or `async-shell-command' for... async. Thanks a lot. I'll implement using `async-shell-command'.