[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The X window system, yanking, and pasting using the mouse
From: |
Stefan Reichör |
Subject: |
Re: The X window system, yanking, and pasting using the mouse |
Date: |
Thu, 27 Jan 2011 08:49:28 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Manoj Srivastava <address@hidden> writes:
> On Wed, Jan 26 2011, Miles Bader wrote:
>
>> Manoj Srivastava <address@hidden> 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.
I use the same settings as Manoj.
The thing that annoys me is replacing text.
Whenever I select something and want to replace it with the X-Selection.
It replaces it with the new (now selected X-Selection).
That means there is no change and I have to use C-y M-y
Before I could just use C-y
Stefan.
- The X window system, yanking, and pasting using the mouse, Manoj Srivastava, 2011/01/26
- Re: The X window system, yanking, and pasting using the mouse, Miles Bader, 2011/01/26
- Re: The X window system, yanking, and pasting using the mouse, Eli Zaretskii, 2011/01/27
- Re: The X window system, yanking, and pasting using the mouse, David De La Harpe Golden, 2011/01/28