Re: [PATCH 3/3] emacs: colorize buttonized 'id:' links depending on the target messag...
authorPieter Praet <pieter@praet.org>
Mon, 16 Jan 2012 16:53:04 +0000 (17:53 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:42:17 +0000 (09:42 -0800)
3b/c66c2b5a700ca59c9faf239e091d9922b84de8 [new file with mode: 0644]

diff --git a/3b/c66c2b5a700ca59c9faf239e091d9922b84de8 b/3b/c66c2b5a700ca59c9faf239e091d9922b84de8
new file mode 100644 (file)
index 0000000..4346adc
--- /dev/null
@@ -0,0 +1,85 @@
+Return-Path: <pieter@praet.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id C6A32431FC7\r
+       for <notmuch@notmuchmail.org>; Mon, 16 Jan 2012 08:56:12 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id UMOGidh-bP3j for <notmuch@notmuchmail.org>;\r
+       Mon, 16 Jan 2012 08:56:06 -0800 (PST)\r
+Received: from mail-we0-f181.google.com (mail-we0-f181.google.com\r
+       [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 26F2E431FD4\r
+       for <notmuch@notmuchmail.org>; Mon, 16 Jan 2012 08:56:05 -0800 (PST)\r
+Received: by mail-we0-f181.google.com with SMTP id b13so8351wer.26\r
+       for <notmuch@notmuchmail.org>; Mon, 16 Jan 2012 08:56:04 -0800 (PST)\r
+Received: by 10.216.136.155 with SMTP id w27mr6764095wei.8.1326732893566;\r
+       Mon, 16 Jan 2012 08:54:53 -0800 (PST)\r
+Received: from localhost ([109.131.75.86])\r
+       by mx.google.com with ESMTPS id m42sm4867084wbn.0.2012.01.16.08.54.52\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Mon, 16 Jan 2012 08:54:53 -0800 (PST)\r
+From: Pieter Praet <pieter@praet.org>\r
+To: David Edmondson <dme@dme.org>,\r
+       Jameson Graef Rollins <jrollins@finestructure.net>\r
+Subject: Re: [PATCH 3/3] emacs: colorize buttonized 'id:' links depending on\r
+       the target message's state\r
+In-Reply-To: <cun4nvv50s6.fsf@hotblack-desiato.hh.sledj.net>\r
+References: <874nw0ltwz.fsf@praet.org>\r
+       <1326389025-18877-1-git-send-email-pieter@praet.org>\r
+       <1326389025-18877-3-git-send-email-pieter@praet.org>\r
+       <cun4nvv50s6.fsf@hotblack-desiato.hh.sledj.net>\r
+User-Agent: Notmuch/0.11+78~g6c58370 (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-unknown-linux-gnu)\r
+Date: Mon, 16 Jan 2012 17:53:04 +0100\r
+Message-ID: <87ipkba8sv.fsf@praet.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Cc: Notmuch Mail <notmuch@notmuchmail.org>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 16 Jan 2012 16:56:12 -0000\r
+\r
+On Mon, 16 Jan 2012 11:45:13 +0000, David Edmondson <dme@dme.org> wrote:\r
+> On Thu, 12 Jan 2012 18:23:45 +0100, Pieter Praet <pieter@praet.org> wrote:\r
+> > +                  'face (cond\r
+> > +                         ((notmuch-show-found-target-p message-id t)\r
+> > +                          'notmuch-show-buttonized-link-present-and-unread)\r
+> > +                         ((notmuch-show-found-target-p message-id)\r
+> > +                          'notmuch-show-buttonized-link-present)\r
+> > +                         (t 'notmuch-show-buttonized-link-missing)))))))\r
+> \r
+> I like it, but worry a bit more about the performance [...]\r
+\r
+Rightly so :)\r
+\r
+> [...] (we're up to two\r
+> 'notmuch' invocations for a missing or read message).\r
+\r
+I'll at least add an option to toggle it.\r
+\r
+Patch follows.\r
+\r
+\r
+Peace\r
+\r
+-- \r
+Pieter\r