From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Zhu Zihao Newsgroups: gmane.emacs.bugs Subject: bug#37283: 27.0.50; Struct defined by cl-defstruct with :noinline failed to set slot using setf Date: Mon, 09 Sep 2019 21:26:38 +0800 Message-ID: <87ef0pr46p.wl-all_but_last@163.com> References: <874l1udeus.wl-all_but_last@163.com> Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=ISO-8859-7 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="196492"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?UTF-8?Q?Goj=C5=8D?=) APEL/10.8 EasyPG/1.0.0 Emacs/27.0 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) Cc: 37283@debbugs.gnu.org, Zhu Zihao To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 09 16:38:18 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 1i7Ko5-000ozw-TY for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Sep 2019 16:38:18 +0200 Original-Received: from localhost ([::1]:57478 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i7Ko4-0003wk-8t for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Sep 2019 10:38:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42574) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i7Kns-0003st-L1 for bug-gnu-emacs@gnu.org; Mon, 09 Sep 2019 10:38:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i7Knr-0003cR-OB for bug-gnu-emacs@gnu.org; Mon, 09 Sep 2019 10:38:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59814) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i7Knr-0003bk-00 for bug-gnu-emacs@gnu.org; Mon, 09 Sep 2019 10:38:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i7Knq-00080j-RZ for bug-gnu-emacs@gnu.org; Mon, 09 Sep 2019 10:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Zhu Zihao Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Sep 2019 14:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37283 X-GNU-PR-Package: emacs Original-Received: via spool by 37283-submit@debbugs.gnu.org id=B37283.156803982730691 (code B ref 37283); Mon, 09 Sep 2019 14:38:02 +0000 Original-Received: (at 37283) by debbugs.gnu.org; 9 Sep 2019 14:37:07 +0000 Original-Received: from localhost ([127.0.0.1]:40397 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i7Kmt-0007yt-Ge for submit@debbugs.gnu.org; Mon, 09 Sep 2019 10:37:05 -0400 Original-Received: from mail-m974.mail.163.com ([123.126.97.4]:39512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i7JhG-00067e-Bn for 37283@debbugs.gnu.org; Mon, 09 Sep 2019 09:27:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Date:Message-ID:From:Subject:MIME-Version; bh=rgsu4 FtmE1dxGkD/KRRNCp3gk8ilv2F4QTTvE7l5sew=; b=SFn7uMjBKbErkG3S3rSQq ZK1Jl05NXSnolcUGW0qCXUADXcSaG6Q3MmxYAahjHANcDSnlvxYuyjhYN6Q0lLXY jzTpSFZv6iMjbPn9WM9H9amueB65NIrAT24saZOw88+0jPHoBziL+W+m/4Ygh1Jj No9EYD5oa/h3KHqludb81s= Original-Received: from archlinux.163.com (unknown [112.93.132.241]) by smtp4 (Coremail) with SMTP id HNxpCgAHw3keU3ZdtvWpCw--.10S2; Mon, 09 Sep 2019 21:27:06 +0800 (CST) In-Reply-To: X-Face: :]]%@R1{oDt0%iKgI@Kga#OZ; ogt+%OOne&J4#E*O,TIlI)yEFw--I\:3s~EV97GI$1.1!}8inmF9UgtUBB@#8>'8NWNC8qg/v*OLfQB; Z:@G3HeNf3u& ,&HpBGv%?p{bzsl'|5T";1&X X-CM-TRANSID: HNxpCgAHw3keU3ZdtvWpCw--.10S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxUUHUqDUUUU X-Originating-IP: [112.93.132.241] X-CM-SenderInfo: pdoosuxxwbztlvw6il2tof0z/xtbBZgorr1aD3XfjeQAAsN X-Mailman-Approved-At: Mon, 09 Sep 2019 10:37:02 -0400 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:166328 Archived-At: On Mon, 09 Sep 2019 06:43:15 +0800, Stefan Monnier wrote: >=20 > > (require 'cl-lib) > > (cl-defstruct (stt (:noinline t)) > > slt-a slt-b) > > > > (let ((inst (make-stt :slt-a 1 :slt-b 2))) > > (setf (stt-slt-a inst) 2)) > > > > Will get error "Symbol=A2s function definition is void: \(setf\ stt-slt= -a\)" >=20 > I just push a patch to `master` which should fix this problem. > Can you confirm it fixes it on your side as well? >=20 >=20 > Stefan Yes, this snippet work as expected now. Thanks for your work.