From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Ola Nilsson Newsgroups: gmane.emacs.bugs Subject: bug#23244: 24.4; let-alist does not handle vectors Date: Mon, 29 Jul 2019 13:25:54 +0200 Message-ID: References: <87d1q0gxpw.fsf@gmail.com> <878sshalv4.fsf@mouse.gnus.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000066c94e058ed02802" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="71336"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 23244@debbugs.gnu.org To: Lars Magne Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 29 13:27:08 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hs3o4-000IQJ-J7 for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Jul 2019 13:27:08 +0200 Original-Received: from localhost ([::1]:51168 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hs3o3-00069v-LJ for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Jul 2019 07:27:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50346) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hs3nz-00069p-84 for bug-gnu-emacs@gnu.org; Mon, 29 Jul 2019 07:27:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hs3ny-0004S7-3w for bug-gnu-emacs@gnu.org; Mon, 29 Jul 2019 07:27:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38919) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hs3ny-0004Rz-07 for bug-gnu-emacs@gnu.org; Mon, 29 Jul 2019 07:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hs3nx-0001BK-Qo for bug-gnu-emacs@gnu.org; Mon, 29 Jul 2019 07:27:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ola Nilsson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Jul 2019 11:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23244 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 23244-submit@debbugs.gnu.org id=B23244.15643995744482 (code B ref 23244); Mon, 29 Jul 2019 11:27:01 +0000 Original-Received: (at 23244) by debbugs.gnu.org; 29 Jul 2019 11:26:14 +0000 Original-Received: from localhost ([127.0.0.1]:47740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hs3nC-0001AE-FJ for submit@debbugs.gnu.org; Mon, 29 Jul 2019 07:26:14 -0400 Original-Received: from mail-pl1-f175.google.com ([209.85.214.175]:40486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hs3n9-00019w-HX for 23244@debbugs.gnu.org; Mon, 29 Jul 2019 07:26:11 -0400 Original-Received: by mail-pl1-f175.google.com with SMTP id a93so27352060pla.7 for <23244@debbugs.gnu.org>; Mon, 29 Jul 2019 04:26:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cclnxKnVla6oNv+N2Y9kfCWrpRUFKLi/hDH7C1q90Bs=; b=fZQ7Uf7xXJWrVN2Dxd2mm0f2qYtnImnx4erx1xs3fwiF5PFlCa/Q89OCMZh7YO76jU pkFZpp6XwgWyzLkc12QGQfVaig/hKgOb3wx2bBl5pupbI4f8+Qhw4CeWFtXxu9Lvel+P DD4GjvOlIChgihwqbLw2fadek4Y+MhzVIejyS9sVRoC8sSa11XFxsVUGE83piCR9SPwq qbjUKcuHcQT1pV2/iG0Q4wSSLY/Cxl+oqH0trkI5tqrBItI8rrTF7jAum384Ipc14iaU q4q7iwhOmug8BwNA/Rxb5sM9va2tgXoe6UIUZSEpZbQ4b1MW5Imv7wL+XcDW2NTJ9wVD /HrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cclnxKnVla6oNv+N2Y9kfCWrpRUFKLi/hDH7C1q90Bs=; b=huGxpPwPZvUdxt5JYzavHxsXgyhasTzoBBFXrVBZ6Me7SH5q56Tno2HumxSzlE2icn 0ulLMSWDu+tD2E4Xga4JP7tJ1aYQu8BqhW27TGn6idSOzH7Z+fsl+auucscs1EpaThMp 4UHL5RkQiRpqH3ZrJ9qm0pY8WAkuM/3zkSKj/D/RfDkpLofcsayTkpMHFKrwukKtjUeO 5cHz8IBKtMRvrq+R/8yLk/A3SupOzaKNYfMtwkwzQtQ47l02CssHtERX8IldTOZk3NFc skh8Cw2BR7ozopVQNAt4LDkdJYyK7siG+OX5xGfminploDCkH0tLEDseWjvHUAKeMKYA CNiQ== X-Gm-Message-State: APjAAAV9S57kDOhIz6OV944adph+aU3Y8yTv8BEQY7S/xq3qKbqdcEco 1Yb9/caO8IKvddkpHt/6zVQ/2wohSNA8XPhgaE4= X-Google-Smtp-Source: APXvYqwyJtu52SWVUHErhtFXNPbvQFbUxCWZXAlIhjonNi2TRRG7/bAjjr58QnMV5DPxUferYEoFvq0F0QURG5JsESo= X-Received: by 2002:a17:902:7d8b:: with SMTP id a11mr56054431plm.306.1564399565718; Mon, 29 Jul 2019 04:26:05 -0700 (PDT) In-Reply-To: <878sshalv4.fsf@mouse.gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:164016 Archived-At: --00000000000066c94e058ed02802 Content-Type: text/plain; charset="UTF-8" Is it fixed on ELPA too? /Ola On Sun, Jul 28, 2019, 23:29 Lars Ingebrigtsen wrote: > Ola Nilsson writes: > > > This construct does not work (gives error "(void-variable \.a)"): > > > > (let-alist '((a . 1) (b . 2)) > > `[,(+ .a .b)]) > > > > while this construct returns the expected [3] > > > > (let-alist '((a . 1) (b . 2)) > > (+ .a .b) > > `[,(+ .a .b)]) > > > > The problem seems to be that let-alist--deep-dot-search skips vectors. > > (I'm going through old Emacs bug reports that haven't received any > response.) > > Yup. I think this is now fixed on the Emacs trunk. > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no > --00000000000066c94e058ed02802 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Is it fixed on ELPA too?
/Ola=C2=A0

On Sun, Jul 28, 2019, 23:29 Lars Ingebrigtsen <larsi@gnus.org> wrote:
Ola Nilsson <ola.nilsson@gmail.com> writes:

> This construct does not work (gives error "(void-variable \.a)&qu= ot;):
>
> (let-alist '((a . 1) (b . 2))
>=C2=A0 =C2=A0`[,(+ .a .b)])
>
> while this construct returns the expected [3]
>
> (let-alist '((a . 1) (b . 2))
>=C2=A0 =C2=A0(+ .a .b)
>=C2=A0 =C2=A0`[,(+ .a .b)])
>
> The problem seems to be that let-alist--deep-dot-search skips vectors.=

(I'm going through old Emacs bug reports that haven't received any<= br> response.)

Yup.=C2=A0 I think this is now fixed on the Emacs trunk.

--
(domestic pets only, the antidote for overdose, milk.)
=C2=A0 =C2=A0bloggy blog: http://lars.ingebrigtsen.no
--00000000000066c94e058ed02802--