From: Franz Fellner Date: Thu, 16 Oct 2014 12:41:09 +0000 (+0200) Subject: Re: notmuch vim patches X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c79312ad739202b4289ecde2c8464a08c728b9f4;p=notmuch-archives.git Re: notmuch vim patches --- diff --git a/a6/150411c74242b7e96ae7699a9d99a067a4fe78 b/a6/150411c74242b7e96ae7699a9d99a067a4fe78 new file mode 100644 index 000000000..328ee2109 --- /dev/null +++ b/a6/150411c74242b7e96ae7699a9d99a067a4fe78 @@ -0,0 +1,88 @@ +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 1750D431FB6 + for ; Thu, 16 Oct 2014 05:41:06 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.799 +X-Spam-Level: +X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + 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 NrjjhCBVl-cX for ; + Thu, 16 Oct 2014 05:41:01 -0700 (PDT) +Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com + [209.85.212.178]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id B55CE431FAF + for ; Thu, 16 Oct 2014 05:41:01 -0700 (PDT) +Received: by mail-wi0-f178.google.com with SMTP id h11so5099732wiw.5 + for ; Thu, 16 Oct 2014 05:41:00 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=date:message-id:from:to:cc:subject:in-reply-to:references + :mime-version:content-type:content-disposition + :content-transfer-encoding; + bh=QXnfY4/26zFs6+eu9Ix0XDy73yDFQr4n1rWsxP5hfGQ=; + b=LbT/8kCBg4+7Z1G3qzkRTeBJEWK9gqSJ9qjlpBrpkwpf2eXQlnW2L0g+eZRTAFSCSJ + FzsiBHx+R9JqGA/UTLv6g5VPkwBjXsHf5g0fLoZXbPXyKnzuBe/6065ZMCOoEr/oCcqT + IUgAR9FVHpR//UDwmssbj8TQFoXOObdHwAo+r0HLAkNYoTULofqu9o8YET6cOHAapl3r + ZvI9jj1+6c8olIX4xa7r6jcmFh7tgb9qnfabzafoO5bEGNupUVih4hpENQZ7AMwm/sIu + w7J9JPTZE+9/GIvwgXmzU9zNoCS9QSC9YbZK5UYfnvt/ugp/qUgrNBQgMA+0flyKnata + 8IMw== +X-Received: by 10.180.94.34 with SMTP id cz2mr20017593wib.4.1413463260367; + Thu, 16 Oct 2014 05:41:00 -0700 (PDT) +Received: from localhost (p5B00C603.dip0.t-ipconnect.de. [91.0.198.3]) + by mx.google.com with ESMTPSA id ic4sm1857723wid.19.2014.10.16.05.40.58 + for + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Thu, 16 Oct 2014 05:40:59 -0700 (PDT) +Date: Thu, 16 Oct 2014 14:41:09 +0200 +Message-ID: <20141016144109.GB3471@TP_L520.localdomain> +From: Franz Fellner +To: Ian Main +Subject: Re: notmuch vim patches +In-Reply-To: <543ecf59e21b8_2c291569e8c7e@ovo.mains.priv.notmuch> +References: <543ecf59e21b8_2c291569e8c7e@ovo.mains.priv.notmuch> +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Disposition: inline +Content-Transfer-Encoding: 8bit +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: Thu, 16 Oct 2014 12:41:06 -0000 + + + +> I'm starting to realize that I could default to using 'enter' to both +> open URI's and view attachments. Any other ideas welcome. + +- make some of the functions public so users can bind them to keys they + want +- introduce show_[prev,next]_unread_msg, probably factor out + "show_scroll_to_msg()" and implement prev/next msg with that? +- use proper buffers instead of Scratch buffers, so BufExplorer also + shows notmuch-vim buffers +- folding of messages; add option to fold read messages by default. + +I think I can implement the second point (if you not already did +that). +I also looked into folding, but my knowledge of all the possiblities is +not that good (manual folding markers look ugly, don't know if/how 'syntax' +will work; and IMHO the user's shortcuts for folding should still work). + +Franz