unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Barry Margolin <barmar@alum.mit.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: how to activate region
Date: Thu, 14 May 2009 21:46:16 -0400	[thread overview]
Message-ID: <barmar-9D2A5C.21461614052009@mara100-84.onlink.net> (raw)
In-Reply-To: mailman.7100.1242253215.31690.help-gnu-emacs@gnu.org

In article <mailman.7100.1242253215.31690.help-gnu-emacs@gnu.org>,
 Samuel Wales <samologist@gmail.com> wrote:

> When transient-mark-mode is off, there must be a way to activate the
> existing region for commands that require it to be active.  Anybody
> know what it is?  The manual and apropos have yielded nothing so far.

I just noticed that you said "when transient-mark-mode is off".  That 
changes my answer.

When transient-mark-mode is off, the commands that require the region 
should always succeed as long as you've set the mark.  Are you talking 
about commands that change their behavior depending on whether the 
region is active?  Like M-x replace-string, which operates on the region 
if it's active, or the rest of the buffer otherwise.  That's the point 
of this feature of C-x C-x:

With prefix arg, `transient-mark-mode' is enabled temporarily.

So type C-u C-x C-x, then M-x replace-string, and it should do what you 
want.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***


  parent reply	other threads:[~2009-05-15  1:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.7100.1242253215.31690.help-gnu-emacs@gnu.org>
2009-05-14  4:59 ` how to activate region Barry Margolin
2009-05-14  8:24   ` Andreas Röhler
2009-05-15  1:46 ` Barry Margolin [this message]
2009-05-15 20:16   ` Samuel Wales
2009-05-15 20:43     ` Samuel Wales
2009-05-13 22:19 Samuel Wales
2009-05-13 23:16 ` Leo
2009-05-14  4:32   ` Samuel Wales
2009-05-14  4:33     ` Samuel Wales
2009-05-14  6:04       ` Andreas Röhler
2009-05-14  4:55     ` Kevin Rodgers
     [not found]     ` <mailman.7129.1242276989.31690.help-gnu-emacs@gnu.org>
2009-05-14  5:12       ` Barry Margolin

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=barmar-9D2A5C.21461614052009@mara100-84.onlink.net \
    --to=barmar@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.
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).