unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Glenn Morris <rgm@gnu.org>
Cc: 13255@debbugs.gnu.org, rms@gnu.org
Subject: bug#13255: 24.2.50; output in nonvisible shell buffer changes prompt
Date: Sat, 04 Dec 2021 05:15:26 +0100	[thread overview]
Message-ID: <875ys5qa3l.fsf@gnus.org> (raw)
In-Reply-To: <6y8v8pphme.fsf@fencepost.gnu.org> (Glenn Morris's message of "Sat, 22 Dec 2012 22:33:29 -0500")

Glenn Morris <rgm@gnu.org> writes:

> emacs -Q -f shell
>
> ;; run this in shell buffer
> while : ; do
>  sleep 0.5
>  echo hi
> done
>
> C-x b *scratch* RET
> C-h
>
> So long as the shell is looping, I get no C-h prompt at all.
> If I interrupt the loop, I get the intended:
>
> C-h (Type ? for further options)-

This problem is still present in Emacs 29 (whether blink-cursor-mode is
enabled or not (it was reported that switching it off would mitigate the
problem)).

So I guess process output makes the thing that displays `C-x -' (or `C-h
-') short-circuits a timeout somewhere?  Hm...  this sounds familiar; I
feel I've seen a discussion of this somewhere semi-recently.  Anybody
remember?

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





      parent reply	other threads:[~2021-12-04  4:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-22 22:45 bug#13255: 24.2.50; output in nonvisible shell buffer changes prompt Richard Stallman
2012-12-23  3:33 ` Glenn Morris
2012-12-23 12:54   ` Stephen Berman
2013-01-06  2:38     ` Chong Yidong
2013-01-06 19:49       ` Stephen Berman
2021-12-04  4:15   ` Lars Ingebrigtsen [this message]

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=875ys5qa3l.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=13255@debbugs.gnu.org \
    --cc=rgm@gnu.org \
    --cc=rms@gnu.org \
    /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).