From mboxrd@z Thu Jan 1 00:00:00 1970
Path: news.gmane.org!.POSTED!not-for-mail
From: Philipp Stephani
Newsgroups: gmane.emacs.devel
Subject: Re: how to keep a copy of emacs_env or ert in module ?
Date: Sun, 11 Sep 2016 08:02:57 +0000
Message-ID:
References:
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=001a114702a45f1b5a053c36cf21
X-Trace: blaine.gmane.org 1473581122 17164 195.159.176.226 (11 Sep 2016 08:05:22 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sun, 11 Sep 2016 08:05:22 +0000 (UTC)
To: hx , emacs-devel@gnu.org
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 11 10:05:18 2016
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 1bizlH-0003Hf-AG
for ged-emacs-devel@m.gmane.org; Sun, 11 Sep 2016 10:05:11 +0200
Original-Received: from localhost ([::1]:36850 helo=lists.gnu.org)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from )
id 1bizlF-0007G2-AU
for ged-emacs-devel@m.gmane.org; Sun, 11 Sep 2016 04:05:09 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57891)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1bizkg-0007Fm-Ve
for emacs-devel@gnu.org; Sun, 11 Sep 2016 04:04:35 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1bizkc-0006AE-P3
for emacs-devel@gnu.org; Sun, 11 Sep 2016 04:04:33 -0400
Original-Received: from mail-wm0-f47.google.com ([74.125.82.47]:35766)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1bizkc-00062p-Hq
for emacs-devel@gnu.org; Sun, 11 Sep 2016 04:04:30 -0400
Original-Received: by mail-wm0-f47.google.com with SMTP id a6so9701409wmc.0
for ; Sun, 11 Sep 2016 01:04:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
bh=8HTtCP0xSd2gPuT7VDv/CUSmiLDaFJABpTz8Gh1x2Mg=;
b=oO/Q4CIfczB+GjFxbq5fJWv1x7P7dD1BnkiWu/kcLTF/QyLDBO6h+gw2KCY80kfauG
iVsTt1+RhMk7kRr3amz0yFwpw//r1YF4gbGvwvNC4aGn99ckH/7jOE6OjJVzcEeWRrWG
mwep68MS0nnI9ZJP0TGvqGvyEzUGI47vYHS7TonFzCIdlJmUHsk/YcM2KPVw4gUfRM57
xR/zn9rHRyia5N8c4iNSCSB94qBiG4H5RXCSFysTFNBulvmDuXL21XDG6DCzgkuxWudb
ouB30fHkxH07oeb2mC7VV2EvrLaQ6SgnfubX7KboGFTlaa5hmV1swZ1h3U6LP48lbUaP
zjfw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to;
bh=8HTtCP0xSd2gPuT7VDv/CUSmiLDaFJABpTz8Gh1x2Mg=;
b=giw1dDqO3zp9XeQq00h1FG1hysAC+rdGRuFKfbrjNOWre5r3a9+Wu3gDom0Jk0lmcR
J47aRRSCrWvbkNGtB8QgmeYX/EZwedJGGW0ei3z/9SP76yOom2i47iw7R1PszdE/TUHm
QQ8EM8nTyVS7y8qRBkm8QmUM5r2YVilO7vRIu9ngjlnfFdllPPBs3+ObABaTO+mZ0JYk
jO9H7d21XQ5nA9w3nKmf6GNh3x0xxJLKXW4UJmFq2aXNB4KhQd72xyDKQwHG2E6ncYx9
ko6agRRzijfcaHFH3ieX/X2iGNcuLBvJPGUS9pCygMAFy2b2TRjPZxvwC0p31LMbo1ik
cb2A==
X-Gm-Message-State: AE9vXwNHc21WU8KRNu4Nnb/aFN30VLHbdaA2XcwziTJjHJKEySmK/AMXS/jkqD9fZEjOYD7mqjqd0yKaM1Wf8Q==
X-Received: by 10.28.22.6 with SMTP id 6mr5728509wmw.55.1473580988568; Sun, 11
Sep 2016 01:03:08 -0700 (PDT)
In-Reply-To:
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
[fuzzy]
X-Received-From: 74.125.82.47
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:207360
Archived-At:
--001a114702a45f1b5a053c36cf21
Content-Type: text/plain; charset=UTF-8
hx schrieb am So., 11. Sep. 2016 um 06:30 Uhr:
> is it possible to keep a copy of the *env in module ?
>
>
No. emacs_env, emacs_runtime, and emacs_value objects are only valid within
the dynamic extent of the function they are created/passed in. You can't
keep them around. The only exception are global references, created by
make_global_ref.
--001a114702a45f1b5a053c36cf21
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
hx <=
;silent2600@gmail.com> schri=
eb am So., 11. Sep. 2016 um 06:30=C2=A0Uhr:
is i=
t possible to keep a copy of the *env in module ?
N=
o. emacs_env, emacs_runtime, and emacs_value objects are only valid within =
the dynamic extent of the function they are created/passed in. You can'=
t keep them around. The only exception are global references, created by ma=
ke_global_ref.