Re: search query replytoid:blah

2015-06-14 Thread Suvayu Ali
On Sat, Jun 13, 2015 at 10:55:52PM +0200, Suvayu Ali wrote: On Sat, Jun 13, 2015 at 02:47:00PM -0400, Xu Wang wrote: Is it possible to search based on which message ID a message *responds* to? For example, suppose message id is MESSAGEID. I want to find all emails that responded to

[PATCH] lib, ruby: make use of -Wl,--no-undefined configurable

2015-06-14 Thread David Bremner
In particular this is supposed to help build on systems (presumably using a non-gnu ld) where this flag is not available. --- bindings/Makefile.local | 4 +++- bindings/ruby/extconf.rb | 5 +++-- configure| 13 + lib/Makefile.local | 2 +- 4 files changed, 20

Re: [PATCH] lib, ruby: make use of -Wl,--no-undefined configurable

2015-06-14 Thread Jinwoo Lee
There are 2 problems. 1. The file, bindings/Makefile.local still has lib/libnotmuch.so as the dependency of ruby-bindings. make: *** No rule to make target `lib/libnotmuch.so', needed by `ruby-bindings'. Stop. 2. After manually changing it to lib/libnotmuch.dylib, I still get an error

[PATCH] build/ruby: use notmuch configure script values for shared lib

2015-06-14 Thread David Bremner
This is supposed to help build on systems like MacOS with different conventions for naming shared libraries. We have already computed the relevant names, so doing it again in ruby seems like a bad idea. --- bindings/Makefile.local | 3 ++- bindings/ruby/extconf.rb | 13 +++-- 2 files

Re: [PATCH] lib, ruby: make use of -Wl,--no-undefined configurable

2015-06-14 Thread David Bremner
Jinwoo Lee jinwo...@gmail.com writes: There are 2 problems. 1. The file, bindings/Makefile.local still has lib/libnotmuch.so as the dependency of ruby-bindings. this is fixed in id:1434263191-14171-1-git-send-email-da...@tethera.net an updated patch sent a few minutes ago. cd

Re: [PATCH] lib, ruby: make use of -Wl,--no-undefined configurable

2015-06-14 Thread David Bremner
Jinwoo Lee jinwo...@gmail.com writes: When I apply those 2 patches from you, things seem to work. I still get warnings like below, but they don't seem severe. I'm not sure if the ruby binding actually works though. ld: warning: ignoring file ../../lib/libnotmuch.dylib, file was built for

Re: [PATCH] lib, ruby: make use of -Wl,--no-undefined configurable

2015-06-14 Thread Jinwoo Lee
On Sat, Jun 13, 2015 at 11:53 PM, David Bremner da...@tethera.net wrote: Jinwoo Lee jinwo...@gmail.com writes: There are 2 problems. 1. The file, bindings/Makefile.local still has lib/libnotmuch.so as the dependency of ruby-bindings. this is fixed in

Re: search query replytoid:blah

2015-06-14 Thread Xu Wang
On Sun, Jun 14, 2015 at 4:22 AM, Suvayu Ali fatkasuvayu+li...@gmail.com wrote: On Sat, Jun 13, 2015 at 10:55:52PM +0200, Suvayu Ali wrote: On Sat, Jun 13, 2015 at 02:47:00PM -0400, Xu Wang wrote: Is it possible to search based on which message ID a message *responds* to? For example,

Re: search query replytoid:blah

2015-06-14 Thread Suvayu Ali
Hi, On Mon, Jun 15, 2015 at 12:30:57AM +0200, Gregor Zattler wrote: This is a nice script. The very first Message(-Id:) I tried was replied to by a message with this In-Reply-To: header: In-Reply-To: 7e093509.51e.14ddb300091.coremail.chxp_m...@163.com (windy’s

Re: search query replytoid:blah

2015-06-14 Thread Gregor Zattler
Hi Suvayu, notmuch users and developers, * Suvayu Ali fatkasuvayu+li...@gmail.com [14. Jun. 2015]: Try the attached script. It accepts notmuch queries by message id. E.g. to get the responses to your OP, you can do: $ ./nm-ack

Re: [PATCH] lib, ruby: make use of -Wl,--no-undefined configurable

2015-06-14 Thread Jinwoo Lee
On Sun, Jun 14, 2015 at 11:34 AM, David Bremner da...@tethera.net wrote: Jinwoo Lee jinwo...@gmail.com writes: When I apply those 2 patches from you, things seem to work. I still get warnings like below, but they don't seem severe. I'm not sure if the ruby binding actually works though.

[patch v3 1/4] build: integrate building ruby bindings into notmuch build process

2015-06-14 Thread David Bremner
Jinwoo Lee writes: >> I with configure has an option to skip the ruby-bindings build. > > `configure' seems to try to detect whether the ruby development tools > are installed. It thinks I have them but I don't actually, and that's > why my build fails. When I manually set 'HAVE_RUBY_DEV = 0'

search query "replytoid:"

2015-06-14 Thread David Bremner
Xu Wang writes: > Dear all, > > Is it possible to search based on which message ID a message > *responds* to? For example, suppose message id is MESSAGEID. I want to > find all emails that responded to MESSAGEID. How to enter such a query > into notmuch? Threads aren't exactly the concept you

search query "replytoid:"

2015-06-14 Thread Xu Wang
On Sat, Jun 13, 2015 at 5:14 PM, David Bremner wrote: > Xu Wang writes: > >> Dear all, >> >> Is it possible to search based on which message ID a message >> *responds* to? For example, suppose message id is MESSAGEID. I want to >> find all emails that responded to MESSAGEID. How to enter such a

Understanding the "replied" tag

2015-06-14 Thread Xu Wang
Dear Suvayu and Austin, Thank you for your attempts to understand my goals. I apologize for the lack in the clarity of my previous messages. Thank you kindly for your persistence and thank you to Suvayu for suggestions on adding more information. I am indeed using mutt-kz, along with

search query "replytoid:"

2015-06-14 Thread David Bremner
Xu Wang writes: > Dear David and Suvayu, > > Thank you for your ideas. My goal is to do something like the following: > notmuch search tag:reply-required and not tag:replied > > which was discussed here: > http://notmuchmail.org/pipermail/notmuch/2010/002558.html > This recent blog report looks

[patch v3 1/4] build: integrate building ruby bindings into notmuch build process

2015-06-14 Thread David Bremner
Jinwoo Lee writes: > ld: unknown option: --no-undefined > clang: error: linker command failed with exit code 1 (use -v to see > invocation) I wonder if this the actual relevant error. Can you try with the next two patches in the series? id:1433142542-2307-3-git-send-email-david at

[PATCH] lib, ruby: make use of -Wl,--no-undefined configurable

2015-06-14 Thread David Bremner
In particular this is supposed to help build on systems (presumably using a non-gnu ld) where this flag is not available. --- bindings/Makefile.local | 4 +++- bindings/ruby/extconf.rb | 5 +++-- configure| 13 + lib/Makefile.local | 2 +- 4 files changed, 20

[PATCH] lib, ruby: make use of -Wl,--no-undefined configurable

2015-06-14 Thread Jinwoo Lee
There are 2 problems. 1. The file, bindings/Makefile.local still has lib/libnotmuch.so as the dependency of ruby-bindings. > make: *** No rule to make target `lib/libnotmuch.so', needed by > `ruby-bindings'. Stop. 2. After manually changing it to lib/libnotmuch.dylib, I still get an

[PATCH] build/ruby: use notmuch configure script values for shared lib

2015-06-14 Thread David Bremner
This is supposed to help build on systems like MacOS with different conventions for naming shared libraries. We have already computed the relevant names, so doing it again in ruby seems like a bad idea. --- bindings/Makefile.local | 3 ++- bindings/ruby/extconf.rb | 13 +++-- 2 files

[PATCH] lib, ruby: make use of -Wl,--no-undefined configurable

2015-06-14 Thread David Bremner
Jinwoo Lee writes: > There are 2 problems. > > 1. The file, bindings/Makefile.local still has lib/libnotmuch.so as the >dependency of ruby-bindings. this is fixed in id:1434263191-14171-1-git-send-email-david at tethera.net an updated patch sent a few minutes ago. > >> cd

search query "replytoid:"

2015-06-14 Thread Suvayu Ali
On Sat, Jun 13, 2015 at 10:55:52PM +0200, Suvayu Ali wrote: > On Sat, Jun 13, 2015 at 02:47:00PM -0400, Xu Wang wrote: > > > > Is it possible to search based on which message ID a message > > *responds* to? For example, suppose message id is MESSAGEID. I want to > > find all emails that responded

[PATCH] lib, ruby: make use of -Wl,--no-undefined configurable

2015-06-14 Thread Jinwoo Lee
On Sat, Jun 13, 2015 at 11:53 PM, David Bremner wrote: > Jinwoo Lee writes: > >> There are 2 problems. >> >> 1. The file, bindings/Makefile.local still has lib/libnotmuch.so as the >>dependency of ruby-bindings. > > this is fixed in > > id:1434263191-14171-1-git-send-email-david at

search query "replytoid:"

2015-06-14 Thread Xu Wang
On Sun, Jun 14, 2015 at 4:22 AM, Suvayu Ali wrote: > On Sat, Jun 13, 2015 at 10:55:52PM +0200, Suvayu Ali wrote: >> On Sat, Jun 13, 2015 at 02:47:00PM -0400, Xu Wang wrote: >> > >> > Is it possible to search based on which message ID a message >> > *responds* to?

[PATCH] lib, ruby: make use of -Wl,--no-undefined configurable

2015-06-14 Thread David Bremner
Jinwoo Lee writes: > When I apply those 2 patches from you, things seem to work. I still get > warnings like below, but they don't seem severe. I'm not sure if the > ruby binding actually works though. > > ld: warning: ignoring file ../../lib/libnotmuch.dylib, file was built for > x86_64

[PATCH] lib, ruby: make use of -Wl,--no-undefined configurable

2015-06-14 Thread Jinwoo Lee
On Sun, Jun 14, 2015 at 11:34 AM, David Bremner wrote: > Jinwoo Lee writes: > >> When I apply those 2 patches from you, things seem to work. I still get >> warnings like below, but they don't seem severe. I'm not sure if the >> ruby binding actually works though. >> >> ld: warning: ignoring