Re: user.other_email wildcard config?

2024-03-03 Thread David Bremner
Charles Cazabon  writes:

> David Bremner  wrote:
>> Charles Cazabon  writes:
>> 
>> > Is there a way to have a wildcard, glob, or regex serve as the
>> > configuration for other_email?
>>
>> [...] the code currently assumes that is a list of literal email addresses.
>> I guess the emacs front-end would require some adaptation to change that to
>> a list of regexes, but probably not a heroic amount. The function
>> address_match in notmuch-reply.c would also need to be adjusted.
>
> Thanks for the reply, David.  I'm not an Emacs user, just using notmuch with
> mutt.  If this functionality isn't on the roadmap, I can give it a crack
> myself - but my time for working on other projects seems to be at a premium
> these days.  If I get anywhere with it, I'll send it in.

I hear you. I am also very slow on notmuch patch reviewing at the
moment, but we will get there in the end.

d
___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org


Re: user.other_email wildcard config?

2024-03-03 Thread Charles Cazabon
David Bremner  wrote:
> Charles Cazabon  writes:
> 
> > Is there a way to have a wildcard, glob, or regex serve as the
> > configuration for other_email?
>
> [...] the code currently assumes that is a list of literal email addresses.
> I guess the emacs front-end would require some adaptation to change that to
> a list of regexes, but probably not a heroic amount. The function
> address_match in notmuch-reply.c would also need to be adjusted.

Thanks for the reply, David.  I'm not an Emacs user, just using notmuch with
mutt.  If this functionality isn't on the roadmap, I can give it a crack
myself - but my time for working on other projects seems to be at a premium
these days.  If I get anywhere with it, I'll send it in.

Charles
-- 
--
Charles Cazabon  
Software, consulting, and services available at http://pyropus.ca/
--
___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org


Re: user.other_email wildcard config?

2024-03-03 Thread David Bremner
Charles Cazabon  writes:

> I've searched the list archives but have only found references to setting
> user.other_email to a list of actual addresses.  Is there a way to have a
> wildcard, glob, or regex serve as the configuration for other_email?  Have I
> missed something in the documentation?

No, you didn't miss anything; the code currently assumes that is a list
of literal email addresses. I guess the emacs front-end would require
some adaptation to change that to a list of regexes, but probably not a
heroic amount. The function address_match in notmuch-reply.c would also
need to be adjusted.
___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org