* How make Emacs replace highlighted text with next typed characters?
@ 2008-12-31 7:31 seberino
2008-12-31 7:45 ` Teemu Likonen
0 siblings, 1 reply; 5+ messages in thread
From: seberino @ 2008-12-31 7:31 UTC (permalink / raw)
To: help-gnu-emacs
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.
How make this happen? (Most newer GUI editors behave like this.)
Chris
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How make Emacs replace highlighted text with next typed characters?
2008-12-31 7:31 How make Emacs replace highlighted text with next typed characters? seberino
@ 2008-12-31 7:45 ` Teemu Likonen
2008-12-31 16:36 ` How make Emacs replace highlighted text with next typedcharacters? Drew Adams
[not found] ` <mailman.3642.1230741418.26697.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 5+ messages in thread
From: Teemu Likonen @ 2008-12-31 7:45 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: How make Emacs replace highlighted text with next typedcharacters?
2008-12-31 7:45 ` Teemu Likonen
@ 2008-12-31 16:36 ` Drew Adams
[not found] ` <mailman.3642.1230741418.26697.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 5+ messages in thread
From: Drew Adams @ 2008-12-31 16:36 UTC (permalink / raw)
To: 'Teemu Likonen', help-gnu-emacs
> > 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
^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <mailman.3642.1230741418.26697.help-gnu-emacs@gnu.org>]
* Re: How make Emacs replace highlighted text with next typedcharacters?
[not found] ` <mailman.3642.1230741418.26697.help-gnu-emacs@gnu.org>
@ 2008-12-31 16:55 ` Teemu Likonen
2008-12-31 17:15 ` Drew Adams
0 siblings, 1 reply; 5+ messages in thread
From: Teemu Likonen @ 2008-12-31 16:55 UTC (permalink / raw)
To: Drew Adams; +Cc: help-gnu-emacs
Drew Adams (2008-12-31 08:36 -0800) wrote:
>> I think you need cua-mode for that. There's option
>> cua-delete-selection which you need to switch on. See:
> 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
I don't like cua-mode's key bindings either. I just didn't know any
other way of getting what the original poster wanted. But now I know,
thanks. :-)
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: How make Emacs replace highlighted text with next typedcharacters?
2008-12-31 16:55 ` Teemu Likonen
@ 2008-12-31 17:15 ` Drew Adams
0 siblings, 0 replies; 5+ messages in thread
From: Drew Adams @ 2008-12-31 17:15 UTC (permalink / raw)
To: 'Teemu Likonen'; +Cc: help-gnu-emacs
> >> I think you need cua-mode for that. There's option
> >> cua-delete-selection which you need to switch on. See:
>
> > 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
>
> I don't like cua-mode's key bindings either. I just didn't know any
> other way of getting what the original poster wanted. But now I know,
> thanks. :-)
I should also have mentioned this more general page - it describes several
alternatives:
http://www.emacswiki.org/emacs/CopyAndPaste
And delete-selection mode, cua-selection-mode, and cua-mode are no doubt
described in the Emacs manual, as well.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-12-31 17:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-31 7:31 How make Emacs replace highlighted text with next typed characters? seberino
2008-12-31 7:45 ` Teemu Likonen
2008-12-31 16:36 ` How make Emacs replace highlighted text with next typedcharacters? Drew Adams
[not found] ` <mailman.3642.1230741418.26697.help-gnu-emacs@gnu.org>
2008-12-31 16:55 ` Teemu Likonen
2008-12-31 17:15 ` Drew Adams
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).