GNU bug report logs - #13255
24.2.50; output in nonvisible shell buffer changes prompt

Previous Next

Package: emacs;

Reported by: rms <at> gnu.org

Date: Sat, 22 Dec 2012 22:46:01 UTC

Severity: normal

Tags: confirmed

Found in version 24.2.50

Full log


Message #24 received at 13255 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 13255 <at> debbugs.gnu.org, rms <at> gnu.org
Subject: Re: bug#13255: 24.2.50; output in nonvisible shell buffer changes
 prompt
Date: Sat, 04 Dec 2021 05:15:26 +0100
Glenn Morris <rgm <at> 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




This bug report was last modified 3 years and 192 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.