You can get rid of the bug by using `member` instead of `memq` in `nomtuch-address-setup`: diff -u a/notmuch-address.el b/notmuch-address.el --- a/notmuch-address.el 2017-08-05 18:45:40.000000000 +0900 +++ b/notmuch-address.el 2017-09-11 19:40:41.230872915 +0900 @@ -159,7 +159,7 @@ #'notmuch-address-expand-name))) (when setup-company (notmuch-company-setup)) - (unless (memq pair message-completion-alist) + (unless (member pair message-completion-alist) (setq message-completion-alist (push pair message-completion-alist))))) David Bremner <david@tethera.net> writes: > Attic Hermit <fjdksl@cock.li> writes: > >> When I invocate compose-mail or something related with the message-mode >> buffer and Notmuch, Notmuch keeps adding a pair like below to >> `message-completion-alist`: >> >> ("^\\(Resent-\\)?\\(To\\|B?Cc\\|Reply-To\\|From\\|Mail-Followup-To\\|Mail-Copies-To\\):" >> . notmuch-address-expand-name) >> > > I don't know much about the cause, but I can confirm that many such > pairs are added to this list. > > d -- Attic Hermit _______________________________________________ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch