From: Manoj Srivastava <srivasta@ieee.org>
To: emacs-devel@gnu.org
Subject: Re: The X window system, yanking, and pasting using the mouse
Date: Wed, 26 Jan 2011 19:33:08 -0800 [thread overview]
Message-ID: <87d3njkoln.fsf@anzu.internal.golden-gryphon.com> (raw)
In-Reply-To: 878vy73wa0.fsf@catnip.gol.com
On Wed, Jan 26 2011, Miles Bader wrote:
> Manoj Srivastava <srivasta@ieee.org> writes:
>> What I want is the behaviour I think I used to have in Emacs on
>> GNU/Linux X Windows:
>> 1) Whatever text is pasted when I click <down-mouse-2>
>> (mouse-yank-primary?) should be the same thing yanked when I type
>> C-y (yank)
>> 2) Conversely, text that is selected in Emacs, such that it is
>> inserted with a C-y (yank) should also be the text that is pasted
>> into, say, an xterm when I do a middle mouse click in there.
>
> I agree, this was very nice behavior.
>
>> What changes do I need to make to get this?
>
> I've not found a tenable way to simulate the old behavior with the new
> code.
I would say that this is a regression, then. Before the new
code, I never had to worry about primary and secondary selections; and
pasting using a mouse was the same as yanking, and text selected in
Emacs could easily be passed around to other X Windows applications.
Is there a possibility for this regression to be fixed? If I
recall correctly, the new code was supposed to preserve the old
features, and that does not seem to be the case here.
manoj
--
"Only a mediocre man is always at his best." Somerset Maugham
Manoj Srivastava <srivasta@acm.org> <http://www.golden-gryphon.com/>
4096R/C5779A1C E37E 5EC5 2A01 DA25 AD20 05B6 CF48 9438 C577 9A1C
next prev parent reply other threads:[~2011-01-27 3:33 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-27 2:31 The X window system, yanking, and pasting using the mouse Manoj Srivastava
2011-01-27 2:39 ` Miles Bader
2011-01-27 3:33 ` Manoj Srivastava [this message]
2011-01-27 7:49 ` Stefan Reichör
2011-01-27 6:56 ` Eli Zaretskii
2011-01-27 10:36 ` Manoj Srivastava
2011-01-27 21:41 ` Chong Yidong
2011-01-27 21:35 ` David De La Harpe Golden
2011-01-28 8:42 ` Manoj Srivastava
2011-01-28 18:22 ` Drew Adams
2011-01-28 19:59 ` Stefan Monnier
2011-01-29 19:06 ` David De La Harpe Golden
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=87d3njkoln.fsf@anzu.internal.golden-gryphon.com \
--to=srivasta@ieee.org \
--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 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.