unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: how and why does keyboard input unhighlight the mouse-selected region?
Date: Thu, 04 Sep 2003 09:50:53 -0600	[thread overview]
Message-ID: <3F575F5D.3040600@yahoo.com> (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

             reply	other threads:[~2003-09-04 15:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-04 15:50 Kevin Rodgers [this message]
2003-09-05  1:40 ` how and why does keyboard input unhighlight the mouse-selected region? 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

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=3F575F5D.3040600@yahoo.com \
    --to=ihs_4664@yahoo.com \
    /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.
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).