all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Returning Lists From Dynamic Module
Date: Thu, 11 Jul 2024 17:02:11 +0300	[thread overview]
Message-ID: <868qy8m3h8.fsf@gnu.org> (raw)
In-Reply-To: <CADQMGASozvcqTxEwJPHDYvD9QoHVxwFLKR=uKeq5AL+s34GyMA@mail.gmail.com> (message from Psionic K on Thu, 11 Jul 2024 22:10:53 +0900)

> From: Psionic K <psionik@positron.solutions>
> Date: Thu, 11 Jul 2024 22:10:53 +0900
> 
> I think I read something before about using cons in the manual, but now I
> can't find it.  I was just wanting to return some alists to Elisp.  I'm
> expecting I need to move some values over to Emacs managed memory while
> consing them up according to the desired structure, but I don't know the
> correct phrase / tools for either of these actions at a low level.

I guess you'll need to call 'cons' via the env->intern and
env->funcall mechanism.  This is described in the ELisp manual, so I
suggest to read that.



      reply	other threads:[~2024-07-11 14:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-11 13:10 Returning Lists From Dynamic Module Psionic K
2024-07-11 14:02 ` Eli Zaretskii [this message]

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

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

  git send-email \
    --in-reply-to=868qy8m3h8.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.