unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Attic Hermit <fjdksl@cock.li>
To: notmuch@notmuchmail.org
Subject: [BUG] Notmuch keeps adding notmuch-address-expand-name to message-completion-alist
Date: Mon, 11 Sep 2017 13:21:30 +0900	[thread overview]
Message-ID: <8760cpn9v9.fsf@no_dom.tld> (raw)

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 think there's bug in `notmuch-address-setup` on `notmuch-address.el`.
It checks that the pair exists in the `message-completion-alist` by
`memq`, but it seems to be amended to `member` instead.

P.S. Because I'm not a programming expert or a student, I don't know how
to send a patch to amend this problem. So I send where the bug was found
and the way how I tinkered it in English. I searched the file where bug
exists in the git repository of Notmuch, and found that there still was
a bug. I hope this will help to fix the bug.
-- 
Attic Hermit

             reply	other threads:[~2017-09-11  4:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-11  4:21 Attic Hermit [this message]
2017-09-11 10:14 ` [BUG] Notmuch keeps adding notmuch-address-expand-name to message-completion-alist David Bremner
2017-09-11 10:50   ` Attic Hermit
2017-09-13  1:31     ` [PATCH] emacs/address: use member instead of memq to check for pair David Bremner
2017-09-13  7:55       ` David Edmondson
2017-09-13 12:07       ` David Bremner
2017-09-13 12:48         ` Attic Hermit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8760cpn9v9.fsf@no_dom.tld \
    --to=fjdksl@cock.li \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).