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 7E73C431FAF for ; Mon, 18 Nov 2013 03:35:12 -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 zKnaPNvjPE+P for ; Mon, 18 Nov 2013 03:35:07 -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 C3759431FAE for ; Mon, 18 Nov 2013 03:35:07 -0800 (PST) Received: from remotemail by yantan.tethera.net with local (Exim 4.80) (envelope-from ) id 1ViN6e-0006p4-CU; Mon, 18 Nov 2013 07:35:04 -0400 Received: (nullmailer pid 24527 invoked by uid 1000); Mon, 18 Nov 2013 11:35:00 -0000 From: David Bremner To: Mark Walters , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: show: stop stderr appearing in buffer In-Reply-To: <1384333417-13832-1-git-send-email-markwalters1009@gmail.com> References: <1384333417-13832-1-git-send-email-markwalters1009@gmail.com> User-Agent: Notmuch/0.16+171~g5262be6 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-pc-linux-gnu) Date: Mon, 18 Nov 2013 07:35:00 -0400 Message-ID: <8761rqvt7f.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, 18 Nov 2013 11:35:12 -0000 Mark Walters writes: > Thus we add a debug variable notmuch-show-attachment-debug: it this is > non-nil we create a new buffer for each viewer; if this variable is > nil we just use a temp buffer which means all error output is > discarded (this is the same behaviour as with emacs pre 24.3). This seems to work fine, but I couldn't find the temp buffer name until I looked at the source. How about a docstring? d