Re: [notmuch] reverse iterators

2010-03-21 Thread Sebastian Spaeth
On Sat, 20 Mar 2010 11:23:20 +0100, Ruben Pollan mes...@sindominio.net wrote: Adds support to reverse iteration on messages, threads and tags. To revew and think if makes sense to include them on notmuch or wait until they have a real use. /me raises arm. Real use case here! Personally, I

Re: [notmuch] Using notmuch as an address book for tab-completion

2010-03-21 Thread Sebastian Spaeth
On Sat, 20 Mar 2010 22:35:42 -0400, Jesse Rosenthal jrosent...@jhu.edu wrote: I've written a python script (with some help and suggestions from spaetz) which can perform the address-book functionality, and a backend for emacs's EUDC address-lookup functionality to access the script. Thanks

Re: [notmuch] Using notmuch as an address book for tab-completion

2010-03-21 Thread Sandra Snan
On Sun, 21 Mar 2010 21:18:12 +0100, Sebastian Spaeth sebast...@sspaeth.de wrote: Silly question: How do I byte-compile stuff for emacs? I am a helpless noob when there is no make install-emacs command. :-) Sure, here’s how: M-x byte-compile-file type path to file RET Good luck!

[notmuch] [PATCH] sending again patches 3 4

2010-03-21 Thread Ruben Pollan
I send again the patches 3 and 4, beacuse I found a bug on them. The previous implementation did a segfault when the search didn't have results. ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[notmuch] [PATCH 1/2] Move the logic of threads iterator out of 'valid'

2010-03-21 Thread Ruben Pollan
The logic of notmuch_threads_move_to_next iterator was on notmuch_threads_valid function. Now notmuch_threads_valid just check if the iterator is valid and is notmuch_threads_move_to_next wich actually update the iterator. --- lib/query.cc | 54

[notmuch] [PATCH 2/2] Added backwards iterator to threads

2010-03-21 Thread Ruben Pollan
Added the functions notmuch_threads_move_to_prevoius, notmuch_threads_move_to_last and notmuch_threads_move_to_first to notmuch library. With them is possible to iterate backwards on threads. * notmuch_threads_move_to_prevoius do the opposite than notmuch_threads_move_to_next, getting the

[notmuch] Tag search peculiarities

2010-03-21 Thread Sandra Snan
On Sat, 20 Mar 2010 16:09:00 -0700 (PDT), Ben Gamari wrote: > On Thu, 18 Mar 2010 15:27:12 +0100, Sandra Snan handgranat.org> wrote: > > Hey, Ben. > > Ben Gamari wrote: > > > notmuch tag -new tag:new and tag:list notmuch tag -new +inbox tag:new > > > > Is there a new line between the calls?

[notmuch] reverse iterators

2010-03-21 Thread Sebastian Spaeth
On Sat, 20 Mar 2010 11:23:20 +0100, Ruben Pollan wrote: > > Adds support to reverse iteration on messages, threads and tags. To revew and > think if makes sense to include them on notmuch or wait until they have a real > use. /me raises arm. Real use case here! Personally, I don't need the

[notmuch] Using notmuch as an address book for tab-completion

2010-03-21 Thread Sebastian Spaeth
On Sat, 20 Mar 2010 22:35:42 -0400, Jesse Rosenthal wrote: > I've written a python script (with some help and suggestions > from spaetz) which can perform the address-book functionality, and a > backend for emacs's EUDC address-lookup functionality to access the > script. Thanks for sharing, I

[notmuch] Using notmuch as an address book for tab-completion

2010-03-21 Thread Sandra Snan
On Sun, 21 Mar 2010 21:18:12 +0100, "Sebastian Spaeth" wrote: > Silly question: How do I byte-compile stuff for emacs? I am a helpless noob > when there > is no make install-emacs command. :-) Sure, here?s how: M-x byte-compile-file type path to file RET Good luck!

[notmuch] [PATCH] sending again patches 3 & 4

2010-03-21 Thread Ruben Pollan
I send again the patches 3 and 4, beacuse I found a bug on them. The previous implementation did a segfault when the search didn't have results.

[notmuch] [PATCH 1/2] Move the logic of threads iterator out of 'valid'

2010-03-21 Thread Ruben Pollan
The logic of notmuch_threads_move_to_next iterator was on notmuch_threads_valid function. Now notmuch_threads_valid just check if the iterator is valid and is notmuch_threads_move_to_next wich actually update the iterator. --- lib/query.cc | 54

[notmuch] [PATCH 2/2] Added backwards iterator to threads

2010-03-21 Thread Ruben Pollan
Added the functions notmuch_threads_move_to_prevoius, notmuch_threads_move_to_last and notmuch_threads_move_to_first to notmuch library. With them is possible to iterate backwards on threads. * notmuch_threads_move_to_prevoius do the opposite than notmuch_threads_move_to_next, getting the