Re: [feature request] emacs: use `notmuch insert` for FCC
[notmuch-archives.git] / 86 / 147850de1a24bd06bd6dbc8cb3833bb9b31da1
1 Return-Path: <feeble@fester.com>\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 21BDB431FBF\r
6         for <notmuch@notmuchmail.org>; Tue, 15 Apr 2014 22:24:47 -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\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled\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 n-KuzoFsI1Hl for <notmuch@notmuchmail.org>;\r
16         Tue, 15 Apr 2014 22:24:38 -0700 (PDT)\r
17 Received: from filter01.dlls.pa.frontiernet.net\r
18         (filter01.dlls.pa.frontiernet.net [199.224.80.228])\r
19         by olra.theworths.org (Postfix) with ESMTP id 37935431FBD\r
20         for <notmuch@notmuchmail.org>; Tue, 15 Apr 2014 22:24:38 -0700 (PDT)\r
21 Received: from localhost (localhost [127.0.0.1])\r
22         by filter01.dlls.pa.frontiernet.net (Postfix) with ESMTP id 0D79E2737A6\r
23         for <notmuch@notmuchmail.org>; Wed, 16 Apr 2014 05:24:37 +0000 (UTC)\r
24 Received: from relay02.dlls.pa.frontiernet.net ([199.224.80.245])\r
25         by localhost (filter01.dlls.pa.frontiernet.net [199.224.80.228])\r
26         (amavisd-new, port 10024)\r
27         with LMTP id cYFh1H5lYTnw for <notmuch@notmuchmail.org>;\r
28         Wed, 16 Apr 2014 05:24:21 +0000 (UTC)\r
29 X-Originating-IP: [192.183.213.3]\r
30 X-Previous-IP: 192.183.213.3\r
31 Received: from beetle_b (unknown [192.183.213.3])\r
32         by relay02.dlls.pa.frontiernet.net (Postfix) with ESMTPA id CF8C24A0B9\r
33         for <notmuch@notmuchmail.org>; Wed, 16 Apr 2014 05:24:19 +0000 (UTC)\r
34 Received: by beetle_b (Postfix, from userid 1000)\r
35         id 351CD8962B; Tue, 15 Apr 2014 22:24:19 -0700 (PDT)\r
36 From: Neeum Zawaz <mailinglists@nawaz.org>\r
37 To: notmuch@notmuchmail.org\r
38 Subject: Emacs Keybindings no longer work after upgrading to 0.17\r
39 User-Agent: Notmuch/0.17 (http://notmuchmail.org) Emacs/23.4.1\r
40         (x86_64-pc-linux-gnu)\r
41 Date: Tue, 15 Apr 2014 22:24:19 -0700\r
42 Message-ID: <87eh0x26f0.fsf@fester.com>\r
43 MIME-Version: 1.0\r
44 Content-Type: text/plain; charset=us-ascii\r
45 X-BeenThere: notmuch@notmuchmail.org\r
46 X-Mailman-Version: 2.1.13\r
47 Precedence: list\r
48 List-Id: "Use and development of the notmuch mail system."\r
49         <notmuch.notmuchmail.org>\r
50 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
52 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
53 List-Post: <mailto:notmuch@notmuchmail.org>\r
54 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
55 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
57 X-List-Received-Date: Wed, 16 Apr 2014 05:24:47 -0000\r
58 \r
59 Hi,\r
60 \r
61 I have this function:\r
62 \r
63 \r
64 (define-key notmuch-search-mode-map "a"\r
65       (lambda ()\r
66         "Archive message."\r
67         (interactive)\r
68         (notmuch-search-tag "-inbox")\r
69         (notmuch-search-tag "-lowpriority")\r
70         (notmuch-search-tag "-@review")\r
71         (notmuch-search-tag "-@respond")\r
72         ))\r
73 \r
74 With the upgrade, if I try pressing "a" in search view, I get:\r
75 \r
76 Wrong type argument: stringp, 43\r
77 \r
78 Yet if I run the commands manually, it works fine.\r
79 \r
80 The full error, BTW, is:\r
81 \r
82 Debugger entered--Lisp error: (wrong-type-argument stringp 45)\r
83   string-match("^[-+]\\S-+$" 45 nil)\r
84   #[(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
85   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
86   notmuch-tag("(id:20140414235421.43aad8ffb333@www.pentaxforums.com)" "-inbox")\r
87   notmuch-search-tag("-inbox")\r
88   (lambda nil "Archive message." (interactive) (notmuch-search-tag "-inbox") (notmuch-search-tag "-lowpriority") (notmuch-search-tag "-@review") (notmuch-search-tag "-@respond"))()\r
89   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
90 \r
91 Strangely enough, the following works in show view.\r
92 \r
93 (define-key notmuch-show-mode-map "a"\r
94       (lambda ()\r
95         "Archive message."\r
96         (interactive)\r
97         (notmuch-show-tag-message "-inbox")\r
98         (notmuch-show-tag-message "-lowpriority")\r
99         (notmuch-show-tag-message "-@review")\r
100         (notmuch-show-tag-message "-@respond")\r
101         ))\r
102 \r
103 -- \r
104 Dictionaries are for loosers.\r
105 \r
106 \r
107                     /\  /\               /\  /\r
108                    /  \/  \ u e e n     /  \/  a w a z\r
109                        >>>>>>mueen@nawaz.org<<<<<<\r
110                                    anl\r
111 \r
112  \r