bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug#8400: 24.0.50; Strange selection behavior in Gnus Article buffer


From: Lars Magne Ingebrigtsen
Subject: Re: bug#8400: 24.0.50; Strange selection behavior in Gnus Article buffer
Date: Sun, 03 Apr 2011 19:37:16 +0200
User-agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux)

Stephen Berman <stephen.berman@gmx.net> writes:

> 4. In the Article buffer select some text (it doesn't matter whether by
>    double clicking with mouse-1 or by the keyboard, though if the latter
>    then after selecting point should at the end of the selection to have
>    the same situation as when selecting by the mouse).
> 5. Type `M-w'.
> 6. Switch to a writable buffer, and type `C-y'.

The problem is tickled by the continuously updated text in the buffer,
but I have no idea why it's happening.

If I have `transient-mark-mode' switched on, and you `M-w' a line from
the article buffer, I get the following:

(car kill-ring) =>
"diff --git a/lisp/ChangeLog b/lisp/ChangeLog
"

Which is correct.

(x-selection-value-internal 'CLIPBOARD) =>
"diff --git a/lisp/ChangeLog b/lisp/ChangeLog
"

Which is also correct.

(x-selection-value-internal 'PRIMARY) =>
"
Signed-off-by: Kan-Ru Chen <kanru@kanru.info>
---
 lisp/ChangeLog |    4 ++++
 lisp/nnir.el   |    1 +
 2 files changed, 5 insertions(+), 0 deletions(-)

"

Which is WTF?!

The latter wins, so when you yank the text, you get that instead.  It's
not random what you get, it but it's not what you killed.

Does anybody who knows more about the Emacs kill'n'yank internals know
what this could mean?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]