Re: Inconsistent query results

2017-03-10 Thread Kirill A. Shutemov
On Fri, Mar 10, 2017 at 02:56:03AM +, Olly Betts wrote: > On Wed, Mar 08, 2017 at 10:32:56PM -0400, David Bremner wrote: > > "Kirill A. Shutemov" <kir...@shutemov.name> writes: > > > I found that on particular queries notmuch return different results if

[PATCH] lib: Add a new prefix "list" to the search-terms syntax

2013-12-17 Thread Kirill A. Shutemov
On Tue, Dec 17, 2013 at 08:03:22PM +0200, Kirill A. Shutemov wrote: > diff --git a/test/test-lib.sh b/test/test-lib.sh > index d8e0d9115a69..981bde4a4004 100644 > --- a/test/test-lib.sh > +++ b/test/test-lib.sh > @@ -576,9 +576,9 @@ test_expect_equal_json () { > # The test s

[PATCH] lib: Add a new prefix "list" to the search-terms syntax

2013-12-17 Thread Kirill A. Shutemov
{ # The test suite forces LC_ALL=C, but this causes Python 3 to # decode stdin as ASCII. We need to read JSON in UTF-8, so # override Python's stdio encoding defaults. -output=$(echo "$1" | PYTHONIOENCODING=utf-8 python -mjson.tool \ +output=$(echo "$1" | PYTHONIOENCODING=utf-8 python2 -mjson.tool \ || echo "$1") -expected=$(echo "$2" | PYTHONIOENCODING=utf-8 python -mjson.tool \ +expected=$(echo "$2" | PYTHONIOENCODING=utf-8 python2 -mjson.tool \ || echo "$2") shift 2 test_expect_equal "$output" "$expected" "$@" -- Kirill A. Shutemov

Re: [PATCH] lib: Add a new prefix list to the search-terms syntax

2013-12-17 Thread Kirill A. Shutemov
) -expected=$(echo $2 | PYTHONIOENCODING=utf-8 python -mjson.tool \ +expected=$(echo $2 | PYTHONIOENCODING=utf-8 python2 -mjson.tool \ || echo $2) shift 2 test_expect_equal $output $expected $@ -- Kirill A. Shutemov ___ notmuch

Re: [PATCH] lib: Add a new prefix list to the search-terms syntax

2013-12-17 Thread Kirill A. Shutemov
On Tue, Dec 17, 2013 at 08:03:22PM +0200, Kirill A. Shutemov wrote: diff --git a/test/test-lib.sh b/test/test-lib.sh index d8e0d9115a69..981bde4a4004 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -576,9 +576,9 @@ test_expect_equal_json () { # The test suite forces LC_ALL=C

[PATCH 5/5] Drop harmful reply buffer preparation

2013-01-28 Thread Kirill A. Shutemov
From: "Kirill A. Shutemov" <kir...@shutemov.name> Inserting empty lines at the end of reply buffer and switching to insert mode are not what user want on reply. It's only annoying if you try to comment on patch. If a user really wants this kind of preparation it should be implem

[PATCH 3/5] /usr/sbin/sendmail as a default g:notmuch_rb_sendmail

2013-01-28 Thread Kirill A. Shutemov
From: "Kirill A. Shutemov" <kir...@shutemov.name> It's confusing that we don't have a default sendmail program. Let's use /usr/sbin/sendmail as reasonable default. Signed-off-by: Kirill A. Shutemov --- notmuch-ruby.vim |5 + 1 file changed, 5 insertions(+) diff

[PATCH 2/5] rename g:notmuch_sendmail -> g:notmuch_rb_sendmail

2013-01-28 Thread Kirill A. Shutemov
From: "Kirill A. Shutemov" <kir...@shutemov.name> All configuration variable use prefix notmuch_rb_ except notmuch_sendmail. Let's fix it. Signed-off-by: Kirill A. Shutemov --- notmuch-ruby.vim |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notmuch-ru

[PATCH 0/5] Random patches for notmuch-vim-ruby

2013-01-28 Thread Kirill A. Shutemov
From: "Kirill A. Shutemov" <kir...@shutemov.name> Kirill A. Shutemov (5): open_reply: fallback to use addr.local if addr.name is nil rename g:notmuch_sendmail -> g:notmuch_rb_sendmail /usr/sbin/sendmail as a default g:notmuch_rb_sendmail Introduce g:notmuch_rb_folders_c

[PATCH 5/5] Drop harmful reply buffer preparation

2013-01-28 Thread Kirill A. Shutemov
From: Kirill A. Shutemov kir...@shutemov.name Inserting empty lines at the end of reply buffer and switching to insert mode are not what user want on reply. It's only annoying if you try to comment on patch. If a user really wants this kind of preparation it should be implemented as an user

[PATCH 1/5] open_reply: fallback to use addr.local if addr.name is nil

2013-01-28 Thread Kirill A. Shutemov
From: Kirill A. Shutemov kir...@shutemov.name If address doesn't contain name we end up with wrote: as a reply header. It doesn't look nice. Let's use addr.local + @ if name is not defined. If addr.local is not defined too, let's just use somebody. Signed-off-by: Kirill A. Shutemov kir

[PATCH 4/5] Introduce g:notmuch_rb_folders_count_threads

2013-01-28 Thread Kirill A. Shutemov
From: Kirill A. Shutemov kir...@shutemov.name If the option set, folders list shows count of threads, not messages Signed-off-by: Kirill A. Shutemov kir...@shutemov.name --- notmuch-ruby.vim | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/notmuch-ruby.vim b

[PATCH 3/5] /usr/sbin/sendmail as a default g:notmuch_rb_sendmail

2013-01-28 Thread Kirill A. Shutemov
From: Kirill A. Shutemov kir...@shutemov.name It's confusing that we don't have a default sendmail program. Let's use /usr/sbin/sendmail as reasonable default. Signed-off-by: Kirill A. Shutemov kir...@shutemov.name --- notmuch-ruby.vim |5 + 1 file changed, 5 insertions(+) diff --git

[PATCH 2/5] rename g:notmuch_sendmail - g:notmuch_rb_sendmail

2013-01-28 Thread Kirill A. Shutemov
From: Kirill A. Shutemov kir...@shutemov.name All configuration variable use prefix notmuch_rb_ except notmuch_sendmail. Let's fix it. Signed-off-by: Kirill A. Shutemov kir...@shutemov.name --- notmuch-ruby.vim |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notmuch

[PATCH 0/5] Random patches for notmuch-vim-ruby

2013-01-28 Thread Kirill A. Shutemov
From: Kirill A. Shutemov kir...@shutemov.name Kirill A. Shutemov (5): open_reply: fallback to use addr.local if addr.name is nil rename g:notmuch_sendmail - g:notmuch_rb_sendmail /usr/sbin/sendmail as a default g:notmuch_rb_sendmail Introduce g:notmuch_rb_folders_count_threads Drop

[ANN] notmuch vim ruby v0.4

2012-06-04 Thread Kirill A. Shutemov
On Mon, Jun 04, 2012 at 12:35:21PM +0200, Felipe Contreras wrote: > Hi, > > Here's a new version of notmuch-vim-ruby, a new attempt to have a > proper vim interface for notmuch. Hm. No links? -- Kirill A. Shutemov

Re: [ANN] notmuch vim ruby v0.4

2012-06-04 Thread Kirill A. Shutemov
On Mon, Jun 04, 2012 at 12:35:21PM +0200, Felipe Contreras wrote: Hi, Here's a new version of notmuch-vim-ruby, a new attempt to have a proper vim interface for notmuch. Hm. No links? -- Kirill A. Shutemov ___ notmuch mailing list notmuch