From: Felipe Contreras Date: Sat, 2 Nov 2013 13:55:39 +0000 (+1800) Subject: [PATCH 06/21] vim: use much clearer sort constant X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=163373a5d6fd20027e6de4c944f0c3c804a213c6;p=notmuch-archives.git [PATCH 06/21] vim: use much clearer sort constant --- diff --git a/25/f001560837c57acf83b6994a7ba71c973a5d1e b/25/f001560837c57acf83b6994a7ba71c973a5d1e new file mode 100644 index 000000000..9d2f9c478 --- /dev/null +++ b/25/f001560837c57acf83b6994a7ba71c973a5d1e @@ -0,0 +1,83 @@ +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 BE8C3431FDF + for ; Sat, 2 Nov 2013 07:03:36 -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 kovRSuV4e2av for ; + Sat, 2 Nov 2013 07:03:32 -0700 (PDT) +Received: from mail-ob0-f172.google.com (mail-ob0-f172.google.com + [209.85.214.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id C0CA1429E3C + for ; Sat, 2 Nov 2013 07:02:52 -0700 (PDT) +Received: by mail-ob0-f172.google.com with SMTP id gq1so5651477obb.31 + for ; Sat, 02 Nov 2013 07:02:52 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=from:to:cc:subject:date:message-id:in-reply-to:references; + bh=np5Q4HsjEWhW15xqCPkT1a8zNhmpC1JMqcHVcE/ko3U=; + b=oXxqNJKfiUcvyBGguP8NdVn9cx5qjEi86TA6lkowyMmyze49/Aq2QSv3+8FLnynJ/7 + 8cQzUhAmAxb5EpHoBFoFq93RCOkBdj4vPr+Xetv82j38Io7uTOo6OI1YXmpMsRMbiPWX + 372KZklaWFRv2wSMfbMy9K6HO1MTdZR4pdk7ufxcKoprodbNvuX7QIYRIpHIaMgGdbql + crDXS+dJ/IeJIi/LybFjeNnGJQuiMnYLo0EZcSHYbssTIc/iB4UYKyL+apomLw9XeuQg + rjGnXz+sR/aJJB/8BN/WGzkVTRQVsbG8x2/qQiL2yCdDgTWd9Pm5KyTTlaI1mE0J4iYP + Glmw== +X-Received: by 10.60.95.202 with SMTP id dm10mr6529170oeb.0.1383400972311; + Sat, 02 Nov 2013 07:02:52 -0700 (PDT) +Received: from localhost (187-162-140-241.static.axtel.net. [187.162.140.241]) + by mx.google.com with ESMTPSA id + jz7sm24739406oeb.4.2013.11.02.07.02.50 for + (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Sat, 02 Nov 2013 07:02:51 -0700 (PDT) +From: Felipe Contreras +To: notmuch@notmuchmail.org +Subject: [PATCH 06/21] vim: use much clearer sort constant +Date: Sat, 2 Nov 2013 07:55:39 -0600 +Message-Id: <1383400554-1832-7-git-send-email-felipe.contreras@gmail.com> +X-Mailer: git-send-email 1.8.4.2+fc1 +In-Reply-To: <1383400554-1832-1-git-send-email-felipe.contreras@gmail.com> +References: <1383400554-1832-1-git-send-email-felipe.contreras@gmail.com> +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: Sat, 02 Nov 2013 14:03:37 -0000 + +Signed-off-by: Felipe Contreras +--- + vim/notmuch.vim | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/vim/notmuch.vim b/vim/notmuch.vim +index 11ea4fd..a1c5e28 100644 +--- a/vim/notmuch.vim ++++ b/vim/notmuch.vim +@@ -302,7 +302,7 @@ ruby << EOF + $messages.clear + $curbuf.render do |b| + q = $curbuf.query(get_cur_view) +- q.sort = 0 ++ q.sort = Notmuch::SORT_OLDEST_FIRST + msgs = q.search_messages + msgs.each do |msg| + m = Mail.read(msg.filename) +-- +1.8.4.2+fc1 +