Re: notmuch synchronization

2010-10-07 Thread Felipe Contreras
much > and I'm missing that functionality. I don't see much happening in the main repo, perhaps we should start a notmuch-next branch or something on gitorious? -- Felipe Contreras ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

notmuch-next branch

2010-10-11 Thread Felipe Contreras
d how. One 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 wrote: > On Mon, 11 Oct 2010 21:45:47 +0300, Felipe Contreras > wrote: >> I think many people agree notmuch mainline has been rather slow. So >> I'm proposing to have notmuch-next branch, either on github or &g

[PATCH 0/2] build fixes

2010-10-29 Thread Felipe Contreras
Hi, Here are a couple of build fixes. One is required to build on Fedora 13, the other is just nice (at least gets rid of some debian lintian warnings). Carl Worth (1): build: fix DSO dependencies Felipe Contreras (1): build: only link to what we really use Makefile.local |6 -- 1

[PATCH 1/2] build: fix DSO dependencies

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

[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 --- 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/Makefile.local @@ -33,7 +33,9

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 wrote: > On Sat,  5 Jun 2010 14:05:14 +0300, Felipe Contreras > 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

[PATCH 1/3] vim: refactor tagging stuff

2010-12-09 Thread Felipe Contreras
From: Felipe Contreras Signed-off-by: Felipe Contreras --- 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..6898d56 100644 --- a/vim/plugin/notmuch.vim +++ b/vim

[PATCH 2/3] vim: fix get_user_email()

2010-12-09 Thread Felipe Contreras
From: Felipe Contreras Signed-off-by: Felipe Contreras --- vim/plugin/notmuch.vim |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim index 6898d56..8815712 100644 --- a/vim/plugin/notmuch.vim +++ b/vim/plugin

[PATCH 3/3] vim: implement archive in show view

2010-12-09 Thread Felipe Contreras
From: Felipe Contreras Signed-off-by: Felipe Contreras --- 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 8815712..882c141 100644 --- a/vim/plugin/notmuch.vim +++ b/vim/plugin/notmuch.vim

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

2010-12-09 Thread Felipe Contreras
Signed-off-by: Felipe Contreras --- 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 @@ notmuch_reply_format_default

[PATCH 0/3] composing patches

2010-12-09 Thread Felipe Contreras
en composing a message, and these aliases might be used while generating the 'notmuch search' output. Felipe Contreras (3): reply: add message-id header reply: add user-agent field Add 'compose' command Makefile.l

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

2010-12-09 Thread Felipe Contreras
Signed-off-by: Felipe Contreras --- 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 @@ notmuch_reply_format_default(void

[PATCH 3/3] Add 'compose' command

2010-12-09 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(+), 0 deletions(-) create mode 100644 notmuch-compose.c diff

Re: [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 > 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

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] 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

[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 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

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

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,

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-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

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

[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 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 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 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 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 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 @

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

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 &

[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: 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

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

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

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] 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: [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: 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: 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] 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 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

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 ___

[PATCH 0/3] vim plugin updates

2014-04-23 Thread Felipe Contreras
A few trivial updates, and an important fix. Felipe Contreras (2): Fix count_threads variable check Improve the way messages are sent Paul Roberts (1): Make the html handler configurable vim/notmuch.vim | 39 --- 1 file changed, 24 insertions(+), 15

[PATCH 3/3] Improve the way messages are sent

2014-04-23 Thread Felipe Contreras
We want the proper encoding and content-type to be set when sending the mail, but human-readable plain-text for composing. So split the code in two parts: the presentation and the transport conversion. Signed-off-by: Felipe Contreras --- vim/notmuch.vim | 34

[PATCH 2/3] Make the html handler configurable

2014-04-23 Thread Felipe Contreras
From: Paul Roberts Signed-off-by: Felipe Contreras --- vim/notmuch.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vim/notmuch.vim b/vim/notmuch.vim index 25a16e9..0cb94f6 100644 --- a/vim/notmuch.vim +++ b/vim/notmuch.vim @@ -919,7 +919,8 @@ ruby <&l

[PATCH 1/3] Fix count_threads variable check

2014-04-23 Thread Felipe Contreras
Seems it never really worked. Signed-off-by: Felipe Contreras --- vim/notmuch.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/notmuch.vim b/vim/notmuch.vim index d7b310c..25a16e9 100644 --- a/vim/notmuch.vim +++ b/vim/notmuch.vim @@ -633,7 +633,7 @@ ruby <&l

Final call for news for 0.18

2014-04-30 Thread Felipe Contreras
me any NEWS comments ASAP. What about the vim changes? http://mid.gmane.org/1398289784-18203-1-git-send-email-felipe.contreras at gmail.com -- Felipe Contreras

Final call for news for 0.18

2014-05-01 Thread Felipe Contreras
. > these patches should just have come earlier... Yes. > ... but if you had a good case, fix these things (quickly!) and had > strong backing from some other notmuch-vim users I could see a small > chance of these being part of the next release... All right. > PS: does vim frontend lack id:message-id feature -- What feature? -- Felipe Contreras

[PATCH v2 0/3] vim plugin updates

2014-05-01 Thread Felipe Contreras
A few trivial updates, and an important fix. Changes since v1: improved commit messages. Felipe Contreras (2): vim: fix count_threads variable check vim: improve the way messages are sent Paul Roberts (1): vim: make the html handler configurable vim/notmuch.vim | 39

[PATCH v2 1/3] vim: fix count_threads variable check

2014-05-01 Thread Felipe Contreras
It never really worked; in Ruby only 'nil' and 'false' evaluate to false, therefore the statement '0 : true ? false' returns true, so it doesn't matter if notmuch_folders_count_threads = 0, count_threads would be true. We need to check specifically if the valu

[PATCH v2 2/3] vim: make the html handler configurable

2014-05-01 Thread Felipe Contreras
From: Paul Roberts Signed-off-by: Felipe Contreras --- vim/notmuch.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vim/notmuch.vim b/vim/notmuch.vim index 25a16e9..0cb94f6 100644 --- a/vim/notmuch.vim +++ b/vim/notmuch.vim @@ -919,7 +919,8 @@ ruby <&l

[PATCH v2 3/3] vim: improve the way messages are sent

2014-05-01 Thread Felipe Contreras
encoded. Signed-off-by: Felipe Contreras --- vim/notmuch.vim | 34 +- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/vim/notmuch.vim b/vim/notmuch.vim index 0cb94f6..331e930 100644 --- a/vim/notmuch.vim +++ b/vim/notmuch.vim @@ -86,17 +86,22

Final call for news for 0.18

2014-05-04 Thread Felipe Contreras
e debian changelog and it looks correct, I don't think there is much point in mentioning the fix in the NEWS. -- Felipe Contreras

Github?

2014-05-08 Thread Felipe Contreras
d it easier for Notmuch to distribute them. As for the vim plugin, it can already be used as a bundle: https://github.com/felipec/notmuch-vim-ruby -- Felipe Contreras

Github?

2014-05-08 Thread Felipe Contreras
vis.yml file :) I actually think we should have GitHub repo, and a .travis.yml file. However, the travis stuff can live in a 'travis-ci' branch. -- Felipe Contreras

Github?

2014-05-08 Thread Felipe Contreras
\ >C---o---o some-feature That wouldn't be a problem if HEAD didn't point to 'master' but to 'upstream' which would be 'notmuch/master'. Or if the branch with the modifications was called something else, like 'travis-ci'. -- Felipe Contreras

Github?

2014-05-08 Thread Felipe Contreras
Wael Nasreddine wrote: > Would you be willing to add Travis.yml upstream? I would. After all we have packaging stuff which are not strictly part of notmuch. -- Felipe Contreras

Github?

2014-05-08 Thread Felipe Contreras
ike the plague. Source: I'm a Git developer. -- Felipe Contreras

Github?

2014-05-08 Thread Felipe Contreras
Wael Nasreddine wrote: > Actually you can't have the .Travis.yml file in a separate branch, > Travis require it present in the context that it is testing (commits > to all branches) Yes, so? The 'travis-ci' branch can merge from upstream, and then upstream would be tested. -- Felipe Contreras

Github?

2014-05-08 Thread Felipe Contreras
[1] without adding new ones. I disagree. There's absolutely zero chance of a problem adding a 'travis-ci' branch, which adds a single file, which would conflict with upstream in anyway. -- Felipe Contreras

Github?

2014-05-09 Thread Felipe Contreras
Amadeusz ?o?nowski wrote: > The same goes for Travis. There's already a build bot. Why bother > with Travis? I've never seen any buildbot results. TravisCI's interface is just simple and easy. And all it requires is one file. -- Felipe Contreras

Submodules for language bindings (was: Github?)

2014-05-09 Thread Felipe Contreras
gt; version dependencies, this becomes quite cumbersome; No, it doesn't: %package notmuch-ruby Requires: notmuch = %{version}-%{release}, ruby -- Felipe Contreras

Submodules for language bindings (was: Github?)

2014-05-09 Thread Felipe Contreras
Suvayu Ali wrote: > On Fri, May 09, 2014 at 07:40:27AM -0500, Felipe Contreras wrote: > > Suvayu Ali wrote: > > > > > To explain my point with RPM specifics, if I were to > > > use separate spec files, python-notmuch would have: > > > > > >

[PATCH] Add Travis-CI config file.

2014-05-09 Thread Felipe Contreras
iles/zlib1g_1.2.8.dfsg-1ubuntu1_amd64.deb' > + - sudo dpkg -i zlib1g-dev_1.2.8.dfsg-1ubuntu1_amd64.deb > zlib1g_1.2.8.dfsg-1ubuntu1_amd64.deb What's wrong with zlib? > + - sudo apt-get install -f > + - sudo apt-get install dtach libxapian-dev libgmime-2.6-dev libtalloc-dev > python-sphinx > + > +script: make test -- Felipe Contreras

[PATCH] Add Travis-CI config file.

2014-05-09 Thread Felipe Contreras
Wael Nasreddine wrote: > On Travis Zlib is old and notmuch configure script exits with a > failure, please see the Travis build #1 Please do not top-post. I had to manually find the build. In case anybody wants to check it out: https://travis-ci.org/notmuch/notmuch/builds -- Felipe Contreras

[PATCH] Add Travis-CI config file.

2014-05-09 Thread Felipe Contreras
Wael M. Nasreddine wrote: > On Fri, May 9, 2014 at 8:24 AM, Felipe Contreras > wrote: > > I had to manually find the build. In case anybody wants to check it out: > > > > https://travis-ci.org/notmuch/notmuch/builds > > To be specific it's build #2 you see th

pkg-config zlib check in 3c13bc

2014-05-09 Thread Felipe Contreras
ch motivated him to roll his own. Personally I > don't really think any of the alternatives are convincingly better than > autoconf. Of course it's one of those very subjective things. I think Makefiles are superior to autoconf. What we have is fine. -- Felipe Contreras

Github?

2014-05-10 Thread Felipe Contreras
Tomi Ollila wrote: > BTW: does .travis.yml support comment lines ? It's YAML. So, yes. -- Felipe Contreras

[PATCH 1/2] configure: add a fallback check for zlib

2014-05-10 Thread Felipe Contreras
r on zlib.pc, this way the configure script would be cleaner. -- Felipe Contreras

[PATCH 1/2] configure: add a fallback check for zlib

2014-05-10 Thread Felipe Contreras
Tomi Ollila wrote: > On Sun, May 11 2014, Felipe Contreras wrote: > > > X?c? wrote: > >> Since zlib is part of the base system, FreeBSD chose not to register it > >> in pkg-config through zlib.pc. As a fallback test, configure will build > >> and run a zlib

[PATCH] ruby: Add wrapper for notmuch_query_count_threads

2014-05-10 Thread Felipe Contreras
Wael M. Nasreddine wrote: > This patch exposes query.cc::notmuch_query_count_threads to Ruby, the > benchmark on 85k emails is amazing: I meant to do this but forgot. Thanks! -- Felipe Contreras

[PATCH] ruby: Add wrapper for notmuch_query_count_threads

2014-05-10 Thread Felipe Contreras
Wael M. Nasreddine wrote: > --- > bindings/ruby/defs.h | 3 +++ > bindings/ruby/init.c | 1 + > bindings/ruby/query.c | 19 +++ > 3 files changed, 23 insertions(+) LGTM. -- Felipe Contreras

Fix notmuchmail.org/emacstips/

2014-05-11 Thread Felipe Contreras
ut why it wasn't working :( Cheers. -- Felipe Contreras

[PATCH] build: fix order of rpath

2014-05-11 Thread Felipe Contreras
chance of screwing the build. Signed-off-by: Felipe Contreras --- Makefile.local | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile.local b/Makefile.local index fa07d81..af79b5c 100644 --- a/Makefile.local +++ b/Makefile.local @@ -46,15 +46,16 @@ PV_FILE=binding

[PATCH] configure: add workaround for systems without zlib.pc

2014-05-11 Thread Felipe Contreras
Some systems (e.g. FreeBSD) might not have installed the appropriate pkg-config file as they should. We can workaround the issue by creating the .pc file they should have distributed. Signed-off-by: Felipe Contreras --- compat/.gitignore| 1 + compat/gen_zlib_pc.c | 18

github

2014-05-12 Thread Felipe Contreras
t our development cycle controlled by github > (or any other proprietary SCM) for many of the same reasons. How would our development cycle be controlled by GitHub? The whole point of a distributed VCS is that there isn't a single central repository you rely on. -- Felipe Contreras

github

2014-05-16 Thread Felipe Contreras
Jameson Graef Rollins wrote: > On Mon, May 12 2014, Felipe Contreras wrote: > > How would our development cycle be controlled by GitHub? > > > > The whole point of a distributed VCS is that there isn't a single > > central repository you rely on. > > If thi

[PATCH] configure: use cc/c++ when GCC not installed

2014-05-21 Thread Felipe Contreras
diff --git a/configure b/configure > index 9bde2eb..3f4942b 100755 > --- a/configure > +++ b/configure > @@ -43,8 +43,16 @@ fi > > # Set several defaults (optionally specified by the user in > # environment variables) > -CC=${CC:-gcc} > -CXX=${CXX:-g++} Why not just use cc and c++? -- Felipe Contreras

[PATCH 1/2] configure: add a fallback check for zlib

2014-05-22 Thread Felipe Contreras
Fraser Tweedale wrote: > On Sat, May 10, 2014 at 05:27:34PM -0500, Felipe Contreras wrote: > > Tomi Ollila wrote: > > > On Sun, May 11 2014, Felipe Contreras > > > wrote: > > > > > > > X?c? wrote: > > > >> Since zlib is part of th

[PATCH 0/3] Build and test Ruby bindings

2014-05-23 Thread Felipe Contreras
, etc. For now I'm checking only for Ruby 2.1, but more versions can be added later if demanded. Since this support wasn't there before nothing will be broken if we don't build on say, Ruby 2.0. Felipe Contreras (3): build: don't add sub Makefiles to the global deps build:

[PATCH 1/3] build: don't add sub Makefiles to the global deps

2014-05-23 Thread Felipe Contreras
They don't affect the global build. Signed-off-by: Felipe Contreras --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4c0e8c6..2d1aee9 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ include Makefile.config # We make all ta

[PATCH 2/3] build: add support to build Ruby bindings

2014-05-23 Thread Felipe Contreras
So there's no need for the user to manually do that. Signed-off-by: Felipe Contreras --- bindings/ruby/Makefile.local | 21 + bindings/ruby/extconf.rb | 14 ++ configure| 21 + 3 files changed, 44 insertions(+

[PATCH 3/3] test: add tests for Ruby bindings

2014-05-23 Thread Felipe Contreras
Signed-off-by: Felipe Contreras --- test/T540-ruby.sh | 98 +++ test/test-lib.sh | 1 + 2 files changed, 99 insertions(+) create mode 100755 test/T540-ruby.sh diff --git a/test/T540-ruby.sh b/test/T540-ruby.sh new file mode 100755 index

[PATCH 1/3] build: don't add sub Makefiles to the global deps

2014-05-25 Thread Felipe Contreras
Jani Nikula wrote: > On Fri, 23 May 2014, Felipe Contreras wrote: > > They don't affect the global build. > > They do. They don't. Cheers. -- Felipe Contreras

[PATCH 1/3] build: don't add sub Makefiles to the global deps

2014-05-25 Thread Felipe Contreras
Jani Nikula wrote: > On Sun, 25 May 2014, Felipe Contreras wrote: > > Jani Nikula wrote: > >> On Fri, 23 May 2014, Felipe Contreras > >> wrote: > >> > They don't affect the global build. > >> > >> They do. > > > > They d

[PATCH] ruby: fix ruby 3.1 warnings

2021-04-16 Thread Felipe Contreras
init.c:214:5: warning: ‘rb_cData’ is deprecated: by: rb_cObject. Will be removed in 3.1. [-Wdeprecated-declarations] Signed-off-by: Felipe Contreras --- bindings/ruby/init.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/bindings/ruby/init.c b

[PATCH 00/13] vim: a bunch of updates from upstream

2021-04-18 Thread Felipe Contreras
Felipe Contreras (9): vim: fix Mail 2.8.0 warning vim: doc: small fixes vim: fix for missing parts vim: show first part if no text part is detected vim: trivial cleanup vim: use notmuch config command vim: trivial cleanup vim: remove backwards compatibility wrappers vim: README

[PATCH 02/13] vim: doc: small fixes

2021-04-18 Thread Felipe Contreras
Signed-off-by: Felipe Contreras --- vim/notmuch.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vim/notmuch.txt b/vim/notmuch.txt index 43741022..4a038102 100644 --- a/vim/notmuch.txt +++ b/vim/notmuch.txt @@ -89,7 +89,7 @@ s Send CONFIGURATION

[PATCH 01/13] vim: fix Mail 2.8.0 warning

2021-04-18 Thread Felipe Contreras
Passing an unparsed header field to Mail::Field.new is deprecated and will be removed in Mail 2.8.0. Use Mail::Field.parse instead. Signed-off-by: Felipe Contreras --- vim/notmuch.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/notmuch.vim b/vim/notmuch.vim index

[PATCH 03/13] vim: doc: minor spelling fix

2021-04-18 Thread Felipe Contreras
From: John Gliksberg Signed-off-by: Felipe Contreras --- vim/notmuch.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/notmuch.txt b/vim/notmuch.txt index 4a038102..c98f2b53 100644 --- a/vim/notmuch.txt +++ b/vim/notmuch.txt @@ -144,7 +144,7 @@ If you want to count

[PATCH 04/13] vim: fix for missing parts

2021-04-18 Thread Felipe Contreras
Sometimes Mail incorrectly parses multipart messages. See: https://github.com/mikel/mail/issues/1438 Check for empty parts instead of crashing. Signed-off-by: Felipe Contreras --- vim/notmuch.vim | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/vim/notmuch.vim b

[PATCH 05/13] vim: show first part if no text part is detected

2021-04-18 Thread Felipe Contreras
Better something than nothing. Signed-off-by: Felipe Contreras --- vim/notmuch.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vim/notmuch.vim b/vim/notmuch.vim index e2362a2d..dd715828 100644 --- a/vim/notmuch.vim +++ b/vim/notmuch.vim @@ -333,7 +333,7 @@ ruby

[PATCH 06/13] vim: trivial cleanup

2021-04-18 Thread Felipe Contreras
Signed-off-by: Felipe Contreras --- vim/notmuch.vim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vim/notmuch.vim b/vim/notmuch.vim index dd715828..97167461 100644 --- a/vim/notmuch.vim +++ b/vim/notmuch.vim @@ -471,9 +471,8 @@ function! s:NotMuch(...) ruby <&l

[PATCH 07/13] vim: use notmuch config command

2021-04-18 Thread Felipe Contreras
This simplifies the configuration parsing, is more efficient, and also reverts back to previous logic. Signed-off-by: Felipe Contreras --- vim/notmuch.vim | 26 -- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/vim/notmuch.vim b/vim/notmuch.vim index

[PATCH 08/13] vim: trivial cleanup

2021-04-18 Thread Felipe Contreras
Signed-off-by: Felipe Contreras --- vim/notmuch.vim | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/vim/notmuch.vim b/vim/notmuch.vim index 8777d412..7a448467 100644 --- a/vim/notmuch.vim +++ b/vim/notmuch.vim @@ -641,9 +641,7 @@ ruby <&l

[PATCH 09/13] vim: option to add email address to reply quote

2021-04-18 Thread Felipe Contreras
From: Aaron Borden Cleanup-by: Felipe Contreras Signed-off-by: Felipe Contreras --- vim/notmuch.txt | 6 ++ vim/notmuch.vim | 7 +++ 2 files changed, 13 insertions(+) diff --git a/vim/notmuch.txt b/vim/notmuch.txt index c98f2b53..b658020d 100644 --- a/vim/notmuch.txt +++ b/vim

<    1   2   3   4   5   6   7   >