RE: [PATCH] VIM: Automatically refresh folder screen
authorBartosz Telenczuk <telenczuk@unic.cnrs-gif.fr>
Mon, 2 Feb 2015 23:52:41 +0000 (00:52 +0100)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:47:59 +0000 (14:47 -0700)
bc/8a75095499ff8fe41fea8209c7e973ce4f358b [new file with mode: 0644]

diff --git a/bc/8a75095499ff8fe41fea8209c7e973ce4f358b b/bc/8a75095499ff8fe41fea8209c7e973ce4f358b
new file mode 100644 (file)
index 0000000..774fa63
--- /dev/null
@@ -0,0 +1,74 @@
+Return-Path: <telenczuk@unic.cnrs-gif.fr>\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 5CA51431FC7\r
+       for <notmuch@notmuchmail.org>; Mon,  2 Feb 2015 15:52:47 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 2.438\r
+X-Spam-Level: **\r
+X-Spam-Status: No, score=2.438 tagged_above=-999 required=5\r
+       tests=[DNS_FROM_AHBL_RHSBL=2.438] 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 V9D5miiuhRwr for <notmuch@notmuchmail.org>;\r
+       Mon,  2 Feb 2015 15:52:44 -0800 (PST)\r
+Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74])\r
+       by olra.theworths.org (Postfix) with ESMTP id 3794C431FC2\r
+       for <notmuch@notmuchmail.org>; Mon,  2 Feb 2015 15:52:44 -0800 (PST)\r
+Received: from localhost (87-231-242-54.rev.numericable.fr [87.231.242.54])\r
+       by smtp.webfaction.com (Postfix) with ESMTP id 9F005207DBDF;\r
+       Mon,  2 Feb 2015 23:52:43 +0000 (UTC)\r
+Date: Tue, 03 Feb 2015 00:52:41 +0100\r
+From: Bartosz Telenczuk <telenczuk@unic.cnrs-gif.fr>\r
+To: Franz Fellner <alpine.art.de@gmail.com>, \r
+       Bartosz Telenczuk <telenczuk@unic.cnrs-gif.fr>\r
+Message-ID:\r
+ <54d00dc9af6cb_47c3ff0b58781fcde@bartels-MacBook-Pro.local.notmuch>\r
+In-Reply-To: <54bff2427d3c1_5b9d145d304d6@TP_L520.notmuch>\r
+References: <1412181367-10906-1-git-send-email-imain@stemwinder.org>\r
+       <54bd89e062df1_a663fec9d49e200a3@bts-MacBook-Pro.local.notmuch>\r
+       <54bff2427d3c1_5b9d145d304d6@TP_L520.notmuch>\r
+Subject: RE: [PATCH] VIM: Automatically refresh folder screen\r
+Mime-Version: 1.0\r
+Content-Type: text/plain;\r
+ charset=utf-8\r
+Content-Transfer-Encoding: 7bit\r
+Cc: 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, 02 Feb 2015 23:52:47 -0000\r
+\r
+Franz Fellner wrote:\r
+> Hi Bartosz,\r
+> \r
+> Great to see one more person interested in notmuch-vim! Hopefully this will make review a little bit easier.\r
+> \r
+> Bartosz Telenczuk wrote:\r
+> > Ian Main wrote:\r
+> > > This patch makes the folder screen refresh each time you 'enter' it.\r
+> > > This way when you read a folder and mark items as read the changes are\r
+> > > reflected immediately when you return to the folder view.\r
+> > \r
+> > That is a good starting point, but why don't we refresh every time we mark an item in the folder screen?\r
+> \r
+> Personally I don't see the benefit. It's a useless call to notmuch for every cursor-move. Especially with the current inefficient implementation.\r
+\r
+I meant that we should refresh after one tags a thread (for example archive it with "A" key). It is slightly annoying that the messages do not disappear after being archived. In my version of the plugin it also causes a wrong thread to be opened when I enter it.\r
+\r
+Anyway, this is a small incremental change that can be implemented later.. It should not hold back the patch. These patches are already great and should accepted as soon as possible, so we can move forward and synchronize notmuch-repo with Ian's repo and possibly catch up with emacs (sic!) client.\r
+\r
+Cheers,\r
+\r
+Bartosz\r