From: Eli Zaretskii <eliz@gnu.org>
To: "Clément Pit--Claudel" <clement.pit@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Is emacsclient --eval broken?
Date: Sat, 06 Aug 2016 13:09:24 +0300 [thread overview]
Message-ID: <83vazejjjf.fsf@gnu.org> (raw)
In-Reply-To: <2e73e12c-5662-ae84-4fd7-64f585997290@gmail.com> (message from Clément Pit--Claudel on Wed, 3 Aug 2016 11:32:33 -0400)
> From: Clément Pit--Claudel <clement.pit@gmail.com>
> Date: Wed, 3 Aug 2016 11:32:33 -0400
>
> $ emacs -Q --daemon
> …
> Starting Emacs daemon.
>
> $ emacsclient --eval '(progn (find-file "emacsclient-input") (buffer-string))'
> "\\EEEEEEEEEEEEEEEEEEEEEE\n\n\\EEEEEEEEEEEEEEEEEEEE\n\\EEEEEEEEEEEEEE\\EEEEEEEEEEEEEEEEEEEE-EEEEEEEEEEEEE EEEEEEEEEEEEE EEE EEEEEE EEEEE\n\\EEEEEEEEEEEEEE\\EEEEEEEEEEEEEEEEEEEEEEE-EEEEEEEEEEEE EEEEE\n\n\\EEEEEEEEEEE\\EEEEEEEEE\\EEEEEEEEEEE\n\\EEEEEEEEEEEEEEEEEEEEEEE\\EEEEEEEEEEE\\EEEEEEEEEEE\n\\EEEEEEEEEEEEEEEEEEEEEEE\\EEEEEEEEEEEEEEEE\\EEEEEEEE\n\\EEEEEEEEEEEEEEEEEEEEEEEEE\\EEEEEEEEEE\\EEEEEEEEEEEEEEE\\EEEEEEEEE\\EEEE\n\n\n\\EEEEEEEEEEEEEEEEEEEEEE\n\\EEEEEEEEEEEEEEEEEEEEEEEE\n\\EEEEEEEEEEEEEEEEEEEEEEEEEEEEEE\n\n\\EEEEEEEEEEEEEEE\\EEEEEEEEE\\EEEEEEEEE\n\\EEEEEEEEEEEEEEE\\EEEEEEEEEEEEEEEE\\EEEEEEEEE\n\\EEEEEEEEEEEEEEE\\EEEEEEEEEEE\\EEEEEEEEE E EEEEE\n\n\\EEEEEEEEEEEE\n\\EEEEEEEEEEEEEEEEEEEEEEE\\EEEEEEEEEEEEEEEEEEEEEEEE\\EEEEEEEEEE\\EEEEEEEEEEEEEEE\\EEEEEEEEE\\EEEEEEE\n\\EEEEEEEEEEE\n\
nEE EEE-EEEEEEE \\EEEEEEEEEEEEEEEEEE\nEE EEE-EEEEEEE \\EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE\n\n\\EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE\n\\EEEEEEEEEEEEEEEEEEEE\n\n\\EEEEEEEEEEEEEEE\n\\EEEEEEEEEEEEE\n\nEEEEEE EEEE
> *ERROR*: Unknown message: E EE EEEEE\n"
>
> This error message isn't in emacsclient-input. Worse, it is not even deterministic:
>
> $ emacsclient --eval '(progn (find-file "emacsclient-input") (buffer-string))'
> "\\EEEEEEEEEEEEEEEEEEEEEE\n\n\\EEEEEEEEEEEEEEEEEEEE\n\\EEEEEEEEEEEEEE\\EEEEEEEEEEEEEEEEEEEE-EEEEEEEEEEEEE EEEEEEEEEEEEE EEE EEEEEE EEEEE\n\\EEEEEEEEEEEEEE\\EEEEEEEEEEEEEEEEEEEEEEE-EEEEEEEEEEEE EEEEE\n\n\\EEEEEEEEEEE\\EEEEEEEEE\\EEEEEEEEEEE\n\\EEEEEEEEEEEEEEEEEEEEEEE\\EEEEEEEEEEE\\EEEEEEEEEEE\n\\EEEEEEEEEEEEEEEEEEEEEEE\\EEEEEEEEEEEEEEEE\\EEEEEEEE\n\\EEEEEEEEEEEEEEEEEEEEEEEEE\\EEEEEEEEEE\\EEEEEEEEEEEEEEE\\EEEEEEEEE\\EEEE\n\n\n\\EEEEEEEEEEEEEEEEEEEEEE\n\\EEEEEEEEEEEEEEEEEEEEEEEE\n\\EEEEEEEEEEEEEEEEEEEEEEEEEEEEEE\n\n\\EEEEEEEEEEEEEEE\\EEEEEEEEE\\EEEEEEEEE\n\\EEEEEEEEEEEEEEE\\EEEEEEEEEEEEEEEE\\EEEEEEEEE\n\\EEEEEEEEEEEEEEE\\EEEEEEEEEEE\\EEEEEEEEE E EEEEE\n\n\\EEEEEEEEEEEE\n\\EEEEEEEEEEEEEEEEEEEEEEE\\EEEEEEEEEEEEEEEEEEEEEEEE\\EEEEEEEEEE\\EEEEEEEEEEEEEEE\\EEEEEEEEE\\EEEEEEE\n\\EEEEEEEEEEE\n\
nEE EEE-EEEEEEE \\EEEEEEEEEEEEEEEEEE\nEE EEE-EEEEEEE \\EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE\n\n\\EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE\n\\EEEEEEEEEEEEEEEEEEEE\n\n\\EEEEEEEEEEEEEEE\n\\EEEEEEEEEEEEE\n\nEEEEEE EEEE_EEEEE EE EEEEE\n"
>
> (the output is still corrupted: there's no ‘_’ in the source file either).
>
> I've attached emacsclient-input. Can someone help me figure what's going wrong? The error doesn't appear if I modify any of the backslashes, dashes, or newlines in the input...
Put a breakpoint in Fsignal, and see who calls it and why.
Thanks.
next prev parent reply other threads:[~2016-08-06 10:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-03 15:32 Is emacsclient --eval broken? Clément Pit--Claudel
2016-08-06 10:09 ` Eli Zaretskii [this message]
2016-08-06 11:17 ` Johan Bockgård
2016-08-06 11:21 ` Eli Zaretskii
2016-08-06 15:23 ` Clément Pit--Claudel
2016-08-06 15:30 ` Eli Zaretskii
2016-08-15 19:08 ` Johan Bockgård
2016-08-18 19:39 ` Johan Bockgård
2016-08-19 7:04 ` Eli Zaretskii
2016-08-22 15:25 ` Clément Pit--Claudel
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=83vazejjjf.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=clement.pit@gmail.com \
--cc=emacs-devel@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.