1 Return-Path: <tomi.ollila@iki.fi>
\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 9E628431FBF
\r
6 for <notmuch@notmuchmail.org>; Tue, 15 Apr 2014 23:07:42 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id 8so41JbZNhhH for <notmuch@notmuchmail.org>;
\r
16 Tue, 15 Apr 2014 23:07:29 -0700 (PDT)
\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])
\r
18 by olra.theworths.org (Postfix) with ESMTP id CF7DC431FBD
\r
19 for <notmuch@notmuchmail.org>; Tue, 15 Apr 2014 23:07:27 -0700 (PDT)
\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])
\r
21 by guru.guru-group.fi (Postfix) with ESMTP id 25CC010008F;
\r
22 Wed, 16 Apr 2014 09:07:20 +0300 (EEST)
\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
24 To: Neeum Zawaz <mailinglists@nawaz.org>, notmuch@notmuchmail.org
\r
25 Subject: Re: Emacs Keybindings no longer work after upgrading to 0.17
\r
26 In-Reply-To: <87eh0x26f0.fsf@fester.com>
\r
27 References: <87eh0x26f0.fsf@fester.com>
\r
28 User-Agent: Notmuch/0.17+201~g56da2d6 (http://notmuchmail.org) Emacs/24.3.1
\r
29 (x86_64-unknown-linux-gnu)
\r
30 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL
\r
31 $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F
\r
32 !)g;OY^,BjTbr)Np:%c_o'jj,Z
\r
33 Date: Wed, 16 Apr 2014 09:07:19 +0300
\r
34 Message-ID: <m28ur5lsdk.fsf@guru.guru-group.fi>
\r
36 Content-Type: text/plain
\r
37 X-BeenThere: notmuch@notmuchmail.org
\r
38 X-Mailman-Version: 2.1.13
\r
40 List-Id: "Use and development of the notmuch mail system."
\r
41 <notmuch.notmuchmail.org>
\r
42 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
43 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
44 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
45 List-Post: <mailto:notmuch@notmuchmail.org>
\r
46 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
47 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
48 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
49 X-List-Received-Date: Wed, 16 Apr 2014 06:07:42 -0000
\r
51 On Wed, Apr 16 2014, Neeum Zawaz <mailinglists@nawaz.org> wrote:
\r
55 > I have this function:
\r
58 > (define-key notmuch-search-mode-map "a"
\r
60 > "Archive message."
\r
62 > (notmuch-search-tag "-inbox")
\r
63 > (notmuch-search-tag "-lowpriority")
\r
64 > (notmuch-search-tag "-@review")
\r
65 > (notmuch-search-tag "-@respond")
\r
68 > With the upgrade, if I try pressing "a" in search view, I get:
\r
70 > Wrong type argument: stringp, 43
\r
74 (notmuch-search-tag '("-inbox" "-lowpriority" "-@review" "-@respond"))
\r
76 i.e. notmuch-search-tag takes list argument in these days... :D
\r
78 yes, it is inconvenient that formats change, but...
\r
84 > Yet if I run the commands manually, it works fine.
\r
86 > The full error, BTW, is:
\r
88 > Debugger entered--Lisp error: (wrong-type-argument stringp 45)
\r
89 > string-match("^[-+]\\S-+$" 45 nil)
\r
90 > #[(tag-change) "\305\306\307\310\n #,?\205\311\312!\207" [tag-change start string regexp inhibit-changing-match-data "^[-+]\\S-+$" nil t string-match error "Tag must be of the form `+this_tag' or `-that_tag'"] 4](45)
\r
91 > mapc(#[(tag-change) "\305\306\307\310\n #,?\205\311\312!\207" [tag-change start string regexp inhibit-changing-match-data "^[-+]\\S-+$" nil t string-match error "Tag must be of the form `+this_tag' or `-that_tag'"] 4] "-inbox")
\r
92 > notmuch-tag("(id:20140414235421.43aad8ffb333@www.pentaxforums.com)" "-inbox")
\r
93 > notmuch-search-tag("-inbox")
\r
94 > (lambda nil "Archive message." (interactive) (notmuch-search-tag "-inbox") (notmuch-search-tag "-lowpriority") (notmuch-search-tag "-@review") (notmuch-search-tag "-@respond"))()
\r
95 > call-interactively((lambda nil "Delete message." (interactive) (notmuch-search-tag "-inbox") (notmuch-search-tag "-lowpriority") (notmuch-search-tag "-@review") (notmuch-search-tag "-@respond")) nil nil)
\r
97 > Strangely enough, the following works in show view.
\r
99 > (define-key notmuch-show-mode-map "a"
\r
101 > "Archive message."
\r
103 > (notmuch-show-tag-message "-inbox")
\r
104 > (notmuch-show-tag-message "-lowpriority")
\r
105 > (notmuch-show-tag-message "-@review")
\r
106 > (notmuch-show-tag-message "-@respond")
\r
110 > Dictionaries are for loosers.
\r
114 > / \/ \ u e e n / \/ a w a z
\r
115 > >>>>>>mueen@nawaz.org<<<<<<
\r
119 > _______________________________________________
\r
120 > notmuch mailing list
\r
121 > notmuch@notmuchmail.org
\r
122 > http://notmuchmail.org/mailman/listinfo/notmuch
\r