emacs-devel
[Top][All Lists]
Advanced

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

Re: Proposal for DEL to delete the active region


From: Stefan Monnier
Subject: Re: Proposal for DEL to delete the active region
Date: Mon, 03 May 2010 13:12:42 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> I count ten such commands, all variants of delete-char or
> delete-backward-char.  I think these should all obey the same two
> variables.  For instance, `c-electric-backspace' should obey
> `delete-backward-char-delete-region', and `org-delete-char' should obey
> `delete-char-delete-region'.

My point is that we should go with a single option, like
`delete-deletes-active-region'.

> Good point.  How about splitting up the functions, similar to next-line
> vs forward-line?

> So, we'd leave delete-backward-char unchanged, and create a new command
> `delete-backward' which is the default binding for [DEL].  Similarly, a
> new function `delete-forward', which is the default binding for
> [delete].

Sounds fine for these functions.  Don't know about the (org|c)-*
commands, tho.


        Stefan




reply via email to

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