1 Return-Path: <m.walters@qmul.ac.uk>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 1DAE5431FBD
\r
6 for <notmuch@notmuchmail.org>; Sun, 25 May 2014 16:35:15 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0.502 tagged_above=-999 required=5
\r
12 tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001,
\r
13 NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id 9WzJ9XOlEZoX for <notmuch@notmuchmail.org>;
\r
17 Sun, 25 May 2014 16:35:11 -0700 (PDT)
\r
18 Received: from mail1.qmul.ac.uk (mail1.qmul.ac.uk [138.37.6.7])
\r
19 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id 64C26431FAF
\r
22 for <notmuch@notmuchmail.org>; Sun, 25 May 2014 16:35:11 -0700 (PDT)
\r
23 Received: from smtp.qmul.ac.uk ([138.37.6.40])
\r
24 by mail1.qmul.ac.uk with esmtp (Exim 4.71)
\r
25 (envelope-from <m.walters@qmul.ac.uk>)
\r
26 id 1WohwC-00044Y-FT; Mon, 26 May 2014 00:35:07 +0100
\r
27 Received: from 5751dfa2.skybroadband.com ([87.81.223.162] helo=localhost)
\r
28 by smtp.qmul.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.71)
\r
29 (envelope-from <m.walters@qmul.ac.uk>)
\r
30 id 1WohwC-0008IS-2m; Mon, 26 May 2014 00:34:44 +0100
\r
31 From: Mark Walters <markwalters1009@gmail.com>
\r
32 To: mailinglists@nawaz.org, notmuch@notmuchmail.org
\r
33 Subject: Re: Cannot apply multiple tags to a selection in search view
\r
34 In-Reply-To: <87d2f1jxof.fsf@nawaz.org>
\r
35 References: <87d2f1jxof.fsf@nawaz.org>
\r
36 User-Agent: Notmuch/0.15.2+615~g78e3a93 (http://notmuchmail.org) Emacs/23.4.1
\r
37 (x86_64-pc-linux-gnu)
\r
38 Date: Mon, 26 May 2014 00:34:40 +0100
\r
39 Message-ID: <87k3995t67.fsf@qmul.ac.uk>
\r
41 Content-Type: text/plain; charset=us-ascii
\r
42 X-Sender-Host-Address: 87.81.223.162
\r
43 X-QM-Geographic: According to ripencc,
\r
44 this message was delivered by a machine in Britain (UK) (GB).
\r
45 X-QM-SPAM-Info: Sender has good ham record. :)
\r
46 X-QM-Body-MD5: 2fa7c6619bdb29854e0bb909a1f55da0 (of first 20000 bytes)
\r
47 X-SpamAssassin-Score: -0.1
\r
48 X-SpamAssassin-SpamBar: /
\r
49 X-SpamAssassin-Report: The QM spam filters have analysed this message to
\r
51 spam. We require at least 5.0 points to mark a message as spam.
\r
52 This message scored -0.1 points.
\r
53 Summary of the scoring:
\r
54 * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
\r
55 provider * (markwalters1009[at]gmail.com)
\r
56 * -0.1 AWL AWL: From: address is in the auto white-list
\r
57 X-QM-Scan-Virus: ClamAV says the message is clean
\r
58 X-BeenThere: notmuch@notmuchmail.org
\r
59 X-Mailman-Version: 2.1.13
\r
61 List-Id: "Use and development of the notmuch mail system."
\r
62 <notmuch.notmuchmail.org>
\r
63 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
64 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
65 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
66 List-Post: <mailto:notmuch@notmuchmail.org>
\r
67 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
68 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
69 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
70 X-List-Received-Date: Sun, 25 May 2014 23:35:15 -0000
\r
75 I think notmuch-search-tag (and other tagging functions) were cleaned up
\r
76 for 0.17: in particular their interactive behaviour
\r
77 changed. notmuch-search-tag now only looks at the region if called
\r
78 interactively. I think the following would do what you want
\r
80 (define-key notmuch-search-mode-map "d"
\r
81 (lambda (beg end) "Delete message."
\r
82 (interactive (notmuch-search-interactive-region))
\r
83 (notmuch-search-tag '("+delete" "-inbox" "-lowpriority" "-@review" "-@respond" "-unread") beg end)))
\r
89 On Sun, 25 May 2014, mailinglists@nawaz.org wrote:
\r
92 > After upgrading to version 0.17, the following function that used to
\r
93 > work fine in the past misbehaves when I select multiple messages:
\r
95 > (define-key notmuch-search-mode-map "d"
\r
97 > "Delete message." (interactive) (notmuch-search-tag
\r
98 > '("+delete" "-inbox" "-lowpriority" "-@review" "-@respond"
\r
101 > If I press "d", it only applies the tags to the message my cursor is
\r
102 > on - not my whole message.
\r
104 > If I manually execute the notmuch-search-tag command, it does work on
\r
105 > the whole selection, though.
\r
109 > Thanks! _______________________________________________ notmuch
\r
110 > mailing list notmuch@notmuchmail.org
\r
111 > http://notmuchmail.org/mailman/listinfo/notmuch
\r