Re: [PATCH 0/4] Allow specifying alternate names for addresses in other_email

2016-08-14 Thread Shea Levy
Hi Jani, Jani Nikula <j...@nikula.org> writes: > On Tue, 09 Aug 2016, Shea Levy <s...@shealevy.com> wrote: >> Currently, while notmuch-reply will recognize email addresses other than >> the main address with user.other_email, it always sets the name part of >>

[PATCH 4/4] Update NEWS for user.other_name

2016-08-09 Thread Shea Levy
--- NEWS | 5 + 1 file changed, 5 insertions(+) diff --git a/NEWS b/NEWS index 3a9c8d3..fdf9c81 100644 --- a/NEWS +++ b/NEWS @@ -16,6 +16,11 @@ Ruby Bindings Add support for `notmuch_database_get_all_tags` +General +--- + +Add the `user.other_name` configuration setting + Notmuch

[PATCH 2/4] notmuch-reply: respect users.other_name in From

2016-08-09 Thread Shea Levy
--- notmuch-reply.c | 129 1 file changed, 92 insertions(+), 37 deletions(-) diff --git a/notmuch-reply.c b/notmuch-reply.c index 4951373..1c205f9 100644 --- a/notmuch-reply.c +++ b/notmuch-reply.c @@ -118,25 +118,41 @@ match_address

[PATCH 3/4] Add documentation for user.other_name

2016-08-09 Thread Shea Levy
--- doc/man1/notmuch-config.rst | 10 ++ 1 file changed, 10 insertions(+) diff --git a/doc/man1/notmuch-config.rst b/doc/man1/notmuch-config.rst index 5a517eb..6844c8d 100644 --- a/doc/man1/notmuch-config.rst +++ b/doc/man1/notmuch-config.rst @@ -68,6 +68,16 @@ The available

[PATCH 0/4] Allow specifying alternate names for addresses in other_email

2016-08-09 Thread Shea Levy
Currently, while notmuch-reply will recognize email addresses other than the main address with user.other_email, it always sets the name part of the address in the envelope-from and From headers to user.name. This patchset enables specifying names on a per-address basis with a new user.other_name

[PATCH 1/4] Add user.other_name property to associate names with other_email.

2016-08-09 Thread Shea Levy
Entries are paired with the email address at the same index in other_email. To use user.name for a given other_email, leave that entry blank or leave user.other_name shorter than the relevant index altogether. --- notmuch-client.h | 9 + notmuch-config.c | 32