Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 61A1E431FAF for ; Thu, 12 Apr 2012 01:27:02 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NzJshV1QFtFx for ; Thu, 12 Apr 2012 01:27:01 -0700 (PDT) Received: from server.belohrad.ch (static-212-101-19-163.adsl.solnet.ch [212.101.19.163]) by olra.theworths.org (Postfix) with ESMTP id A22E8431FAE for ; Thu, 12 Apr 2012 01:27:01 -0700 (PDT) Received: from beesknees.cern.ch.belohrad.ch (beesknees.cern.ch [137.138.197.99]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by server.belohrad.ch (Postfix) with ESMTPSA id 9BF0A26334; Thu, 12 Apr 2012 10:30:05 +0200 (CEST) From: David Belohrad To: notmuch@notmuchmail.org Subject: incrontab? Organization: David Belohrad X-Operating-System: Debian Stable X-Homepage: http://belohrad.ch Date: Thu, 12 Apr 2012 10:25:45 +0200 Message-ID: <87bomx9x12.fsf@beesknees.cern.ch> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Apr 2012 08:27:02 -0000 Dear All, is somebody using incrontab to issue 'notmuch new'? I've tried but with only partial success. I have setup incrotab to run 'notmuch new' when something changes in my Maildir. However it is not reliable. E.g. sometimes it works out of the box, sometimes it seems that 'notmuch new' is simply not invoked at all even if I see in /var/log/mail.log, that a new mail was delivered correctly to the folder. Anyone really uses this setup? I have reverted back to crontab to issue 'notmuch new' every 5 minutes. And frankly speaking, I'm rather thinking to run this command from emacs directly everytime I either start notmuch, or refresh view using '=' on notmuch-hello buffer. As I'm using remote-notmuch config (using dtach as specified in wiki), I think it would not represent so much additional 'load' (in terms of time to display the emails) to issue refresh the notmuch database with every 'notmuch' refresh. any ideas? thanks d. -- .david.