all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John A Pershing Jr <pershing@alum.mit.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: Turn off selection coloring
Date: Sun, 20 Sep 2009 15:18:40 -0400	[thread overview]
Message-ID: <82k4zt5srz.fsf@alum.mit.edu> (raw)
In-Reply-To: mailman.7064.1253390548.2239.help-gnu-emacs@gnu.org

Keep in mind that there is *always* a region, defined as the stuff
between point and mark (both of which are always defined).  The
difference here is whether the region is considered to be "active" or
not, with this "activeness" causing a few commands to modify their
behavior.

Transient mark mode has also been around for quite a while; it
determines whether certain mark-setting commands (e.g., C-SPC, C-x h)
also set the region "active" or not.  Before the current release,
transient mark mode was off by default, and many of us were completely
unaware of "active regions" or their implications.  If one wanted an
active region, you could use C-SPC C-SPC to temporarily turn on
"activeness" for the current region, or you could enable transient mark
mode in your .emacs file.

The colorization is orthogonal to transient mark mode: it indicates that
you have an active region, either automagically (because you are running
in transient mark mode) or explicitly (via C-SPC C-SPC).  It is probably
a bad idea to suppress this colorization; I would guess that you would
want *some* indication that you are dealing with an active region
(rather than an ordinary region).

If the colorized region is (1) new to you and (2) annoying, then you
probably want to turn off transient mark mode in your .emacs file, since
you have been surviving just fine the past past N years without ever
using an active region.  However, as more and more commands start paying
attention to the activeness of the region and modifying their behavior,
you may (or may not...) want to "get with the program" and start
figuring out what active regions can do for you!

  -jp


  parent reply	other threads:[~2009-09-20 19:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-15 19:04 Turn off selection coloring Harry Putnam
2009-09-15 19:22 ` Tassilo Horn
2009-09-17 22:07   ` Harry Putnam
2009-09-18  5:49     ` Tassilo Horn
2009-09-18 14:53       ` Harry Putnam
2009-09-18 18:33         ` Tassilo Horn
2009-09-19 20:01           ` Harry Putnam
     [not found]           ` <mailman.7064.1253390548.2239.help-gnu-emacs@gnu.org>
2009-09-20 19:18             ` John A Pershing Jr [this message]
     [not found] <mailman.6729.1253041517.2239.help-gnu-emacs@gnu.org>
2009-09-20 21:49 ` Xah Lee

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=82k4zt5srz.fsf@alum.mit.edu \
    --to=pershing@alum.mit.edu \
    --cc=help-gnu-emacs@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.