[PATCH 06/21] vim: use much clearer sort constant
Felipe Contreras
felipe.contreras at gmail.com
Sat Nov 2 06:55:39 PDT 2013
Signed-off-by: Felipe Contreras <felipe.contreras at 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
More information about the notmuch
mailing list