[PATCH 06/21] vim: use much clearer sort constant

Subject: [PATCH 06/21] vim: use much clearer sort constant

Date: Sat, 2 Nov 2013 07:55:39 -0600

To: notmuch@notmuchmail.org

Cc:

From: Felipe Contreras


Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
---
 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


Thread: