From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 28 16:35:35 2020 Received: (at submit) by debbugs.gnu.org; 28 Jul 2020 20:35:35 +0000 Received: from localhost ([127.0.0.1]:59177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0WJz-0002Z2-Hf for submit@debbugs.gnu.org; Tue, 28 Jul 2020 16:35:35 -0400 Received: from lists.gnu.org ([209.51.188.17]:52272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0WJx-0002Yu-Jx for submit@debbugs.gnu.org; Tue, 28 Jul 2020 16:35:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51838) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k0WJx-0005g3-Bs for bug-gnu-emacs@gnu.org; Tue, 28 Jul 2020 16:35:33 -0400 Received: from [78.47.144.35] (port=46502 helo=metalevel.at) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k0WJv-00066P-9e for bug-gnu-emacs@gnu.org; Tue, 28 Jul 2020 16:35:32 -0400 Received: from mts-Mac-mini.localdomain (localhost [127.0.0.1]) by metalevel.at (Postfix) with ESMTP id B49129E759 for ; Tue, 28 Jul 2020 22:35:27 +0200 (CEST) Received: by mts-Mac-mini.localdomain (Postfix, from userid 501) id BA5C5F091EC; Tue, 28 Jul 2020 22:44:09 +0200 (CEST) From: Markus Triska To: bug-gnu-emacs@gnu.org Subject: 27.0.50; Emacs shell differs from a terminal in unexpected ways Date: Tue, 28 Jul 2020 22:44:09 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 78.47.144.35 (failed) Received-SPF: none client-ip=78.47.144.35; envelope-from=triska@metalevel.at; helo=metalevel.at X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/28 16:35:28 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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 From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 01 04:00:03 2020 Received: (at 42588-done) by debbugs.gnu.org; 1 Aug 2020 08:00:03 +0000 Received: from localhost ([127.0.0.1]:39113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1mR1-0005sV-Bd for submit@debbugs.gnu.org; Sat, 01 Aug 2020 04:00:03 -0400 Received: from [78.47.144.35] (port=50014 helo=metalevel.at) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1mQz-0005rZ-4D for 42588-done@debbugs.gnu.org; Sat, 01 Aug 2020 04:00:01 -0400 Received: by metalevel.at (Postfix, from userid 1000) id 948859E770; Sat, 1 Aug 2020 09:59:59 +0200 (CEST) From: Markus Triska To: 42588-done@debbugs.gnu.org Subject: This issue is resolved by a change in Scryer Prolog Date: Sat, 01 Aug 2020 09:59:59 +0200 Message-ID: <878seykd8g.fsf@metalevel.at> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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. Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: 42588-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) 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 From unknown Sun Jun 22 08:08:50 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 29 Aug 2020 11:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator