unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: Mike Crowe <mac@mcrowe.com>
Cc: Emacs Developers <emacs-devel@gnu.org>
Subject: Re: [PATCH] Re-enable SIGIO when waiting for events
Date: Fri, 17 Jul 2015 09:45:46 +0100	[thread overview]
Message-ID: <87fv4n5g05.fsf@linaro.org> (raw)
In-Reply-To: <1436615880-1719-1-git-send-email-mac@mcrowe.com>


Mike Crowe <mac@mcrowe.com> 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	other threads:[~2015-07-17  8:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-11 11:58 [PATCH] Re-enable SIGIO when waiting for events Mike Crowe
2015-07-17  8:45 ` Alex Bennée [this message]
2015-07-17  8:50   ` Tassilo Horn
2015-07-17 19:00     ` Paul Eggert
2015-07-21 12:42       ` Mike Crowe
2015-07-30 16:31         ` Mike Crowe
2015-07-30 18:49           ` Tassilo Horn
2015-07-31  6:03             ` Alex Bennée
2015-08-05 14:28               ` Mike Crowe
2015-08-05 17:46                 ` Paul Eggert
2015-09-13 18:57                   ` [PATCH] Re-enable SIGIO when waiting for events (bug# 16737) Alan D. Salewski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fv4n5g05.fsf@linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=emacs-devel@gnu.org \
    --cc=mac@mcrowe.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).