Strange delays when running remotely
Glynn Clements
glynn at gclements.plus.com
Sat Jan 13 12:06:28 EST 2007
tbennett at nvidia.com wrote:
> >> When running Xemacs version 21 remotely (displaying on my local X
> >> server) I have found that any multicharacter kills (such as kill-line,
> >> kill-word, kill-ring-save, etc.) are extremely slow (maybe 15-30
> >> seconds per kill). I only see this delay when I am running over a DSL
> >> connection where the ping times to the remote system are on the order
> >> of 100 milliseconds or more. When my local machine is on the same LAN
> >> as the remote machine (much shorter ping times), I do not notice any
> >> unusual delay in multicharacter kills. I also do not see this problem
> >> when running Xemacs version 20.
>
> I was plagued w/ this problem for a long time. This seems to
> avoid it for me, don't remember who suggested it tho...
>
> ;;
> ;; disable stupid motif chit-chat when remote (slow).
> ;; With this change we should no longer need to
> ;; do a hack build of xemacs without motif support.
> ;;
> (setq x-selection-strict-motif-ownership nil)
This is bogus, to the extent that this option probably shouldn't even
exist; please do not recommend using it. If you actually need to copy
from XEmacs to another X application, the above setting will break it.
> ; make kill operations internal to XEmacs; if you want
> ; to copy to the X clipboard, use C-insert instead
> (if t
> (progn
> (setq interprogram-cut-function nil) ; 'own-clipboard)
> (setq interprogram-paste-function nil) ; 'get-clipboard-foreign
This is the correct solution for anyone using remote X clients over a
slow link. If you need to copy between XEmacs and other X
applications, you can still use C-insert and Sh-insert.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the XEmacs-Beta
mailing list