unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#40869: Scheme syntax-rules indent when using ellipsis symbol
@ 2020-04-26 15:18 Jakub Jankiewicz
  2022-06-06 13:32 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Jakub Jankiewicz @ 2020-04-26 15:18 UTC (permalink / raw)
  To: 40869

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#40869: Scheme syntax-rules indent when using ellipsis symbol
  2020-04-26 15:18 bug#40869: Scheme syntax-rules indent when using ellipsis symbol Jakub Jankiewicz
@ 2022-06-06 13:32 ` Lars Ingebrigtsen
  2022-06-06 18:13   ` Jakub T. Jankiewicz
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2022-06-06 13:32 UTC (permalink / raw)
  To: Jakub Jankiewicz; +Cc: 40869

Jakub Jankiewicz <jcubic@onet.pl> writes:

> 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 ...))))

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

I've now fixed this in Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#40869: Scheme syntax-rules indent when using ellipsis symbol
  2022-06-06 13:32 ` Lars Ingebrigtsen
@ 2022-06-06 18:13   ` Jakub T. Jankiewicz
  0 siblings, 0 replies; 3+ messages in thread
From: Jakub T. Jankiewicz @ 2022-06-06 18:13 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 40869

Awesome, thanks.

On Mon, 06 Jun 2022 15:32:18 +0200
Lars Ingebrigtsen <larsi@gnus.org> wrote:

> Jakub Jankiewicz <jcubic@onet.pl> writes:
> 
> > 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 ...))))  
> 
> (I'm going through old bug reports that unfortunately weren't resolved
> at the time.)
> 
> I've now fixed this in Emacs 29.
> 

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-06-06 18:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-26 15:18 bug#40869: Scheme syntax-rules indent when using ellipsis symbol Jakub Jankiewicz
2022-06-06 13:32 ` Lars Ingebrigtsen
2022-06-06 18:13   ` Jakub T. Jankiewicz

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).