From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Teemu Likonen Newsgroups: gmane.emacs.help Subject: Re: How make Emacs replace highlighted text with next typed characters? Date: Wed, 31 Dec 2008 07:45:47 GMT Organization: Sonera Customer Message-ID: <87k59gg53p.fsf@iki.fi> References: <84e4aae8-769f-4200-9d06-f8c8be58276f@z28g2000prd.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1230712988 7962 80.91.229.12 (31 Dec 2008 08:43:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Dec 2008 08:43:08 +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 Dec 31 09:44:17 2008 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 1LHwga-0004rx-QD for geh-help-gnu-emacs@m.gmane.org; Wed, 31 Dec 2008 09:44:16 +0100 Original-Received: from localhost ([127.0.0.1]:40570 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHwfM-00008Z-V1 for geh-help-gnu-emacs@m.gmane.org; Wed, 31 Dec 2008 03:43:00 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!newshub.sdsu.edu!feeder.erje.net!newsfeed.straub-nv.de!border2.nntp.ams.giganews.com!nntp.giganews.com!news.astraweb.com!border1.a.newsrouter.astraweb.com!newsfeed1.swip.net!newsfeed1.funet.fi!newsfeeds.funet.fi!nntp.inet.fi!central1.inet.fi!inet.fi!read4.inet.fi.POSTED!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:yb87ZYYOpONKJGq3QDyLpdBWekk= Original-Lines: 12 Original-NNTP-Posting-Host: 80.220.180.181 Original-X-Complaints-To: abuse@inet.fi Original-X-Trace: read4.inet.fi 1230709547 80.220.180.181 (Wed, 31 Dec 2008 09:45:47 EET) Original-NNTP-Posting-Date: Wed, 31 Dec 2008 09:45:47 EET Original-Xref: news.stanford.edu gnu.emacs.help:165660 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:60994 Archived-At: seberino@spawar.navy.mil (2008-12-30 23:31 -0800) wrote: > How make Emacs replace highlighted text with next typed characters? > > When you hightlight text in Emacs and then type new text, the new text > does NOT replace the highlighted text. I think you need cua-mode for that. There's option cua-delete-selection which you need to switch on. See: C-h f cua-mode RET M-x customize-group RET cua RET