Re: incrontab?
authorJani Nikula <jani@nikula.org>
Thu, 12 Apr 2012 20:53:13 +0000 (23:53 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:46:19 +0000 (09:46 -0800)
f3/25702825f8fb26fd58c2640ce0d2279ce26f7d [new file with mode: 0644]

diff --git a/f3/25702825f8fb26fd58c2640ce0d2279ce26f7d b/f3/25702825f8fb26fd58c2640ce0d2279ce26f7d
new file mode 100644 (file)
index 0000000..21b1af8
--- /dev/null
@@ -0,0 +1,91 @@
+Return-Path: <jani@nikula.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id C2D41431FAF\r
+       for <notmuch@notmuchmail.org>; Thu, 12 Apr 2012 13:53:22 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id Sv5uJyLMtkDf for <notmuch@notmuchmail.org>;\r
+       Thu, 12 Apr 2012 13:53:22 -0700 (PDT)\r
+Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com\r
+       [209.85.217.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 04BFE431FAE\r
+       for <notmuch@notmuchmail.org>; Thu, 12 Apr 2012 13:53:21 -0700 (PDT)\r
+Received: by lbbgk15 with SMTP id gk15so629029lbb.26\r
+       for <notmuch@notmuchmail.org>; Thu, 12 Apr 2012 13:53:19 -0700 (PDT)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=google.com; s=20120113;\r
+       h=from:to:cc:subject:in-reply-to:references:date:message-id\r
+       :mime-version:content-type:x-gm-message-state;\r
+       bh=kBqQd6ECAKHOJ3yaIiHl5EW+SzQIV1beEg3ctrFdo6Q=;\r
+       b=Sj1LyDs3+66eXdVGxKw5hswa8YDVU1U1jmiBv6PicpAF3xOVIgPhqS2h74WiNtein4\r
+       pgCdP08uwjgigUxOsO37BMf81nAM/bYohMxAtBVj+NqpDa2+ZQgPZAebg3J4rigbsly6\r
+       XQZJvYGq9kiXesPL664IndjyZ8s8W/VhvGyidOoedJTluyY4Z1hzgLqLEvjYpDPItb4M\r
+       wHjdkZnzaEeOVHjRIlMucYTks4Lryatkx3Ylv5lSrfPrzSPUqLBVeS6fUQ/+teB2z564\r
+       6aq+fBECNCh6Pvut2ZkZCul5znpHG9MhtPVFd06j6ET5BIZ6WC2je0+3Cirr7iGcIYQr\r
+       /+kw==\r
+Received: by 10.152.127.163 with SMTP id nh3mr3465408lab.15.1334263998970;\r
+       Thu, 12 Apr 2012 13:53:18 -0700 (PDT)\r
+Received: from localhost (dsl-hkibrasgw4-fe50dc00-68.dhcp.inet.fi.\r
+       [80.220.80.68])\r
+       by mx.google.com with ESMTPS id j6sm9106097lbm.1.2012.04.12.13.53.15\r
+       (version=SSLv3 cipher=OTHER); Thu, 12 Apr 2012 13:53:17 -0700 (PDT)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: Adam Wolfe Gordon <awg+notmuch@xvx.ca>, David Belohrad <david@belohrad.ch>\r
+Subject: Re: incrontab?\r
+In-Reply-To:\r
+ <CAMoJFUtBRa0FNgpEJQLVZMQ3hk2MR5vFT4Kq9mspeTBOLLBy=g@mail.gmail.com>\r
+References: <87bomx9x12.fsf@beesknees.cern.ch>\r
+       <CAMoJFUtBRa0FNgpEJQLVZMQ3hk2MR5vFT4Kq9mspeTBOLLBy=g@mail.gmail.com>User-Agent: Notmuch/0.12+81~g839a805 (http://notmuchmail.org) Emacs/23.3.1\r
+       (i686-pc-linux-gnu)\r
+Date: Thu, 12 Apr 2012 23:53:13 +0300\r
+Message-ID: <8762d4hdty.fsf@nikula.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-Gm-Message-State:\r
+ ALoCoQm3FyMhqpGU9q80ZyXpizBHWuzANuN+7Kko/YkqdUvrDPzP9tifu6vEssileRg7O8OQo0G5\r
+Cc: notmuch@notmuchmail.org\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Thu, 12 Apr 2012 20:53:22 -0000\r
+\r
+\r
+Adam Wolfe Gordon <awg+notmuch@xvx.ca> writes:\r
+> On Thu, Apr 12, 2012 at 02:25, David Belohrad <david@belohrad.ch> wrote:\r
+>> I have reverted back to crontab to issue 'notmuch new' every 5\r
+>> minutes. And frankly speaking, I'm rather thinking to run this command\r
+>> from emacs directly everytime I either start notmuch, or refresh view\r
+>> using '=' on notmuch-hello buffer.\r
+>\r
+> You could probably do this with notmuch-hello-refresh-hook, but it\r
+> will be a bit tricky: the hook is executed after the notmuch-hello\r
+> buffer is refreshed, so you'd have to have it refresh after notmuch\r
+> new completes, without running the hook infinitely.\r
+\r
+There's notmuch-hello-poll-and-update, bound to 'G' in hello, which runs\r
+notmuch-poll-script (customizable; "notmuch new" by default). See the\r
+help for those for details.\r
+\r
+If you want '=' to always do "notmuch new", the easiest way is to rebind\r
+it to notmuch-hello-poll-and-update. (But perhaps 'G' is enough?)\r
+\r
+HTH,\r
+Jani.\r