GNU bug report logs -
#42588
27.0.50; Emacs shell differs from a terminal in unexpected ways
Previous Next
Reported by: Markus Triska <triska <at> metalevel.at>
Date: Tue, 28 Jul 2020 20:36:01 UTC
Severity: normal
Found in version 27.0.50
Done: Markus Triska <triska <at> metalevel.at>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 42588 in the body.
You can then email your comments to 42588 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#42588
; Package
emacs
.
(Tue, 28 Jul 2020 20:36:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Markus Triska <triska <at> metalevel.at>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 28 Jul 2020 20:36:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
To reproduce this issue, please install Scryer Prolog in one of the ways
indicated in its source repository:
https://github.com/mthom/scryer-prolog/
For example, use:
$ cargo install scryer-prolog
Then, start Emacs with:
$ emacs -Q
and start a shell with M-x shell RET. In the shell, invoke Scryer Prolog
and paste the following in the buffer:
writeq('\
'). % "\\\n"
Scryer Prolog will answer with:
caught: error(syntax_error(invalid_single_quoted_character),read_term/3)
?- caught: error(syntax_error(invalid_single_quoted_character),read_term/3)
?-
However, when I launch Scryer Prolog in any terminal application and
paste the exact same text, I get as response:
'' true.
So, the entire interaction reads, and is supposed to be:
?- writeq('\
'). % "\\\n"
'' true.
I expect the same result when posting this in the Emacs shell. However,
in the Emacs shell, the entire interaction is unexpectedly:
bash-3.2$ ~/scryer-prolog/target/release/scryer-prolog
?- writeq('\
'). % "\\\n"
caught: error(syntax_error(invalid_single_quoted_character),read_term/3)
?- caught: error(syntax_error(invalid_single_quoted_character),read_term/3)
?-
Could you please have a look, and if possible implement the behaviour of
the system terminal also in the Emacs shell?
Thank you a lot!
Markus
In GNU Emacs 27.0.50 (build 1, x86_64-apple-darwin18.0.0, X toolkit, Xaw scroll bars)
of 2018-11-15 built on mt-mac
Repository revision: b4eb908f858284a7962851fd99c94598f76afa6f
Windowing system distributor 'The X.Org Foundation', version 11.0.11804000
System Description: Mac OS X 10.14.2
Reply sent
to
Markus Triska <triska <at> metalevel.at>
:
You have taken responsibility.
(Sat, 01 Aug 2020 08:01:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Markus Triska <triska <at> metalevel.at>
:
bug acknowledged by developer.
(Sat, 01 Aug 2020 08:01:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 42588-done <at> debbugs.gnu.org (full text, mbox):
A change was installed in Scryer Prolog that resolves this:
https://github.com/mthom/scryer-prolog/issues/643
The system now works as expected in the Emacs shell.
Thank you a lot!
Markus
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 29 Aug 2020 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 241 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.