[BUG] Notmuch keeps adding notmuch-address-expand-name to message-completion-alist
Attic Hermit
fjdksl at cock.li
Mon Sep 11 03:50:23 PDT 2017
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 at tethera.net> writes:
> Attic Hermit <fjdksl at 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
More information about the notmuch
mailing list