unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stephen Berman <stephen.berman@gmx.net>
To: 8400@debbugs.gnu.org
Subject: bug#8400: 24.0.50; Strange selection behavior in Gnus Article buffer
Date: Fri, 01 Apr 2011 00:05:10 +0200	[thread overview]
Message-ID: <87fwq30wvd.fsf@escher.fritz.box> (raw)

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





             reply	other threads:[~2011-03-31 22:05 UTC|newest]

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

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=87fwq30wvd.fsf@escher.fritz.box \
    --to=stephen.berman@gmx.net \
    --cc=8400@debbugs.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).