[Top][All Lists]

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

RE: Emacs - cannot connect to X server

From: Matt Muggeridge
Subject: RE: Emacs - cannot connect to X server
Date: Tue, 2 Jul 2002 07:24:40 +1000


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.


>-----Original Message-----
>From: Richard Stallman [mailto:address@hidden
>Sent: Friday, 21 June 2002 7:42 PM
>To: address@hidden
>Cc: address@hidden
>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 
>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 via email to

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