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 12CD3431FBD for ; Mon, 27 Jan 2014 05:11:49 -0800 (PST) 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 o9GNV4SjLv9E for ; Mon, 27 Jan 2014 05:11:41 -0800 (PST) Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 66F26431FBC for ; Mon, 27 Jan 2014 05:11:41 -0800 (PST) Received: from remotemail by yantan.tethera.net with local (Exim 4.80) (envelope-from ) id 1W7lyW-0005nr-AS; Mon, 27 Jan 2014 09:11:40 -0400 Received: (nullmailer pid 3123 invoked by uid 1000); Mon, 27 Jan 2014 13:11:36 -0000 From: David Bremner To: Daniel Kahn Gillmor , notmuch Subject: Re: notmuch emacs mode could be friendlier when the user has never run "notmuch setup" In-Reply-To: <5228989D.8030607@fifthhorseman.net> References: <5228989D.8030607@fifthhorseman.net> User-Agent: Notmuch/0.17+53~g3e1d7f6 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-pc-linux-gnu) Date: Mon, 27 Jan 2014 09:11:36 -0400 Message-ID: <87d2jdlgc7.fsf@zancas.localnet> MIME-Version: 1.0 Content-Type: text/plain 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: Mon, 27 Jan 2014 13:11:49 -0000 Daniel Kahn Gillmor writes: > At the very least, the error message could say "please run 'notmuch > setup' from a shell". This is implimented in git commit 1c2f2c960c (with the patch series in this thread), and will be part of notmuch 0.18. So far I only added the assert to notmuch-hello (also known as M-x notmuch), but it would be easy to add to other entry-points if people think it's a good idea. > > The current behavior (notmuch and notmuch-emacs 0.16-1 on debian) is to > open a *notmuch-hello* buffer that says : > > Welcome to notmuch. You have > > And in the minibuffer, a message says "notmuch exited with status 1" >