From 3a1bc60c15adb3790750fb48f7c01eefdd587974 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Tue, 31 Jul 2012 10:48:00 +0300 Subject: [PATCH] Re: [PATCH] emacs: show: exclude bug fix --- b3/a93d00051888330a75e3467e7af4901c2bf9b1 | 87 +++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 b3/a93d00051888330a75e3467e7af4901c2bf9b1 diff --git a/b3/a93d00051888330a75e3467e7af4901c2bf9b1 b/b3/a93d00051888330a75e3467e7af4901c2bf9b1 new file mode 100644 index 000000000..5ffbbb497 --- /dev/null +++ b/b3/a93d00051888330a75e3467e7af4901c2bf9b1 @@ -0,0 +1,87 @@ +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 DBCC8431FBF + for ; Tue, 31 Jul 2012 00:47:50 -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 TdsIQIHRN7r9 for ; + Tue, 31 Jul 2012 00:47:50 -0700 (PDT) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by olra.theworths.org (Postfix) with ESMTP id 464C1431FAE + for ; Tue, 31 Jul 2012 00:47:50 -0700 (PDT) +Received: by guru.guru-group.fi (Postfix, from userid 501) + id A84F110036F; Tue, 31 Jul 2012 10:48:00 +0300 (EEST) +From: Tomi Ollila +To: Mark Walters , notmuch@notmuchmail.org +Subject: Re: [PATCH] emacs: show: exclude bug fix +In-Reply-To: <87hass85fx.fsf@qmul.ac.uk> +References: <87hass85fx.fsf@qmul.ac.uk> +User-Agent: Notmuch/0.13.2+103~g9610d35 (http://notmuchmail.org) Emacs/23.1.1 + (x86_64-redhat-linux-gnu) +X-Face: HhBM'cA~ +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: Tue, 31 Jul 2012 07:47:51 -0000 + +On Sat, Jul 28 2012, Mark Walters wrote: + +> The pipe message function (when used with a prefix) uses a search of +> the form "id: or id:" etc. Since the user says precisely +> which messages are wanted by opening them it should not use excludes. +> --- +> +> This is a small bugfix. Note that emacs how mode includes excluded +> messages in its buffer but, by default, it displays them closed. + +LGTM. + +Tomi + +> +> emacs/notmuch-show.el | 2 +- +> 1 files changed, 1 insertions(+), 1 deletions(-) +> +> diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el +> index 6335d45..dcfc190 100644 +> --- a/emacs/notmuch-show.el +> +++ b/emacs/notmuch-show.el +> @@ -1617,7 +1617,7 @@ than only the current message." +> (let (shell-command) +> (if entire-thread +> (setq shell-command +> - (concat notmuch-command " show --format=mbox " +> + (concat notmuch-command " show --format=mbox --exclude=false " +> (shell-quote-argument +> (mapconcat 'identity (notmuch-show-get-message-ids-for-open-messages) " OR ")) +> " | " command)) +> -- +> 1.7.9.1 +> +> _______________________________________________ +> notmuch mailing list +> notmuch@notmuchmail.org +> http://notmuchmail.org/mailman/listinfo/notmuch -- 2.26.2