From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 08 14:48:52 2015 Received: (at submit) by debbugs.gnu.org; 8 Jul 2015 18:48:52 +0000 Received: from localhost ([127.0.0.1]:44481 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZCuOp-0005Oq-Lc for submit@debbugs.gnu.org; Wed, 08 Jul 2015 14:48:52 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55088) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZCuOn-0005Od-G6 for submit@debbugs.gnu.org; Wed, 08 Jul 2015 14:48:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCuOg-0000gZ-V4 for submit@debbugs.gnu.org; Wed, 08 Jul 2015 14:48:44 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:41380) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCuOg-0000gR-SP for submit@debbugs.gnu.org; Wed, 08 Jul 2015 14:48:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCuOf-0005ap-Pb for bug-guile@gnu.org; Wed, 08 Jul 2015 14:48:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCuOe-0000fW-NO for bug-guile@gnu.org; Wed, 08 Jul 2015 14:48:41 -0400 Received: from mail-pd0-x22f.google.com ([2607:f8b0:400e:c02::22f]:36076) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCuOe-0000f1-DY for bug-guile@gnu.org; Wed, 08 Jul 2015 14:48:40 -0400 Received: by pddu5 with SMTP id u5so62785711pdd.3 for ; Wed, 08 Jul 2015 11:48:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=HMmhplqVTK5HWfM4smSjGZgSazuNvNiiRmITOfP7k8s=; b=l+9S+M23n/xgjmTNl1+gPd1Lh6Wtn7+zSbkw6yMaeGZXEwnTIIzfp6KA2qZjZfRnNb PguaoH5wIfVOApotSQOVGIh3itS0rbO+T+7tRPcDOWaUOpRrP/EkGlrhMt/ar0dIhC7A oSPNVpuuAS0w1uF34n9ux6YPVfKjTPgZnrzq8Qkcf7GzYlVAgEcTqGDTziQwViUhxBZv BbAf5t6a0PgqnG0EekNIIzAqD/IMBtZwC0c4WsmNzjQgBk4VvfjiyXyP/tjuNHvPSrj1 1R6y8INr5w0bKsyu4IWQ1Ij3KBdQ8thT1YC8vVIKUeWmJ68N18N6nC3wQMOOdVYal/ms eZ0A== MIME-Version: 1.0 X-Received: by 10.70.87.195 with SMTP id ba3mr23562873pdb.154.1436381319032; Wed, 08 Jul 2015 11:48:39 -0700 (PDT) Received: by 10.70.78.132 with HTTP; Wed, 8 Jul 2015 11:48:38 -0700 (PDT) Date: Wed, 8 Jul 2015 20:48:38 +0200 Message-ID: Subject: Evaluation expression from C assumes that lambda is present From: Stefan Israelsson Tampe To: bug-guile@gnu.org Content-Type: multipart/alternative; boundary=001a11c20c84487ac2051a619686 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --001a11c20c84487ac2051a619686 Content-Type: text/plain; charset=UTF-8 When using the profiler in a pure module ,profile does not work The reason is that in scmsigs.c, At an evaluation occurs from C e.g. static SCM close_1 (SCM proc, SCM arg) { return scm_primitive_eval_x (scm_list_3 (scm_sym_lambda, SCM_EOL, scm_list_2 (proc, arg))); } This means that languages in guile that want's profiling needs to export lambda from (guile). Maybe this is a feature but there are two things that can improve, 1. We can export @@ or @ as the only symbol from guile and fix all evaluatoins like the above to issue a (@ (guile) lambda) in stead of lambda etc. Maybe we should use a more uncommon symbol for @ and @@ to be used in situations like that for which should always be reexported for langages that want to support guile features. lambda is a very common symbol and I would expect profiling to fail under elisp no so this issues seams to be urgent. I will for know export lambda. Regards Stefan --001a11c20c84487ac2051a619686 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
When using the profiler in a pure module ,profile doe= s not work

The reason is that in=C2=A0
= =C2=A0 =C2=A0 scmsigs.c,=C2=A0

At an evaluation oc= curs from C e.g.

static SCM
close_1 (SCM= proc, SCM arg)
{
=C2=A0 return scm_primitive_eval_x (s= cm_list_3 (scm_sym_lambda, SCM_EOL,
=C2=A0 scm_list_2 (proc, arg)));
}

This means that languages in guile that want's pr= ofiling needs to export lambda from (guile). Maybe this is a feature but th= ere are two things that can improve,

1. We can exp= ort @@ or @ as the only symbol from guile and fix all evaluatoins like the = above to issue a (@ (guile) lambda) in stead of lambda etc. Maybe we should= use a more uncommon symbol for @ and @@ to be used in situations like that= for which should always be reexported for langages
that want to = support guile features.

lambda is a very common sy= mbol and I would expect profiling to fail under elisp no so this issues sea= ms to be urgent. I will for know export lambda.

Re= gards
Stefan

--001a11c20c84487ac2051a619686-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 24 03:54:03 2016 Received: (at 21013-done) by debbugs.gnu.org; 24 Jun 2016 07:54:03 +0000 Received: from localhost ([127.0.0.1]:53292 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGLwB-0000vk-2e for submit@debbugs.gnu.org; Fri, 24 Jun 2016 03:54:03 -0400 Received: from pb-sasl1.pobox.com ([64.147.108.66]:61679 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGLw9-0000vJ-5A for 21013-done@debbugs.gnu.org; Fri, 24 Jun 2016 03:54:01 -0400 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 7F6D218C44; Fri, 24 Jun 2016 03:53:59 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=itv1bzK+WzdGyqcSNFrxwpJfwdc=; b=gVghPr T/2+4kGe/LUATzaNEtAEo7YN4QMHbxfAZAEeZLRrZfBwztegtvn69Y9WY+Y7D/qZ rTh4B0OOdu+uwVPI42YVfNAMVUanUgQ9eDOM9gXrvVVAIWy8lpGSVWPgkHnz9xZG oBbYguNC4HRKTZx8rWh0sLPnwjOyXBFQx+odY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=vpDgks02gF5p+hDbxkLznd8KUIbXfGP5 uZECPP5gx6BRZ+4AYnMI+LCTv6zWSKbQtRV3ZJUQ1fJzXwhPiFhaxLLwoeD+S0vF KzesQCWZE+EVEORPnupUupX/f9fEGpFhuVr3cYraaAk4X3h38RdP7JJkcL+cQGIu ISes2GQ5res= Received: from pb-sasl1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 77CCB18C43; Fri, 24 Jun 2016 03:53:59 -0400 (EDT) Received: from clucks (unknown [88.160.190.192]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl1.pobox.com (Postfix) with ESMTPSA id DEDB718C41; Fri, 24 Jun 2016 03:53:58 -0400 (EDT) From: Andy Wingo To: Stefan Israelsson Tampe Subject: Re: bug#21013: Evaluation expression from C assumes that lambda is present References: Date: Fri, 24 Jun 2016 09:53:51 +0200 In-Reply-To: (Stefan Israelsson Tampe's message of "Wed, 8 Jul 2015 20:48:38 +0200") Message-ID: <87inwzhvjk.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: CF09C49C-39E0-11E6-9788-C1836462E9F6-02397024!pb-sasl1.pobox.com X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: 21013-done Cc: 21013-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) On Wed 08 Jul 2015 20:48, Stefan Israelsson Tampe writes: > When using the profiler in a pure module ,profile does not work > > The reason is that in > scmsigs.c, > > At an evaluation occurs from C e.g. > > static SCM > close_1 (SCM proc, SCM arg) > { > return scm_primitive_eval_x (scm_list_3 (scm_sym_lambda, SCM_EOL, > scm_list_2 (proc, arg))); > } Amusing! I tried to work around this use of `eval' but I can't because there's too much C sclerosis. Instead I switched to use scm_eval and specified a module; should fix the issue. Andy From unknown Sun Aug 17 22:07:33 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 22 Jul 2016 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator