GNU bug report logs - #5803
23.1.94; Using tq-enqueue in timer messes with keystroke echoing

Previous Next

Package: emacs;

Reported by: David Engster <deng <at> randomsample.de>

Date: Mon, 29 Mar 2010 23:16:02 UTC

Severity: normal

Tags: fixed

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 5803 <at> debbugs.gnu.org, deng <at> randomsample.de
Subject: Re: bug#5803: 23.1.94;
 Using tq-enqueue in timer messes with keystroke echoing
Date: Tue, 08 Dec 2020 20:37:08 +0200
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Date: Tue, 08 Dec 2020 19:02:51 +0100
> Cc: 5803 <at> debbugs.gnu.org
> 
> (setq proc (start-process "shell" (get-buffer-create "*process*") "/bin/sh"))
> (setq mytq (tq-create proc))
> (defun send-test ()
>   (tq-enqueue mytq "echo TEST\n" "TEST[^0]*" nil 'ignore))
> (setq timer (run-with-timer 1 1 'send-test))
> 
> I'm guessing this somehow interferes with the `echo-timeout' thing?
> (Changing it to something shorter than 1 second makes the C-x-
> appear...  sometimes.)
> 
> Anybody got any insight into what might be happening here?

The sit_for call ends prematurely because output from a subprocess
arrives?




This bug report was last modified 4 years and 148 days ago.

Previous Next


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