From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id CECB56DE0314 for ; Wed, 13 Sep 2017 00:55:38 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.446 X-Spam-Level: X-Spam-Status: No, score=0.446 tagged_above=-999 required=5 tests=[AWL=-0.187, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_NEUTRAL=0.652, UNPARSEABLE_RELAY=0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3Ap0-wbn5SOS for ; Wed, 13 Sep 2017 00:55:37 -0700 (PDT) Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by arlo.cworth.org (Postfix) with ESMTPS id 410716DE02DA for ; Wed, 13 Sep 2017 00:55:36 -0700 (PDT) Received: by mail-wm0-f52.google.com with SMTP id 189so5911812wmh.1 for ; Wed, 13 Sep 2017 00:55:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dme-org.20150623.gappssmtp.com; s=20150623; h=to:subject:in-reply-to:references:from:date:message-id:mime-version :content-transfer-encoding; bh=UKODYhW8m4ZRsuPooQW3WHBx/Gdjon9ts2mvIoApc1w=; b=Sn/1fJbqc1gKARzfS0dgvtMpU8DDmnGwvAX6hmPaXlhpsy0LigqlsjLW/EhUu4efH4 27bC6CcX5F7+yMAaBXhk0BSSgaXudnl1K27Ru6yGrKFItjUqv100fH5RLuwcNog6yqTP MRshz4FUKoRH2u5b2tjaUF8eGjG+mAB/hu16NZF+Y46c5Vm8goVDEeX7GqlGBHBdKu5F 6jtCtLcay2nVgQvroK0CD3U/2fCCx4c6+794x9YhNufPcAENrgNU92VWLZC30Com0k2O FU6acjEwNo6ZhQGbtKZ156XaP1hk5UjMSsyIK5TZCVr7YcyGdGVp1RhDF42CeTMgTjTh rIuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:subject:in-reply-to:references:from:date :message-id:mime-version:content-transfer-encoding; bh=UKODYhW8m4ZRsuPooQW3WHBx/Gdjon9ts2mvIoApc1w=; b=uUSP4eQFrvWC14irr6Bkw/+lnH2kh5Z9t9eMIHiMD8IounouYVFp+H4xCKafZEyJp/ D4ICb31UW434ZaVIF+3sDcxcoYrs1q7bYgKqhsFrkbKVV3agqT4xaFVj42DGpkMTjip+ UItISsAbMApi1K5zpSXZsqvivmTPxBihgYNtEwQSdXjUIJ6vl7aRcXgEJ2QEOUAx/iUn oTRDSGtu2nFecuWlhzIOVYF0/0qtfEx6m41LX0uTvRy58DtGVb38MQNM63N4kvnknDBX yBFrNcmCLZj41KDDKRnU4ijBOBtA8bxgR171hJmzCeqjtKcwOP+rQIYKxHuISUJWp4Ve v0iA== X-Gm-Message-State: AHPjjUjWX3podT3H2qG/0pGrHgZxqKaWyhIcdTxK4+KYqC3ogZVg+AEU eb/fA2frB8B/tneu X-Google-Smtp-Source: AOwi7QBzo7LaH2uxXdQGfDlmL16tntulyr+s1z2/Qyd01H1NFxjWXCHi1J2nGdr8EBDKBq+rnLdQGQ== X-Received: by 10.80.203.66 with SMTP id h2mr1382043edi.54.1505289333924; Wed, 13 Sep 2017 00:55:33 -0700 (PDT) Received: from disaster-area.hh.sledj.net (disaster-area.hh.sledj.net. [81.149.164.25]) by smtp.gmail.com with ESMTPSA id s14sm6129774edk.89.2017.09.13.00.55.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Sep 2017 00:55:32 -0700 (PDT) Received: from localhost (disaster-area.hh.sledj.net [local]) by disaster-area.hh.sledj.net (OpenSMTPD) with ESMTPA id 67d08110; Wed, 13 Sep 2017 07:55:31 +0000 (UTC) To: David Bremner , David Bremner , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs/address: use member instead of memq to check for pair In-Reply-To: <20170913013146.32286-1-david@tethera.net> References: <87mv61jyq8.fsf@no_dom.tld> <20170913013146.32286-1-david@tethera.net> X-HGTTG: heart-of-gold From: David Edmondson Date: Wed, 13 Sep 2017 08:55:31 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Sep 2017 07:55:39 -0000 Looks good. On Tuesday, 2017-09-12 at 22:31:46 -0300, David Bremner wrote: > Quoting from the elisp reference: > > For other types (e.g., lists, vectors, strings), two arguments > with the same contents or elements are not necessarily =E2=80=98eq= =E2=80=99 to > each other. > > Thanks to "Attic Hermit" for the fix. > --- > emacs/notmuch-address.el | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/emacs/notmuch-address.el b/emacs/notmuch-address.el > index f937e708..64887a43 100644 > --- a/emacs/notmuch-address.el > +++ b/emacs/notmuch-address.el > @@ -159,7 +159,7 @@ matching `notmuch-address-completion-headers-regexp'. > #'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))))) >=20=20 > --=20 > 2.14.1 > > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > https://notmuchmail.org/mailman/listinfo/notmuch dme. --=20 And the sign said: long haired freaky people need not apply.