GNU bug report logs - #40869
Scheme syntax-rules indent when using ellipsis symbol

Previous Next

Package: emacs;

Reported by: Jakub Jankiewicz <jcubic <at> onet.pl>

Date: Sun, 26 Apr 2020 15:25:01 UTC

Severity: normal

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jakub Jankiewicz <jcubic <at> onet.pl>
To: 40869 <at> debbugs.gnu.org
Subject: bug#40869: Scheme syntax-rules indent when using ellipsis symbol
Date: Sun, 26 Apr 2020 17:18:53 +0200
According to srfi-46 the syntax-rules can have extra first parameter:

This is the indent:

(define-syntax list+
  (syntax-rules ::: ()
                ((_ args :::) '(args :::))))

it should be the same as without ellipis extra symbol:

(define-syntax list+
  (syntax-rules ()
    ((_ args ...) '(args ...))))

--
Jakub Jankiewicz, Web Developer
https://jcubic.pl/me




This bug report was last modified 2 years and 345 days ago.

Previous Next


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