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:06:14 -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 1513116436 21975 195.159.176.226 (12 Dec 2017 22:07:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 12 Dec 2017 22:07:16 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 12 23:07:12 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 1eOshj-0005Up-UE for ged-emacs-devel@m.gmane.org; Tue, 12 Dec 2017 23:07:12 +0100 Original-Received: from localhost ([::1]:60709 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOshr-0007AA-8B for ged-emacs-devel@m.gmane.org; Tue, 12 Dec 2017 17:07:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39307) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOsgw-000796-8a for emacs-devel@gnu.org; Tue, 12 Dec 2017 17:06:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eOsgv-0008Sr-Fs for emacs-devel@gnu.org; Tue, 12 Dec 2017 17:06:22 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55394) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOsgp-0008J9-08; Tue, 12 Dec 2017 17:06:15 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1eOsgo-00062W-6C; Tue, 12 Dec 2017 17:06:14 -0500 In-reply-to: (message from Stefan Monnier on Mon, 11 Dec 2017 22:21:34 -0500) 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:220971 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. ]]] > > Or, could we make type-of return `record-foo` instead of `foo`? > It *is* an error. Just not one we bother to try and detect because it'd > imply making everyone pay all the time for the rare idiots who'll try to > create such a thing. If programmers are not supposed to do it, let's detect it and report an error when they try. That way, they will know it's an error as soon as they try, rather than needing to debug it to find out it's an error. -- 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.