Subject: 24.0.50; unexpected region highlighting with disabled transient-mark-mode
From: Stephen Berman <[email-masked]>
To: [email-masked]
Date: Mon, 31 May 2010 09:30:34 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

1. emacs -Q
2. Type `M-x transient-mark-mode' to disable transient-mark-mode.
3. Select some text with the mouse.  To give a specific example for the
sake of replication, type `C-h v transient-mark-mode RET', then in the
*Help* buffer double click on the left parenthesis of "(only . OLDVAL)"
to select the whole sexp, which thus gets highlighted.
4. Type `M-w', then put point at the start of the paragraph (in *Help*)
beginning "Non-nil also enables highlighting".  Note that the region is
not highlighted.
5. Paste "(only . OLDVAL)" into *scratch*, then double click on "OLDVAL",
selecting and highlighting it.
6. Type `C-x o' to switch back to the *Help* buffer.
=> The region in *Help* between point and the left parenthesis of 
"(only . OLDVAL)" is now highlighted.

This annoying misbehavior has existed for some time, but I can't say
when it first appeared.

In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.18.6)
 of 2010-05-29 on escher
Windowing system distributor `The X.Org Foundation', version 11.0.10605000
configured using `configure  '--without-toolkit-scroll-bars''

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