From: "Drew Adams" <drew.adams@oracle.com>
To: "'Teemu Likonen'" <tlikonen@iki.fi>, <help-gnu-emacs@gnu.org>
Subject: RE: How make Emacs replace highlighted text with next typedcharacters?
Date: Wed, 31 Dec 2008 08:36:53 -0800 [thread overview]
Message-ID: <000e01c96b65$fd7f5820$0200a8c0@us.oracle.com> (raw)
In-Reply-To: <87k59gg53p.fsf@iki.fi>
> > 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
next prev parent reply other threads:[~2008-12-31 16:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Drew Adams [this message]
[not found] ` <mailman.3642.1230741418.26697.help-gnu-emacs@gnu.org>
2008-12-31 16:55 ` How make Emacs replace highlighted text with next typedcharacters? Teemu Likonen
2008-12-31 17:15 ` Drew Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000e01c96b65$fd7f5820$0200a8c0@us.oracle.com' \
--to=drew.adams@oracle.com \
--cc=help-gnu-emacs@gnu.org \
--cc=tlikonen@iki.fi \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.