help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: How make Emacs replace highlighted text with next typedcharacters?


From: Drew Adams
Subject: RE: How make Emacs replace highlighted text with next typedcharacters?
Date: Wed, 31 Dec 2008 08:36:53 -0800

> > 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

I disagree - or, rather, it depends what you want. `cua-selection-mode' is
`cua-mode' without a lot of extra key bindings. It will do what you request.

I recommend `delete-selection-mode', in library `delsel.el'. It does just what
you want.

http://www.emacswiki.org/emacs/DeleteSelectionMode





reply via email to

[Prev in Thread] Current Thread [Next in Thread]