From: Lars Ingebrigtsen <larsi@gnus.org>
To: Oleg Sivokon <olegsivokon@gmail.com>
Cc: 20573@debbugs.gnu.org
Subject: bug#20573: 25.0.50; Colon should send input in Prolog mode
Date: Thu, 03 Dec 2020 12:31:45 +0100 [thread overview]
Message-ID: <87v9djruqm.fsf@gnus.org> (raw)
In-Reply-To: <87y4kr1o3p.fsf@gmail.com> (Oleg Sivokon's message of "Thu, 14 May 2015 12:54:02 +0300")
Oleg Sivokon <olegsivokon@gmail.com> 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
next prev parent reply other threads:[~2020-12-03 11:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-14 9:54 bug#20573: 25.0.50; Colon should send input in Prolog mode Oleg Sivokon
2020-12-03 11:31 ` Lars Ingebrigtsen [this message]
2020-12-09 7:17 ` Left Right
2020-12-09 12:55 ` Lars Ingebrigtsen
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87v9djruqm.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=20573@debbugs.gnu.org \
--cc=olegsivokon@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).