unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#14945: 24.3.50; (elisp) `The Mark': mention that mouse selection turns on `transient-mark-mode' temporarily
@ 2013-07-24 14:41 Drew Adams
  2021-01-20  2:54 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2013-07-24 14:41 UTC (permalink / raw)
  To: 14945

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@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''





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#14945: 24.3.50; (elisp) `The Mark': mention that mouse selection turns on `transient-mark-mode' temporarily
  2013-07-24 14:41 bug#14945: 24.3.50; (elisp) `The Mark': mention that mouse selection turns on `transient-mark-mode' temporarily Drew Adams
@ 2021-01-20  2:54 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2021-01-20  2:54 UTC (permalink / raw)
  To: Drew Adams; +Cc: 14945

Drew Adams <drew.adams@oracle.com> writes:

> The doc says nothing about selection with the mouse activating the
> region and turning on `transient-mark-mode' temporarily.  But it
> does so.

I've now mentioned this in the manual in Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-20  2:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-24 14:41 bug#14945: 24.3.50; (elisp) `The Mark': mention that mouse selection turns on `transient-mark-mode' temporarily Drew Adams
2021-01-20  2:54 ` Lars Ingebrigtsen

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).