Re: [PATCH v4 2/4] reply: Add a JSON reply format.

2012-02-10 Thread Dmitry Kurochkin
Hi Adam. On Thu, 9 Feb 2012 21:27:29 -0700, Adam Wolfe Gordon wrote: > Hi Dmitry, > > On Thu, Feb 9, 2012 at 00:22, Dmitry Kurochkin > wrote: > >> Reply now enforces that only one message is returned, as the semantics > >> of replying to multiple messages are not wel-defined. > > > > s/wel/well

Re: [PATCH v2 1/2] emacs: support defining a list of alternative parts to show

2012-02-10 Thread David Edmondson
On Thu, 9 Feb 2012 14:46:02 +, Jani Nikula wrote: > Make notmuch-show-all-multipart/alternative-parts accept a list of > regexps to match the part types to determine which parts to show in > addition to the preferred types. This allows the user to force display > some alternative part types w

Re: [PATCH v2 2/2] emacs: support text/calendar mime type

2012-02-10 Thread David Edmondson
Looks good. pgpTxJOJe1ggB.pgp Description: PGP signature ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

Re: [PATCH v2 1/2] emacs: support defining a list of alternative parts to show

2012-02-10 Thread Jani Nikula
On Fri, 10 Feb 2012 10:05:46 +, David Edmondson wrote: > On Thu, 9 Feb 2012 14:46:02 +, Jani Nikula wrote: > > Make notmuch-show-all-multipart/alternative-parts accept a list of > > regexps to match the part types to determine which parts to show in > > addition to the preferred types. T

Re: [PATCH] Build-Depend on libgmime-2.6-dev | libgmime2.4-dev

2012-02-10 Thread David Bremner
On Thu, 9 Feb 2012 18:20:20 -0500, Daniel Kahn Gillmor wrote: > libgmime-2.6-dev entered debian unstable today. If 2.6 is available, > notmuch should build against 2.6 instead of 2.4, as 2.6 is the current > upstream stable version of libgmime. Hi Daniel; I'm not necessarily opposed to migrat

Re: [PATCH 0/3] notmuch show argument parsing

2012-02-10 Thread Mark Walters
On Mon, 6 Feb 2012 21:57:20 +0200, Jani Nikula wrote: > Hi all, > > v2 addressing Austin's comments in id:"20120206041205.gp10...@mit.edu". > Separate the bool cleanup into a new patch, cleaning up notmuch reply > while at it. No functional changes since v1. > > For reviewing convenience, the

Re: [PATCH] Build-Depend on libgmime-2.6-dev | libgmime2.4-dev

2012-02-10 Thread Daniel Kahn Gillmor
On 02/10/2012 08:15 AM, David Bremner wrote: > I'm not necessarily opposed to migrating to the Debian packages to gmime > 2.6, but I'd like to point out that your patch is might be more decisive > than intended, since the build daemons strip all but the first > dependency. This will cause the build

Re: Set "From" based on "To" when replying

2012-02-10 Thread Simon Campese
On Fri, 03 Feb 2012 13:54:07 +0200, Tomi Ollila wrote: > You could (also) check this (or some other with same name) > > https://github.com/altruizine/gnus-alias/blob/master/gnus-alias.el Thanks for the link, but this method is interactive. I want something automatic. Nevertheless a nice thing t

Re: [PATCH] Build-Depend on libgmime-2.6-dev | libgmime2.4-dev

2012-02-10 Thread Tomi Ollila
On Fri, 10 Feb 2012 09:15:53 -0400, David Bremner wrote: > On Thu, 9 Feb 2012 18:20:20 -0500, Daniel Kahn Gillmor > wrote: > > libgmime-2.6-dev entered debian unstable today. If 2.6 is available, > > notmuch should build against 2.6 instead of 2.4, as 2.6 is the current > > upstream stable ver

Re: [PATCH] Build-Depend on libgmime-2.6-dev | libgmime2.4-dev

2012-02-10 Thread Daniel Kahn Gillmor
On 02/10/2012 03:57 PM, Tomi Ollila wrote: > For the time being, should the order be: > > - libgmime-2.4-dev, > + libgmime-2.4-dev | libgmime-2.6-dev, 2.6 is available and functional in unstable. I think we should prefer 2.6. This will enable (and encourage) us to approach S/MIME support too (w

patches to mutt-notmuch

2012-02-10 Thread Scott Barker
I have recently switched from using mutt + maildir-utils (mu) for searching my email to using mutt + notmuch. I made use of the mutt-notmuch perl script by Stefano Zacchiroli to integrate mutt and notmuch. You can find it at: http://upsilon.cc/~zack/blog/posts/2011/01/how_to_use_Notmuch_with_Mutt

Re: Set "From" based on "To" when replying

2012-02-10 Thread Simon Campese
> Yeah, I think this is the point: you want "*@mydomain.org" to be one of > the user.other_email. I don't see why that couldn't be done with a > little work in notmuch-reply.c. I wouldn't mind seeing this > functionality as well, actually. So here's my shabby solution (pasted from my .emacs): ;

Re: Set "From" based on "To" when replying

2012-02-10 Thread Istvan Marko
Simon Campese writes: > I would like to implement the following behaviour: When replying to a > mail that has "something-3q2tfjf0mexg9huczpv...@public.gmane.org" in the > "To"-header, I would like > to have the "From"-header of the reply to be automatically set to this > address. message-alter

unexpected behavior for search

2012-02-10 Thread Bhaskara Marthi
Either I have the search syntax wrong or there's a bug somewhere. Is this not how to combine multiple tags? The output of the first invocation shows that there exist threads tagged both inbox and unread, but the second invocation does not find them. - Bhaskara $ notmuch search $(date +%s -d 2012

Re: unexpected behavior for search

2012-02-10 Thread Jeremy Nickurak
What you'll probably find is that, of the messages in those threads, some match tag:inbox, and some match tag:unread, but none match both. Notmuch's search returns threads that have matching messages, not matching threads. On Fri, Feb 10, 2012 at 23:37, Bhaskara Marthi wrote: > Either I have the

[PATCH v4 2/4] reply: Add a JSON reply format.

2012-02-10 Thread Dmitry Kurochkin
Hi Adam. On Thu, 9 Feb 2012 21:27:29 -0700, Adam Wolfe Gordon wrote: > Hi Dmitry, > > On Thu, Feb 9, 2012 at 00:22, Dmitry Kurochkin > wrote: > >> Reply now enforces that only one message is returned, as the semantics > >> of replying to multiple messages are not wel-defined. > > > > s/wel/wel

[PATCH v2 1/2] emacs: support defining a list of alternative parts to show

2012-02-10 Thread David Edmondson
t-get inner-part :id) > inner-type inner-type nil " (not shown)" > inner-parts) > -- > 1.7.1 > -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120210/4b01ed8e/attachment.pgp>

[PATCH v2 2/2] emacs: support text/calendar mime type

2012-02-10 Thread David Edmondson
Looks good. -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120210/d8fb282f/attachment.pgp>

[PATCH v2 1/2] emacs: support defining a list of alternative parts to show

2012-02-10 Thread Jani Nikula
On Fri, 10 Feb 2012 10:05:46 +, David Edmondson wrote: > On Thu, 9 Feb 2012 14:46:02 +, Jani Nikula wrote: > > Make notmuch-show-all-multipart/alternative-parts accept a list of > > regexps to match the part types to determine which parts to show in > > addition to the preferred types. T

[PATCH] Build-Depend on libgmime-2.6-dev | libgmime2.4-dev

2012-02-10 Thread David Bremner
On Thu, 9 Feb 2012 18:20:20 -0500, Daniel Kahn Gillmor wrote: > libgmime-2.6-dev entered debian unstable today. If 2.6 is available, > notmuch should build against 2.6 instead of 2.4, as 2.6 is the current > upstream stable version of libgmime. Hi Daniel; I'm not necessarily opposed to migrati

[PATCH 0/3] notmuch show argument parsing

2012-02-10 Thread Mark Walters
On Mon, 6 Feb 2012 21:57:20 +0200, Jani Nikula wrote: > Hi all, > > v2 addressing Austin's comments in id:"20120206041205.GP10898 at mit.edu". > Separate the bool cleanup into a new patch, cleaning up notmuch reply > while at it. No functional changes since v1. > > For reviewing convenience, t

[PATCH] Build-Depend on libgmime-2.6-dev | libgmime2.4-dev

2012-02-10 Thread Daniel Kahn Gillmor
On 02/10/2012 08:15 AM, David Bremner wrote: > I'm not necessarily opposed to migrating to the Debian packages to gmime > 2.6, but I'd like to point out that your patch is might be more decisive > than intended, since the build daemons strip all but the first > dependency. This will cause the build

Set "From" based on "To" when replying

2012-02-10 Thread Simon Campese
On Fri, 03 Feb 2012 13:54:07 +0200, Tomi Ollila wrote: > You could (also) check this (or some other with same name) > > https://github.com/altruizine/gnus-alias/blob/master/gnus-alias.el Thanks for the link, but this method is interactive. I want something automatic. Nevertheless a nice thing t

[PATCH] Build-Depend on libgmime-2.6-dev | libgmime2.4-dev

2012-02-10 Thread Tomi Ollila
On Fri, 10 Feb 2012 09:15:53 -0400, David Bremner wrote: > On Thu, 9 Feb 2012 18:20:20 -0500, Daniel Kahn Gillmor fifthhorseman.net> wrote: > > libgmime-2.6-dev entered debian unstable today. If 2.6 is available, > > notmuch should build against 2.6 instead of 2.4, as 2.6 is the current > > ups

[PATCH] Build-Depend on libgmime-2.6-dev | libgmime2.4-dev

2012-02-10 Thread Daniel Kahn Gillmor
On 02/10/2012 03:57 PM, Tomi Ollila wrote: > For the time being, should the order be: > > - libgmime-2.4-dev, > + libgmime-2.4-dev | libgmime-2.6-dev, 2.6 is available and functional in unstable. I think we should prefer 2.6. This will enable (and encourage) us to approach S/MIME support too (w

patches to mutt-notmuch

2012-02-10 Thread Scott Barker
I have recently switched from using mutt + maildir-utils (mu) for searching my email to using mutt + notmuch. I made use of the mutt-notmuch perl script by Stefano Zacchiroli to integrate mutt and notmuch. You can find it at: http://upsilon.cc/~zack/blog/posts/2011/01/how_to_use_Notmuch_with_Mutt

Set "From" based on "To" when replying

2012-02-10 Thread Istvan Marko
Simon Campese writes: > I would like to implement the following behaviour: When replying to a > mail that has "something-3Q2Tfjf0mexg9hUCZPvPmw at public.gmane.org" in the > "To"-header, I would like > to have the "From"-header of the reply to be automatically set to this > address. message-al

unexpected behavior for search

2012-02-10 Thread Bhaskara Marthi
$ notmuch search tag:inbox and tag:unread $ -- next part -- An HTML attachment was scrubbed... URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120210/e93912c5/attachment.html>

unexpected behavior for search

2012-02-10 Thread Jeremy Nickurak
What you'll probably find is that, of the messages in those threads, some match tag:inbox, and some match tag:unread, but none match both. Notmuch's search returns threads that have matching messages, not matching threads. On Fri, Feb 10, 2012 at 23:37, Bhaskara Marthi wrote: > Either I have the

default search sort order

2012-02-10 Thread Philippe LeCavalier
Just posting to the right place ;) Sorry. -- next part -- An embedded message was scrubbed... From: Philippe LeCavalier Subject: default search sort order Date: Fri, 10 Feb 2012 09:37:07 -0500 Size: 585 URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120