unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Gemini Lasswell <gazally@runbox.com>
To: Philipp Stephani <p.stephani2@gmail.com>, 24913@debbugs.gnu.org
Subject: bug#24913: 25.1.50; Emacs accepts undocumented and confusing combinations of &optional and &rest in argument lists
Date: Thu, 10 Nov 2016 08:56:36 -0800	[thread overview]
Message-ID: <m28tsr9su3.fsf@rainbow.local> (raw)
In-Reply-To: <CAArVCkRaDsg6uunnC8Gtf-O8+T4oTy7CGgwSm+dO1HNgempoFw@mail.gmail.com> (Philipp Stephani's message of "Thu, 10 Nov 2016 12:58:39 +0000")


> Philipp Stephani <p.stephani2@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.





  reply	other threads:[~2016-11-10 16:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-09 21:17 bug#24913: 25.1.50; Emacs accepts undocumented and confusing combinations of &optional and &rest in argument lists Philipp Stephani
2016-11-10 12:58 ` Philipp Stephani
2016-11-10 16:56   ` Gemini Lasswell [this message]
2016-11-19 16:40     ` Philipp Stephani
2016-11-20  6:31       ` Gemini Lasswell
2016-11-20 12:41         ` Philipp Stephani
2016-11-18  9:06   ` Eli Zaretskii
2016-11-18 17:37     ` Philipp Stephani

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m28tsr9su3.fsf@rainbow.local \
    --to=gazally@runbox.com \
    --cc=24913@debbugs.gnu.org \
    --cc=p.stephani2@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).