From: Franz Fellner Date: Wed, 21 Jan 2015 18:38:58 +0000 (+0100) Subject: RE: [PATCH] VIM: Automatically refresh folder screen X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=10ae134c7505838c17a2771559d0441fd53b84ba;p=notmuch-archives.git RE: [PATCH] VIM: Automatically refresh folder screen --- diff --git a/e3/4a7af0094b4b77ae38935aeb322cb52e8db3d0 b/e3/4a7af0094b4b77ae38935aeb322cb52e8db3d0 new file mode 100644 index 000000000..03a807d82 --- /dev/null +++ b/e3/4a7af0094b4b77ae38935aeb322cb52e8db3d0 @@ -0,0 +1,97 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 2ED50431FC9 + for ; Wed, 21 Jan 2015 10:38:36 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 1.639 +X-Spam-Level: * +X-Spam-Status: No, score=1.639 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + DNS_FROM_AHBL_RHSBL=2.438, FREEMAIL_FROM=0.001, + RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id 65TOeIX6nmTJ for ; + Wed, 21 Jan 2015 10:38:32 -0800 (PST) +Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com + [209.85.212.170]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id E9C56431FBC + for ; Wed, 21 Jan 2015 10:38:31 -0800 (PST) +Received: by mail-wi0-f170.google.com with SMTP id em10so16951458wid.1 + for ; Wed, 21 Jan 2015 10:38:30 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=date:from:to:cc:message-id:in-reply-to:references:subject + :mime-version:content-type:content-transfer-encoding:attach; + bh=BG7sYm2S6iJK2/nib9MUMpzZ4C6JJqLPQad+8dt13dU=; + b=oMG+BaLYco5JITJ+Z1R7UPKWsVcPvpt/PKAL9CuiJYCVWkzZS6ieb8YEzWIOG1pMUO + EYpaCPlWUxk3KV5y49F/s71VYJnQAxnhUx4urDAilEZF/clEePpYqHyeEx2FCYLzU5UC + PXdGgC8p1j8i3NjCIYWUlsXebhkcmpIxDAfPxmaYuI5m6CSGQ8hGfNmSB6sDGKjZ/ELB + NbFRN4PeWHRt+g/Xl3VwWYifETOwDl18e4F/kQeELjE3W/pFCGCS7O6QV/apU1gCXPVs + CO4Lbh0rODzRDnyO3QYqz6HOYfs2HkCPwOPoSK1TYZRBRcSw77BhTUNQwuoMjNTg1ctw + eC/A== +X-Received: by 10.180.218.39 with SMTP id pd7mr60028604wic.21.1421865509630; + Wed, 21 Jan 2015 10:38:29 -0800 (PST) +Received: from localhost (p4FFB8A19.dip0.t-ipconnect.de. [79.251.138.25]) + by mx.google.com with ESMTPSA id k3sm837085wje.30.2015.01.21.10.38.27 + (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Wed, 21 Jan 2015 10:38:28 -0800 (PST) +Date: Wed, 21 Jan 2015 19:38:58 +0100 +From: Franz Fellner +To: Bartosz Telenczuk +Message-ID: <54bff2427d3c1_5b9d145d304d6@TP_L520.notmuch> +In-Reply-To: <54bd89e062df1_a663fec9d49e200a3@bts-MacBook-Pro.local.notmuch> +References: <1412181367-10906-1-git-send-email-imain@stemwinder.org> + <54bd89e062df1_a663fec9d49e200a3@bts-MacBook-Pro.local.notmuch> +Subject: RE: [PATCH] VIM: Automatically refresh folder screen +Mime-Version: 1.0 +Content-Type: text/plain; + charset=utf-8 +Content-Transfer-Encoding: 7bit +Attach: +Cc: notmuch@notmuchmail.org +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Wed, 21 Jan 2015 18:38:36 -0000 + +Hi Bartosz, + +Great to see one more person interested in notmuch-vim! Hopefully this will make review a little bit easier. + +Bartosz Telenczuk wrote: +> Ian Main wrote: +> > This patch makes the folder screen refresh each time you 'enter' it. +> > This way when you read a folder and mark items as read the changes are +> > reflected immediately when you return to the folder view. +> +> That is a good starting point, but why don't we refresh every time we mark an item in the folder screen? + +Personally I don't see the benefit. It's a useless call to notmuch for every cursor-move. Especially with the current inefficient implementation. +Pressing '=' will refresh the folder view manually. If you want to get notified about new mail it's better to call e.g. notify-send after notmuch new. +Automatic refresh after you finished reading your new mails and come back to folders IMHO makes sense. + +But probably Ian has a different oppinion. + +Franz + +> +> Bartosz +> _______________________________________________ +> notmuch mailing list +> notmuch@notmuchmail.org +> http://notmuchmail.org/mailman/listinfo/notmuch + +