From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Struct defined by cl-defstruct with :noinline failed to set slot using setf Date: Mon, 02 Sep 2019 08:57:20 -0400 Message-ID: References: <1311fef9.a334.16cf05b4e08.Coremail.all_but_last@163.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="16074"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: "Zhu Zihao" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 02 14:58:07 2019 Return-path: Envelope-to: ged-emacs-devel@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 1i4luJ-000454-BH for ged-emacs-devel@m.gmane.org; Mon, 02 Sep 2019 14:58:07 +0200 Original-Received: from localhost ([::1]:36274 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i4luH-0004EL-Ox for ged-emacs-devel@m.gmane.org; Mon, 02 Sep 2019 08:58:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47524) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i4ltg-0004ED-47 for emacs-devel@gnu.org; Mon, 02 Sep 2019 08:57:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i4ltd-0007uj-6E for emacs-devel@gnu.org; Mon, 02 Sep 2019 08:57:26 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:29895) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i4ltd-0007pX-2A for emacs-devel@gnu.org; Mon, 02 Sep 2019 08:57:25 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 5D36A81198; Mon, 2 Sep 2019 08:57:23 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 50A4080B63; Mon, 2 Sep 2019 08:57:22 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1567429042; bh=c7xZywB5DvnDFDHEKl6+cGrmhvz7VbQQn9FIpPlACR0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=EAvZNWRCECT/GuckOcDXtZJYGiEz6Lv4ndaKN0+yrUQg8FTAr+E8tCke7coWNm0oF VLS2IUVH5MgkDYvJ6hF7OlJbBKyByddYXbRtHkk27JEN2IWO8VEXxcx+e1/eF7N8D5 2OnYro0yn7AwyT+VE9cMJI3qGqtWKQabwhnwHIk2BGbJlaHN42MDmoKJsA5ssp7w9E ccoemDKhUDECun+4J5VYGWZKa2vMBqb5y8EtTYmpbALtmmFopHmrJ2eqgCeVTzVqQr QN/WAiAUP8iac5uZQZZHQSNWHOMVu1+nCKgJAcnahY42pEfK5fKhDhun6or+Z3k19r P42aY+5kOZqvg== Original-Received: from pastel (104-195-211-90.cpe.teksavvy.com [104.195.211.90]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 183E012041A; Mon, 2 Sep 2019 08:57:22 -0400 (EDT) In-Reply-To: <1311fef9.a334.16cf05b4e08.Coremail.all_but_last@163.com> (Zhu Zihao's message of "Mon, 2 Sep 2019 13:03:31 +0800 (CST)") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 132.204.25.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:239775 Archived-At: > (let ((a (make-a :b 1 :c 2))) > (setf (a-b a) 1)) > Get an error "Symbol=E2=80=99s function definition is void: \(setf\ a-b\)= ". Indeed! Thanks for the report. Could you `M-x report-emacs-bug` for it? I have no time to look into fixing it right now, so it would be good to have a bug-number to keep track of it. Stefan