From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mikael Djurfeldt Newsgroups: gmane.lisp.guile.bugs Subject: bug#47550: [PATCH] elisp mode doesn't support non-list argument lists Date: Thu, 1 Apr 2021 20:58:55 +0200 Message-ID: References: Reply-To: mikael@djurfeldt.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000062fe2c05beedd38c" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11104"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 47550@debbugs.gnu.org To: Vasilij Schneidermann Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Thu Apr 01 21:00:10 2021 Return-path: Envelope-to: guile-bugs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lS2Y5-0002mm-0u for guile-bugs@m.gmane-mx.org; Thu, 01 Apr 2021 21:00:09 +0200 Original-Received: from localhost ([::1]:50820 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lS2Y4-0007df-1G for guile-bugs@m.gmane-mx.org; Thu, 01 Apr 2021 15:00:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43622) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lS2Xz-0007bN-2B for bug-guile@gnu.org; Thu, 01 Apr 2021 15:00:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47146) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lS2Xy-0004lb-NZ for bug-guile@gnu.org; Thu, 01 Apr 2021 15:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lS2Xy-0000Vt-LY for bug-guile@gnu.org; Thu, 01 Apr 2021 15:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mikael Djurfeldt Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Thu, 01 Apr 2021 19:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47550 X-GNU-PR-Package: guile X-GNU-PR-Keywords: patch Original-Received: via spool by 47550-submit@debbugs.gnu.org id=B47550.16173035541865 (code B ref 47550); Thu, 01 Apr 2021 19:00:02 +0000 Original-Received: (at 47550) by debbugs.gnu.org; 1 Apr 2021 18:59:14 +0000 Original-Received: from localhost ([127.0.0.1]:58689 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lS2XC-0000U1-CP for submit@debbugs.gnu.org; Thu, 01 Apr 2021 14:59:14 -0400 Original-Received: from mail-vs1-f42.google.com ([209.85.217.42]:35695) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lS2XA-0000Tk-8N for 47550@debbugs.gnu.org; Thu, 01 Apr 2021 14:59:13 -0400 Original-Received: by mail-vs1-f42.google.com with SMTP id h11so1735096vsl.2 for <47550@debbugs.gnu.org>; Thu, 01 Apr 2021 11:59:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=NpaZdgihhVtgeCJijyieo5NiLqnfaAVJ0MHfetNWWRY=; b=SznRlSBdUVpVSnCLePUtBcdQc9GvkTU9NGd/lL2vkBfrK1CdMdV0xp5vSvTdA/0L98 orH25HR4UVly+XT+3SYl8qBSAbHBDlP5c6cJPGnVulJ5Aw4npbnw3vsK164ljBEY+Z3U NvqlJvmd9H7nMglwNuq9qCoYmF8nPtqb8WHrI69q+972aPEtTk8tfUaCCQFd/trZb62c KNI86K0ScWp/W60Jl998FG3bpC/AMefk0niZN2jkN6kkXhqbD7v1qMMx+9kJLMMT6GRb QNeifuQjFONBg2B5Tths3uefLAzLopt0Zw7m7C36tePpqOkmK+AR4QgkpjTvvV23Yvuo t5rQ== X-Gm-Message-State: AOAM533dhdu4Tj+CyuaxwLk8E2SjS1oYBbHfG5oOX9xhiUiqWhI1WWcG NUAg/Jy0defz4HYqFlaIYZPHbz0E0ZdLCauHEtqwwCqe6Uv4yA== X-Google-Smtp-Source: ABdhPJwm9F0QwyMz5G5L3OwYAb+2tGUXssfHfGY7vk1UEt+2lhKECCRfIOBYVuRirrxZWJwBj9PMLgB0tK/VQjFpntQ= X-Received: by 2002:a67:f995:: with SMTP id b21mr7040808vsq.6.1617303546559; Thu, 01 Apr 2021 11:59:06 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.io gmane.lisp.guile.bugs:10007 Archived-At: --00000000000062fe2c05beedd38c Content-Type: text/plain; charset="UTF-8" Fixed in commit 01bfd18f. Thanks! On Thu, Apr 1, 2021 at 6:19 PM Vasilij Schneidermann wrote: > 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. > --00000000000062fe2c05beedd38c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Fixed in commit 01bfd18f.

Th= anks!

On Thu, Apr 1, 2021 at 6:19 PM Vasilij Schneidermann <mail@vasilij.de> wrote:
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<= br> as `()` when compiling a lambda.
--00000000000062fe2c05beedd38c--