Re: [PATCH v2] emacs: use message-dont-reply-to-names when composing replies

2022-06-08 Thread Jose A Ortega Ruiz
On Wed, Jun 08 2022, David Bremner wrote: > jao writes: > >> >> >> +(defun notmuch-mua--remove-dont-reply-to-names () >> + (when-let ((nr (message-dont-reply-to-names))) > > Using when-let is fine with me, but I wonder if we should follow the > advice in subr-x to do > >

Re: [PATCH v2] emacs: use message-dont-reply-to-names when composing replies

2022-06-08 Thread David Bremner
jao writes: > > > +(defun notmuch-mua--remove-dont-reply-to-names () > + (when-let ((nr (message-dont-reply-to-names))) Using when-let is fine with me, but I wonder if we should follow the advice in subr-x to do (eval-when-compile (require 'subr-x)) It's autoloaded, but maybe we can

[PATCH v2] emacs: use message-dont-reply-to-names when composing replies

2022-06-04 Thread jao
notmuch-mua functions for replies now use the built-in customizable variable message-dont-reply-to-names with the same semantics as message-mode. --- This version of the patch adds more testing and ensures predicate values work Signed-off-by: jao --- doc/notmuch-emacs.rst | 9