unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Henrik Enberg <henrik@enberg.org>
Cc: Ken Raeburn <raeburn@raeburn.org>, rms@gnu.org, emacs-devel@gnu.org
Subject: Re: abstracting Lisp strings - macro name convention?
Date: Wed, 03 Jul 2002 15:17:06 +0200	[thread overview]
Message-ID: <87d6u5vtm5.fsf@enberg.org> (raw)
In-Reply-To: <5xfzz0c3dz.fsf@kfs2.cua.dk> (storm@cua.dk's message of "03 Jul 2002 16:06:16 +0200")

storm@cua.dk (Kim F. Storm) writes:

> Ken Raeburn <raeburn@raeburn.org> 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

  parent reply	other threads:[~2002-07-03 13:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-30 23:13 abstracting Lisp strings - macro name convention? Ken Raeburn
2002-07-02  7:37 ` Richard Stallman
2002-07-03  2:09   ` Ken Raeburn
2002-07-03 13:13     ` Stefan Monnier
2002-07-03 14:06     ` Kim F. Storm
2002-07-03 13:16       ` Miles Bader
2002-07-03 13:17       ` Henrik Enberg [this message]
2002-07-04  7:07     ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d6u5vtm5.fsf@enberg.org \
    --to=henrik@enberg.org \
    --cc=emacs-devel@gnu.org \
    --cc=raeburn@raeburn.org \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).