[Patch v2 1/2] emacs: show: document the mark unread defcustom function
authorMark Walters <markwalters1009@gmail.com>
Sat, 6 Sep 2014 16:22:10 +0000 (17:22 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:04:29 +0000 (10:04 -0800)
9c/8690d502584094f76a8650550382755ab6f8ba [new file with mode: 0644]

diff --git a/9c/8690d502584094f76a8650550382755ab6f8ba b/9c/8690d502584094f76a8650550382755ab6f8ba
new file mode 100644 (file)
index 0000000..d0ab93f
--- /dev/null
@@ -0,0 +1,90 @@
+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 972E7431FAE\r
+       for <notmuch@notmuchmail.org>; Sat,  6 Sep 2014 09:22:27 -0700 (PDT)\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 Gp1Er5nbP01u for <notmuch@notmuchmail.org>;\r
+       Sat,  6 Sep 2014 09:22:22 -0700 (PDT)\r
+Received: from mail-we0-f182.google.com (mail-we0-f182.google.com\r
+       [74.125.82.182]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 00489431FBC\r
+       for <notmuch@notmuchmail.org>; Sat,  6 Sep 2014 09:22:17 -0700 (PDT)\r
+Received: by mail-we0-f182.google.com with SMTP id w62so13185879wes.27\r
+       for <notmuch@notmuchmail.org>; Sat, 06 Sep 2014 09:22:16 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=from:to:cc:subject:date:message-id:in-reply-to:references;\r
+       bh=gMftLOtaKKBMEAhZknEctsjULfY46gOp1A4HvJhSWss=;\r
+       b=sopk8/AG0alzJoDjuBuL2kCKpztm8Y54fdpJ+tMHhLt6kEVmQf49qPXS/3ETpZv/1c\r
+       nINNRN+W86RLrUWENjzPZfbHi5Gwm22xVszSiH9tY0VQ89SbFyHTkb0YySAMljgdvN3y\r
+       7e1krjquXe1p0Epx7uFTrLP+qppagsNAfR73iG43+JyQohUToTYZZ2Km0B8K+ogS6jvf\r
+       3GT/l1tYBmdMHzOlYzIq6+cUCNpTnHQMgWDarsyGkwfseOHTpyeFrWJkeQxm0fogBOS/\r
+       l2k9ukBNy8b3i0qEvTmbWsYfxX1pc1MxAY6Hzcg7mxUfPqfqdAAYxnpRkvfWqn/Uvyfo\r
+       kDeg==\r
+X-Received: by 10.180.37.16 with SMTP id u16mr11106147wij.72.1410020536834;\r
+       Sat, 06 Sep 2014 09:22:16 -0700 (PDT)\r
+Received: from localhost (5751dfa2.skybroadband.com. [87.81.223.162])\r
+       by mx.google.com with ESMTPSA id pc6sm4967326wjb.43.2014.09.06.09.22.15\r
+       for <multiple recipients>\r
+       (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+       Sat, 06 Sep 2014 09:22:16 -0700 (PDT)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [Patch v2 1/2] emacs: show: document the mark unread defcustom\r
+       function\r
+Date: Sat,  6 Sep 2014 17:22:10 +0100\r
+Message-Id: <1410020531-24419-2-git-send-email-markwalters1009@gmail.com>\r
+X-Mailer: git-send-email 1.7.10.4\r
+In-Reply-To: <1410020531-24419-1-git-send-email-markwalters1009@gmail.com>\r
+References: <1410020531-24419-1-git-send-email-markwalters1009@gmail.com>\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: Sat, 06 Sep 2014 16:22:27 -0000\r
+\r
+---\r
+ emacs/notmuch-show.el |    8 +++++++-\r
+ 1 file changed, 7 insertions(+), 1 deletion(-)\r
+\r
+diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el\r
+index 7549fbb..5695d95 100644\r
+--- a/emacs/notmuch-show.el\r
++++ b/emacs/notmuch-show.el\r
+@@ -224,7 +224,13 @@ For example, if you wanted to remove an \"unread\" tag and add a\r
+   :group 'notmuch-show)\r
\r
+ (defcustom notmuch-show-mark-read-function #'notmuch-show-seen-current-message\r
+-  "Function to control which messages are marked read."\r
++  "Function to control which messages are marked read.\r
++\r
++The function should take two arguments START and END which will\r
++be the start and end of the visible portion of the buffer and\r
++should mark the appropriate messages read by applying\r
++`notmuch-show-mark-read'. This function will be called after\r
++every user interaction with notmuch."\r
+   :type 'function\r
+   :group 'notmuch-show)\r
\r
+-- \r
+1.7.10.4\r
+\r