From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: how to activate region Date: Thu, 14 May 2009 21:46:16 -0400 Organization: A noiseless patient Spider Message-ID: References: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1242355250 5185 80.91.229.12 (15 May 2009 02:40:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 May 2009 02:40:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 15 04:40:43 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M4nLn-0003TX-CH for geh-help-gnu-emacs@m.gmane.org; Fri, 15 May 2009 04:40:43 +0200 Original-Received: from localhost ([127.0.0.1]:56404 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M4nLm-0000Sc-CK for geh-help-gnu-emacs@m.gmane.org; Thu, 14 May 2009 22:40:42 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2.glorb.com!feeder.motzarella.org!news.motzarella.org!eternal-september.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-X-Trace: news.eternal-september.org U2FsdGVkX18KBzrevtM0vwVhUdThweMSvNCBNQ4flOxmQDqtWe7RROJhkRX6C0+t8cGLM2yCRQvfpQQCMo6CWXfR9e2stYxAYUKdR3HFs69pKNVrmIQIyyJ2+H8RRxzBdBR/dYhsCg/12kkJkHuIng== Original-X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers Original-NNTP-Posting-Date: Fri, 15 May 2009 01:46:16 +0000 (UTC) X-Auth-Sender: U2FsdGVkX19hnELiHOC8/gqlvJMjw1LEwHUCOrS5p4Y= Cancel-Lock: sha1:MF54hLWvpcgXf5bippjiWkBkC78= User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Mail-Copies-To: nobody Original-Xref: news.stanford.edu gnu.emacs.help:169188 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64450 Archived-At: In article , Samuel Wales 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 ***