From mboxrd@z Thu Jan 1 00:00:00 1970
Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail
From: Philipp Stephani
Newsgroups: gmane.emacs.bugs
Subject: bug#40431: 27.0.90; Can't edebug cl-defuns with &aux destructuring
Date: Wed, 10 Jun 2020 15:43:03 +0200
Message-ID:
References:
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202";
logging-data="82641"; mail-complaints-to="usenet@ciao.gmane.io"
To: 40431-done@debbugs.gnu.org
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 10 15:53:48 2020
Return-path:
Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org
Original-Received: from lists.gnu.org ([209.51.188.17])
by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.92)
(envelope-from )
id 1jj1Aq-000LP7-76
for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Jun 2020 15:53:48 +0200
Original-Received: from localhost ([::1]:45004 helo=lists1p.gnu.org)
by lists.gnu.org with esmtp (Exim 4.90_1)
(envelope-from )
id 1jj1Ap-00082V-90
for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Jun 2020 09:53:47 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35956)
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from )
id 1jj11O-0005pS-Ro
for bug-gnu-emacs@gnu.org; Wed, 10 Jun 2020 09:44:03 -0400
Original-Received: from debbugs.gnu.org ([209.51.188.43]:50288)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from )
id 1jj11O-0003HQ-Go
for bug-gnu-emacs@gnu.org; Wed, 10 Jun 2020 09:44:02 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
(envelope-from ) id 1jj11O-0006fC-EI
for bug-gnu-emacs@gnu.org; Wed, 10 Jun 2020 09:44:02 -0400
Resent-From: Philipp Stephani
Original-Sender: "Debbugs-submit"
Resent-To: bug-gnu-emacs@gnu.org
Resent-Date: Wed, 10 Jun 2020 13:44:02 +0000
Resent-Message-ID:
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: cc-closed 40431
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: confirmed
Mail-Followup-To: 40431@debbugs.gnu.org, p.stephani2@gmail.com,
p.stephani2@gmail.com
Original-Received: via spool by 40431-done@debbugs.gnu.org id=D40431.159179660325537
(code D ref 40431); Wed, 10 Jun 2020 13:44:02 +0000
Original-Received: (at 40431-done) by debbugs.gnu.org; 10 Jun 2020 13:43:23 +0000
Original-Received: from localhost ([127.0.0.1]:33599 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1jj10k-0006dp-Uq
for submit@debbugs.gnu.org; Wed, 10 Jun 2020 09:43:23 -0400
Original-Received: from mail-ot1-f45.google.com ([209.85.210.45]:42821)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1jj10j-0006db-H8
for 40431-done@debbugs.gnu.org; Wed, 10 Jun 2020 09:43:21 -0400
Original-Received: by mail-ot1-f45.google.com with SMTP id t6so1706605otk.9
for <40431-done@debbugs.gnu.org>; Wed, 10 Jun 2020 06:43:21 -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;
bh=5VhaiNBMuZog1g6S1m+iDqE6SMxaffm8wDUNfrIS0rc=;
b=PfTvqE7bDRH5M4VMmAK+DKzmolpQQ7tKpsx9QWzoa5AnZuoTL6u7unVdQVA9zJFmW/
RZZLwZXyZPAooUqT43IpPg5xydoUHDWmdb1pbtwrd3d9nJAtWon6Y9aiCRkodPdN8srV
NzE/4CRYNg9ZzNue7lYwtHdOlR51bMwqFiKzJ0b0zQL3sZL8lslyx3IVXskM7pIPaAHh
oL4tEHOIhWijNOKzVwu79irq0/2SdJvTm+Gwg24YD3Ay3l/ti464msvFI5A5+O3l+Tnb
34w81kCqmZ5EUPaGVOsvT3EzrXQWgQAcuMvhalgdPvO6USc0Dyc7cBwYCGdIdLGOXsSG
rwzQ==
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;
bh=5VhaiNBMuZog1g6S1m+iDqE6SMxaffm8wDUNfrIS0rc=;
b=CloTZ6qgW/JIqjRPb2oR255lN00nwOtYS3HT+AHmTo1tzZ7kBqMpDNv40d/he0iWy8
AsjMpoJ+NYpEbgaVNoxoQANTozJV5uxtpZG+kUA4I/bHBSepFBGs4ikdKcwbvtkHUdjH
269No44pTVBz1fC0tTs5yrAphIBketd5KVYxsyF5lUWu+rPxvJI0ZUTzPSN9kOGLVln8
mV9nxPGzELGgc+hu9PhrMGrMLkiMTFwJWwyM9yApvKpPDIhuMMCHq/WVKznWgAT1Yb2u
hBYIpKMehfKCtESJUswcX7fLpm31pLcupxRCI00gJ5vvRM/qRNDSKsc2FvSaMbMeXAOg
ZmOA==
X-Gm-Message-State: AOAM530jEMExxZbJFxw3sF/JtUEyYaORDGafss1O46vIueZJSI80I9n0
HUyyyS/Hmmem/tj26/BAU3ad3Tx756YZwCWSR+47sUjbHKk=
X-Google-Smtp-Source: ABdhPJy3wHYmaMOuZBELIp/6KclRSvT8+jDKPAtkueTHG18v59nI0mtPs2efrZW+vTUF09U3F0CpUAkk7Nhfck7sebE=
X-Received: by 2002:a9d:2d88:: with SMTP id g8mr2503300otb.149.1591796595494;
Wed, 10 Jun 2020 06:43:15 -0700 (PDT)
In-Reply-To:
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
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-mx.org@gnu.org
Original-Sender: "bug-gnu-emacs"
Xref: news.gmane.io gmane.emacs.bugs:181813
Archived-At:
Am Mi., 10. Juni 2020 um 13:32 Uhr schrieb Philipp Stephani
:
>
> Am Sa., 4. Apr. 2020 um 18:19 Uhr schrieb Philipp Stephani
> :
> >
> >
> > Insert into *scratch*:
> >
> > (cl-defun foo (&aux ((a . b) '(1 . 2)))
> > (list a b))
> >
> > Now try to edebug this function (move point into it, hit C-u C-M-x).
> > This gives an error:
> >
> > Debugger entered--Lisp error: (invalid-read-syntax "Expected one of" arg nil)
>
> My guess is that in the specification
>
> ["&aux" &rest &or (symbolp &optional def-form) symbolp]
>
> we should replace 'symbolp' with 'cl-macro-arg'. This might cause
> other issues, however, as that specification is probably no longer
> decidable.
Actually, &optional uses the same thing, which appears to work fine,
so I went ahead and implemented this with commit
73be4d1ed5b190bd93e9bad6aebe43d0dea0d7d3.