search query "replytoid:"

2015-06-13 Thread Suvayu Ali
Hi, 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 MESSAGEID. How to enter such a query > into notmuch? AFAIK,

Understanding the "replied" tag

2015-06-13 Thread Suvayu Ali
Hi, On Sat, Jun 13, 2015 at 02:44:46PM -0400, Xu Wang wrote: > > Thank you. The problem in the end is that I would like 'notmuch new' > to not only schronize the 'reply' tag but to master handle the reply > tag because notmuch knows which messages have been replied to (because > it is aware of

Understanding the "replied" tag

2015-06-13 Thread Austin Clements
Hi Xu. I may be misunderstanding your email, but it sounds like you want to know if a message has *any* reply message. That's not what the replied tag indicates. The replied tag indicates that *you* have sent a reply to a message. Mechanically, when you hit, say, r to start a reply and then

search query "replytoid:"

2015-06-13 Thread Xu Wang
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? Kind regards, Xu

Understanding the "replied" tag

2015-06-13 Thread Xu Wang
On Thu, Jun 11, 2015 at 2:39 PM, Xu Wang wrote: > On Thu, Jun 11, 2015 at 2:25 PM, Jani Nikula wrote: >> On Thu, 11 Jun 2015, Xu Wang wrote: >>> Dear all, >>> >>> First, I am extremely excited to be a part of this list now. notmuch >>> has really helped me. Thank you go all individuals working

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

2015-06-13 Thread Jinwoo Lee
On Sat, Jun 13, 2015 at 02:24 PM, Jinwoo Lee wrote: > That error is from 'cd bindings/ruby && ruby extconf.rb --vendor' BTW. The contents of mkmf.log are below. It shows a warning about -L/usr/local/lib and I don't have the directory /usr/local/lib on my machine. I'm not sure if that's the

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

2015-06-13 Thread Jinwoo Lee
That error is from 'cd bindings/ruby && ruby extconf.rb --vendor' BTW.

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

2015-06-13 Thread Jinwoo Lee
On Sat, Jun 13, 2015 at 02:11 PM, David Bremner wrote: > 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

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

2015-06-13 Thread Jinwoo Lee
On Sat, Jun 13, 2015 at 01:46 PM, Jinwoo Lee wrote: > On Sat, Jun 13, 2015 at 12:59 PM, Jinwoo Lee wrote: >> This breaks Mac OS X. ruby-bindings depends on lib/libnotmuch.so but it >> should be lib/libnotmuch.dylib on OS X. >> >> That makes `make' and `make install' fail. > > Even after I

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

2015-06-13 Thread Jinwoo Lee
On Sat, Jun 13, 2015 at 12:59 PM, Jinwoo Lee wrote: > This breaks Mac OS X. ruby-bindings depends on lib/libnotmuch.so but it > should be lib/libnotmuch.dylib on OS X. > > That makes `make' and `make install' fail. Even after I update the dependency to lib/libnotmuch.dylib, building

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

2015-06-13 Thread Jinwoo Lee
This breaks Mac OS X. ruby-bindings depends on lib/libnotmuch.so but it should be lib/libnotmuch.dylib on OS X. That makes `make' and `make install' fail. On Fri, Jun 12, 2015 at 11:37 PM, David Bremner wrote: > David Bremner writes: > >> Because ruby generates a Makefile, we have to use

Syntactic sugar for range syntax

2015-06-13 Thread Robert Künnemann
Hi! Thanks for your response! On 11/06, Jani Nikula wrote: >> date:today-1week..today >In other words, date:1w.. >The reference for relative dates is "now" if one is not specified. >The minus sign means nothing, relative dates all refer to the past >and are added together. That's good enough

[PATCH v5 3/3] emacs: Bind filter in search to 'l'

2015-06-13 Thread Mark Walters
Change the key binding for filter (or "limit") in search-mode. This gives consistency with the new filter in show-mode, and frees 'f' for forward-thread in the future. --- emacs/notmuch.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emacs/notmuch.el b/emacs/notmuch.el

[PATCH v5 2/3] emacs: add a filter option to show

2015-06-13 Thread Mark Walters
Show the current thread with a different filter (i.e., open messages in the thread matching the new query). Bound to 'l' for "limit". Note that it is not the same as filter in search mode as it replaces the existing query rather than ANDing with it (but it does keep the thread-id part of the

[PATCH v5 1/3] emacs: split notmuch-show-apply-state

2015-06-13 Thread Mark Walters
Separate out a notmuch-show-goto-msg-id sub-function from notmuch-show-apply-state. There should be no functional change but the next patch will call the new function. --- emacs/notmuch-show.el | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git

[PATCH v5 0/3] Add filter to emacs show mode

2015-06-13 Thread Mark Walters
The previous version of this patch was over 3 years ago at id:1335658006-20161-1-git-send-email-markwalters1009 at gmail.com The reason the patch stopped was that it marked messages read (removed the unread tag) spuriously (see Austin's review id:20120429005736.GK2704 at mit.edu) and this was

[RFC PATCH] emacs: show: show attachment size

2015-06-13 Thread Mark Walters
Display the attachment size in kB or MB in the part button. This uses the content-length header and guesses the actual size from that, so the value will be close but not exact. --- This patch adds some text to the part button saying how big the part is. This is particularly useful when running

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

2015-06-13 Thread David Bremner
David Bremner writes: > Because ruby generates a Makefile, we have to use recursive make. > Because mkmf.rb hardcodes the name Makefile, put our Makefile{.local} > in the parent directory. Pushed the first patch in the series. Let's see if anything breaks. d

[PATCH] emacs search: stash query

2015-06-13 Thread David Bremner
Mark Walters writes: > Add keybinding c q to stash the current query in search mode. > --- > pushed. If you're going to complain about the keybinding, please do it soon before everyone else gets used to it. d

Re: Understanding the replied tag

2015-06-13 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

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

2015-06-13 Thread David Bremner
Jinwoo Lee jinwo...@gmail.com 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?

Re: search query replytoid:blah

2015-06-13 Thread David Bremner
Xu Wang xuwang...@gmail.com 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

Re: Understanding the replied tag

2015-06-13 Thread Austin Clements
Hi Xu. I may be misunderstanding your email, but it sounds like you want to know if a message has *any* reply message. That's not what the replied tag indicates. The replied tag indicates that *you* have sent a reply to a message. Mechanically, when you hit, say, r to start a reply and then

Re: search query replytoid:blah

2015-06-13 Thread Xu Wang
On Sat, Jun 13, 2015 at 5:14 PM, David Bremner da...@tethera.net wrote: Xu Wang xuwang...@gmail.com 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

Re: Understanding the replied tag

2015-06-13 Thread Xu Wang
On Thu, Jun 11, 2015 at 2:25 PM, Jani Nikula j...@nikula.org wrote: On Thu, 11 Jun 2015, Xu Wang xuwang...@gmail.com wrote: Dear all, First, I am extremely excited to be a part of this list now. notmuch has really helped me. Thank you go all individuals working to improve it and to help

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

2015-06-13 Thread David Bremner
David Bremner da...@tethera.net writes: Because ruby generates a Makefile, we have to use recursive make. Because mkmf.rb hardcodes the name Makefile, put our Makefile{.local} in the parent directory. Pushed the first patch in the series. Let's see if anything breaks. d

[PATCH v5 1/3] emacs: split notmuch-show-apply-state

2015-06-13 Thread Mark Walters
Separate out a notmuch-show-goto-msg-id sub-function from notmuch-show-apply-state. There should be no functional change but the next patch will call the new function. --- emacs/notmuch-show.el | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git

[PATCH v5 2/3] emacs: add a filter option to show

2015-06-13 Thread Mark Walters
Show the current thread with a different filter (i.e., open messages in the thread matching the new query). Bound to 'l' for limit. Note that it is not the same as filter in search mode as it replaces the existing query rather than ANDing with it (but it does keep the thread-id part of the

[PATCH v5 0/3] Add filter to emacs show mode

2015-06-13 Thread Mark Walters
The previous version of this patch was over 3 years ago at id:1335658006-20161-1-git-send-email-markwalters1...@gmail.com The reason the patch stopped was that it marked messages read (removed the unread tag) spuriously (see Austin's review id:20120429005736.gk2...@mit.edu) and this was difficult

[PATCH v5 3/3] emacs: Bind filter in search to 'l'

2015-06-13 Thread Mark Walters
Change the key binding for filter (or limit) in search-mode. This gives consistency with the new filter in show-mode, and frees 'f' for forward-thread in the future. --- emacs/notmuch.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emacs/notmuch.el b/emacs/notmuch.el

Re: Syntactic sugar for range syntax

2015-06-13 Thread Robert Künnemann
Hi! Thanks for your response! On 11/06, Jani Nikula wrote: date:today-1week..today In other words, date:1w.. The reference for relative dates is now if one is not specified. The minus sign means nothing, relative dates all refer to the past and are added together. That's good enough for my

Re: Understanding the replied tag

2015-06-13 Thread Xu Wang
On Thu, Jun 11, 2015 at 2:39 PM, Xu Wang xuwang...@gmail.com wrote: On Thu, Jun 11, 2015 at 2:25 PM, Jani Nikula j...@nikula.org wrote: On Thu, 11 Jun 2015, Xu Wang xuwang...@gmail.com wrote: Dear all, First, I am extremely excited to be a part of this list now. notmuch has really helped me.

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

2015-06-13 Thread Jinwoo Lee
This breaks Mac OS X. ruby-bindings depends on lib/libnotmuch.so but it should be lib/libnotmuch.dylib on OS X. That makes `make' and `make install' fail. On Fri, Jun 12, 2015 at 11:37 PM, David Bremner da...@tethera.net wrote: David Bremner da...@tethera.net writes: Because ruby generates a

search query replytoid:blah

2015-06-13 Thread Xu Wang
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? Kind regards, Xu ___

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

2015-06-13 Thread Jinwoo Lee
On Sat, Jun 13, 2015 at 12:59 PM, Jinwoo Lee jinwo...@gmail.com wrote: This breaks Mac OS X. ruby-bindings depends on lib/libnotmuch.so but it should be lib/libnotmuch.dylib on OS X. That makes `make' and `make install' fail. Even after I update the dependency to lib/libnotmuch.dylib,

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

2015-06-13 Thread Jinwoo Lee
On Sat, Jun 13, 2015 at 01:46 PM, Jinwoo Lee jinwo...@gmail.com wrote: On Sat, Jun 13, 2015 at 12:59 PM, Jinwoo Lee jinwo...@gmail.com wrote: This breaks Mac OS X. ruby-bindings depends on lib/libnotmuch.so but it should be lib/libnotmuch.dylib on OS X. That makes `make' and `make install'

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

2015-06-13 Thread David Bremner
Jinwoo Lee jinwo...@gmail.com 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

Re: search query replytoid:blah

2015-06-13 Thread David Bremner
Xu Wang xuwang...@gmail.com 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

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

2015-06-13 Thread Jinwoo Lee
On Sat, Jun 13, 2015 at 02:11 PM, David Bremner da...@tethera.net wrote: Jinwoo Lee jinwo...@gmail.com 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

Re: Understanding the replied tag

2015-06-13 Thread Suvayu Ali
Hi, On Sat, Jun 13, 2015 at 02:44:46PM -0400, Xu Wang wrote: Thank you. The problem in the end is that I would like 'notmuch new' to not only schronize the 'reply' tag but to master handle the reply tag because notmuch knows which messages have been replied to (because it is aware of

Re: search query replytoid:blah

2015-06-13 Thread Suvayu Ali
Hi, 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 MESSAGEID. How to enter such a query into notmuch? AFAIK, this

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

2015-06-13 Thread Jinwoo Lee
That error is from 'cd bindings/ruby ruby extconf.rb --vendor' BTW. ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

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

2015-06-13 Thread Jinwoo Lee
On Sat, Jun 13, 2015 at 02:24 PM, Jinwoo Lee jinwo...@gmail.com wrote: That error is from 'cd bindings/ruby ruby extconf.rb --vendor' BTW. The contents of mkmf.log are below. It shows a warning about -L/usr/local/lib and I don't have the directory /usr/local/lib on my machine. I'm not sure if