From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Matus Goljer Newsgroups: gmane.emacs.bugs Subject: bug#62256: 28.2; Invalid edebug spec gv-define-simple-setter Date: Thu, 23 Mar 2023 19:11:01 +0100 Message-ID: References: <87bkkqtcnd.fsf@gmail.com> <875yaytc3u.fsf@gmail.com> <837cv76g28.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000a857c505f7953330" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19177"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62256@debbugs.gnu.org, Eli Zaretskii To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 23 19:12:22 2023 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 1pfPQD-0004io-GO for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 Mar 2023 19:12:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pfPQ3-0003C5-7Z; Thu, 23 Mar 2023 14:12:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pfPPu-0003BV-OL for bug-gnu-emacs@gnu.org; Thu, 23 Mar 2023 14:12:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pfPPu-0000Oq-Af for bug-gnu-emacs@gnu.org; Thu, 23 Mar 2023 14:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pfPPu-0000di-57 for bug-gnu-emacs@gnu.org; Thu, 23 Mar 2023 14:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Matus Goljer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Mar 2023 18:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62256 X-GNU-PR-Package: emacs Original-Received: via spool by 62256-submit@debbugs.gnu.org id=B62256.16795950802401 (code B ref 62256); Thu, 23 Mar 2023 18:12:02 +0000 Original-Received: (at 62256) by debbugs.gnu.org; 23 Mar 2023 18:11:20 +0000 Original-Received: from localhost ([127.0.0.1]:39305 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pfPPE-0000cf-1E for submit@debbugs.gnu.org; Thu, 23 Mar 2023 14:11:20 -0400 Original-Received: from mail-pf1-f179.google.com ([209.85.210.179]:34678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pfPPC-0000cQ-Ja for 62256@debbugs.gnu.org; Thu, 23 Mar 2023 14:11:19 -0400 Original-Received: by mail-pf1-f179.google.com with SMTP id fd25so13815551pfb.1 for <62256@debbugs.gnu.org>; Thu, 23 Mar 2023 11:11:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679595073; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=1yKeJQRd1RgPJSuPybf9cqdX9lnBsJwI0MGYvUzBOUE=; b=gYEBj/6l67v8ulwFHehVcNyoVZDY1nRs7qiVUJi5tq1D/+Vniemeef79nDiPwEiaw1 TiKUbOKwA1dJAn+CpClwRm9NwQzmjtsPCi6RT/OpXyogV5Q6s0ktJkNwUTuu4cOjWwBr XKMpITAD+31h8Dff+bxYlu2JMgqOwBd4wdBadYJpXHK1A04X8Fs3Qu0JftYclKEf348R g1uxY62qlMAJHYaWDJiN9uxV7Gi7z4nVdZlR2YoHY8whujWsoTa7NiM3Jkm9YSNGQhG2 n6ARN+FeUxFtS0tIIuBImaRWsVoJT6vkKCNalfe4ap3DlRvF7jZuT+dCfn7HPKRFf3mV x8eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679595073; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=1yKeJQRd1RgPJSuPybf9cqdX9lnBsJwI0MGYvUzBOUE=; b=Vo8whvE9S603L+djIIs+huoHQuS9w8CurTOAt2xlhonB2yGkAwUgwbfngzptzQ26+G gLke42bOhfA3wyhK5PMEEoP0O+eKQL0QAYkoFtADsqCgQfCpRkXKpBNYvNq5nifECuns qY+HQt71UmgSm7VD3pXaKwz/kpBAQMbWvm8SA2Kl+dAMUtP8qNFH5kJgIprLVjPoO8sy YkhCwQgJ2OpROaFthdgfQotRGTEb08Kmt0sp4Itiunh5pUCdGVIr5rcuXMucU27oUMJE IAfCyjyIB+cFx1gb/Pc1Dplt3SgyutGiWJ7rB/RHzfJXFwklahGupps3wBl6IdIdPtz8 GUtw== X-Gm-Message-State: AO0yUKXJrbzNqb5YSGPCWTU9cfgWZAKELDUqGwP3rE9uP39UgZcpX09m Slt08viiEUYbAdz4MYuCspn2tAPoXKcEbpwlzmu1rdpD X-Google-Smtp-Source: AK7set8Ida7JnLCEEjbcNjNZwbl+HiFP5Xq6Zya6Po9aO11hDYLkLQHMOdkbaU2Slr6ObiOfgOyudGPqNLo6mSlBIRA= X-Received: by 2002:a65:6452:0:b0:50b:efbc:2399 with SMTP id s18-20020a656452000000b0050befbc2399mr2194368pgv.3.1679595072410; Thu, 23 Mar 2023 11:11:12 -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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:258471 Archived-At: --000000000000a857c505f7953330 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Do you want me to prepare a patch? I think there's more incorrect specs in the gv package now. m. On Thu, 23 Mar 2023 at 19:07, Stefan Monnier wrote: > >> From: Mat=C3=BA=C5=A1 Goljer > >> Date: Sat, 18 Mar 2023 14:36:53 +0100 > >> > >> Actually, I think the problem is using the spec > >> > >> (&or symbolp lambda-expr) > >> > >> instead of > >> > >> [&or symbolp lambda-expr] > >> > >> Because the list construct here always makes "a list with content". S= o > >> this spec says "a list with one thing in it, either a symbol or a > >> lambda" which would match > >> > >> (gv-define-simple-setter aref (aset)) > > > > Stefan, any comments? > > He's right! > > > Stefan > > --000000000000a857c505f7953330 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Do you want me to prepare a patch?=C2=A0 I think there'= ;s more incorrect specs in the gv package now.

m.
<= /div>
O= n Thu, 23 Mar 2023 at 19:07, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>> From: Mat=C3=BA=C5=A1 Gol= jer <matus.g= oljer@gmail.com>
>> Date: Sat, 18 Mar 2023 14:36:53 +0100
>>
>> Actually, I think the problem is using the spec
>>
>> (&or symbolp lambda-expr)
>>
>> instead of
>>
>> [&or symbolp lambda-expr]
>>
>> Because the list construct here always makes "a list with con= tent".=C2=A0 So
>> this spec says "a list with one thing in it, either a symbol = or a
>> lambda" which would match
>>
>> (gv-define-simple-setter aref (aset))
>
> Stefan, any comments?

He's right!


=C2=A0 =C2=A0 =C2=A0 =C2=A0 Stefan

--000000000000a857c505f7953330--