From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: James Cloos Newsgroups: gmane.emacs.devel Subject: Re: bug#7260: 24.0.50; DEL screwed up Date: Sat, 23 Oct 2010 13:26:15 -0400 Message-ID: References: <4CC2AD28.5060504@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1287855611 26809 80.91.229.12 (23 Oct 2010 17:40:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 23 Oct 2010 17:40:11 +0000 (UTC) Cc: Lars Magne Ingebrigtsen , emacs-devel@gnu.org, rms@gnu.org, 7260@debbugs.gnu.org To: Jan =?iso-8859-1?Q?Dj=E4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 23 19:40:08 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P9i4d-0007cA-PH for ged-emacs-devel@m.gmane.org; Sat, 23 Oct 2010 19:40:08 +0200 Original-Received: from localhost ([127.0.0.1]:49947 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P9i4c-0004ki-RM for ged-emacs-devel@m.gmane.org; Sat, 23 Oct 2010 13:40:06 -0400 Original-Received: from [140.186.70.92] (port=59610 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P9i4W-0004jD-8w for emacs-devel@gnu.org; Sat, 23 Oct 2010 13:40:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P9i4U-0002Nr-OS for emacs-devel@gnu.org; Sat, 23 Oct 2010 13:40:00 -0400 Original-Received: from eagle.jhcloos.com ([207.210.242.212]:35985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P9i4U-0002Nh-K5; Sat, 23 Oct 2010 13:39:58 -0400 Original-Received: by eagle.jhcloos.com (Postfix, from userid 10) id A8B5F400E5; Sat, 23 Oct 2010 17:39:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhcloos.com; s=eagle; t=1287855596; bh=/HOBMBdiBhcz616VMNbJt0m6sRhXe5yGgr54hHBcLNw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type:Content-Transfer-Encoding; b=jw5C4zgbNkOdkGUWdwYsuyrJGRz4VaSv69VXCWqkqNOkpvnTaAxHB/idTP9cO8FNQ lRzAhIWqbfGQWm4H6XDQAmPUXjA7O8oE0qglapXnQDk3skNB0WYNhXD6wKtFUMX+BC eIgTUHRVq94Ej1iWuu55Xe3PAWEp/FyJHBvK2aNk= Original-Received: from carbon (localhost [127.0.0.1]) by carbon.jhcloos.org (Postfix) with ESMTP id 2AD381E8C4B; Sat, 23 Oct 2010 17:26:16 +0000 (UTC) In-Reply-To: <4CC2AD28.5060504@swipnet.se> ("Jan =?iso-8859-1?Q?Dj=E4rv=22?= =?iso-8859-1?Q?'s?= message of "Sat, 23 Oct 2010 11:38:48 +0200") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAI1J REFUOE+lU9ESgCAIg64P1y+ngUdxhl5H8wFbbM0OmUiEhKkCYaZThXCo6KE5sCbA1DDX3genvO4d eBQgEMaM5qy6uWk4SfBYfdu9jvBN9nSVDOKRtwb+I3epboOsOX5pZbJNsBJFvmQQ05YMfieIBnYX FK2N6dOawd97r/e8RjkTLzmMsiVgrAoEugtviCM3v2WzjgAAAABJRU5ErkJggg== Copyright: Copyright 2009 James Cloos OpenPGP: ED7DAEA6; url=http://jhcloos.com/public_key/0xED7DAEA6.asc OpenPGP-Fingerprint: E9E9 F828 61A4 6EA9 0F2B 63E7 997A 9F17 ED7D AEA6 Original-Lines: 33 X-Hashcash: 1:30:101023:jan.h.d@swipnet.se::u2ut8KOwfkWG0nqF:000000000000000000000000000000000000000000XQc/Z X-Hashcash: 1:30:101023:rms@gnu.org::DnotnpAVOKwXcGB3:000007O8pI X-Hashcash: 1:30:101023:larsi@gnus.org::HAFTvt+YnN1aFNjw:00BYN2h X-Hashcash: 1:30:101023:7260@debbugs.gnu.org::7txq/xG4TNpQ7gXH:0000000000000000000000000000000000000000etcCP X-Hashcash: 1:30:101023:emacs-devel@gnu.org::vVvq3H36HEVFBg7o:00000000000000000000000000000000000000000aTx7L X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:132024 Archived-At: >>>>> "JD" =3D=3D Jan Dj=E4rv writes: JD> FWIW, I often mark a region with the mouse and press DEL to delete it= . JD> It is a habit picked up from other programs. But then again, I JD> enabled delsel a long time ago, so I'm used to that behaviour. Perhaps what would kill :^) the controversy would be a dwim version, kill-or-delete, which would add the region to the kill buffer if it is big enough, but not bother if it is small. Using that for DEL & C-d may cover both camps' wants. The C-u prefix arg could invert the choice, in case you really want to delete a huge region or want to cut-n-paste a small one. AISI, it would only be useful when the region is active. C-d should continue to delete just the single character to the (logical) right when the region is not active. Acting based on whether any input events occurred between activating the region and pressing C-d or DEL may be a reasonable alternative. In that case, those two keys would only kill if used immediately after activating the region. I find that I almost never want to delete (rather than kill) a region. But only /almost/ never. I could deal with C-u C-d deleting the region. But unless the region is small enough to retype quickly and easily, it would be painful for C-d on its own to delete the region. -JimC --=20 James Cloos OpenPGP: 1024D/ED7DAEA6