From: Kenichi Asai <asai@is.ocha.ac.jp>
To: caml-list@inria.fr
Subject: [Caml-list] merlin--phrase-goto
Date: Wed, 11 Jan 2017 17:42:46 +0900 [thread overview]
Message-ID: <20170111084246.GA8653@pllab.is.ocha.ac.jp> (raw)
When I open an OCaml file in Emacs with merlin mode and type C-c C-n
(for merlin-phrase-next), I get an error:
Wrong number of arguments: (lambda nil ...), 1
where (lambda nil ...) is the definition of merlin--phrase-goto
function in merlin.el. When I look into merlin.el:
https://github.com/ocaml/merlin/blob/master/emacs/merlin.el
I see merlin--phrase-goto (at line 1683) accepts zero argument:
(defun merlin--phrase-goto ()
...)
but it is called from merlin-phrase-next (1692) and merlin-phrase-prev
(1698) with one argument as follows:
(merlin--phrase-goto 'next)
(merlin--phrase-goto 'prev)
Is this a bug?
Sincerely,
--
Kenichi Asai
next reply other threads:[~2017-01-11 8:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-11 8:42 Kenichi Asai [this message]
2017-01-11 12:18 ` Raphaël Proust
2017-01-12 12:56 ` Sébastien Hinderer
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=20170111084246.GA8653@pllab.is.ocha.ac.jp \
--to=asai@is.ocha.ac.jp \
--cc=caml-list@inria.fr \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox