From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: James Cloos Newsgroups: gmane.emacs.bugs Subject: 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 1287855782 27552 80.91.229.12 (23 Oct 2010 17:43:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 23 Oct 2010 17:43:02 +0000 (UTC) Cc: Lars Magne Ingebrigtsen , 7260@debbugs.gnu.org, rms@gnu.org, emacs-devel@gnu.org To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 23 19:43:00 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1P9i7P-00089q-Bp for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Oct 2010 19:42:59 +0200 Original-Received: from localhost ([127.0.0.1]:50511 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P9i7O-0005tx-Dc for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Oct 2010 13:42:58 -0400 Original-Received: from [140.186.70.92] (port=32935 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P9i7F-0005sS-Vp for bug-gnu-emacs@gnu.org; Sat, 23 Oct 2010 13:42:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P9i7E-000373-La for bug-gnu-emacs@gnu.org; Sat, 23 Oct 2010 13:42:49 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55351) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P9i7E-00036z-Jl for bug-gnu-emacs@gnu.org; Sat, 23 Oct 2010 13:42:48 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1P9i1e-00082r-2h; Sat, 23 Oct 2010 13:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: James Cloos Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Oct 2010 17:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7260 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7260-submit@debbugs.gnu.org id=B7260.128785536330908 (code B ref 7260); Sat, 23 Oct 2010 17:37:02 +0000 Original-Received: (at 7260) by debbugs.gnu.org; 23 Oct 2010 17:36:03 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P9i0g-00082S-Sf for submit@debbugs.gnu.org; Sat, 23 Oct 2010 13:36:03 -0400 Original-Received: from eagle.jhcloos.com ([207.210.242.212]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P9i0e-000825-6P for 7260@debbugs.gnu.org; Sat, 23 Oct 2010 13:36:01 -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 =?UTF-8?Q?Dj=C3=A4rv?="'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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 23 Oct 2010 13:37:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:41094 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