From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: User-defined record types Date: Sat, 18 Mar 2017 19:24:54 -0400 Message-ID: References: <87pokampa4.fsf@ericabrahamsen.net> <878tp0i74g.fsf@users.sourceforge.net> <87efyg6y0i.fsf_-_@drachen> <87zigwz9wx.fsf@tromey.com> <86bmtbd45s.fsf@molnjunk.nocrew.org> <86bmt42nk2.fsf_-_@molnjunk.nocrew.org> <86o9x40z35.fsf@molnjunk.nocrew.org> <86k27s0w6m.fsf@molnjunk.nocrew.org> <86fuif22o6.fsf@molnjunk.nocrew.org> <86a88mz9tx.fsf@molnjunk.nocrew.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1489879508 30407 195.159.176.226 (18 Mar 2017 23:25:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 18 Mar 2017 23:25:08 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Lars Brinkhoff Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 19 00:25:04 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpNiX-0007Ea-Iv for ged-emacs-devel@m.gmane.org; Sun, 19 Mar 2017 00:25:01 +0100 Original-Received: from localhost ([::1]:54944 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cpNid-0002np-Fn for ged-emacs-devel@m.gmane.org; Sat, 18 Mar 2017 19:25:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cpNiY-0002nj-CY for emacs-devel@gnu.org; Sat, 18 Mar 2017 19:25:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cpNiV-0002L2-9c for emacs-devel@gnu.org; Sat, 18 Mar 2017 19:25:02 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:4452) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cpNiV-0002KU-4U for emacs-devel@gnu.org; Sat, 18 Mar 2017 19:24:59 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0CICgAvwc1Y/yTkr2xdGwEBAQMBAQEJAQEBg1GKVoV5kQ8BlycahgIEAgKDAEQUAQIBAQEBAQEBayiFFgZWIxALNBIUGA0kihO0fIpAAQEBBwImiz2KOQEEnE2UJgGIY4ZkkhSBRDYhgQQjFggshzQkii8BAQE X-IPAS-Result: A0CICgAvwc1Y/yTkr2xdGwEBAQMBAQEJAQEBg1GKVoV5kQ8BlycahgIEAgKDAEQUAQIBAQEBAQEBayiFFgZWIxALNBIUGA0kihO0fIpAAQEBBwImiz2KOQEEnE2UJgGIY4ZkkhSBRDYhgQQjFggshzQkii8BAQE X-IronPort-AV: E=Sophos;i="5.36,185,1486443600"; d="scan'208";a="295656698" Original-Received: from 108-175-228-36.dsl.teksavvy.com (HELO ceviche.home) ([108.175.228.36]) by smtp.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 18 Mar 2017 19:24:54 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 973F8661A5; Sat, 18 Mar 2017 19:24:54 -0400 (EDT) In-Reply-To: (Stefan Monnier's message of "Wed, 15 Mar 2017 23:05:13 -0400") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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:213143 Archived-At: We could auto-detect the use of old-style structs (and set the compatibility var) when cl-struct-define is called with a nil value of the `type` argument. [ Of course, this means we need to use a different value for the new `record` format. ] Stefan