[Top][All Lists]

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

Re: How to delete selection on keypress, paste etc

From: Mats Larsson
Subject: Re: How to delete selection on keypress, paste etc
Date: Wed, 20 Nov 2002 08:46:14 +0100
User-agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.2b) Gecko/20021024

On 2002-11-19 19:28, Michael Slass wrote:

,----[ 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.

The equivalent for XEmacs is pending-delete-mode. But I do wonder why hitting the Tab key doesn't replace the selection. Bug or feature?


reply via email to

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