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:36:19 -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 1489880229 10565 195.159.176.226 (18 Mar 2017 23:37:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 18 Mar 2017 23:37:09 +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:37:05 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 1cpNu8-0001zz-5h for ged-emacs-devel@m.gmane.org; Sun, 19 Mar 2017 00:37:00 +0100 Original-Received: from localhost ([::1]:54965 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cpNuD-0003uY-Va for ged-emacs-devel@m.gmane.org; Sat, 18 Mar 2017 19:37:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50434) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cpNtY-0003uB-8P for emacs-devel@gnu.org; Sat, 18 Mar 2017 19:36:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cpNtV-0005d4-5l for emacs-devel@gnu.org; Sat, 18 Mar 2017 19:36:24 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:35233) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cpNtU-0005cm-VL for emacs-devel@gnu.org; Sat, 18 Mar 2017 19:36:21 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0CLCgCJw81Y/yTkr2xdGwEBAQMBAQEJAQEBg1GBa4hrhXmQZikBlyeGHAQCAoMARBQBAgEBAQEBAQFrKIUWAQQBViMFCws0EhQYDSQTiXgItH+KQQEBAQcCJos9ijkBBIZrlWKNR4ZfiGSGZJIUgUQ2IYEEIxYILIc0JDWJegEBAQ X-IPAS-Result: A0CLCgCJw81Y/yTkr2xdGwEBAQMBAQEJAQEBg1GBa4hrhXmQZikBlyeGHAQCAoMARBQBAgEBAQEBAQFrKIUWAQQBViMFCws0EhQYDSQTiXgItH+KQQEBAQcCJos9ijkBBIZrlWKNR4ZfiGSGZJIUgUQ2IYEEIxYILIc0JDWJegEBAQ X-IronPort-AV: E=Sophos;i="5.36,185,1486443600"; d="scan'208";a="295657439" 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:36:20 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id C53EF661A5; Sat, 18 Mar 2017 19:36:19 -0400 (EDT) In-Reply-To: (Stefan Monnier's message of "Sat, 18 Mar 2017 19:24:54 -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:213144 Archived-At: One more thing: what's up with "record2"? Which branch should I pay attention to? If you don't intend to keep using scratch/record, then it's better to just replace scratch/record with scratch/record2: you can rebase/rewrite those `scratch` branches at will. Stefan >>>>> "Stefan" == Stefan Monnier writes: > 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