[PATCH 0/2] contrib: pick: allow target message
authorMark Walters <markwalters1009@gmail.com>
Thu, 10 Jan 2013 10:41:15 +0000 (10:41 +0000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:53:03 +0000 (09:53 -0800)
3d/d8816f128182cc86e505722870c4e6efc4852a [new file with mode: 0644]

diff --git a/3d/d8816f128182cc86e505722870c4e6efc4852a b/3d/d8816f128182cc86e505722870c4e6efc4852a
new file mode 100644 (file)
index 0000000..3914a02
--- /dev/null
@@ -0,0 +1,87 @@
+Return-Path: <markwalters1009@gmail.com>\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 12FAB431FBC\r
+       for <notmuch@notmuchmail.org>; Thu, 10 Jan 2013 02:41:23 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.201\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.201 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,\r
+       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 hDAw10vzEJbe for <notmuch@notmuchmail.org>;\r
+       Thu, 10 Jan 2013 02:41:22 -0800 (PST)\r
+Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com\r
+ [74.125.82.52])       (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
+ certificate requested)        by olra.theworths.org (Postfix) with ESMTPS id\r
+ 370AF431FAF   for <notmuch@notmuchmail.org>; Thu, 10 Jan 2013 02:41:22 -0800\r
+ (PST)\r
+Received: by mail-wg0-f52.google.com with SMTP id 12so173037wgh.19\r
+       for <notmuch@notmuchmail.org>; Thu, 10 Jan 2013 02:41:21 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=x-received:from:to:cc:subject:date:message-id:x-mailer;\r
+       bh=br5OqM79xzXH4DMm+svZPKRCmW7nO4aF/YS5M9+4Zk8=;\r
+       b=SkUfFSNTNijz7ybJtGefYLQOJt/RKHIfyuLitr39po4sX85S5bd1he8LnOL/1m8XMA\r
+       aGKZO46bLb5+XVcvoc4i0iJ0V/WYu7jXwRJJ4RI+zf7CiSqthlvnL941RR9LEElXsNzx\r
+       Nsm4WRn2lc49u48Mn4wzVqO6OkOAwUnYwJroZYGgqdD++d60S/xQ0mq2Vz4sIBKZyusK\r
+       U/jtQNwI5yOG2jVx+bvvvatJ+cs3RIRTgq+u1g9ieESmwU04lHkqp9gMAlFvGdZuqpm7\r
+       UEPQpp+Oyu1Z6AJOoQqEHfC9qgXFJZk+2LrpimnD0Jno7yaeylrWcfClfQmm5DquJFH6\r
+       SHzQ==\r
+X-Received: by 10.180.80.170 with SMTP id s10mr7874612wix.27.1357814479674;\r
+       Thu, 10 Jan 2013 02:41:19 -0800 (PST)\r
+Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31])\r
+       by mx.google.com with ESMTPS id t17sm1679942wiv.6.2013.01.10.02.41.18\r
+       (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+       Thu, 10 Jan 2013 02:41:19 -0800 (PST)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 0/2] contrib: pick: allow target message\r
+Date: Thu, 10 Jan 2013 10:41:15 +0000\r
+Message-Id: <1357814477-1348-1-git-send-email-markwalters1009@gmail.com>\r
+X-Mailer: git-send-email 1.7.9.1\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: Thu, 10 Jan 2013 10:41:23 -0000\r
+\r
+These two patches allow the caller of pick to specify a target message\r
+that pick should jump to when it appears. This is used by refresh-view\r
+(to keep the same current message) and by the entry from show\r
+(notmuch-pick-from-show-current-thread).\r
+\r
+It would be easy to add functionality so that, if no target-message is\r
+specified, pick goes to the first matching message.\r
+\r
+In the future this should be used to remove the horrible hack in\r
+notmuch-pick-show-match-message-with-wait.\r
+\r
+Best wishes\r
+\r
+Mark\r
+\r
+\r
+\r
+Mark Walters (2):\r
+  contrib: pick: move save-excursion closer to message insertion\r
+  contrib: pick: add a target message for pick\r
+\r
+ contrib/notmuch-pick/notmuch-pick.el |   43 ++++++++++++++++++++++++---------\r
+ 1 files changed, 31 insertions(+), 12 deletions(-)\r
+\r
+-- \r
+1.7.9.1\r
+\r