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: If records are not sequences, why does aref work on records? Date: Sun, 09 Apr 2017 15:15:16 -0400 Message-ID: References: <86pogo4vty.fsf@molnjunk.nocrew.org> <8360igof0k.fsf@gnu.org> <867f2w4qdk.fsf@molnjunk.nocrew.org> <0e6a0a16-8133-b2bc-404a-d0016f0c655e@cs.ucla.edu> <86h9202knq.fsf@molnjunk.nocrew.org> <4f2a1d4c-8703-4f07-a721-ea28c348631d@default> <864ly02i1m.fsf@molnjunk.nocrew.org> <7342364e-98f9-87d5-72d2-2f2d46d239f3@gmail.com> Reply-To: rms@gnu.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1491765325 1077 195.159.176.226 (9 Apr 2017 19:15:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 9 Apr 2017 19:15:25 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 09 21:15:21 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 1cxIIy-0000CB-Ji for ged-emacs-devel@m.gmane.org; Sun, 09 Apr 2017 21:15:20 +0200 Original-Received: from localhost ([::1]:59462 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cxIJ4-0005Il-Bz for ged-emacs-devel@m.gmane.org; Sun, 09 Apr 2017 15:15:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32848) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cxIIy-0005If-TW for emacs-devel@gnu.org; Sun, 09 Apr 2017 15:15:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cxIIy-00016o-16 for emacs-devel@gnu.org; Sun, 09 Apr 2017 15:15:20 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56556) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cxIIu-00015h-J7; Sun, 09 Apr 2017 15:15:16 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cxIIu-0004E9-0G; Sun, 09 Apr 2017 15:15:16 -0400 In-reply-to: <7342364e-98f9-87d5-72d2-2f2d46d239f3@gmail.com> (message from =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel on Sat, 8 Apr 2017 08:24:11 -0400) 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:213826 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. ]]] In principle, there is no reason for vector functions to work on a defstruct. We can declare that usage obsolete, while keeping it functioning. In 3 years we can make it generate an error which is easy to turn off, to nudge people to change the code. On the other hand, it is wasteful to create myriad 'copy-FOO' functions that all do the same thing. We may as well have one function 'copy-struct' function that copies all kinds of sequences. -- Dr Richard Stallman President, Free Software Foundation (gnu.org, fsf.org) Internet Hall-of-Famer (internethalloffame.org) Skype: No way! See stallman.org/skype.html.