[Top][All Lists]

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

Re: [PATCH] Re-enable SIGIO when waiting for events

From: Alex Bennée
Subject: Re: [PATCH] Re-enable SIGIO when waiting for events
Date: Fri, 17 Jul 2015 09:45:46 +0100

Mike Crowe <address@hidden> writes:

> Pasting a large string into an Emacs tty frame causes
> keyboard.c:kbd_buffer_store_buffered_event to call ignore_sigio()
> which sets SIGIO to SIG_IGN.
> Unfortunately no-one seems to ever re-enable the SIGIO handler.
> This leads to timeouts when attempting to paste into an Emacs X11
> frame as reported at
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16737 .
> It appears that keyboard.c:kbd_buffer_get_event used to re-enable the
> signal handler but that was removed as part of a large signal-handling
> clean up in 4d7e6e51dd4acecff466a28d958c50f34fc130b8.
> Reinstating the re-enabling of SIGIO in kbd_buffer_get_event solves
> the problems reported in bug 16737 for me.

I've patched my local emacs-24 branch and will give it a spin to see if
the problem still occurs. Thanks!

Alex Bennée

reply via email to

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