unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Magne Ingebrigtsen <lmi@gnus.org>
To: bug-gnu-emacs@gnu.org
Subject: Re: bug#8400: 24.0.50; Strange selection behavior in Gnus Article buffer
Date: Sun, 03 Apr 2011 19:37:16 +0200	[thread overview]
Message-ID: <m362qvp777.fsf@quimbies.gnus.org> (raw)
In-Reply-To: mailman.1.1301609235.1831.bug-gnu-emacs@gnu.org

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	other threads:[~2011-04-03 17:37 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1.1301609235.1831.bug-gnu-emacs@gnu.org>
2011-04-03 17:37 ` Lars Magne Ingebrigtsen [this message]
2011-04-03 18:18   ` bug#8400: 24.0.50; Strange selection behavior in Gnus Article buffer Eli Zaretskii
2011-04-03 18:44     ` Lars Magne Ingebrigtsen
2011-04-03 20:58       ` Eli Zaretskii
2011-04-03 21:44         ` Lars Magne Ingebrigtsen
2011-04-04  2:47           ` Eli Zaretskii
     [not found]           ` <mailman.24.1301886446.14368.bug-gnu-emacs@gnu.org>
2011-04-04  9:24             ` Lars Magne Ingebrigtsen
2011-04-04 11:51               ` Eli Zaretskii
2011-04-04 14:27                 ` David De La Harpe Golden
2011-04-03 18:56     ` Lars Magne Ingebrigtsen
2011-03-31 22:05 Stephen Berman
2011-04-01  0:44 ` David De La Harpe Golden
2011-04-01  8:48   ` Stephen Berman
2011-04-03  0:40     ` Chong Yidong

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=m362qvp777.fsf@quimbies.gnus.org \
    --to=lmi@gnus.org \
    --cc=bug-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 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).