[PATCH 1/3] configure: check platform beforehand

2010-06-05 Thread Felipe Contreras
Will be needed in next patches. Signed-off-by: Felipe Contreras felipe.contre...@gmail.com --- configure | 62 ++-- 1 files changed, 31 insertions(+), 31 deletions(-) diff --git a/configure b/configure index c86a227..1eb4785 100755

[PATCH 2/3] build: fix DSO dependencies

2010-06-05 Thread Felipe Contreras
information, see: https://fedoraproject.org/wiki/UnderstandingDSOLinkChange Signed-off-by: Felipe Contreras felipe.contre...@gmail.com --- NOTE: I'm not sure about using $(CC) as a linker in !linux platforms, but if that doesn't work, there's already an 'ifeq' that checks for that so it can be moved

[PATCH 0/3] build fixes

2010-06-05 Thread Felipe Contreras
Hi, The important one is #2, which allows to build on Fedora 13. Felipe Contreras (3): configure: check platform beforehand build: fix DSO dependencies configure: optimize uname finding a bit Makefile.local |3 -- configure | 74

[PATCH 3/3] configure: optimize uname finding a bit

2010-06-05 Thread Felipe Contreras
Signed-off-by: Felipe Contreras felipe.contre...@gmail.com --- configure |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/configure b/configure index ff775f0..3b4df37 100755 --- a/configure +++ b/configure @@ -198,15 +198,16 @@ errors=0 libdir_in_ldconfig=0

[PATCH 0/9] vim improvements

2010-06-05 Thread Felipe Contreras
with the format (possibly configurable by the user). But for now, I decided to push whatever I found more usable. Cheers. Felipe Contreras (9): thread: really clean authors vim: add archive support from 'show' vim: cleanup search buffer vim: cleanup search syntax vim: remove

[PATCH 2/9] vim: add archive support from 'show'

2010-06-05 Thread Felipe Contreras
Signed-off-by: Felipe Contreras felipe.contre...@gmail.com --- vim/plugin/notmuch.vim |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim index a9754f2..3a19616 100644 --- a/vim/plugin/notmuch.vim +++ b/vim/plugin/notmuch.vim

[PATCH 3/9] vim: cleanup search buffer

2010-06-05 Thread Felipe Contreras
Signed-off-by: Felipe Contreras felipe.contre...@gmail.com --- vim/plugin/notmuch.vim | 19 --- 1 files changed, 8 insertions(+), 11 deletions(-) diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim index 3a19616..b8c9858 100644 --- a/vim/plugin/notmuch.vim +++ b/vim

[PATCH 4/9] vim: cleanup search syntax

2010-06-05 Thread Felipe Contreras
It was *sloow*. Signed-off-by: Felipe Contreras felipe.contre...@gmail.com --- vim/syntax/notmuch-search.vim | 36 1 files changed, 12 insertions(+), 24 deletions(-) diff --git a/vim/syntax/notmuch-search.vim b/vim/syntax/notmuch-search.vim index

[PATCH 5/9] vim: remove add_remove_tags_on_screen()

2010-06-05 Thread Felipe Contreras
It's not working properly; the current message is jumping around and the tags not really added/removed properly. Signed-off-by: Felipe Contreras felipe.contre...@gmail.com --- vim/plugin/notmuch.vim | 17 - 1 files changed, 0 insertions(+), 17 deletions(-) diff --git a/vim

[PATCH 6/9] vim: add option to mark as read + archive

2010-06-05 Thread Felipe Contreras
Signed-off-by: Felipe Contreras felipe.contre...@gmail.com --- 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 01ee10f..968c4c1 100644 --- a/vim/plugin/notmuch.vim +++ b/vim/plugin

[PATCH 7/9] vim: use mailx for sending

2010-06-05 Thread Felipe Contreras
Possilby used by more systems, and besides the code wasn't really working properly anyway. Signed-off-by: Felipe Contreras felipe.contre...@gmail.com --- vim/README |4 +- vim/plugin/notmuch.vim | 61 2 files changed, 7

[PATCH 8/9] vim: run(): optimize non-debug path

2010-06-05 Thread Felipe Contreras
Signed-off-by: Felipe Contreras felipe.contre...@gmail.com --- vim/plugin/notmuch.vim | 13 - 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim index 7b49015..8d5d1c3 100644 --- a/vim/plugin/notmuch.vim +++ b/vim/plugin

[PATCH 9/9] vim: include own improved git-diff syntax

2010-06-05 Thread Felipe Contreras
The old one wasn't working at all on newer vims. Signed-off-by: Felipe Contreras felipe.contre...@gmail.com --- vim/README |5 - vim/syntax/notmuch-git-diff.vim | 26 ++ vim/syntax/notmuch-show.vim |3 +-- 3 files changed, 27

Re: [PATCH 0/3] build fixes

2010-06-14 Thread Felipe Contreras
Hi, Is anything wrong with these patches? On Sat, Jun 5, 2010 at 2:05 PM, Felipe Contreras felipe.contre...@gmail.com wrote: The important one is #2, which allows to build on Fedora 13. Felipe Contreras (3):  configure: check platform beforehand  build: fix DSO dependencies  configure

notmuch-next branch

2010-10-11 Thread Felipe Contreras
proposal would be to propose and vote here, another would be to resend them and wait for signed-off-by's. What do you think? -- Felipe Contreras ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

Re: notmuch-next branch

2010-10-11 Thread Felipe Contreras
On Mon, Oct 11, 2010 at 10:01 PM, Jameson Rollins jroll...@finestructure.net wrote: On Mon, 11 Oct 2010 21:45:47 +0300, Felipe Contreras felipe.contre...@gmail.com wrote: I think many people agree notmuch mainline has been rather slow. So I'm proposing to have notmuch-next branch, either

[PATCH 1/2] build: fix DSO dependencies

2010-10-29 Thread Felipe Contreras
, see: https://fedoraproject.org/wiki/UnderstandingDSOLinkChange Reported by Felipe Contreras, rewrote by Carl Worth. Signed-off-by: Felipe Contreras felipe.contre...@gmail.com --- Makefile.local |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile.local b

[PATCH 2/2] build: only link to what we really use

2010-10-29 Thread Felipe Contreras
At least linux has the -Wl,--as-needed option. Signed-off-by: Felipe Contreras felipe.contre...@gmail.com --- Makefile.local |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/Makefile.local b/Makefile.local index 9fed725..70c395a 100644 --- a/Makefile.local +++ b

Re: [PATCH 2/3] build: fix DSO dependencies

2010-10-29 Thread Felipe Contreras
Hello, On Sat, Oct 30, 2010 at 12:37 AM, Carl Worth cwo...@cworth.org wrote: On Sat,  5 Jun 2010 14:05:14 +0300, Felipe Contreras felipe.contre...@gmail.com wrote: At least on Fedora 13, this doesn't link; the linker finds the dependencies, and aborts saying we should include them. ... We

[PATCH 0/3] vim fixes

2010-12-09 Thread Felipe Contreras
Hi, These are a few patches to improve the vim support. If nobody comments on these I'll push them. Felipe Contreras (3): vim: refactor tagging stuff vim: fix get_user_email() vim: implement archive in show view vim/plugin/notmuch.vim | 29 +++-- 1 files

[PATCH 1/3] vim: refactor tagging stuff

2010-12-09 Thread Felipe Contreras
From: Felipe Contreras felipe.contre...@ngmail.com Signed-off-by: Felipe Contreras felipe.contre...@ngmail.com --- vim/plugin/notmuch.vim | 18 ++ 1 files changed, 10 insertions(+), 8 deletions(-) diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim index 8d5d1c3

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

2010-12-09 Thread Felipe Contreras
Signed-off-by: Felipe Contreras felipe.contre...@gmail.com --- notmuch-reply.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/notmuch-reply.c b/notmuch-reply.c index 23d04b8..53a12c5 100644 --- a/notmuch-reply.c +++ b/notmuch-reply.c @@ -447,6 +447,8

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

2010-12-09 Thread Felipe Contreras
Signed-off-by: Felipe Contreras felipe.contre...@gmail.com --- notmuch-reply.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/notmuch-reply.c b/notmuch-reply.c index 53a12c5..fc5dac4 100644 --- a/notmuch-reply.c +++ b/notmuch-reply.c @@ -447,7 +447,7

Re: [PATCH 0/3] composing patches

2010-12-10 Thread Felipe Contreras
On Fri, Dec 10, 2010 at 1:20 AM, Sebastian Spaeth sebast...@sspaeth.de wrote: On Fri, 10 Dec 2010 00:32:49 +0200, Felipe Contreras felipe.contre...@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 be sent

Re: [ANN] notmuch-deliver

2011-01-11 Thread Felipe Contreras
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: [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 felipe.contre...@gmail.com 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 discussed in IRC

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

2011-04-04 Thread Felipe Contreras
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
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-05-04 Thread Felipe Contreras
On Tue, Apr 5, 2011 at 8:46 AM, Jeff Richards j...@jrichards.ca wrote: On Mon, 4 Apr 2011 18:56:52 +0300, Felipe Contreras felipe.contre...@gmail.com wrote: On Mon, Apr 4, 2011 at 4:38 AM, Jeff Richards j...@jrichards.ca wrote: notmuch.vim plugin can use the d keybinding to remove 'inbox

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

2011-05-04 Thread Felipe Contreras
Signed-off-by: Felipe Contreras felipe.contre...@gmail.com --- 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

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

2011-05-04 Thread Felipe Contreras
Signed-off-by: Felipe Contreras felipe.contre...@gmail.com --- 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

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

2011-05-04 Thread Felipe Contreras
Signed-off-by: Felipe Contreras felipe.contre...@gmail.com --- 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

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

2011-05-04 Thread Felipe Contreras
-by-from-at- would not be confused. Signed-off-by: Felipe Contreras felipe.contre...@gmail.com --- 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: vim support improvements for 0.6

2011-05-09 Thread Felipe Contreras
/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

Re: [RFC/PATCH] Vim client rewrite

2011-05-16 Thread Felipe Contreras
and customization options are somewhat lacking atm. This is of course to be improved later, depending on the responses. Comments, bugreports and fixes very much welcome. Do you have a git repo where to fetch these changes? Or can you provide a series of patches with 'git format-patch'? -- Felipe

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

2011-07-16 Thread Felipe Contreras
--- a/lib/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: vim front-end patches by Jason

2011-07-16 Thread Felipe Contreras
) 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

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 uklei...@strlen.de: ---  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

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

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

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

2011-07-16 Thread Felipe Contreras
. Thanks. -- 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
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: Notmuch indexing 21 million emails

2011-11-24 Thread Felipe Contreras
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

Re: [alot] Introducing myself, asking various questions

2011-12-22 Thread Felipe Contreras
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

[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 felipe.contre...@gmail.com --- vim/Makefile | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/vim/Makefile b/vim

[PATCH v2 0/3] composing patches

2012-04-18 Thread Felipe Contreras
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 header reply: add user-agent field Makefile.local|1 + notmuch

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

2012-04-18 Thread Felipe Contreras
Signed-off-by: Felipe Contreras felipe.contre...@gmail.com --- 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

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

2012-04-18 Thread Felipe Contreras
Signed-off-by: Felipe Contreras felipe.contre...@gmail.com --- 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

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

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

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

2012-04-18 Thread Felipe Contreras
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

Re: [PATCH] vim: simplify build

2012-04-18 Thread Felipe Contreras
On Wed, Apr 18, 2012 at 4:11 PM, Tomi Ollila tomi.oll...@iki.fi wrote: On Wed, Apr 18 2012, Felipe Contreras felipe.contre...@gmail.com 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
On Wed, Apr 18, 2012 at 4:43 PM, Dmitry Kurochkin dmitry.kuroch...@gmail.com wrote: Hi Felipe. Felipe Contreras felipe.contre...@gmail.com writes: On Wed, Apr 18, 2012 at 4:06 PM, Jani Nikula j...@nikula.org wrote: Running notmuch compose more than once within a second would result

Re: [RFC] vim plugin rewrite II

2012-04-18 Thread Felipe Contreras
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://notmuchmail.org

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 j...@nikula.org wrote: On Wed, 18 Apr 2012 16:34:30 +0300, Felipe Contreras felipe.contre...@gmail.com wrote: On Wed, Apr 18, 2012 at 4:06 PM, Jani Nikula j...@nikula.org wrote: Running notmuch compose more than once within a second would result

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 dmitry.kuroch...@gmail.com wrote: Felipe Contreras felipe.contre...@gmail.com writes: On Wed, Apr 18, 2012 at 4:43 PM, Dmitry Kurochkin dmitry.kuroch...@gmail.com wrote: Hi Felipe. Felipe Contreras felipe.contre...@gmail.com writes: On Wed

Re: [PATCH] vim: simplify build

2012-04-18 Thread Felipe Contreras
On Wed, Apr 18, 2012 at 6:40 PM, Tomi Ollila tomi.oll...@iki.fi wrote: On Wed, Apr 18 2012, David Bremner da...@tethera.net wrote: Felipe Contreras felipe.contre...@gmail.com 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 2/3] reply: add message-id header

2012-04-18 Thread Felipe Contreras
On Wed, Apr 18, 2012 at 4:09 PM, Jani Nikula j...@nikula.org wrote: On Wed, 18 Apr 2012 15:39:12 +0300, Felipe Contreras felipe.contre...@gmail.com wrote: Signed-off-by: Felipe Contreras felipe.contre...@gmail.com ---  notmuch-reply.c |   11 +++  1 file changed, 11 insertions

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 tomi.oll...@iki.fi wrote: On Wed, Apr 18 2012, Jani Nikula j...@nikula.org wrote: On Wed, 18 Apr 2012, Felipe Contreras felipe.contre...@gmail.com wrote: On Wed, Apr 18, 2012 at 5:20 PM, Jani Nikula j...@nikula.org wrote: On Wed, 18 Apr 2012 16:34

Re: [RFC] vim plugin rewrite II

2012-04-19 Thread Felipe Contreras
On Wed, Apr 18, 2012 at 5:42 PM, Felipe Contreras felipe.contre...@gmail.com wrote: On Wed, Apr 18, 2012 at 5:21 PM, Felipe Contreras felipe.contre...@gmail.com wrote: On Sat, Jan 14, 2012 at 9:54 AM,  an...@khirnov.net wrote: branch vim. Simply copy vim/plugin/{nm_vim.py,notmuch-vimpy.vim

Re: [PATCH] vim: simplify build

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

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

2012-04-20 Thread Felipe Contreras
] +                                        let msg['filename'] = m[5]                                 endif                                 let in_message = 1 -- Thanks. Pushed. -- Felipe Contreras ___ notmuch mailing list notmuch@notmuchmail.org http

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

2012-04-22 Thread Felipe Contreras
an application take advantage of this? I call _close(), now what do I do to use the database again? Cheers. -- Felipe Contreras ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

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

2012-04-22 Thread Felipe Contreras
-- Felipe Contreras ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

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

2012-04-23 Thread Felipe Contreras
On Mon, Apr 23, 2012 at 6:41 AM, Adam Wolfe Gordon awg+notm...@xvx.ca wrote: Hi Felipe, This work sounds nice - it's good to have lots of interface choices. One question below: On Sun, Apr 22, 2012 at 19:12, Felipe Contreras felipe.contre...@gmail.com wrote: doesn't have support

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

2012-04-23 Thread Felipe Contreras
Hi, If you reply to all, remove Ryan Harper, as the address doesn't work. Or just reply here. Cheers. 2012/4/23 Felipe Contreras felipe.contre...@gmail.com: I've never been particularly happy with the code of the vim plug-in, but it sort of did the job, after some fixes, and has been working

Re: [PATCH 6/7] ruby: Use notmuch_database_destroy instead of notmuch_database_close

2012-04-23 Thread Felipe Contreras
notmuch_rb_database_alloc (VALUE klass) { -return Data_Wrap_Struct (klass, NULL, NULL, NULL); +return Data_Wrap_Struct (klass, NULL, database_free, NULL); } /* -- Felipe Contreras ___ notmuch mailing list notmuch@notmuchmail.org http

[PATCH] ruby: make sure the database is closed

2012-04-23 Thread Felipe Contreras
If the Ruby code does not manually close the database, we need to make sure it's closed when garbage collected. In Ruby, users are not _required_ to close, the garbage collector should take care of that. Signed-off-by: Felipe Contreras felipe.contre...@gmail.com --- bindings/ruby/database.c

Re: ruby bindings on OS X are broken? (was Re: [ANN] New awesome vim plug-in using Ruby bindings)

2012-04-23 Thread Felipe Contreras
=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -o messages.o -c messages.c -- Felipe Contreras ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[PATCH] ruby: make sure the database is closed

2012-04-23 Thread Felipe Contreras
If the Ruby code does not manually close the database, we need to make sure it's closed when garbage collected. In Ruby, users are not _required_ to close, the garbage collector should take care of that. Signed-off-by: Felipe Contreras felipe.contre...@gmail.com --- bindings/ruby/database.c

Re: [PATCH] ruby: make sure the database is closed

2012-04-23 Thread Felipe Contreras
db = Notmuch::Database.new($db_name, :mode = Notmuch::MODE_READ_WRITE) end That's perfectly fine in Ruby (although not ideal), since 'db' will get garbage-collected. But nobody will be able to use the database again until that process is killed. You think that's correct? -- Felipe Contreras

Re: [PATCH] ruby: make sure the database is closed

2012-04-23 Thread Felipe Contreras
On Mon, Apr 23, 2012 at 11:43 PM, Ali Polatel a...@exherbo.org wrote: 2012/4/23 Felipe Contreras felipe.contre...@gmail.com: On Mon, Apr 23, 2012 at 5:04 PM, Ali Polatel a...@exherbo.org wrote: I'd rather not do this. Please read: http://comments.gmane.org/gmane.comp.lang.ruby.general/320324

Re: [PATCH] ruby: make sure the database is closed

2012-04-23 Thread Felipe Contreras
On Tue, Apr 24, 2012 at 2:46 AM, Ali Polatel a...@exherbo.org wrote: 2012/4/24 Felipe Contreras felipe.contre...@gmail.com: Personally I don't see why an object, like say a query would remain working correctly after the database is gone, either by calling .close() directly, or just loosing

Re: [PATCH] ruby: make sure the database is closed

2012-04-24 Thread Felipe Contreras
On Tue, Apr 24, 2012 at 4:15 AM, Austin Clements amdra...@mit.edu wrote: Quoth Felipe Contreras on Apr 24 at  3:45 am: On Tue, Apr 24, 2012 at 2:46 AM, Ali Polatel a...@exherbo.org wrote: 2012/4/24 Felipe Contreras felipe.contre...@gmail.com: Personally I don't see why an object, like say

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

2012-04-25 Thread Felipe Contreras
2012/4/23 Felipe Contreras felipe.contre...@gmail.com: So, since I'm a big fan of Ruby, I decided to try my luck writing a plug-in from scratch. It took me one weekend, but I'm pretty happy with the result. This plug-in has already essentially all the functionality of the current one, but it's

Re: [RFC] vim plugin rewrite II

2012-05-04 Thread Felipe Contreras
normally. I don't think I've ever seen it actually crash (not counting my ultimately unsuccessfull attempts at threading). I wonder what could cause this. Interesting. I would need to check that, but I don't have time right now =/ Cheers. -- Felipe Contreras

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

2012-05-04 Thread Felipe Contreras
On Wed, May 2, 2012 at 10:41 PM, Anton Khirnov an...@khirnov.net wrote: On Mon, 23 Apr 2012 04:12:32 +0300, Felipe Contreras felipe.contre...@gmail.com wrote:  * Gradual searches; you don't have to wait for the whole search to finish,    sort of like the 'less' command How did you do

Re: vim plugin development -- GIT branch?

2012-05-04 Thread Felipe Contreras
some pending patches myself, but I haven't made them public anywhere (still cooking). So there's nothing pending to push. I haven't heard any feedback from anybody else regarding the vim/ruby/python situation, so I don't know what's going to happen next. Cheers. -- Felipe Contreras

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

2012-05-14 Thread Felipe Contreras
On Sun, Apr 29, 2012 at 12:52 AM, Alex Ghitza aghi...@gmail.com wrote: Felipe Contreras wrote: vim -c ':NotMuchR' all I get is an error message: Error detected while processing command line: E492: Not an editor command: :NotMuchR I don't know if you did anything special to get

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

2012-05-15 Thread Felipe Contreras
somehow. -- Felipe Contreras ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

Re: [PATCH 3/4] ruby: Add workarounds to use in-tree build not the installed one

2012-05-23 Thread Felipe Contreras
if I don't hear any good reason not to. I also suggest making a brown-paper-bag release 0.13.1 because 0.13 has completely unusable Ruby bindings; there's just no way to compile them and make them work. Cheers. -- Felipe Contreras ___ notmuch mailing

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

2012-05-23 Thread Felipe Contreras
one). Please use v0.12. Cheers. -- Felipe Contreras ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

Re: [PATCH 3/4] ruby: Add workarounds to use in-tree build not the installed one

2012-05-24 Thread Felipe Contreras
On Thu, May 24, 2012 at 3:22 AM, David Bremner da...@tethera.net wrote: Felipe Contreras felipe.contre...@gmail.com writes: I don't see how this patch could be fixed properly easily, and it was labeled as a hack, and I didn't like it in the first place anyway, so I'm going to revert

Re: [PATCH 3/4] ruby: Add workarounds to use in-tree build not the installed one

2012-05-25 Thread Felipe Contreras
On Thu, May 24, 2012 at 10:56 AM, Felipe Contreras felipe.contre...@gmail.com wrote: On Thu, May 24, 2012 at 3:22 AM, David Bremner da...@tethera.net wrote: I do plan on a bug fix release, to fix an annoying emacs interface bug if nothing else. I'd rather see a fix/revert coordinated with Ali

Re: Can't compile notmuch-delivery

2012-06-01 Thread Felipe Contreras
in a separate branch, until they are ready (as in all notmuch code compiles). Cheers. -- Felipe Contreras ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

Re: Can't compile notmuch-delivery

2012-06-01 Thread Felipe Contreras
as deprecated (but still works), and only after some time obsolete it. Cheers. -- Felipe Contreras ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[ANN] notmuch vim ruby v0.4

2012-06-04 Thread Felipe Contreras
some on the encoding of outgoing messages that I haven't managed to nail down, but I don't want to hold this release because of that. There's plenty of good stuff already, and this plugin works perfectly fine for me as it is. Cheers. -- Felipe Contreras

Re: [ANN] notmuch vim ruby v0.4

2012-06-04 Thread Felipe Contreras
On Mon, Jun 4, 2012 at 1:51 PM, Kirill A. Shutemov kir...@shutemov.name wrote: 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? Oops! I knew that message

Re: [ANNOUNCE] notmuchfs - A virtual maildir file system for notmuch queries

2012-10-01 Thread Felipe Contreras
be the first to say, that's a pretty cool hack! I agree. Genius :) -- Felipe Contreras ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

Re: gmail label support patch available for oflineimap

2012-11-28 Thread Felipe Contreras
message id. This could then be written back as well, and only the [GMAIL] folder would have to be synchronised, i.e. no duplication. Not everybody uses offlineimap. -- Felipe Contreras ___ notmuch mailing list notmuch@notmuchmail.org http

Re: gmail label support patch available for oflineimap

2012-11-28 Thread Felipe Contreras
On Wed, Nov 28, 2012 at 1:53 PM, Michal Nazarewicz min...@mina86.com wrote: On Wed, Nov 28 2012, Felipe Contreras wrote: Not everybody uses offlineimap. Go nag developers of whatever you are using to implement fetching labels from Gmail. Or write another tool that does that. Why do

Re: gmail label support patch available for oflineimap

2012-11-28 Thread Felipe Contreras
IMAP and Maildir, and there are no better alternatives. -- Felipe Contreras ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

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

2013-04-02 Thread Felipe Contreras
both notmuch-vim and notmuch-vim-ruby? Wouldn't it be nice to use the same variable for configuration? -- Felipe Contreras ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

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

2013-04-02 Thread Felipe Contreras
. Applied. -- Felipe Contreras ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

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

2013-04-02 Thread Felipe Contreras
Kirill A. Shutemov wrote: 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. Applied. -- Felipe Contreras ___ notmuch mailing list

RE: [PATCH 4/5] Introduce g:notmuch_rb_folders_count_threads

2013-04-02 Thread Felipe Contreras
prefer: count = count_threads ? q.search_threads.count : q.search_messages.count But other than that looks good to me. Applied. -- Felipe Contreras ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

RE: [PATCH 5/5] Drop harmful reply buffer preparation

2013-04-02 Thread Felipe Contreras
case the original behavior is more useful. I'm not strongly opposed to this, but I don't see why those extra lines would hurt. Cheers. -- Felipe Contreras ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo

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

2013-04-02 Thread Felipe Contreras
- g:notmuch_rb_sendmail /usr/sbin/sendmail as a default g:notmuch_rb_sendmail Introduce g:notmuch_rb_folders_count_threads Drop harmful reply buffer preparation -- Felipe Contreras ___ notmuch mailing list notmuch@notmuchmail.org http

RE: the future of notmuch-vim?

2013-04-02 Thread Felipe Contreras
-vim-ruby. I did try the python version, and remember discussing options with the guy developing it, but nothing happened out of it, and I think the ruby version is superior. I'd be open to discuss the options here, but I think notmuch-vim-ruby is the only real option. Cheers. -- Felipe Contreras

Re: the future of notmuch-vim?

2013-04-03 Thread Felipe Contreras
guyzmo wrote: On Tue, Apr 02, 2013 at 01:55:13PM -0600, Felipe Contreras wrote: Sorry for the late reply, I wasn't following the ml. same here David Bremner wrote: - There are now several alternatives for people whose only motivation to use the vim frontend was dislike of emacs

[PATCH] debian: package ruby bindings

2013-04-03 Thread Felipe Contreras
Signed-off-by: Felipe Contreras felipe.contre...@gmail.com --- debian/control | 14 ++ debian/notmuch-ruby.install | 1 + debian/rules| 9 + 3 files changed, 24 insertions(+) create mode 100644 debian/notmuch-ruby.install diff --git a/debian

Re: the future of notmuch-vim?

2013-04-03 Thread Felipe Contreras
On Wed, Apr 3, 2013 at 3:48 PM, Patrick Totzke patricktot...@gmail.com wrote: Quoting Felipe Contreras (2013-04-03 10:09:39) ... What you prefer is irrelevant; it's relevant only for you, that's why it's called a *preference*, the rest of us prefer different things. Never mind preferences, I

  1   2   3   4   5   6   7   >