From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#20573: 25.0.50; Colon should send input in Prolog mode Date: Thu, 03 Dec 2020 12:31:45 +0100 Message-ID: <87v9djruqm.fsf@gnus.org> References: <87y4kr1o3p.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27617"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 20573@debbugs.gnu.org To: Oleg Sivokon Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 03 12:33:12 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kkmrI-00071A-Jh for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Dec 2020 12:33:12 +0100 Original-Received: from localhost ([::1]:55122 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kkmrH-00015O-MI for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Dec 2020 06:33:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56316) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkmqD-0000Mg-Qg for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2020 06:32:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55365) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kkmq9-00069v-U2 for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2020 06:32:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kkmq9-0001n7-QU for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2020 06:32:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Dec 2020 11:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20573 X-GNU-PR-Package: emacs Original-Received: via spool by 20573-submit@debbugs.gnu.org id=B20573.16069951176663 (code B ref 20573); Thu, 03 Dec 2020 11:32:01 +0000 Original-Received: (at 20573) by debbugs.gnu.org; 3 Dec 2020 11:31:57 +0000 Original-Received: from localhost ([127.0.0.1]:38677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkmq5-0001j8-2g for submit@debbugs.gnu.org; Thu, 03 Dec 2020 06:31:57 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:45096) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkmq2-0001cg-WD for 20573@debbugs.gnu.org; Thu, 03 Dec 2020 06:31:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Th1zl9im+g0xyfF3Hn83kE3lJ+knwlNd+PsvCO2On70=; b=JgmF9IKqFlXBM3ppE3aqzg6ItL KEFp+AoIj53AgcvfRnAlFZCxqp/1f3ZWnlXrEadL9Ifs+zDEr6vGTJIeJh4zUoe//TtIWhEMCdHkJ al+VKO6dMg/+FcQlbSsaGQ6v9Lfvvu8073/reI3Oa83cZQ6XZU74f1p72g6HVphV8X5w=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kkmpu-0002qT-LU; Thu, 03 Dec 2020 12:31:49 +0100 X-Now-Playing: Old's _Formula_: "Thug" In-Reply-To: <87y4kr1o3p.fsf@gmail.com> (Oleg Sivokon's message of "Thu, 14 May 2015 12:54:02 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:194882 Archived-At: Oleg Sivokon writes: > The problem is as follows: when SWI Prolog's prompt is answered with a > colon (a request for more solutions to the goal) will print other > solutins and will wait for more input from user. Emacs will only send > input upon pressing RET, but SWI Prolog will treat this as sending two > inputs: 1) generate next solution, 2) terminate solution generation. > This leads, in practice, to that at most two solutions for any goal are > generated. > Solving this isn't as easy as just modifying the behavior of typing > `;'. Colons can appear (and do so very often) in Prolog code. Besides, > `commit-send-input' seems to send RET anyway, so fixing this would > require more knowledge of the process I/O than I currently have. (This bug report unfortunately got no response at the time.) Are you still seeing this problem in more recent Emacs versions? If so, could you provide a recipe to reproduce the bug, starting from "emacs -Q"? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no