GNU bug report logs - #14945
24.3.50; (elisp) `The Mark': mention that mouse selection turns on `transient-mark-mode' temporarily

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Wed, 24 Jul 2013 14:42:01 UTC

Severity: minor

Tags: fixed

Found in version 24.3.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; (elisp) `The Mark': mention that mouse selection turns on
 `transient-mark-mode' temporarily
Date: Wed, 24 Jul 2013 07:41:14 -0700 (PDT)
The doc says nothing about selection with the mouse activating the
region and turning on `transient-mark-mode' temporarily.  But it
does so.

emacs -Q
In *scratch* type this:

 transient-mark-mode
 (region-active-p)
 mark-active

M-: transient-mark-mode ; to turn it off - verify with C-h v.

Put cursor after each of the sexps and hit C-x C-e.  Now select each one
using only the mouse and use C-x C-e again for each.

Selecting with the mouse turns on `transient-mark-mode', at least
temporarily - the non-nil value is `(only)'.

Lisp users should be informed about this.  For one thing, they will not
otherwise understand certain code, including `region-active-p', wrt
mouse selection.


In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
 of 2013-07-14 on ODIEONE
Bzr revision: 113423 lekktu <at> gmail.com-20130715004922-i67tg2ois14h3fpm
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/Devel/emacs/binary --enable-checking=yes,glyphs
 CFLAGS='-O0 -g3' CPPFLAGS='-Ic:/Devel/emacs/include'
 LDFLAGS='-Lc:/Devel/emacs/lib''




This bug report was last modified 4 years and 182 days ago.

Previous Next


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