[notmuch] [PATCH] Change From and Bcc when creating reply draft buffer

2010-03-12 Thread Sebastian Spaeth
On Fri, 12 Mar 2010 10:22:09 -0500, Jameson Rollins wrote: > To me it seems the issue here is the distinction between the notmuch > CLI, and any other reader UI that uses it. AFAICT, the CLI actually has > no need to know what "your" email address is, so I don't see why it > should be configured

[notmuch] [PATCH] Change From and Bcc when creating reply draft buffer

2010-03-12 Thread Jameson Rollins
On Fri, 12 Mar 2010 08:49:35 +0100, Michal Sojka wrote: > Hmm, I understand. My worry about this approach is the following: Now it > is very straightforward to start using notmuch. You only answer a few > questions when you run notmuch for the first time and then it works. If > we apply your

[notmuch] [PATCH] Change From and Bcc when creating reply draft buffer

2010-03-12 Thread James Vasile
On Fri, 12 Mar 2010 08:49:35 +0100, Michal Sojka wrote: > On Thu, 11 Mar 2010, James Vasile wrote: > > On Thu, 11 Mar 2010 17:22:41 +0100, Michal Sojka > > wrote: > > > thanks for clarification. It all sounds reasonable. The only problem I > > > can see now is that if I create a new account on

[notmuch] [PATCH] Change From and Bcc when creating reply draft buffer

2010-03-12 Thread Michal Sojka
On Thu, 11 Mar 2010, James Vasile wrote: > On Thu, 11 Mar 2010 17:22:41 +0100, Michal Sojka > wrote: > > thanks for clarification. It all sounds reasonable. The only problem I > > can see now is that if I create a new account on my machine and run > > emacs there, then the value of

Re: [notmuch] [PATCH] Change From and Bcc when creating reply draft buffer

2010-03-12 Thread Jameson Rollins
On Fri, 12 Mar 2010 08:49:35 +0100, Michal Sojka sojk...@fel.cvut.cz wrote: Hmm, I understand. My worry about this approach is the following: Now it is very straightforward to start using notmuch. You only answer a few questions when you run notmuch for the first time and then it works. If we

Re: [notmuch] [PATCH] Change From and Bcc when creating reply draft buffer

2010-03-12 Thread Sebastian Spaeth
On Fri, 12 Mar 2010 10:22:09 -0500, Jameson Rollins jroll...@finestructure.net wrote: To me it seems the issue here is the distinction between the notmuch CLI, and any other reader UI that uses it. AFAICT, the CLI actually has no need to know what your email address is, so I don't see why it

[notmuch] [PATCH] Change From and Bcc when creating reply draft buffer

2010-03-11 Thread Michal Sojka
On Thu, 11 Mar 2010, James Vasile wrote: > On Thu, 11 Mar 2010 14:00:08 +0100, Michal Sojka > wrote: > > Hi James, > > > > On Tue, 09 Mar 2010, James Vasile wrote: > > > When notmuch creates a reply buffer, it guesses the From and Bcc > > > addresses. The client is in a better position to

[notmuch] [PATCH] Change From and Bcc when creating reply draft buffer

2010-03-11 Thread James Vasile
On Thu, 11 Mar 2010 17:22:41 +0100, Michal Sojka wrote: > thanks for clarification. It all sounds reasonable. The only problem I > can see now is that if I create a new account on my machine and run > emacs there, then the value of user-mail-address is @ > which doesn't refer to existing mailbox.

[notmuch] [PATCH] Change From and Bcc when creating reply draft buffer

2010-03-11 Thread Michal Sojka
Hi James, On Tue, 09 Mar 2010, James Vasile wrote: > When notmuch creates a reply buffer, it guesses the From and Bcc > addresses. The client is in a better position to guess these, and this > patch adjusts notmuch-reply accordingly. > > diff --git a/notmuch.el b/notmuch.el > index

[notmuch] [PATCH] Change From and Bcc when creating reply draft buffer

2010-03-11 Thread James Vasile
On Thu, 11 Mar 2010 14:00:08 +0100, Michal Sojka wrote: > Hi James, > > On Tue, 09 Mar 2010, James Vasile wrote: > > When notmuch creates a reply buffer, it guesses the From and Bcc > > addresses. The client is in a better position to guess these, and this > > patch adjusts notmuch-reply

Re: [notmuch] [PATCH] Change From and Bcc when creating reply draft buffer

2010-03-11 Thread James Vasile
On Thu, 11 Mar 2010 17:22:41 +0100, Michal Sojka sojk...@fel.cvut.cz wrote: thanks for clarification. It all sounds reasonable. The only problem I can see now is that if I create a new account on my machine and run emacs there, then the value of user-mail-address is login@hostname which

[notmuch] [PATCH] Change From and Bcc when creating reply draft buffer

2010-03-09 Thread James Vasile
When notmuch creates a reply buffer, it guesses the From and Bcc addresses. The client is in a better position to guess these, and this patch adjusts notmuch-reply accordingly. diff --git a/notmuch.el b/notmuch.el index ab56f48..07f957e 100644 --- a/notmuch.el +++ b/notmuch.el @@ -436,10 +436,20