unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Matt Muggeridge <Matt.Muggeridge@compaq.com>
Cc: bug-gnu-emacs@gnu.org
Subject: RE: Emacs - cannot connect to X server
Date: Tue, 2 Jul 2002 07:24:40 +1000	[thread overview]
Message-ID: <E74B412A1B5FD211AD6C0000F87C38ADBC6321@ozyexc1.itg.qvar.cpqcorp.net> (raw)

Richard,

Sorry for the delay, I'm just back from vacation.

Just to let you know where I am up to with this.

I tested your suggested modifications and it worked as hoped.  However,
before I can claim conclusively that this solved the problem, I wanted to
reproduce the problem I was having with the distribution emacs.  As of this
morning, I have only been able to reproduce the original problem once.
Subsequent attempts did not show the problem.

I'll continue testing this and keep you informed.

Matt.

>-----Original Message-----
>From: Richard Stallman [mailto:rms@gnu.org]
>Sent: Friday, 21 June 2002 7:42 PM
>To: Matt.Muggeridge@hp.com
>Cc: bug-gnu-emacs@gnu.org
>Subject: Re: Emacs - cannot connect to X server
>
>
>    I do not understand how emacs connects to the X server, 
>but I am suspicious
>    of timeouts.  Could it be that emacs does not wait long 
>enough to establish
>    an X-session over a slow link?
>
>It IS possible, because Emacs (on some systems) gets alarm signals
>regularly to "poll for input".  Perhaps the signal causes a problem
>of not "waiting" enough.  (I'd say that is a bug in Xlib if it 
>happens.)
>
>Could you see if this patch makes the problem go away?
>It may not be something we really want to install, though.
>
>*** xterm.c.~1.736.~	Thu Jun 13 18:28:04 2002
>--- xterm.c	Thu Jun 20 19:17:47 2002
>***************
>*** 14657,14666 ****
>--- 14657,14668 ----
>  	argv[argc++] = "-xrm";
>  	argv[argc++] = xrm_option;
>        }
>+     stop_polling ();
>      dpy = XtOpenDisplay (Xt_app_con, XSTRING (display_name)->data,
>  			 resource_name, EMACS_CLASS,
>  			 emacs_options, XtNumber (emacs_options),
>  			 &argc, argv);
>+     start_polling ();
>  
>  #ifdef HAVE_X11XTR6
>      /* I think this is to compensate for XtSetLanguageProc.  */
>

             reply	other threads:[~2002-07-01 21:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-01 21:24 Matt Muggeridge [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-10-11  5:01 Emacs - cannot connect to X server Muggeridge, Matt
2002-08-16  4:46 Matt Muggeridge
2002-08-17  4:51 ` Richard Stallman
2002-07-08  1:32 Matt Muggeridge
2002-07-08 18:20 ` Richard Stallman
2002-07-02  0:17 Matt Muggeridge
2002-07-02 19:45 ` Richard Stallman
2002-06-20  2:01 Matt Muggeridge
2002-06-21  9:41 ` Richard Stallman

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=E74B412A1B5FD211AD6C0000F87C38ADBC6321@ozyexc1.itg.qvar.cpqcorp.net \
    --to=matt.muggeridge@compaq.com \
    --cc=bug-gnu-emacs@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).