unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Richard Sharman <rsharman@pobox.com>
Cc: 45951@debbugs.gnu.org
Subject: bug#45951: 27.1; comint-redirect-results-list-from-process sometimes fails to skip over command if echoed
Date: Tue, 19 Jan 2021 05:03:54 +0100	[thread overview]
Message-ID: <877do9r2s5.fsf@gnus.org> (raw)
In-Reply-To: <8CD405D0-5936-4D36-A700-F753B428A5C3@pobox.com> (Richard Sharman's message of "Sun, 17 Jan 2021 18:51:28 -0800")

Richard Sharman <rsharman@pobox.com> writes:

> The latter problem can be fixed by calling comint-carriage-motion before
> the test is done; the former by looking-at (regexp-quote command)
> instead of just at command.

This bit seems to have been fixed in Emacs 28.

> Example code to reproduce the problem:

When testing your example code in Emacs 27, I just get the following
error:

comint-redirect-send-command-to-process: No prompt found or ‘comint-prompt-regexp’ not set properly

Do you have a recipe, starting from "emacs -Q"?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2021-01-19  4:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-18  2:51 bug#45951: 27.1; comint-redirect-results-list-from-process sometimes fails to skip over command if echoed Richard Sharman
2021-01-19  4:03 ` Lars Ingebrigtsen [this message]
2021-01-19  4:24   ` Lars Ingebrigtsen
     [not found]   ` <2E84331E-C133-4324-9C76-B3CEB0904319@pobox.com>
2021-01-19  6:12     ` Lars Ingebrigtsen
2021-07-30 12:29       ` 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=877do9r2s5.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=45951@debbugs.gnu.org \
    --cc=rsharman@pobox.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).