From: Jean Louis <bugs@gnu.support>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 40596@debbugs.gnu.org
Subject: bug#40596: 28.0.50; Function with more than one key gives "wrong number of arguments" error
Date: Mon, 13 Apr 2020 16:43:49 +0300 [thread overview]
Message-ID: <20200413134349.GH15872@protected.rcdrun.com> (raw)
In-Reply-To: <83y2qzik0g.fsf@gnu.org>
* Eli Zaretskii <eliz@gnu.org> [2020-04-13 16:38]:
> > Date: Mon, 13 Apr 2020 16:02:30 +0300
> > From: Jean Louis <bugs@gnu.support>
> > Cc: 40596@debbugs.gnu.org
> >
> > I understand and not that I need it. Then if the Emacs Lisp `defun'
> > does not support &key, why is then this below working?
> >
> > (defun tmp-function-1 (text html &key one)
> > "This one works fine"
> > (message one))
> >
> > (tmp-function-1 "text" "<html>" :one "Hello")
>
> I think it interprets &key as a name of a simple argument.
A yes, close.
next prev parent reply other threads:[~2020-04-13 13:43 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-13 11:19 bug#40596: 28.0.50; Function with more than one key gives "wrong number of arguments" error Jean Louis
2020-04-13 12:30 ` Eli Zaretskii
2020-04-13 13:02 ` Jean Louis
2020-04-13 13:37 ` Eli Zaretskii
2020-04-13 13:43 ` Jean Louis [this message]
2020-04-13 13:57 ` Eli Zaretskii
[not found] <<86ftd78wgh.fsf@protected.rcdrun.com>
[not found] ` <<831rork1pe.fsf@gnu.org>
[not found] ` <<20200413130230.GG15872@protected.rcdrun.com>
[not found] ` <<83y2qzik0g.fsf@gnu.org>
2020-04-13 15:01 ` Drew Adams
2020-04-14 2:16 ` Richard Stallman
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200413134349.GH15872@protected.rcdrun.com \
--to=bugs@gnu.support \
--cc=40596@debbugs.gnu.org \
--cc=eliz@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.