From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: If records are not sequences, why does aref work on records? Date: Sat, 08 Apr 2017 10:50:16 +0300 Message-ID: <83mvbrmj7r.fsf@gnu.org> 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> <74e43816-ff68-d443-e37b-fd41bbf584d0@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1491637822 19454 195.159.176.226 (8 Apr 2017 07:50:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 8 Apr 2017 07:50:22 +0000 (UTC) Cc: emacs-devel@gnu.org, npostavs@users.sourceforge.net To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 08 09:50:17 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 1cwl8P-00044j-9M for ged-emacs-devel@m.gmane.org; Sat, 08 Apr 2017 09:50:13 +0200 Original-Received: from localhost ([::1]:53846 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwl8U-0002mU-T2 for ged-emacs-devel@m.gmane.org; Sat, 08 Apr 2017 03:50:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwl8L-0002j7-7b for emacs-devel@gnu.org; Sat, 08 Apr 2017 03:50:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cwl8K-0006Qm-DE for emacs-devel@gnu.org; Sat, 08 Apr 2017 03:50:09 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38037) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwl8K-0006Qf-AD; Sat, 08 Apr 2017 03:50:08 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1574 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cwl8J-0003Iz-Dd; Sat, 08 Apr 2017 03:50:07 -0400 In-reply-to: (message from Paul Eggert on Sat, 8 Apr 2017 00:42:57 -0700) 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:213801 Archived-At: > From: Paul Eggert > Date: Sat, 8 Apr 2017 00:42:57 -0700 > Cc: Emacs developers > > Noam Postavsky wrote: > > having copy-record would still be a good idea, as it helps > > show the intent better. > > If we go that route, for consistency shouldn't Emacs also have aref-record and > aref-byte-code-function as aliases for 'aref'? Let me remind you that this kind of "literal" consistency was never a goal in Emacs development. It's one of the first lessons I got from RMS years ago; I'm sure you've heard that as well at some point. We make stuff consistent where it makes sense, but not everywhere.