vim: use much clearer sort constant
authorFelipe Contreras <felipe.contreras@gmail.com>
Sat, 12 Oct 2013 09:33:30 +0000 (04:33 -0500)
committerFelipe Contreras <felipe.contreras@gmail.com>
Wed, 20 Nov 2013 13:23:29 +0000 (07:23 -0600)
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
vim/notmuch.vim

index 11ea4fd363467865e973a0571b18c9c7bfcc39c6..a1c5e286b612e14a54410746a60f56a18cce9603 100644 (file)
@@ -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)