all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs hangs on X11 paste--how to diagnose?
Date: Thu, 12 Mar 2015 02:41:04 +0100	[thread overview]
Message-ID: <87fv9bgfgv.fsf@debian.uxu> (raw)
In-Reply-To: 85315b32-0239-40bd-b5da-6268881d2832@googlegroups.com

jrw@google.com writes:

> I've been having a problem in Emacs (my own build
> based on 24.4.51.1) where sometimes, if I try to
> paste from an X11 program, either using C-y or a
> middle click, Emacs freezes for several seconds.
> Pressing C-g does nothing, but usually Emacs starts
> responding again after a few seconds.

Do I have selective perception, or is this yet another
problem with Emacs in the accursed GUI world?

This doesn't sound like an Emacs per se problem.
Still, for anyone to have any luck reproducing the
problem, what Emacs, and what desktop (GNOME or KDE
most likely), and what window manager (Openbox, fvwm,
...) do you use?

"What Emacs?" - try:

    readlink -e `type -p emacs`

You say C-y doesn't "paste" from X programs. Are you
sure it should? Did you or someone else successfully
integrate the X clipboard with the Emacs `kill-ring'?
What is `C-h k C-y' say? (I have `yank' - i.e., has
nothing to do with X.)

The middle mouse click may also be a feature either of
X or if you for example run Emacs in xterm, urxvt, or
the like. Yes: how do you invoke Emacs in X?

By the way, I once did an interface [1] to the X
clipboard. It uses xsel. I know there is another such
package in ELPA which uses xclip which should amount
to virtually the same. Can you get either of them to
work? Or you can just get either (xsel or xclip) with
aptitude and try for yourself, probably easier. Is it
the same problem?

[1] http://user.it.uu.se/~embe8573/conf/emacs-init/xsel.el

-- 
underground experts united


  reply	other threads:[~2015-03-12  1:41 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-12  0:49 Emacs hangs on X11 paste--how to diagnose? jrw
2015-03-12  1:41 ` Emanuel Berg [this message]
2015-03-12 11:15   ` Jacob Gerlach
2015-03-12 20:56     ` Robert Thorpe
2015-03-12 21:47       ` Glenn Morris
2015-03-22  2:25         ` Tom Tromey
2015-03-12 21:56       ` Jorge A. Alfaro-Murillo
2015-03-12 12:33   ` Stefan Monnier
2015-03-12 12:39     ` Rasmus
2015-03-12 15:15       ` Jorge A. Alfaro-Murillo
2015-03-15 18:46 ` shponglespore
2015-03-15 18:48   ` shponglespore

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fv9bgfgv.fsf@debian.uxu \
    --to=embe8573@student.uu.se \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.