bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16505: Acknowledgement (24.3.50; Emacs seems to loose key events whe


From: Dmitry Antipov
Subject: bug#16505: Acknowledgement (24.3.50; Emacs seems to loose key events when typing fast (seriously))
Date: Fri, 07 Feb 2014 20:06:25 +0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

On 02/07/2014 06:17 PM, Anders Lindgren wrote:

Here, a <tab> is missing, which explains the indentation problems.

Hmm...IMHO we shouldn't believe in anyone's fingers in such a case :-).

Do you have a tool to fake user input? On X, we have xdotool. I've tried
to insert 100 <tab> and 100 <down> with 0.05s delay between each "keypress":

xdotool selectwindow ==> (record window ID)

seq 99 -1 0 | xargs -n1 sh -c 'xdotool key --window $ID 23 && sleep 0.05 && xdotool key 
--window $ID 116 && sleep 0.05'

(23 is X keycode for <tab> and <116> for <down>) and there was 100 <tab> and
100 <down>, respectively...

Dmitry






reply via email to

[Prev in Thread] Current Thread [Next in Thread]