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

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

bug#8869: Unjustified selection time-out


From: Chong Yidong
Subject: bug#8869: Unjustified selection time-out
Date: Sat, 25 Jun 2011 23:40:47 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

Jan Djärv <jan.h.d@swipnet.se> writes:

> Adding this patch:
>
> === modified file 'src/process.c'
> --- src/process.c       2011-06-14 18:57:19 +0000
> +++ src/process.c       2011-06-19 11:09:30 +0000
> @@ -4484,6 +4484,11 @@
>           nfds = 0;
>           no_avail = 1;
>         }
> +      else if (read_kbd == 0 && detect_input_pending ())
> +       {
> +         nfds = 1;
> +         no_avail = 1;
> +       }
>        else
>         {
>
> fixes the timeout issue in this report, but probably has some bad
> effect elsewhere.

I stared at the code a long time, and I think it should have no bad
effect.  I've committed a slightly tweaked version of this fix; let's
see how it plays out.  Thanks for debugging.





reply via email to

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