unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: James Cloos <cloos@jhcloos.com>
To: bob@rattlesnake.com (Robert J. Chassell)
Cc: emacs-devel@gnu.org
Subject: Re: How to prevent double X pastes?
Date: Sat, 23 Aug 2008 11:27:40 -0400	[thread overview]
Message-ID: <m363prwy2k.fsf@lugabout.jhcloos.org> (raw)
In-Reply-To: <87prnzvnat.fsf@rattlesnake.com> (Robert J. Chassell's message of "Sat, 23 Aug 2008 14:06:02 +0000")

>>>>> "Robert" == Robert J Chassell <bob@rattlesnake.com> writes:

Robert> How do I prevent a region being pasted twice when I copy the
Robert> primary region with my mouse from GNU Emacs to an xterm or an
Robert> RXVT shell in X?

Do you have a three button mouse, or are you using middle button
emulation?

Which driver do you use, mouse or evdev?

Is the mouse ps/2 or usb?

If the mouse driver is loaded and listening on /dev/input/mice and evdev
is also loaded and listening on the /dev/input/evdev* devices you could
be getting two X events for each button press/mouse movement.

The X logs would give some clues if that is the case.

Or, if you're middle button is also a wheel, a slight forward or
backward movement when pressing it could lead to a double event.

If you are using middle button emulation, there could be some issue with
the timeouts.

These are all guesses, of course.

-jimC
-- 
James Cloos <cloos@jhcloos.com>         OpenPGP: 1024D/ED7DAEA6




  reply	other threads:[~2008-08-23 15:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-23 14:06 How to prevent double X pastes? Robert J. Chassell
2008-08-23 15:27 ` James Cloos [this message]
2008-08-23 20:24   ` Robert J. Chassell
2008-08-23 21:05     ` Andreas Schwab
2008-08-24  1:11       ` Robert J. Chassell
2008-08-24 17:49         ` James Cloos
2008-08-24 20:13           ` Robert J. Chassell
2008-08-26 16:36             ` Richard M. Stallman
2008-08-26 20:11               ` Robert J. Chassell

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=m363prwy2k.fsf@lugabout.jhcloos.org \
    --to=cloos@jhcloos.com \
    --cc=bob@rattlesnake.com \
    --cc=emacs-devel@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).