starting with emacs -Q however, emacsclient works properly.

Gábor <hajovonta@gmail.com> ezt írta (időpont: 2020. okt. 11., V, 17:09):
I have the with-editor package, but: a) it's up-to-date b) removing it from the configuration did not solve the problem, c) running emacsclient from outside of Emacs gives the same error. :(

Noam Postavsky <npostavs@gmail.com> ezt írta (időpont: 2020. okt. 11., V, 14:24):
Lars Ingebrigtsen <larsi@gnus.org> writes:

> Gábor <hajovonta@gmail.com> writes:
>
>> When issuing 'emacsclient README' command in a terminal (Emacs is
>> running and server is started), I get the following:
>>
>> Waiting for Emacs...
>> *ERROR*: Wrong number of arguments: (1 . 4), 5
>
> Do you use the with-emacs package?  If so, you probably have to upgrade
> it in Emacs 28.

s/with-emacs/with-editor/