[notmuch] Using notmuch from Ruby, Python, et al.

2009-11-28 Thread Mikhail Gusarov
Twas brillig at 18:55:28 27.11.2009 UTC-08 when cworth at cworth.org did gyre and gimble: >> Q: Why are my replies five sentences or less? >> A: http://five.sentenc.es/ CW> There---just five this time. :-) I imagine hook that counts the number of sentences and inserts proper signature :)

[notmuch] Using notmuch from Ruby, Python, et al.

2009-11-27 Thread Carl Worth
On Wed, 25 Nov 2009 09:58:00 -0800, Scott Robinson wrote: > Excerpts from Jeffrey Ollie's message of Wed Nov 25 09:46:47 -0800 2009: > > I selected cJSON because it was simple for integration. Given how libsha1.c is > included in lib/, I figured adding a depedency wouldn't be very > popular.

[notmuch] Using notmuch from Ruby, Python, et al.

2009-11-27 Thread Carl Worth
On Wed, 25 Nov 2009 08:16:54 -0800, Scott Robinson wrote: > I'm hoping this thread will provide a guide for my efforts. > > I'm writing a web frontend for notmuch in Ruby. But, the output from the > notmuch command-line is ambiguous. Therefore, I've started two branches > experimenting with

[notmuch] Using notmuch from Ruby, Python, et al.

2009-11-25 Thread Jeffrey Ollie
On Wed, Nov 25, 2009 at 11:58 AM, Scott Robinson wrote: > > I selected cJSON because it was simple for integration. Given how libsha1.c is > included in lib/, I figured adding a depedency wouldn't be very popular. Oh, I noticed libsha1.c as well, and it bugs the heck out of me. I just haven't

[notmuch] Using notmuch from Ruby, Python, et al.

2009-11-25 Thread Jeffrey Ollie
On Wed, Nov 25, 2009 at 11:40 AM, Scott Robinson wrote: > > As the json work is a bit more substantial, is it preferable to start a > [PATCH] > thread or link to a git repo? Probably a new [PATCH] thread so that the changes can be discussed. -- Jeff Ollie

[notmuch] Using notmuch from Ruby, Python, et al.

2009-11-25 Thread Jeffrey Ollie
On Wed, Nov 25, 2009 at 10:16 AM, Scott Robinson wrote: > > To accomplish this, I used the cJSON library sans parsing logic. I wasn't familiar with cJSON so I went over to take a look. I haven't really examined the code, but I really don't like the fact that you are expected to copy the cJSON

[notmuch] Using notmuch from Ruby, Python, et al.

2009-11-25 Thread Jeffrey Ollie
On Wed, Nov 25, 2009 at 10:16 AM, Scott Robinson wrote: > > == Shared Library > > I have modified the build to output a shared library. It's a small change > relying on libtool. > > However, the archives indicate Carl dislikes libtool? Ugh, please, let's not go down the autoconf/automake/libtool

[notmuch] Using notmuch from Ruby, Python, et al.

2009-11-25 Thread Scott Robinson
Excerpts from Jeffrey Ollie's message of Wed Nov 25 10:03:05 -0800 2009: > On Wed, Nov 25, 2009 at 11:58 AM, Scott Robinson > wrote: > > Would it be better to link with a previously existing library? > > IMHO yes. I was looking at json-glib because it seems to be the only > C JSON API in

[notmuch] Using notmuch from Ruby, Python, et al.

2009-11-25 Thread Scott Robinson
Excerpts from Jeffrey Ollie's message of Wed Nov 25 09:46:47 -0800 2009: > On Wed, Nov 25, 2009 at 10:16 AM, Scott Robinson > wrote: > > > > To accomplish this, I used the cJSON library sans parsing logic. > > I wasn't familiar with cJSON so I went over to take a look. I haven't > really

[notmuch] Using notmuch from Ruby, Python, et al.

2009-11-25 Thread Scott Robinson
Excerpts from Jeffrey Ollie's message of Wed Nov 25 08:33:39 -0800 2009: > On Wed, Nov 25, 2009 at 10:16 AM, Scott Robinson > wrote: > > > > == Shared Library > > > > I have modified the build to output a shared library. It's a small change > > relying on libtool. > > > > However, the archives

[notmuch] Using notmuch from Ruby, Python, et al.

2009-11-25 Thread Scott Robinson
I'm hoping this thread will provide a guide for my efforts. I'm writing a web frontend for notmuch in Ruby. But, the output from the notmuch command-line is ambiguous. Therefore, I've started two branches experimenting with different ways of providing hooks. Which of these approaches are likely