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

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

Re: How to delete selection on keypress, paste etc


From: Michael Slass
Subject: Re: How to delete selection on keypress, paste etc
Date: Tue, 19 Nov 2002 18:28:47 GMT
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

ignoramus20016@NOSPAM.20016.invalid (Igor20016) writes:

>My xemacs somehow was set to delete selection (region) if it was
>active and I pressed a key, pasted, or pressed DEL.
>
>It no longer does it and just appends to the region without
>deleting it. How can I change that behaviour?
>
>igor

,----[ C-h f delete-selection-mode RET ]
| delete-selection-mode is an interactive autoloaded Lisp function in `delsel'.
| [Arg list not available until function definition is loaded.]
| 
| Toggle Delete Selection mode.
| With prefix ARG, turn Delete Selection mode on if and only if ARG is
| positive.
| 
| When Delete Selection mode is enabled, Transient Mark mode is also
| enabled and typed text replaces the selection if the selection is
| active.  Otherwise, typed text is just inserted at point regardless of
| any selection.
`----

This is for GNU emacs; don't know whether it works for XEmacs.
-- 
Mike Slass


reply via email to

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