GNU bug report logs - #8400
24.0.50; Strange selection behavior in Gnus Article buffer

Previous Next

Package: emacs;

Reported by: Stephen Berman <stephen.berman <at> gmx.net>

Date: Thu, 31 Mar 2011 22:06:02 UTC

Severity: minor

Tags: patch

Found in version 24.0.50

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stephen Berman <stephen.berman <at> gmx.net>
Subject: bug#8400: closed (Re: bug#8400: 24.0.50; Strange selection
 behavior in Gnus Article buffer)
Date: Sun, 03 Apr 2011 00:41:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

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

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 8400 <at> debbugs.gnu.org.

-- 
8400: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8400
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Chong Yidong <cyd <at> stupidchicken.com>
To: Stephen Berman <stephen.berman <at> gmx.net>
Cc: 8400-done <at> debbugs.gnu.org, David De La Harpe Golden <david <at> harpegolden.net>
Subject: Re: bug#8400: 24.0.50;
	Strange selection behavior in Gnus Article buffer
Date: Sat, 02 Apr 2011 20:40:39 -0400
Stephen Berman <stephen.berman <at> gmx.net> writes:

> You're right.  So this is a -- rather insidious -- NEWS bug; fix below.

Applied; thanks.

[Message part 3 (message/rfc822, inline)]
From: Stephen Berman <stephen.berman <at> gmx.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.50; Strange selection behavior in Gnus Article buffer
Date: Fri, 01 Apr 2011 00:05:10 +0200
1. emacs -Q
2. Carry out the steps in NEWS to return to the pre-24 selection behavior:
   Change `mouse-drag-copy-region' to t.
   Change `x-select-enable-primary' to t.
   Change `x-select-enable-clipboard' to nil.
3. M-x gnus, answer y to continue to the Group buffer despite no server
   being found, then type `B f' to browse a foreign server,
   e.g. news.gmane.org, select a group and open an article.
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 yanked text is not the selection from step 4, but -- if the
selection was made from text following the article headers -- a region
of the Article buffer ending at the start of the selection and beginning
either just below the last header line, or possibly including one or
more header lines; if the selection is within the headers, the yanked
text is the region beginning at the start of the selection and ending
just below the headers.

If you type `M-y' after step 6, then the yanked text is replaced by the
text selected in step 4.  If step 5 is omitted, C-y in step 6 yanks the
selected text as usual.

I have only observed this selection behavior in Gnus Article buffers,
and there it is reliably reproducible.  (I have observed it for some
time, probably since the new selection changes were introduced, but
didn't try to find a reproducible recipe till now.)

In GNU Emacs 24.0.50.1 (i686-suse-linux-gnu, GTK+ Version 2.20.1)
 of 2011-03-30 on escher
Windowing system distributor `The X.Org Foundation', version 11.0.10800000
configured using `configure  '--without-toolkit-scroll-bars' 'CFLAGS=-g -O2 -fno-optimize-sibling-calls''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=local
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t



This bug report was last modified 14 years and 55 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.