[ANN] New awesome vim plug-in using Ruby bindings

2012-04-22 Thread Felipe Contreras
I CC'ed a bunch of people that have showed interest in the vim interface, I hope you don't mind -- Felipe Contreras ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[PATCH 2/7] NEWS: Document the notmuch_database_close split

2012-04-22 Thread Felipe Contreras
e lock associated with it without > + ?destroying the data structures obtained from it. > + I haven't following this change. Who can an application take advantage of this? I call _close(), now what do I do to use the database again? Cheers. -- Felipe Contreras

Re: [PATCH 2/7] NEWS: Document the notmuch_database_close split

2012-04-22 Thread Felipe Contreras
ssociated with it without > +  destroying the data structures obtained from it. > + I haven't following this change. Who can an application take advantage of this? I call _close(), now what do I do to use the database again? Cheers. -- Felipe Contreras ___

[PATCH] vim: fix regex after "notmuch show" output change

2012-04-21 Thread Felipe Contreras
let msg['depth'] = m[2] > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? let msg['match'] = m[3] > - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?let msg['filename'] = m[4] > + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?let msg['excluded'] = m[4] > + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?let msg['filename'] = m[5] > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? endif > > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? let in_message = 1 > -- Thanks. Pushed. -- Felipe Contreras

[PATCH] vim: simplify build

2012-04-21 Thread Felipe Contreras
On Wed, Apr 18, 2012 at 7:03 PM, Tomi Ollila wrote: > So, $(CURDIR) has 3 votes :D All right. Pushed :) -- Felipe Contreras

Re: [PATCH] vim: fix regex after "notmuch show" output change

2012-04-20 Thread Felipe Contreras
let msg['depth'] = m[2] >                                         let msg['match'] = m[3] > -                                        let msg['filename'] = m[4] > +                                        let msg['excluded'] = m[4] > +        

Re: [PATCH] vim: simplify build

2012-04-20 Thread Felipe Contreras
On Wed, Apr 18, 2012 at 7:03 PM, Tomi Ollila wrote: > So, $(CURDIR) has 3 votes :D All right. Pushed :) -- Felipe Contreras ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[RFC] vim plugin rewrite II

2012-04-19 Thread Felipe Contreras
On Wed, Apr 18, 2012 at 5:42 PM, Felipe Contreras wrote: > On Wed, Apr 18, 2012 at 5:21 PM, Felipe Contreras > wrote: >> On Sat, Jan 14, 2012 at 9:54 AM, ? wrote: >>> branch vim. Simply copy vim/plugin/{nm_vim.py,notmuch-vimpy.vim} to the >>> vim plugins dir and vim

[PATCH v2 1/3] Add 'compose' command

2012-04-19 Thread Felipe Contreras
On Thu, Apr 19, 2012 at 12:31 PM, Tomi Ollila wrote: > On Wed, Apr 18 2012, Jani Nikula wrote: > >> On Wed, 18 Apr 2012, Felipe Contreras wrote: >>> On Wed, Apr 18, 2012 at 5:20 PM, Jani Nikula wrote: >>>> On Wed, 18 Apr 2012 16:34:30 +0300, Felipe Contreras &

Re: [RFC] vim plugin rewrite II

2012-04-19 Thread Felipe Contreras
On Wed, Apr 18, 2012 at 5:42 PM, Felipe Contreras wrote: > On Wed, Apr 18, 2012 at 5:21 PM, Felipe Contreras > wrote: >> On Sat, Jan 14, 2012 at 9:54 AM,   wrote: >>> branch vim. Simply copy vim/plugin/{nm_vim.py,notmuch-vimpy.vim} to the >>> vim plugins dir and vim

Re: [PATCH v2 1/3] Add 'compose' command

2012-04-19 Thread Felipe Contreras
On Thu, Apr 19, 2012 at 12:31 PM, Tomi Ollila wrote: > On Wed, Apr 18 2012, Jani Nikula wrote: > >> On Wed, 18 Apr 2012, Felipe Contreras wrote: >>> On Wed, Apr 18, 2012 at 5:20 PM, Jani Nikula wrote: >>>> On Wed, 18 Apr 2012 16:34:30 +0300, Felipe Contreras

[PATCH v2 2/3] reply: add message-id header

2012-04-18 Thread Felipe Contreras
On Wed, Apr 18, 2012 at 4:09 PM, Jani Nikula wrote: > On Wed, 18 Apr 2012 15:39:12 +0300, Felipe Contreras gmail.com> wrote: >> Signed-off-by: Felipe Contreras >> --- >> ?notmuch-reply.c | ? 11 +++ >> ?1 file changed, 11 insertions(+) >> >> diff

[PATCH] vim: simplify build

2012-04-18 Thread Felipe Contreras
On Wed, Apr 18, 2012 at 6:40 PM, Tomi Ollila wrote: > On Wed, Apr 18 2012, David Bremner wrote: > >> Felipe Contreras writes: >>>> If this is not an issue, then LGTM. >>> >>> I don't know, I have always used $(PWD), unless anybody else prefers >

[PATCH v2 1/3] Add 'compose' command

2012-04-18 Thread Felipe Contreras
On Wed, Apr 18, 2012 at 5:41 PM, Dmitry Kurochkin wrote: > Felipe Contreras writes: > >> On Wed, Apr 18, 2012 at 4:43 PM, Dmitry Kurochkin >> wrote: >>> Hi Felipe. >>> >>> Felipe Contreras writes: >>> >>>> On Wed, Apr 18, 2012 a

[PATCH v2 1/3] Add 'compose' command

2012-04-18 Thread Felipe Contreras
On Wed, Apr 18, 2012 at 5:20 PM, Jani Nikula wrote: > On Wed, 18 Apr 2012 16:34:30 +0300, Felipe Contreras gmail.com> wrote: >> On Wed, Apr 18, 2012 at 4:06 PM, Jani Nikula wrote: >> >> > Running "notmuch compose" more than once within a second would result

[RFC] vim plugin rewrite II

2012-04-18 Thread Felipe Contreras
On Wed, Apr 18, 2012 at 5:21 PM, Felipe Contreras wrote: > On Sat, Jan 14, 2012 at 9:54 AM, ? wrote: >> branch vim. Simply copy vim/plugin/{nm_vim.py,notmuch-vimpy.vim} to the >> vim plugins dir and vim/syntax/{nm_vimpy*} to the vim syntax dir and run >> :NMVimpy() in vim.

[RFC] vim plugin rewrite II

2012-04-18 Thread Felipe Contreras
I gave this a try, copying those files makes vim crash for me. I probably need to install notmuch's python bindings, but either way it shouldn't crash. Cheers. -- Felipe Contreras

[PATCH v2 1/3] Add 'compose' command

2012-04-18 Thread Felipe Contreras
On Wed, Apr 18, 2012 at 4:43 PM, Dmitry Kurochkin wrote: > Hi Felipe. > > Felipe Contreras writes: > >> On Wed, Apr 18, 2012 at 4:06 PM, Jani Nikula wrote: >> >>> Running "notmuch compose" more than once within a second would result in >>> id

[PATCH] vim: simplify build

2012-04-18 Thread Felipe Contreras
On Wed, Apr 18, 2012 at 4:11 PM, Tomi Ollila wrote: > On Wed, Apr 18 2012, Felipe Contreras wrote: > >> There should be no functional changes, except that you don't need to >> make the directories before installing. >> >> Signed-off-by: Felipe Contreras &

[PATCH v2 1/3] Add 'compose' command

2012-04-18 Thread Felipe Contreras
hing. In any case, people that have not needed this would not be affected; their UI would override the Message-ID. So do you have a better suggestion for a Message-ID? -- Felipe Contreras

[PATCH v2 3/3] reply: add user-agent field

2012-04-18 Thread Felipe Contreras
Signed-off-by: Felipe Contreras --- notmuch-reply.c |8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/notmuch-reply.c b/notmuch-reply.c index d796bb2..22838d5 100644 --- a/notmuch-reply.c +++ b/notmuch-reply.c @@ -464,7 +464,7 @@ create_reply_message(void *ctx

[PATCH v2 2/3] reply: add message-id header

2012-04-18 Thread Felipe Contreras
Signed-off-by: Felipe Contreras --- notmuch-reply.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/notmuch-reply.c b/notmuch-reply.c index 0949d9f..d796bb2 100644 --- a/notmuch-reply.c +++ b/notmuch-reply.c @@ -464,6 +464,8 @@ create_reply_message(void *ctx, { const

[PATCH v2 1/3] Add 'compose' command

2012-04-18 Thread Felipe Contreras
Signed-off-by: Felipe Contreras --- Makefile.local|1 + notmuch-client.h |3 ++ notmuch-compose.c | 111 + notmuch.c |5 +++ 4 files changed, 120 insertions(+) create mode 100644 notmuch-compose.c diff --git a

[PATCH v2 0/3] composing patches

2012-04-18 Thread Felipe Contreras
en composing a message, and these aliases might be used while generating the 'notmuch search' output. Although we are adding extra fields in notmuch reply, higher layers can just override them easily. Felipe Contreras (3): Add 'compose' command reply: add message-id head

[PATCH] vim: simplify build

2012-04-18 Thread Felipe Contreras
There should be no functional changes, except that you don't need to make the directories before installing. Signed-off-by: Felipe Contreras --- vim/Makefile | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/vim/Makefile b/vim/Makefile index 89

Re: [PATCH v2 2/3] reply: add message-id header

2012-04-18 Thread Felipe Contreras
On Wed, Apr 18, 2012 at 4:09 PM, Jani Nikula wrote: > On Wed, 18 Apr 2012 15:39:12 +0300, Felipe Contreras > wrote: >> Signed-off-by: Felipe Contreras >> --- >>  notmuch-reply.c |   11 +++ >>  1 file changed, 11 insertions(+) >> >> diff

Re: [PATCH] vim: simplify build

2012-04-18 Thread Felipe Contreras
On Wed, Apr 18, 2012 at 6:40 PM, Tomi Ollila wrote: > On Wed, Apr 18 2012, David Bremner wrote: > >> Felipe Contreras writes: >>>> If this is not an issue, then LGTM. >>> >>> I don't know, I have always used $(PWD), unless anybody else prefers >

Re: [PATCH v2 1/3] Add 'compose' command

2012-04-18 Thread Felipe Contreras
On Wed, Apr 18, 2012 at 5:41 PM, Dmitry Kurochkin wrote: > Felipe Contreras writes: > >> On Wed, Apr 18, 2012 at 4:43 PM, Dmitry Kurochkin >> wrote: >>> Hi Felipe. >>> >>> Felipe Contreras writes: >>> >>>> On Wed, Apr 18, 2012 a

Re: [PATCH v2 1/3] Add 'compose' command

2012-04-18 Thread Felipe Contreras
On Wed, Apr 18, 2012 at 5:20 PM, Jani Nikula wrote: > On Wed, 18 Apr 2012 16:34:30 +0300, Felipe Contreras > wrote: >> On Wed, Apr 18, 2012 at 4:06 PM, Jani Nikula wrote: >> >> > Running "notmuch compose" more than once within a second would result

Re: [RFC] vim plugin rewrite II

2012-04-18 Thread Felipe Contreras
On Wed, Apr 18, 2012 at 5:21 PM, Felipe Contreras wrote: > On Sat, Jan 14, 2012 at 9:54 AM,   wrote: >> branch vim. Simply copy vim/plugin/{nm_vim.py,notmuch-vimpy.vim} to the >> vim plugins dir and vim/syntax/{nm_vimpy*} to the vim syntax dir and run >> :NMVimpy() in vim.

Re: [RFC] vim plugin rewrite II

2012-04-18 Thread Felipe Contreras
I gave this a try, copying those files makes vim crash for me. I probably need to install notmuch's python bindings, but either way it shouldn't crash. Cheers. -- Felipe Contreras ___ notmuch mailing list notmuch@notmuchmail.org http://notmu

Re: [PATCH v2 1/3] Add 'compose' command

2012-04-18 Thread Felipe Contreras
On Wed, Apr 18, 2012 at 4:43 PM, Dmitry Kurochkin wrote: > Hi Felipe. > > Felipe Contreras writes: > >> On Wed, Apr 18, 2012 at 4:06 PM, Jani Nikula wrote: >> >>> Running "notmuch compose" more than once within a second would result in >>> id

Re: [PATCH] vim: simplify build

2012-04-18 Thread Felipe Contreras
On Wed, Apr 18, 2012 at 4:11 PM, Tomi Ollila wrote: > On Wed, Apr 18 2012, Felipe Contreras wrote: > >> There should be no functional changes, except that you don't need to >> make the directories before installing. >> >> Signed-off-by: Felipe Contreras &

Re: [PATCH v2 1/3] Add 'compose' command

2012-04-18 Thread Felipe Contreras
hing. In any case, people that have not needed this would not be affected; their UI would override the Message-ID. So do you have a better suggestion for a Message-ID? -- Felipe Contreras ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[PATCH v2 1/3] Add 'compose' command

2012-04-18 Thread Felipe Contreras
Signed-off-by: Felipe Contreras --- Makefile.local|1 + notmuch-client.h |3 ++ notmuch-compose.c | 111 + notmuch.c |5 +++ 4 files changed, 120 insertions(+) create mode 100644 notmuch-compose.c diff --git a

[PATCH v2 3/3] reply: add user-agent field

2012-04-18 Thread Felipe Contreras
Signed-off-by: Felipe Contreras --- notmuch-reply.c |8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/notmuch-reply.c b/notmuch-reply.c index d796bb2..22838d5 100644 --- a/notmuch-reply.c +++ b/notmuch-reply.c @@ -464,7 +464,7 @@ create_reply_message(void *ctx

[PATCH v2 2/3] reply: add message-id header

2012-04-18 Thread Felipe Contreras
Signed-off-by: Felipe Contreras --- notmuch-reply.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/notmuch-reply.c b/notmuch-reply.c index 0949d9f..d796bb2 100644 --- a/notmuch-reply.c +++ b/notmuch-reply.c @@ -464,6 +464,8 @@ create_reply_message(void *ctx, { const

[PATCH v2 0/3] composing patches

2012-04-18 Thread Felipe Contreras
en composing a message, and these aliases might be used while generating the 'notmuch search' output. Although we are adding extra fields in notmuch reply, higher layers can just override them easily. Felipe Contreras (3): Add 'compose' command reply: add message-id head

[PATCH] vim: simplify build

2012-04-18 Thread Felipe Contreras
There should be no functional changes, except that you don't need to make the directories before installing. Signed-off-by: Felipe Contreras --- vim/Makefile | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/vim/Makefile b/vim/Makefile index 89

[alot] Introducing myself, asking various questions

2011-12-22 Thread Felipe Contreras
st of us use offlineimap or getmail in combination > with notmuch. And Debian is also popular choice afaik, > so you're in good company :) Personally I prefer mbsync (isync) because it's much more efficient, and it's not written in python :) -- Felipe Contreras

Re: [alot] Introducing myself, asking various questions

2011-12-22 Thread Felipe Contreras
st of us use offlineimap or getmail in combination > with notmuch. And Debian is also popular choice afaik, > so you're in good company :) Personally I prefer mbsync (isync) because it's much more efficient, and it's not written in python :) -- Felipe Contreras ___

Re: Notmuch indexing 21 million emails

2011-11-24 Thread Felipe Contreras
epository. > > I am running the "notmuch new" for approx. 4 days now - and according to > "not,uch count" it has indexed about 4.5 million emails. > > Is this expected performance?  Is there any way to speed that up? It would be nice to run something like this with

Notmuch indexing 21 million emails

2011-11-23 Thread Felipe Contreras
epository. > > I am running the "notmuch new" for approx. 4 days now - and according to > "not,uch count" it has indexed about 4.5 million emails. > > Is this expected performance?? Is there any way to speed that up? It would be nice to run something like this with OProfile (or perf) and see if there's some obvious fixes. -- Felipe Contreras

[PATCH] Feature request: nicknames for senders

2011-07-16 Thread Felipe Contreras
ore. You could then tell notmuch to compose a message, and specify an alias instead of a full address. This can be used in many ways. But yeah, I'm eager to get something like this :) -- Felipe Contreras

notmuch-vim: set foldmethod=marker

2011-07-16 Thread Felipe Contreras
> > Any comments from vimmers? I can reproduce, but I don't know any immediate way to fix this =/ -- Felipe Contreras

[PATCH] vim: skip trailing slash for g:notmuch_compose_temp_file_dir

2011-07-16 Thread Felipe Contreras
using vim 2:7.2.445+hg~cb94c42c0e1a-1 from > Debian > squeeze) Weird, it works fine for me with vim from F15 (7.3). Anyway, if it helps, I guess it should go in. Applied. Thanks. -- Felipe Contreras

[PATCH] vim: fix documentation that mailx isn't used anymore

2011-07-16 Thread Felipe Contreras
2011/7/10 Uwe Kleine-K?nig : > Since > ? ? ? ?e7899b0 (vim: use sendmail directly) > notmuch-vim uses sendmail directly. Thanks. Applied :) > Cc: Felipe Contreras For some reason I wasn't actually CC'ed. -- Felipe Contreras

[PATCH] vim: use the full path for sendmail as /usr/sbin isn't usually in user's PATH

2011-07-16 Thread Felipe Contreras
2011/7/10 Uwe Kleine-K?nig : > --- > ?vim/plugin/notmuch.vim | ? ?2 +- > ?1 files changed, 1 insertions(+), 1 deletions(-) All right. Applied. -- Felipe Contreras

vim front-end patches by Jason

2011-07-16 Thread Felipe Contreras
h better format :) > That's all for now. Feedback (as always) is welcome. Especially the > type that leads to me learning something and/or my patches getting > merged upstream. They all look fine to me, but I'm not a vim expert =/ Since nobody complained, and they seem to work for me. I've applied them. Thanks! Cheers. -- Felipe Contreras

[PATCH 1/3] lib: Kill last usage of C++ type bool

2011-07-16 Thread Felipe Contreras
b/message.cc > +++ b/lib/message.cc > @@ -49,16 +49,16 @@ struct visible _notmuch_message { > ?struct maildir_flag_tag { > ? ? char flag; > ? ? const char *tag; > - ? ?bool inverse; > + ? ?notmuch_bool_t inverse; That's not C++, that's C99. -- Felipe Contreras

Re: [PATCH] Feature request: nicknames for senders

2011-07-16 Thread Felipe Contreras
ore. You could then tell notmuch to compose a message, and specify an alias instead of a full address. This can be used in many ways. But yeah, I'm eager to get something like this :) -- Felipe Contreras ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

Re: notmuch-vim: set foldmethod=marker

2011-07-16 Thread Felipe Contreras
> > Any comments from vimmers? I can reproduce, but I don't know any immediate way to fix this =/ -- Felipe Contreras ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

Re: [PATCH] vim: skip trailing slash for g:notmuch_compose_temp_file_dir

2011-07-16 Thread Felipe Contreras
using vim 2:7.2.445+hg~cb94c42c0e1a-1 from > Debian > squeeze) Weird, it works fine for me with vim from F15 (7.3). Anyway, if it helps, I guess it should go in. Applied. Thanks. -- Felipe Contreras ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

Re: [PATCH] vim: fix documentation that mailx isn't used anymore

2011-07-16 Thread Felipe Contreras
2011/7/10 Uwe Kleine-König : > Since >        e7899b0 (vim: use sendmail directly) > notmuch-vim uses sendmail directly. Thanks. Applied :) > Cc: Felipe Contreras For some reason I wasn't actually CC'ed. -- Felipe Contreras __

Re: [PATCH] vim: use the full path for sendmail as /usr/sbin isn't usually in user's PATH

2011-07-16 Thread Felipe Contreras
2011/7/10 Uwe Kleine-König : > --- >  vim/plugin/notmuch.vim |    2 +- >  1 files changed, 1 insertions(+), 1 deletions(-) All right. Applied. -- Felipe Contreras ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman

Re: vim front-end patches by Jason

2011-07-16 Thread Felipe Contreras
h better format :) > That's all for now. Feedback (as always) is welcome. Especially the > type that leads to me learning something and/or my patches getting > merged upstream. They all look fine to me, but I'm not a vim expert =/ Since nobody complai

Re: [PATCH 1/3] lib: Kill last usage of C++ type bool

2011-07-16 Thread Felipe Contreras
b/message.cc > +++ b/lib/message.cc > @@ -49,16 +49,16 @@ struct visible _notmuch_message { >  struct maildir_flag_tag { >     char flag; >     const char *tag; > -    bool inverse; > +    notmuch_bool_t inverse; That's not C++, that's C99. -- Felipe Contreras

[RFC/PATCH] Vim client rewrite

2011-05-16 Thread Felipe Contreras
where to fetch these changes? Or can you provide a series of patches with 'git format-patch'? -- Felipe Contreras

Re: [RFC/PATCH] Vim client rewrite

2011-05-16 Thread Felipe Contreras
where to fetch these changes? Or can you provide a series of patches with 'git format-patch'? -- Felipe Contreras ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

vim support improvements for 0.6

2011-05-10 Thread Felipe Contreras
git://github.com/felipec/notmuch.git [fc-vim-next] It's not rebased on top of your branch, but there are no merge conflicts. Cheers. -- Felipe Contreras

Re: vim support improvements for 0.6

2011-05-09 Thread Felipe Contreras
git://github.com/felipec/notmuch.git [fc-vim-next] It's not rebased on top of your branch, but there are no merge conflicts. Cheers. -- Felipe Contreras ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[PATCH v3] test/search: add check for slightly tricky search

2011-05-05 Thread Felipe Contreras
t-foo.com, therefore searching for search-by-from-at- would not be confused. Signed-off-by: Felipe Contreras --- test/search |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/test/search b/test/search index b180c7f..c6223f4 100755 --- a/test/search +++ b/test/search @@ -123,

[PATCH v2] test/search: add check for slightly trick search

2011-05-04 Thread Felipe Contreras
On Wed, May 4, 2011 at 11:46 PM, Austin Clements wrote: > On Wed, May 4, 2011 at 4:26 PM, Felipe Contreras > wrote: >> +output=$(notmuch search from:'search-by-from@' | notmuch_search_sanitize) > > I don't think this does what you think it does. ?Xapian only &

[PATCH 0/3] composing patches

2011-05-04 Thread Felipe Contreras
Sorry for the long delay. On Sat, Dec 11, 2010 at 1:53 AM, Michal Sojka wrote: > On Thu, 09 Dec 2010, Felipe Contreras wrote: >> I don't know how it works in gnus, but at least on the vim mode, the output >> generated by 'notmuch reply' is not ready to be sent, at

[PATCH v2] test/search: add check for slightly trick search

2011-05-04 Thread Felipe Contreras
t-foo.com, therefore searching for search-by-from-at- would not be confused. Signed-off-by: Felipe Contreras --- test/search |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/test/search b/test/search index b180c7f..4c7600e 100755 --- a/test/search +++ b/test/search @@ -123,

[PATCH 4/4] vim: add delete commands

2011-05-04 Thread Felipe Contreras
Signed-off-by: Felipe Contreras --- vim/plugin/notmuch.vim | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim index c49ada5..0b1e0a3 100644 --- a/vim/plugin/notmuch.vim +++ b/vim/plugin/notmuch.vim @@ -152,6 +152,8

[PATCH 3/4] vim: add support for delete in search view

2011-05-04 Thread Felipe Contreras
Signed-off-by: Felipe Contreras --- vim/plugin/notmuch.vim |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim index 6f9ff18..c49ada5 100644 --- a/vim/plugin/notmuch.vim +++ b/vim/plugin/notmuch.vim @@ -121,6 +121,7 @@ let

[PATCH 2/4] vim: add support to mark as read in search view

2011-05-04 Thread Felipe Contreras
Signed-off-by: Felipe Contreras --- vim/plugin/notmuch.vim |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim index 05e4552..6f9ff18 100644 --- a/vim/plugin/notmuch.vim +++ b/vim/plugin/notmuch.vim @@ -118,6 +118,7 @@ let

[PATCH 1/4] vim: add support to mark as read in show view

2011-05-04 Thread Felipe Contreras
Signed-off-by: Felipe Contreras --- vim/plugin/notmuch.vim |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim index 3375a96..05e4552 100644 --- a/vim/plugin/notmuch.vim +++ b/vim/plugin/notmuch.vim @@ -147,6 +147,7 @@ let

[PATCH 0/4] vim: more keyboard maps

2011-05-04 Thread Felipe Contreras
Hi, I have been using these maps for a while, they are similar to the ones in Gmail. What do you think? Felipe Contreras (4): vim: add support to mark as read in show view vim: add support to mark as read in search view vim: add support for delete in search view vim: add delete commands

[PATCH v2] notmuch.vim can now archive threads using a from the show screen

2011-05-04 Thread Felipe Contreras
On Tue, Apr 5, 2011 at 8:31 AM, Jeff Richards wrote: > On Mon, 4 Apr 2011 18:58:48 +0300, Felipe Contreras gmail.com> wrote: >> On Mon, Apr 4, 2011 at 4:46 AM, Jeff Richards wrote: >> > Implements the already shelled out function for archiving messages while >

[PATCH] notmuch.vim can tag messages deleted

2011-05-04 Thread Felipe Contreras
On Tue, Apr 5, 2011 at 8:46 AM, Jeff Richards wrote: > On Mon, 4 Apr 2011 18:56:52 +0300, Felipe Contreras gmail.com> wrote: >> On Mon, Apr 4, 2011 at 4:38 AM, Jeff Richards wrote: >> > notmuch.vim plugin can use the d keybinding to remove 'inbox' and 'unrea

[PATCH v3] test/search: add check for slightly tricky search

2011-05-04 Thread Felipe Contreras
rching for search-by-from-at- would not be confused. Signed-off-by: Felipe Contreras --- test/search |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/test/search b/test/search index b180c7f..c6223f4 100755 --- a/test/search +++ b/test/search @@ -123,4 +123,10 @

Re: [PATCH v2] test/search: add check for slightly trick search

2011-05-04 Thread Felipe Contreras
On Wed, May 4, 2011 at 11:46 PM, Austin Clements wrote: > On Wed, May 4, 2011 at 4:26 PM, Felipe Contreras > wrote: >> +output=$(notmuch search from:'search-by-from@' | notmuch_search_sanitize) > > I don't think this does what you think it does.  Xapian only &

Re: [PATCH 0/3] composing patches

2011-05-04 Thread Felipe Contreras
Sorry for the long delay. On Sat, Dec 11, 2010 at 1:53 AM, Michal Sojka wrote: > On Thu, 09 Dec 2010, Felipe Contreras wrote: >> I don't know how it works in gnus, but at least on the vim mode, the output >> generated by 'notmuch reply' is not ready to be sent, at

[PATCH v2] test/search: add check for slightly trick search

2011-05-04 Thread Felipe Contreras
rching for search-by-from-at- would not be confused. Signed-off-by: Felipe Contreras --- test/search |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/test/search b/test/search index b180c7f..4c7600e 100755 --- a/test/search +++ b/test/search @@ -123,4 +123,10 @

[PATCH 2/4] vim: add support to mark as read in search view

2011-05-04 Thread Felipe Contreras
Signed-off-by: Felipe Contreras --- vim/plugin/notmuch.vim |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim index 05e4552..6f9ff18 100644 --- a/vim/plugin/notmuch.vim +++ b/vim/plugin/notmuch.vim @@ -118,6 +118,7 @@ let

[PATCH 4/4] vim: add delete commands

2011-05-04 Thread Felipe Contreras
Signed-off-by: Felipe Contreras --- vim/plugin/notmuch.vim | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim index c49ada5..0b1e0a3 100644 --- a/vim/plugin/notmuch.vim +++ b/vim/plugin/notmuch.vim @@ -152,6 +152,8

[PATCH 3/4] vim: add support for delete in search view

2011-05-04 Thread Felipe Contreras
Signed-off-by: Felipe Contreras --- vim/plugin/notmuch.vim |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim index 6f9ff18..c49ada5 100644 --- a/vim/plugin/notmuch.vim +++ b/vim/plugin/notmuch.vim @@ -121,6 +121,7 @@ let

[PATCH 1/4] vim: add support to mark as read in show view

2011-05-04 Thread Felipe Contreras
Signed-off-by: Felipe Contreras --- vim/plugin/notmuch.vim |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim index 3375a96..05e4552 100644 --- a/vim/plugin/notmuch.vim +++ b/vim/plugin/notmuch.vim @@ -147,6 +147,7 @@ let

[PATCH 0/4] vim: more keyboard maps

2011-05-04 Thread Felipe Contreras
Hi, I have been using these maps for a while, they are similar to the ones in Gmail. What do you think? Felipe Contreras (4): vim: add support to mark as read in show view vim: add support to mark as read in search view vim: add support for delete in search view vim: add delete commands

Re: [PATCH v2] notmuch.vim can now archive threads using a from the show screen

2011-05-04 Thread Felipe Contreras
On Tue, Apr 5, 2011 at 8:31 AM, Jeff Richards wrote: > On Mon, 4 Apr 2011 18:58:48 +0300, Felipe Contreras > wrote: >> On Mon, Apr 4, 2011 at 4:46 AM, Jeff Richards wrote: >> > Implements the already shelled out function for archiving messages while >> > looki

Re: [PATCH] notmuch.vim can tag messages deleted

2011-05-04 Thread Felipe Contreras
On Tue, Apr 5, 2011 at 8:46 AM, Jeff Richards wrote: > On Mon, 4 Apr 2011 18:56:52 +0300, Felipe Contreras > wrote: >> On Mon, Apr 4, 2011 at 4:38 AM, Jeff Richards wrote: >> > notmuch.vim plugin can use the d keybinding to remove 'inbox' and 'unread&#x

[PATCH] notmuch.vim can now archive threads using a from the show screen

2011-04-04 Thread Felipe Contreras
read and 'inbox', and another one only for 'inbox'. -- Felipe Contreras

[PATCH] notmuch.vim can tag messages deleted

2011-04-04 Thread Felipe Contreras
dir that are well and truly worth > of deleting I actually have a similar patch, and the only difference I see, is that in my version I have two actions, one for the thread, and another one for the specific message. How about having 'D' to delete the thread, and 'd' to delete the message? -- Felipe Contreras

Re: [PATCH] notmuch.vim can now archive threads using a from the show screen

2011-04-04 Thread Felipe Contreras
read and 'inbox', and another one only for 'inbox'. -- Felipe Contreras ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

Re: [PATCH] notmuch.vim can tag messages deleted

2011-04-04 Thread Felipe Contreras
dir that are well and truly worth > of deleting I actually have a similar patch, and the only difference I see, is that in my version I have two actions, one for the thread, and another one for the specific message. How about having 'D' to delete the thread,

[PATCH] test/search: add check for slightly trick search

2011-02-07 Thread Felipe Contreras
On Sun, Feb 6, 2011 at 3:21 PM, Felipe Contreras wrote: > It's not really tricky, there are many addresses with a '-' in them. I > personally really want to differentiate between foo, foo-testing, and > foo-patches. > > This fails, but it shouldn't: As discuss

[PATCH 2/2] vim: parse 'from' address

2011-02-06 Thread Felipe Contreras
In order to pass it to sendmail. Signed-off-by: Felipe Contreras --- vim/plugin/notmuch.vim | 11 ++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim index 002b771..08832cc 100644 --- a/vim/plugin/notmuch.vim +++ b/vim

[PATCH 1/2] vim: use sendmail directly

2011-02-06 Thread Felipe Contreras
The problem with 'mailx' is that it's not standardized, and it doesn't allow the -f option, which is pretty important on many sendmail configurations. Signed-off-by: Felipe Contreras --- vim/plugin/notmuch.vim |8 +--- 1 files changed, 5 insertions(+), 3 deletions(

[PATCH 0/2] vim: improvements for sendmail

2011-02-06 Thread Felipe Contreras
o let's use sendmail directly. Felipe Contreras (2): vim: use sendmail directly vim: parse 'from' address vim/plugin/notmuch.vim | 17 ++--- 1 files changed, 14 insertions(+), 3 deletions(-) -- 1.7.4.1.g4f7e4.dirty

[PATCH] test/search: add check for slightly trick search

2011-02-06 Thread Felipe Contreras
trick) (inbox unread) thread:XXX 2000-01-01 [1/1] search-by-from; search by from (tricky) (inbox unread) Signed-off-by: Felipe Contreras --- test/search |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/test/search b/test/search index b180c7f..ad5bbaa 100755 --- a/test/sear

Re: [PATCH] test/search: add check for slightly trick search

2011-02-06 Thread Felipe Contreras
On Sun, Feb 6, 2011 at 3:21 PM, Felipe Contreras wrote: > It's not really tricky, there are many addresses with a '-' in them. I > personally really want to differentiate between foo, foo-testing, and > foo-patches. > > This fails, but it shouldn't: As discuss

[PATCH 2/2] vim: parse 'from' address

2011-02-06 Thread Felipe Contreras
In order to pass it to sendmail. Signed-off-by: Felipe Contreras --- vim/plugin/notmuch.vim | 11 ++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim index 002b771..08832cc 100644 --- a/vim/plugin/notmuch.vim +++ b/vim

[PATCH 0/2] vim: improvements for sendmail

2011-02-06 Thread Felipe Contreras
o let's use sendmail directly. Felipe Contreras (2): vim: use sendmail directly vim: parse 'from' address vim/plugin/notmuch.vim | 17 ++--- 1 files changed, 14 insertions(+), 3 deletions(-) -- 1.7.4.1.g4f7e4.dirty _

[PATCH 1/2] vim: use sendmail directly

2011-02-06 Thread Felipe Contreras
The problem with 'mailx' is that it's not standardized, and it doesn't allow the -f option, which is pretty important on many sendmail configurations. Signed-off-by: Felipe Contreras --- vim/plugin/notmuch.vim |8 +--- 1 files changed, 5 insertions(+), 3 deletions(

[PATCH] test/search: add check for slightly trick search

2011-02-06 Thread Felipe Contreras
trick) (inbox unread) thread:XXX 2000-01-01 [1/1] search-by-from; search by from (tricky) (inbox unread) Signed-off-by: Felipe Contreras --- test/search |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/test/search b/test/search index b180c7f..ad5bbaa 100755 --- a/test/sear

[ANN] notmuch-deliver

2011-01-11 Thread Felipe Contreras
this that users might find helpful. > > Thanks again, I think this should be part of notmuch itself, and there should be a configuration to use this as Fcc, instead of relying on the mail composer. This way both emacs and vim interfaces would share the same configuration regarding the Fcc/Bcc preference. -- Felipe Contreras

Re: [ANN] notmuch-deliver

2011-01-11 Thread Felipe Contreras
this that users might find helpful. > > Thanks again, I think this should be part of notmuch itself, and there should be a configuration to use this as Fcc, instead of relying on the mail composer. This way both emacs and vim interfaces wo

[PATCH 0/3] composing patches

2010-12-10 Thread Felipe Contreras
On Fri, Dec 10, 2010 at 1:20 AM, Sebastian Spaeth wrote: > On Fri, 10 Dec 2010 00:32:49 +0200, Felipe Contreras gmail.com> wrote: >> I don't know how it works in gnus, but at least on the vim mode, the output >> generated by 'notmuch reply' is not ready to

<    1   2   3   4   5   6   7   >