unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* how and why does keyboard input unhighlight the mouse-selected region?
@ 2003-09-04 15:50 Kevin Rodgers
  2003-09-05  1:40 ` Sandip Chitale
  0 siblings, 1 reply; 10+ messages in thread
From: Kevin Rodgers @ 2003-09-04 15:50 UTC (permalink / raw)


If I select the region with the mouse (with transient mark mode
disabled), it is highlighted using the `region' face.  I think that is
implemented via `mouse-drag-overlay' in lisp/mouse.el.  Then any
subsequent keyboard input -- even typing a prefix key like `C-x' --
causes it to be unhighlighted; `C-h v' shows

| mouse-drag-overlay's value is
| #<overlay in no buffer>

I don't see any references to mouse-drag-overlay in the src/*.c files,
or anywhere outside of lisp/mouse.el and lisp/mouse-sel.el for that
matter.  So how is the unhighlighting of the selected region
implemented?  And why is that the default behavior -- no command has
been executed, certainly not any command that modifies the buffer or
alters the region.  Finally, can the unhighlighting be disabled?

-- 
Kevin Rodgers

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

end of thread, other threads:[~2003-09-09 20:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-04 15:50 how and why does keyboard input unhighlight the mouse-selected region? Kevin Rodgers
2003-09-05  1:40 ` Sandip Chitale
2003-09-05 18:43   ` Kevin Rodgers
2003-09-05 21:06     ` Sandip Chitale
2003-09-08 16:13       ` Kevin Rodgers
2003-09-08 16:16         ` Stefan Monnier
2003-09-08 20:49           ` Kevin Rodgers
2003-09-08 21:35             ` Stefan Monnier
2003-09-09 16:58               ` Kevin Rodgers
2003-09-09 20:19                 ` Stefan Monnier

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