all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: emacs-devel@gnu.org
Subject: Re: Proposal for DEL to delete the active region
Date: Mon, 03 May 2010 13:12:42 -0400	[thread overview]
Message-ID: <jwvmxwg3oe7.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87y6g274pb.fsf@stupidchicken.com> (Chong Yidong's message of "Sun, 02 May 2010 10:34:24 -0400")

> 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




      parent reply	other threads:[~2010-05-03 17:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-01  3:23 Proposal for DEL to delete the active region Chong Yidong
2010-05-02  2:54 ` Stefan Monnier
2010-05-02  6:04   ` Thierry Volpiatto
2010-05-02 14:34   ` Chong Yidong
2010-05-03  6:00     ` Richard Stallman
2010-05-03 17:12     ` Stefan Monnier [this message]

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=jwvmxwg3oe7.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    /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.