From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Daniel" Newsgroups: gmane.emacs.help Subject: Re: Erase Region and paste in once? Date: 3 Apr 2007 21:37:23 -0700 Organization: http://groups.google.com Message-ID: <1175661443.271220.310370@n76g2000hsh.googlegroups.com> References: <1175650427.745405.43310@e65g2000hsc.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1175665071 14414 80.91.229.12 (4 Apr 2007 05:37:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 4 Apr 2007 05:37:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 04 07:37:48 2007 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 1HYyBn-0001sl-Q4 for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Apr 2007 07:37:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HYyF0-0003yX-4h for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Apr 2007 01:41:06 -0400 Original-Path: shelby.stanford.edu!newshub.stanford.edu!postnews.google.com!n76g2000hsh.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: 24.161.168.138 Original-X-Trace: posting.google.com 1175661451 28387 127.0.0.1 (4 Apr 2007 04:37:31 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 4 Apr 2007 04:37:31 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20060601 Firefox/2.0.0.3 (Ubuntu-edgy),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: n76g2000hsh.googlegroups.com; posting-host=24.161.168.138; posting-account=sSuG_Q0AAACBMwnT3Ej4aAinBHQ74NmN Original-Xref: shelby.stanford.edu gnu.emacs.help:146803 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:42407 Archived-At: On Apr 3, 8:08 pm, Eli Zaretskii wrote: > > From: "Daniel" > > Date: 3 Apr 2007 18:33:47 -0700 > > > In general editors, I do copy (ctrl-c) some text in firefox and make a > > region in a editor where I want to replace and paste(ctrl-v) it. > > > I tried to do in emacs, but I can't find a way to overwrite a certain > > region by doing yank at one time. > > Did you try to turn on the CUA mode? > > M-x cua-mode RET The problem of cua-mode is override C-c and C-v. I am using C-v for moving pages. Is there any way to use only to overwrite the region not touching C-c or C-v?