From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.devel Subject: [PATCH] * etc/NEWS: Document incompatibilities introduced by record types. Date: Mon, 11 Dec 2017 22:37:29 +0100 Message-ID: <20171211213729.41411-1-phst@google.com> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1513028479 21474 195.159.176.226 (11 Dec 2017 21:41:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 11 Dec 2017 21:41:19 +0000 (UTC) Cc: Philipp Stephani To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 11 22:41:15 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 1eOVp5-0005R5-7p for ged-emacs-devel@m.gmane.org; Mon, 11 Dec 2017 22:41:15 +0100 Original-Received: from localhost ([::1]:55596 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOVpC-0003N7-H3 for ged-emacs-devel@m.gmane.org; Mon, 11 Dec 2017 16:41:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39605) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOVlr-0000Hv-NT for emacs-devel@gnu.org; Mon, 11 Dec 2017 16:37:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eOVlm-0007d2-W8 for emacs-devel@gnu.org; Mon, 11 Dec 2017 16:37:55 -0500 Original-Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]:40759) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eOVlm-0007aY-Pg for emacs-devel@gnu.org; Mon, 11 Dec 2017 16:37:50 -0500 Original-Received: by mail-wm0-x22c.google.com with SMTP id f206so16759435wmf.5 for ; Mon, 11 Dec 2017 13:37:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=JY2/yjctgW5a5lLmmA14P4vFJqB2sDOVGOSk++wO9Dg=; b=iFknZCbDbNHm8feGU0+pPUtQe8E9b0BkwD21JuIFscWw9lD6XtBFANpZFLUgM4dOeo HQSBCmKKzQp+7egDll1zLVyqCQRtqhqBUm+cpNtzX1BJ4CxLGRVFLSKAGjHLOOjeq0lE I+wop0chb8XuRatIBDn1TiIyny1fX3cJVGIXTeou41pIam5dZKohbt/oy6uDDj35Ei9E bolQDVlLkKR4UiS1d1kwQvKepfhD/ApFvXoxxagfcB01vXgLe4o+ETU0mMw+kMZCEK1R 7Rgl4Xhu5eRyeN8FXRnMDhb7I+iuaTw1JVQtsKYeEZpPZtElXYIfpBGoKCFzryrZEB7d 5FlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=JY2/yjctgW5a5lLmmA14P4vFJqB2sDOVGOSk++wO9Dg=; b=RrltoDm3TWF7UEp2hFaQ5lNM65+YVbZSBMZXerL96YnCuaetDq7S5MCyaQ6ArHku+q kDKCyVxr4YZTc67N1BjK/+4x9ypLC2ZR/6H/KoW4BjRb+WVqKYBsOkEksGwxrm3tkCHi ljRjuk95YWSGCbMj03gFpYIW/g3mpO0eadLjLqBFfQaJX33COKQrfjeeCJVZ4LLnE8Tx Vbq+xY3utWrQl4/9g+Y35pSCpAWOUCSaH8fT57vi/LVfU0YdVc/W9iv7XWkQTECbsxog 4JsPJVvSNmF8OapxYfZnsHiltuurGurpppsVttWAq7sJ7KqsGPUeyu6qpgycYaX4gf6F Jdsg== X-Gm-Message-State: AKGB3mLs6BmwI4+YSAzemp9R/FSfivw2iAgAXLhET+88zegeXHfJDWzq oVrrsy+2nCJXfK06E6BFBDUZiTms X-Google-Smtp-Source: ACJfBovWewDBSoN1SI+kBZfC7i6xHUJfyIsuZKh9TmtmWliYJg8sDchW9JAk2j6ZTGBCy7clcyW70A== X-Received: by 10.28.170.75 with SMTP id t72mr1854162wme.15.1513028269172; Mon, 11 Dec 2017 13:37:49 -0800 (PST) Original-Received: from p.cm.cablesurf.de (46.128.198.151.dynamic.cablesurf.de. [46.128.198.151]) by smtp.gmail.com with ESMTPSA id l142sm9866780wmb.43.2017.12.11.13.37.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 11 Dec 2017 13:37:48 -0800 (PST) X-Google-Original-From: Philipp Stephani X-Mailer: git-send-email 2.15.1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::22c 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:220908 Archived-At: --- etc/NEWS | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/etc/NEWS b/etc/NEWS index 64b53d88c8..7cedd28ed9 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1462,6 +1462,20 @@ them through 'format' first. Even that is discouraged: for ElDoc support, you should set 'eldoc-documentation-function' instead of calling 'eldoc-message' directly. +** The introduction of record types (see below) brings several +incompatibilities: + +*** The return value of 'type-of' is no longer a reliable indicator +for the type of an object. For example, a return value of 'integer' +now means that the object in question is either an integer or a record +named 'integer'. To reliably test the type of an object, use the +predicate functions such as 'integerp'. Don't define record types +whose names clash with primitive type names. + +*** The printed representation of a record named 'hash-table' now +clashes with the printed representation of a hash table. Don't define +record types named 'hash-table'. + * Lisp Changes in Emacs 26.1 -- 2.15.1