David E. Sigeti <sigeti <at> lanl.gov> writes:
> 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)
; 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
)
)
If that doesn't work, then try this patch. If you go this route,
then you may want to have a special version of xemacs just for
remote X.
*** select-x.c~ Thu Jun 20 19:27:37 2002
--- select-x.c Mon Jan 6 15:37:32 2003
***************
*** 44,49 ****
--- 44,53 ----
# define MOTIF_CLIPBOARDS
#endif
+ // disable motif clipboards to work around horrendous behavior
+ // in "kill" due to slow or broken clipboard on slow X11 connections
+ #undef MOTIF_CLIPBOARDS
+
#ifdef MOTIF_CLIPBOARDS
# include <Xm/CutPaste.h>
static void hack_motif_clipboard_selection (Atom selection_atom,
--
--tony
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta