From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Henrik Enberg Newsgroups: gmane.emacs.devel Subject: Re: abstracting Lisp strings - macro name convention? Date: Wed, 03 Jul 2002 15:17:06 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <87d6u5vtm5.fsf@enberg.org> References: <200207020737.g627bR501067@aztec.santafe.edu> <5xfzz0c3dz.fsf@kfs2.cua.dk> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1025702456 22230 127.0.0.1 (3 Jul 2002 13:20:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 3 Jul 2002 13:20:56 +0000 (UTC) Cc: Ken Raeburn , rms@gnu.org, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17Pk40-0005mR-00 for ; Wed, 03 Jul 2002 15:20:56 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17Pk9W-0001dY-00 for ; Wed, 03 Jul 2002 15:26:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17Pk4O-000494-00; Wed, 03 Jul 2002 09:21:20 -0400 Original-Received: from mailg.telia.com ([194.22.194.26]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17Pk2L-0003xf-00; Wed, 03 Jul 2002 09:19:13 -0400 Original-Received: from d1o1112.telia.com (d1o1112.telia.com [213.67.192.241]) by mailg.telia.com (8.11.6/8.11.6) with ESMTP id g63DJ8j19403; Wed, 3 Jul 2002 15:19:08 +0200 (CEST) Original-Received: from rocksteady (h205n2fls32o1112.telia.com [213.65.65.205]) by d1o1112.telia.com (8.10.2/8.10.1) with ESMTP id g63DJ7g19972; Wed, 3 Jul 2002 15:19:07 +0200 (CEST) Original-Received: from henrik by rocksteady with local (Exim 3.35 #1 (Debian)) id 17Pk22-00016L-00; Wed, 03 Jul 2002 15:18:54 +0200 Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: <5xfzz0c3dz.fsf@kfs2.cua.dk> (storm@cua.dk's message of "03 Jul 2002 16:06:16 +0200") User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.3.50 (i686-pc-linux-gnu) Original-Lines: 18 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:5404 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5404 storm@cua.dk (Kim F. Storm) writes: > Ken Raeburn writes: > >> STRING_REF(obj,index) >> STRING_SET(obj,index,newbyteval) > > Wouldn't it be more consistent to name these > > STRING_AREF(obj,index) > STRING_ASET(obj,index,newbyteval) They are called `string-ref' and `string-set!' in scheme. So if this is done for a future switch to Guile, the the first alternative is probably better. -- Booting... /vmemacs.el