unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: no-spam@cua.dk (Kim F. Storm)
Cc: emacs-devel@gnu.org, Miles Bader <miles@gnu.org>
Subject: Re: xterm.c:handle_one_xevent question
Date: 25 Feb 2004 12:26:06 +0100	[thread overview]
Message-ID: <m3brnnwgc1.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <0FA7CF54-677A-11D8-BF37-00039363E640@swipnet.se>

"Jan D." <jan.h.d@swipnet.se> writes:

> >
> > It seems that my recent change to read_avail_input (which
> > significantly reduced the size of the event buffer) has triggered
> > some errors in the "read_socket_hook" functions on W32 and X (and
> > probably MAC as well).
> 
> The gdb trace sent my Miles shows that the buffer size is just 1 when
> XTread_socket is called.  This is way to small for X at least, X events
> often arrive more than one at the time.  I don't know if this is part
> of the fix you mentioned, but please consider increasing the minimum
> size so that it is more than one.

The size is 8 initially, but if more than 8 events have arrived,
XTread_socket aborts rather than returns.

I'll look into correcting XTread_socket tomorrow.

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

      reply	other threads:[~2004-02-25 11:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-25  7:06 xterm.c:handle_one_xevent question Miles Bader
2004-02-25  8:47 ` Jan D.
2004-02-25 10:33 ` Kim F. Storm
2004-02-25 10:04   ` Jan D.
2004-02-25 11:26     ` Kim F. Storm [this message]

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=m3brnnwgc1.fsf@kfs-l.imdomain.dk \
    --to=no-spam@cua.dk \
    --cc=emacs-devel@gnu.org \
    --cc=miles@gnu.org \
    /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).