GNU bug report logs - #26221
(defun function nil should work in 2.2

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guile; Reported by: Jean Louis <bugs@HIDDEN>; dated Wed, 22 Mar 2017 22:02:02 UTC; Maintainer for guile is bug-guile@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 24 Mar 2017 09:19:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 24 05:19:49 2017
Received: from localhost ([127.0.0.1]:41724 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1crLNt-00031k-Ou
	for submit <at> debbugs.gnu.org; Fri, 24 Mar 2017 05:19:49 -0400
Received: from eggs.gnu.org ([208.118.235.92]:50198)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tomas@HIDDEN>) id 1crLNs-00031X-6V
 for submit <at> debbugs.gnu.org; Fri, 24 Mar 2017 05:19:48 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <tomas@HIDDEN>) id 1crLNm-00035M-B6
 for submit <at> debbugs.gnu.org; Fri, 24 Mar 2017 05:19:43 -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 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:50903)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <tomas@HIDDEN>) id 1crLNm-00035I-82
 for submit <at> debbugs.gnu.org; Fri, 24 Mar 2017 05:19:42 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:41168)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <tomas@HIDDEN>) id 1crLNl-00046H-B7
 for bug-guile@HIDDEN; Fri, 24 Mar 2017 05:19:42 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <tomas@HIDDEN>) id 1crLNg-00034f-Dz
 for bug-guile@HIDDEN; Fri, 24 Mar 2017 05:19:41 -0400
Received: from mail.tuxteam.de ([5.199.139.25]:50783 helo=tomasium.tuxteam.de)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <tomas@HIDDEN>) id 1crLNg-00033Y-7k
 for bug-guile@HIDDEN; Fri, 24 Mar 2017 05:19:36 -0400
Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80)
 (envelope-from <tomas@HIDDEN>) id 1crLNV-0001gA-NC
 for bug-guile@HIDDEN; Fri, 24 Mar 2017 10:19:25 +0100
Date: Fri, 24 Mar 2017 10:19:25 +0100
To: bug-guile@HIDDEN
Subject: Re: bug#26221: (define function nil should work in 2.2
Message-ID: <20170324091925.GA6245@HIDDEN>
References: <20170322214853.GA11392@HIDDEN>
 <BN6PR10MB17292650DB2FFE0FA2C9CE70A63F0@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; x-action=pgp-signed
Content-Transfer-Encoding: 8bit
In-Reply-To: <BN6PR10MB17292650DB2FFE0FA2C9CE70A63F0@HIDDEN>
User-Agent: Mutt/1.5.21 (2010-09-15)
From: <tomas@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Mar 23, 2017 at 07:59:04PM +0000, Joshua Branson wrote:
> 
> I can confirm this bug.  Eshell accepts (defun hello nil (print “Hello"))  And (hello)  works properly.
> 
> M-x guiler
> 
> ,languages elisp
> 
> (defun hello nil (print “Hello”))  doesn’t work.
> 
> Joshua
> 
> P.S.  I didn’t even know (define function nil …) was a thing in elisp land.

No, no. It's not (defun nil) -- it's (defun foo nil ...), which, if you squint a
bit is the same (in Lisp!) as (defun foo () ...) -- defining function foo with
an empty argument list. This is a perfectly respectable thing to do.

That's because, for Lisp, nil, '() and false are all one and the same. Scheme
is pickier here, and I'd imagine that this is the reflection of one of those
translation pains. But I don't know enough about Guile's elisp implementation
to be sure (ah, I wish I had the time for that...)

regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAljU5J0ACgkQBcgs9XrR2kY2SACffmA4jJ06fft6EBCbhm3m7Zwj
8Y8AnitudhEOZQjCzsa/tu29vFtNEFhZ
=0umF
-----END PGP SIGNATURE-----




Information forwarded to bug-guile@HIDDEN:
bug#26221; Package guile. Full text available.

Message received at 26221 <at> debbugs.gnu.org:


Received: (at 26221) by debbugs.gnu.org; 23 Mar 2017 20:00:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 23 16:00:33 2017
Received: from localhost ([127.0.0.1]:41378 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cr8uP-00007r-6y
	for submit <at> debbugs.gnu.org; Thu, 23 Mar 2017 16:00:33 -0400
Received: from mail-oln040092006090.outbound.protection.outlook.com
 ([40.92.6.90]:12248 helo=NAM03-BY2-obe.outbound.protection.outlook.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bransoj@HIDDEN>) id 1cr8uN-00007Z-EY
 for 26221 <at> debbugs.gnu.org; Thu, 23 Mar 2017 16:00:31 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com;
 s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version;
 bh=hjiI/9wC03sQNrdHPsPAvg3T81uqCG9xNpLMamDayHE=;
 b=XNSwwZb42q3zgpVHfBLMDmazott+MD/tHi8cUzlXouVR5Syp67yEW5EkQts8u20A860nWLySZhYXnIxneFBxFsqJ/szp/yv/ww4h1RnyDzH852Ex7shaASwXwyFyROrHBbDIAS+cKndMULaLx4pp2V67ZR+bi7UzYYgx8IgIp58iLck3Kq/u2FR6387yMPlWikOrrVHkOdLl9rec5pfWC5wH/lTyI/GQ4k+E9GOKUYPWAFCbvPWmBUyql06q4ldo5s5+5SrDI6LQhR2JkK4QU5QZDAvxae9/1LZg2KGpfq9P/1h1acSQ/lNogoFvSUqqrQ2lLylTfRyYgixdRuqmBQ==
Received: from DM3NAM03FT029.eop-NAM03.prod.protection.outlook.com
 (10.152.82.57) by DM3NAM03HT048.eop-NAM03.prod.protection.outlook.com
 (10.152.83.132) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.977.7; Thu, 23 Mar
 2017 19:59:05 +0000
Received: from BN6PR10MB1729.namprd10.prod.outlook.com (10.152.82.51) by
 DM3NAM03FT029.mail.protection.outlook.com (10.152.82.194) with Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id
 15.1.977.7 via Frontend Transport; Thu, 23 Mar 2017 19:59:04 +0000
Received: from BN6PR10MB1729.namprd10.prod.outlook.com ([10.172.20.137]) by
 BN6PR10MB1729.namprd10.prod.outlook.com ([10.172.20.137]) with mapi id
 15.01.0961.020; Thu, 23 Mar 2017 19:59:04 +0000
From: Joshua Branson <bransoj@HIDDEN>
To: "26221 <at> debbugs.gnu.org" <26221 <at> debbugs.gnu.org>
Subject: (define function nil should work in 2.2
Thread-Topic: (define function nil should work in 2.2
Thread-Index: AQHSpA/ss5QPrseh+0y2GLpn3+Dfuw==
Date: Thu, 23 Mar 2017 19:59:04 +0000
Message-ID: <BN6PR10MB17292650DB2FFE0FA2C9CE70A63F0@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: debbugs.gnu.org; dkim=none (message not signed)
 header.d=none;debbugs.gnu.org; dmarc=none action=none
 header.from=hotmail.com;
x-incomingtopheadermarker: OriginalChecksum:8FE9F3597B71673FBA6673F4094B43D7AFFF6C7291D86323EDAEBAB27E896936;
 UpperCasedChecksum:FB0A6BBA0E9C3EB01477F090B7EE286A1C3C69BA1B886AAA73B485A06497A193;
 SizeAsReceived:7682; Count:37
x-ms-exchange-messagesentrepresentingtype: 1
x-microsoft-exchange-diagnostics: 1; DM3NAM03HT048;
 5:2P18gYHG5H1MZSwjZSqnDig+yv18nfdjKGIMMeXgBu8vievvNHi/l3/8i+x9YiyOyFwf/qWg1BkaZ0tXD/RMGMc2ry+eKjJnBbdb78DrSqVqeFKd86mdULjGEYolwz/yFEeDNjw5pOF7c0F60v0fMg==;
 24:5cfBLTuPi11NnXy3gFVcfs2QSianCrTsuf56sll4K8MAF/K+9z7zj126D+uo1gyLBSt9Hfu/tWeLE67WfNLX2w6mWDXuyGFvYIp7AJJwpPY=;
 7:prC2WRfnl14H7oLGbfnqZghxDM26fc7a5fmsgFjoFtNfrnMhYhu4GUdlgpbUZTmG37yA5+f8iALnNQ0hJccemOfveRCVg70s8WMlKL0PZttPGev+aefTe0uIm5QLByAuSOiCke2qIUbMMfuss7i0rjyB0EoSYJgZxZ5GlbFd1ePyJ94fNdl66CG7ef1DQrWqYz6zaDZA06TPVdN8cgRd31/EfimBKUvLSlHFDsMQpvdsC6JrSL1LprWAV1T5sl5ozRvPT/uWGf9JACW9gqwoBdPA0INuFVraSMoDA7hypbV5FPbHqmabkIM0Y7+Zms0R
x-incomingheadercount: 37
x-eopattributedmessage: 0
x-forefront-antispam-report: EFV:NLI; SFV:NSPM; SFS:(7070007)(98900017);
 DIR:OUT; SFP:1901; SCL:1; SRVR:DM3NAM03HT048;
 H:BN6PR10MB1729.namprd10.prod.outlook.com; FPR:; SPF:None; LANG:en; 
x-ms-office365-filtering-correlation-id: d052818c-b74e-4a21-cfb0-08d472270e4f
x-microsoft-antispam: UriScan:; BCL:0; PCL:0;
 RULEID:(22001)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320250)(2017031322250)(1603101448)(1601125374)(1701031045);
 SRVR:DM3NAM03HT048; 
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(444000031);
 SRVR:DM3NAM03HT048; BCL:0; PCL:0; RULEID:; SRVR:DM3NAM03HT048; 
x-forefront-prvs: 0255DF69B9
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <AB95F043ABA8564FA202EF2D69C37E6D@HIDDEN>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: hotmail.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Mar 2017 19:59:04.7114 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM3NAM03HT048
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 26221
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

DQpJIGNhbiBjb25maXJtIHRoaXMgYnVnLiAgRXNoZWxsIGFjY2VwdHMgKGRlZnVuIGhlbGxvIG5p
bCAocHJpbnQg4oCcSGVsbG8iKSkgIEFuZCAoaGVsbG8pICB3b3JrcyBwcm9wZXJseS4NCg0KTS14
IGd1aWxlcg0KDQosbGFuZ3VhZ2VzIGVsaXNwDQoNCihkZWZ1biBoZWxsbyBuaWwgKHByaW50IOKA
nEhlbGxv4oCdKSkgIGRvZXNu4oCZdCB3b3JrLg0KDQpKb3NodWENCg0KUC5TLiAgSSBkaWRu4oCZ
dCBldmVuIGtub3cgKGRlZmluZSBmdW5jdGlvbiBuaWwg4oCmKSB3YXMgYSB0aGluZyBpbiBlbGlz
cCBsYW5kLg==




Information forwarded to bug-guile@HIDDEN:
bug#26221; Package guile. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 22 Mar 2017 22:01:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 22 18:01:04 2017
Received: from localhost ([127.0.0.1]:39856 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cqoJT-0004mX-UF
	for submit <at> debbugs.gnu.org; Wed, 22 Mar 2017 18:01:04 -0400
Received: from eggs.gnu.org ([208.118.235.92]:47131)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bugs@HIDDEN>) id 1cqoJS-0004lx-8j
 for submit <at> debbugs.gnu.org; Wed, 22 Mar 2017 18:01:02 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <bugs@HIDDEN>) id 1cqoJM-0004pG-Ez
 for submit <at> debbugs.gnu.org; Wed, 22 Mar 2017 18:00:57 -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.0 required=5.0 tests=BAYES_40 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:47060)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <bugs@HIDDEN>) id 1cqoJM-0004pC-A7
 for submit <at> debbugs.gnu.org; Wed, 22 Mar 2017 18:00:56 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:38100)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <bugs@HIDDEN>) id 1cqoJL-00057z-6h
 for bug-guile@HIDDEN; Wed, 22 Mar 2017 18:00:55 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <bugs@HIDDEN>) id 1cqoJH-0004of-7f
 for bug-guile@HIDDEN; Wed, 22 Mar 2017 18:00:55 -0400
Received: from stw1.rcdrun.com ([217.170.207.13]:54416)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <bugs@HIDDEN>) id 1cqoJH-0004i4-12
 for bug-guile@HIDDEN; Wed, 22 Mar 2017 18:00:51 -0400
Received: from protected.rcdrun.com (localhost [::1])
 (AUTH: PLAIN securesender, TLS: TLSv1/SSLv3,256bits,AES256-SHA)
 by stw1.rcdrun.com with ESMTPSA; Wed, 22 Mar 2017 15:00:46 -0700
 id 00000000000BA53A.0000000058D2F414.00007D52
Received: from localhost (localhost [127.0.0.1]) (uid 1001)
 by protected.rcdrun.com with local; Thu, 23 Mar 2017 00:48:53 +0300
 id 00000000000ED567.0000000058D2F145.00002C8F
Date: Thu, 23 Mar 2017 00:48:53 +0300
From: Jean Louis <bugs@HIDDEN>
To: bug-guile@HIDDEN
Subject: (defun function nil should work in 2.2
Message-ID: <20170322214853.GA11392@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.1 (----)

In my opinion, (defun hello nil (print "Hello")) should work in
Guile-2.2 but it does not.

If it works in Emacs it should work in Guile with the option
--language=elisp

Jean




Acknowledgement sent to Jean Louis <bugs@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guile@HIDDEN. Full text available.
Report forwarded to bug-guile@HIDDEN:
bug#26221; Package guile. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.