[PATCH 2/2] vim: parse 'from' address

2011-02-06 Thread Felipe Contreras
In order to pass it to sendmail. Signed-off-by: Felipe Contreras --- vim/plugin/notmuch.vim | 11 ++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim index 002b771..08832cc 100644 --- a/vim/plugin/notmuch.vim +++ b/vim/plu

[PATCH 1/2] vim: use sendmail directly

2011-02-06 Thread Felipe Contreras
The problem with 'mailx' is that it's not standardized, and it doesn't allow the -f option, which is pretty important on many sendmail configurations. Signed-off-by: Felipe Contreras --- vim/plugin/notmuch.vim |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/vim/pl

[PATCH 0/2] vim: improvements for sendmail

2011-02-06 Thread Felipe Contreras
Hi, I use msmtp to send mail, and I rely on the 'from' address to be set correctly (-f foo at bar.com) in order to pick the right account to send mail from. Postfix and other MTA's can be configured in similar ways. It's impossible to use this functionality with mailx, so let's use sendmail dire

[PATCH] Have --format=mbox insert Status:

2011-02-06 Thread Peter John Hartman
> Hi Peter, > > would this output be compatible with all mbox consumers or only with > those who expect the Status: line? If the latter, we would probably want > a command line option to enable this. Hi, As far as I've been able to tell everyone respects RO in mbox, so I don't see this as a prob

[PATCH] test/search: add check for slightly trick search

2011-02-06 Thread Felipe Contreras
It's not really tricky, there are many addresses with a '-' in them. I personally really want to differentiate between foo, foo-testing, and foo-patches. This fails, but it shouldn't: FAIL Search by from (tricky): --- search.17.expected 2011-02-06 13:16:31.871509560 + +++

Re: [PATCH] test/search: add check for slightly trick search

2011-02-06 Thread Felipe Contreras
On Sun, Feb 6, 2011 at 3:21 PM, Felipe Contreras wrote: > It's not really tricky, there are many addresses with a '-' in them. I > personally really want to differentiate between foo, foo-testing, and > foo-patches. > > This fails, but it shouldn't: As discussed in IRC, perhaps the query should b

Re: [PATCH] Have --format=mbox insert Status:

2011-02-06 Thread Peter John Hartman
> Hi Peter, > > would this output be compatible with all mbox consumers or only with > those who expect the Status: line? If the latter, we would probably want > a command line option to enable this. Hi, As far as I've been able to tell everyone respects RO in mbox, so I don't see this as a prob

[PATCH 2/2] vim: parse 'from' address

2011-02-06 Thread Felipe Contreras
In order to pass it to sendmail. Signed-off-by: Felipe Contreras --- vim/plugin/notmuch.vim | 11 ++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim index 002b771..08832cc 100644 --- a/vim/plugin/notmuch.vim +++ b/vim/plu

[PATCH 0/2] vim: improvements for sendmail

2011-02-06 Thread Felipe Contreras
Hi, I use msmtp to send mail, and I rely on the 'from' address to be set correctly (-f f...@bar.com) in order to pick the right account to send mail from. Postfix and other MTA's can be configured in similar ways. It's impossible to use this functionality with mailx, so let's use sendmail directl

[PATCH 1/2] vim: use sendmail directly

2011-02-06 Thread Felipe Contreras
The problem with 'mailx' is that it's not standardized, and it doesn't allow the -f option, which is pretty important on many sendmail configurations. Signed-off-by: Felipe Contreras --- vim/plugin/notmuch.vim |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/vim/pl

[PATCH] test/search: add check for slightly trick search

2011-02-06 Thread Felipe Contreras
It's not really tricky, there are many addresses with a '-' in them. I personally really want to differentiate between foo, foo-testing, and foo-patches. This fails, but it shouldn't: FAIL Search by from (tricky): --- search.17.expected 2011-02-06 13:16:31.871509560 + +++

notmuch-show-get-filename and maildir location

2011-02-06 Thread Michal Sojka
On Fri, 04 Feb 2011, micah wrote: > > I recently upgraded to the newer notmuch to test out the new folder > patch (its great!) and the new decryption/signature verification (its > fantastic!), and noticed something odd start happening. > > I think that notmuch moves a new message to the maildir c

Remote usage script updated

2011-02-06 Thread Michal Sojka
On Sat, 05 Feb 2011, Michal Sojka wrote: > On Thu, 27 Jan 2011, Jesse Rosenthal wrote: > > A future feature might be to integrate the ControlMaster feature of > > openssh into the script, instead of having to open a connection > > manually, but there are some complications there (dead sockets still

[PATCH] Have --format=mbox insert Status:

2011-02-06 Thread Michal Sojka
On Wed, 02 Feb 2011, Peter John Hartman wrote: > Hi folks, > > This is not a complete patch, but should give you an idea. (It works well > enough for me, but I think it could do more). > > diff --git a/notmuch-show.c b/notmuch-show.c > index ef421ec..dff66de 100644 > --- a/notmuch-show.c > +++ b