From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] * etc/NEWS: Document incompatibilities introduced by record types. Date: Tue, 12 Dec 2017 17:05:03 -0500 Message-ID: References: <20171211213729.41411-1-phst@google.com> Reply-To: rms@gnu.org NNTP-Posting-Host: blaine.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: blaine.gmane.org 1513116361 9282 195.159.176.226 (12 Dec 2017 22:06:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 12 Dec 2017 22:06:01 +0000 (UTC) Cc: phst@google.com, emacs-devel@gnu.org To: Philipp Stephani Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 12 23:05:56 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 1eOsgU-00025Z-5V for ged-emacs-devel@m.gmane.org; Tue, 12 Dec 2017 23:05:54 +0100 Original-Received: from localhost ([::1]:60698 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOsgb-0006Ml-9U for ged-emacs-devel@m.gmane.org; Tue, 12 Dec 2017 17:06:01 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOsfi-0006Lz-6z for emacs-devel@gnu.org; Tue, 12 Dec 2017 17:05:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eOsfh-0006wa-BQ for emacs-devel@gnu.org; Tue, 12 Dec 2017 17:05:06 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55344) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOsff-0006v6-Lg; Tue, 12 Dec 2017 17:05:03 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1eOsff-0003HV-2O; Tue, 12 Dec 2017 17:05:03 -0500 In-reply-to: <20171211213729.41411-1-phst@google.com> (message from Philipp Stephani on Mon, 11 Dec 2017 22:37:29 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:220969 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > +*** 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'. This is very bad behavior. It would be much less bad to signal an error if anyone tries to define record types with these names. How many such names are there? -- Dr Richard Stallman President, Free Software Foundation (https://gnu.org, https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) Skype: No way! See https://stallman.org/skype.html.