GNU bug report logs - #47550
[PATCH] elisp mode doesn't support non-list argument lists

Previous Next

Package: guile;

Reported by: Vasilij Schneidermann <mail <at> vasilij.de>

Date: Thu, 1 Apr 2021 16:19:01 UTC

Severity: normal

Tags: patch

Done: Mikael Djurfeldt <mikael <at> djurfeldt.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Vasilij Schneidermann <mail <at> vasilij.de>
To: bug-guile <at> gnu.org
Subject: [PATCH] elisp mode doesn't support non-list argument lists
Date: Thu, 1 Apr 2021 18:18:21 +0200
[Message part 1 (text/plain, inline)]
When I've tried porting existing elisp code, I've found that `(defun foo
nil 1)` errors out (on Guile 3 and master) , but `(defun foo () 1)`
doesn't. The following patch rectifies this by treating `nil` the same
as `()` when compiling a lambda.
[0001-elisp-Handle-nil-argument-list.patch (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 4 years and 128 days ago.

Previous Next


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