Deleting slow on X11 emacs

Posted by Malvolio on Super User See other posts from Super User or by Malvolio
Published on 2011-01-10T22:23:28Z Indexed on 2011/01/11 7:55 UTC
Read the original article Hit count: 215

Filed under:
|

I'm running GNU Emacs 21.4.1 on a (remote) remote Linux ((CentOS) box, using my MacBook as the X-server. Works fine, unless I try to delete a word, line, or region. Then it locks up for 30 seconds or so. It sounds like a minor thing, but you realize how often you do a delete when you have to stop for 30 seconds every time.

My theory is that Emacs is trying to put the text in the X-server cut-and-paste buffer, which is trying to put it in the OSX cut-and-paste buffer and somewhere along the way, the process is blocked until it times out. (My only evidence for this theory is (a) copy-region behaves the same way and (b) deleted text doesn't show up in the buffer.)

Any suggestions appreciated.

Edit:

 (setq interprogram-cut-function nil)

fixed me right up. Which makes perfect sense. Thanks, Trey.

© Super User or respective owner

Related posts about emacs

Related posts about x11