emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: [PATCH] Re: redisplay-dont-pause is not mentioned in the Emacs manua


From: Richard Stallman
Subject: Re: [PATCH] Re: redisplay-dont-pause is not mentioned in the Emacs manual
Date: Sat, 10 Jun 2006 07:03:42 -0400

    > What about the Linux console?  Of course, we can put something in
    > term/linux.el, but that will take effect even when going through the
    > net.  Is there a way to distinguish real local use from remote use?

    Well, it is the same problem as finding out if a TCP/IP socket is connected 
to 
    a remote system or not.  You can get the remote peer address for the socket 
    and compare that to the local address(es).  If the X connection isn't a 
TCP/IP 
    socket, then it is local (i.e. Unix socket).

You can do that with an X connection, I guess, since Emacs has the
connection.  What would it do for a tty?  Look at the tty name to see
if it is a pty?

And how do you decide how fast a remote connection is, nowadays?
Lots of them go to a machine on the same local net, and that would
be so fast it might as well be the same machine (as far as Emacs redisplay
decisions are concerned).

We could just treat all terminals as fast unless the user specifies
a slower speed.

Is there some way of measuring the speed of the connection?
With X, perhaps there is: do XSync and see how long it takes.

Any other ideas?




reply via email to

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