GNU bug report logs - #24913
25.1.50; Emacs accepts undocumented and confusing combinations of &optional and &rest in argument lists

Previous Next

Package: emacs;

Reported by: Philipp Stephani <p.stephani2 <at> gmail.com>

Date: Wed, 9 Nov 2016 21:19:02 UTC

Severity: minor

Found in version 25.1.50

Done: Philipp Stephani <p.stephani2 <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Philipp Stephani <p.stephani2 <at> gmail.com>
To: Gemini Lasswell <gazally <at> runbox.com>, 24913 <at> debbugs.gnu.org
Subject: Re: bug#24913: 25.1.50; Emacs accepts undocumented and confusing
 combinations of &optional and &rest in argument lists
Date: Sat, 19 Nov 2016 16:40:47 +0000
[Message part 1 (text/plain, inline)]
Gemini Lasswell <gazally <at> runbox.com> schrieb am Do., 10. Nov. 2016 um
17:56 Uhr:

>
> > Philipp Stephani <p.stephani2 <at> gmail.com> schrieb am Mi., 9. Nov. 2016
> um 22:19 Uhr:
> >
> > Here's a patch that detects such argument lists.
> >
> A more general solution would be to have the byte compiler try to match
> Edebug specs, and issue a warning or an error if it fails. That would
> help find errors in the invocations of all macros, not just ones with
> argument lists.
>

I don't understand how this is related. This is only about function
definitions in the evaluator and the byte compiler. I don't see how Edebug
could help here.
[Message part 2 (text/html, inline)]

This bug report was last modified 8 years and 240 days ago.

Previous Next


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