unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan D." <jan.h.d@swipnet.se>
Cc: emacs-devel@gnu.org, Miles Bader <miles@gnu.org>
Subject: Re: xterm.c:handle_one_xevent question
Date: Wed, 25 Feb 2004 11:04:55 +0100	[thread overview]
Message-ID: <0FA7CF54-677A-11D8-BF37-00039363E640@swipnet.se> (raw)
In-Reply-To: <m3hdxfwis2.fsf@kfs-l.imdomain.dk>

>
> 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.

	Jan D.

  reply	other threads:[~2004-02-25 10:04 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. [this message]
2004-02-25 11:26     ` Kim F. Storm

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=0FA7CF54-677A-11D8-BF37-00039363E640@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --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).