[PATCH] configure: add --without-api-docs option
[notmuch-archives.git] / 23 / dd2ea59114563820ac3e3e5ff0c3343bbc6c36
1 Return-Path: <jrollins@finestructure.net>\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 C128F431FD9\r
6         for <notmuch@notmuchmail.org>; Sat,  7 Apr 2012 17:35:49 -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: -2.3\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3] 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 i8OTPbXyoC7x for <notmuch@notmuchmail.org>;\r
16         Sat,  7 Apr 2012 17:35:47 -0700 (PDT)\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
18         [131.215.239.19])\r
19         by olra.theworths.org (Postfix) with ESMTP id B3FA3431FB6\r
20         for <notmuch@notmuchmail.org>; Sat,  7 Apr 2012 17:35:47 -0700 (PDT)\r
21 Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
22         by earth-doxen-postvirus (Postfix) with ESMTP id 8BAF266E0108\r
23         for <notmuch@notmuchmail.org>; Sat,  7 Apr 2012 17:35:46 -0700 (PDT)\r
24 X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new\r
25 Received: from finestructure.net (unknown [76.89.193.65])\r
26         (Authenticated sender: jrollins)\r
27         by earth-doxen-submit (Postfix) with ESMTP id BFE9E66E00E2\r
28         for <notmuch@notmuchmail.org>; Sat,  7 Apr 2012 17:35:44 -0700 (PDT)\r
29 Received: by finestructure.net (Postfix, from userid 1000)\r
30         id 1073D969; Sat,  7 Apr 2012 17:35:43 -0700 (PDT)\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>\r
32 To: Notmuch Mail <notmuch@notmuchmail.org>\r
33 Subject: [PATCH 8/8] emacs: eliminate show-tag-message in favor of just\r
34         show-tag\r
35 Date: Sat,  7 Apr 2012 17:35:38 -0700\r
36 Message-Id: <1333845338-22960-9-git-send-email-jrollins@finestructure.net>\r
37 X-Mailer: git-send-email 1.7.9.1\r
38 In-Reply-To: <1333845338-22960-8-git-send-email-jrollins@finestructure.net>\r
39 References: <1333354853-25729-1-git-send-email-jrollins@finestructure.net>\r
40         <1333845338-22960-1-git-send-email-jrollins@finestructure.net>\r
41         <1333845338-22960-2-git-send-email-jrollins@finestructure.net>\r
42         <1333845338-22960-3-git-send-email-jrollins@finestructure.net>\r
43         <1333845338-22960-4-git-send-email-jrollins@finestructure.net>\r
44         <1333845338-22960-5-git-send-email-jrollins@finestructure.net>\r
45         <1333845338-22960-6-git-send-email-jrollins@finestructure.net>\r
46         <1333845338-22960-7-git-send-email-jrollins@finestructure.net>\r
47         <1333845338-22960-8-git-send-email-jrollins@finestructure.net>\r
48 X-BeenThere: notmuch@notmuchmail.org\r
49 X-Mailman-Version: 2.1.13\r
50 Precedence: list\r
51 List-Id: "Use and development of the notmuch mail system."\r
52         <notmuch.notmuchmail.org>\r
53 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
56 List-Post: <mailto:notmuch@notmuchmail.org>\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
58 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
59         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
60 X-List-Received-Date: Sun, 08 Apr 2012 00:35:50 -0000\r
61 \r
62 notmuch-show-tag-message is now completely redundant with\r
63 notmuch-show-tag so we eliminate it to simplify the interface.\r
64 ---\r
65  emacs/notmuch-show.el |   14 ++------------\r
66  1 files changed, 2 insertions(+), 12 deletions(-)\r
67 \r
68 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el\r
69 index 69bca02..f174910 100644\r
70 --- a/emacs/notmuch-show.el\r
71 +++ b/emacs/notmuch-show.el\r
72 @@ -1396,7 +1396,7 @@ current thread."\r
73  \r
74  (defun notmuch-show-mark-read ()\r
75    "Mark the current message as read."\r
76 -  (notmuch-show-tag-message "-unread"))\r
77 +  (notmuch-show-tag "-unread"))\r
78  \r
79  ;; Functions for getting attributes of several messages in the current\r
80  ;; thread.\r
81 @@ -1634,16 +1634,6 @@ than only the current message."\r
82             (message (format "Command '%s' exited abnormally with code %d"\r
83                              shell-command exit-code))))))))\r
84  \r
85 -(defun notmuch-show-tag-message (&rest tag-changes)\r
86 -  "Change tags for the current message.\r
87 -\r
88 -TAG-CHANGES is a list of tag operations for `notmuch-tag'."\r
89 -  (let* ((current-tags (notmuch-show-get-tags))\r
90 -        (new-tags (notmuch-update-tags current-tags tag-changes)))\r
91 -    (unless (equal current-tags new-tags)\r
92 -      (funcall 'notmuch-tag (notmuch-show-get-message-id) tag-changes)\r
93 -      (notmuch-show-set-tags new-tags))))\r
94 -\r
95  (defun notmuch-show-tag (&optional tag-changes)\r
96    "Change tags for the current message.\r
97  \r
98 @@ -1768,7 +1758,7 @@ If a prefix argument is given, the message will be\r
99  removed)."\r
100    (interactive "P")\r
101    (let ((op (if unarchive "+" "-")))\r
102 -    (notmuch-show-tag-message (concat op "inbox"))))\r
103 +    (notmuch-show-tag (concat op "inbox"))))\r
104  \r
105  (defun notmuch-show-archive-message-then-next-or-exit ()\r
106    "Archive the current message, then show the next open message in the current thread.\r
107 -- \r
108 1.7.9.1\r
109 \r