Re: Hi all
[notmuch-archives.git] / 89 / 9eafab12deee5d09a65a27550742345e9f739c
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
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.502\r
10 X-Spam-Level: \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
40 MIME-Version: 1.0\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
50         determine if it is\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
60 Precedence: list\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
71 \r
72 \r
73 Hi\r
74 \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
79 \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
84 \r
85 Best wishes\r
86 \r
87 Mark\r
88 \r
89 On Sun, 25 May 2014, mailinglists@nawaz.org wrote:\r
90 > Hi,\r
91 >\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
94 >\r
95 > (define-key notmuch-search-mode-map "d"\r
96 >       (lambda ()\r
97 >         "Delete message."  (interactive) (notmuch-search-tag\r
98 >         '("+delete" "-inbox" "-lowpriority" "-@review" "-@respond"\r
99 >         "-unread"))))\r
100 >\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
103 >\r
104 > If I manually execute the notmuch-search-tag command, it does work on\r
105 > the whole selection, though.\r
106 >\r
107 > Any ideas?\r
108 >\r
109 > Thanks!  _______________________________________________ notmuch\r
110 > mailing list notmuch@notmuchmail.org\r
111 > http://notmuchmail.org/mailman/listinfo/notmuch\r