From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan =?UTF-8?Q?Reich=C3=B6r?= Newsgroups: gmane.emacs.bugs Subject: bug#9666: 24.0.50; C-d has unexpected behaviour in CUA rectangle mode Date: Tue, 04 Oct 2011 09:55:00 +0200 Message-ID: References: <87pqidmcbh.fsf@escher.home> 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 1317714943 23403 80.91.229.12 (4 Oct 2011 07:55:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 Oct 2011 07:55:43 +0000 (UTC) Cc: 9666@debbugs.gnu.org To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 04 09:55:39 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RAzql-0001BE-Ml for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Oct 2011 09:55:39 +0200 Original-Received: from localhost ([::1]:46493 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAzql-00042U-7J for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Oct 2011 03:55:39 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54853) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAzqi-00042E-4w for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2011 03:55:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RAzqh-0001uw-36 for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2011 03:55:36 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48357) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAzqh-0001us-09 for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2011 03:55:35 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RAzs6-0006CT-4B for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2011 03:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan =?UTF-8?Q?Reich=C3=B6r?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Oct 2011 07:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9666 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9666-submit@debbugs.gnu.org id=B9666.131771499523798 (code B ref 9666); Tue, 04 Oct 2011 07:57:02 +0000 Original-Received: (at 9666) by debbugs.gnu.org; 4 Oct 2011 07:56:35 +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 1RAzrd-0006Bm-WD for submit@debbugs.gnu.org; Tue, 04 Oct 2011 03:56:34 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.171]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RAzra-0006Bc-EE for 9666@debbugs.gnu.org; Tue, 04 Oct 2011 03:56:31 -0400 Original-Received: from pchagakli.ge-research.com (68.186.193.aberger.at [193.186.169.68]) by mrelayeu.kundenserver.de (node=mreu3) with ESMTP (Nemesis) id 0LdPHS-1QjsEY1Ook-00i1Qi; Tue, 04 Oct 2011 09:55:00 +0200 In-Reply-To: <87pqidmcbh.fsf@escher.home> (Stephen Berman's message of "Tue, 04 Oct 2011 09:43:30 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Provags-ID: V02:K0:QKZHaX0oDytm1fuBjSJyvAiMFyFokrQCsfR7bI3g8SI C/I0mwkQHcUNS8CT0g3WO5ANiJS41FxaI7hGF17VvcojHLAMcA eNw0Ce7Oy8FwjFjZnMBqqNreEvNsnGZbJEj1JdQ5V4QWKhBiun thKvvf+IYlXm0jzPJMg/5aKBfgSBpfp1pchhEDnYQmEWQ/kzdc 5tIrNd7lKT9FQrizNNOpwhwYrcqCCk981ICVx2Vi8sZU8ZlaAE WTddrfVEk9hO5JWMsw7si1NQtFJ9LsWSnnCJN31g8HvjlJmazh UzJ9adwtZgMJgrhLMZnJDfqpvzYGz/3QS64g953AwZv/z/4U9r QJ8JgaITkmhlBmq768H8vqLcnRsHHOlFVOnOKweSE8iWEFu8oP avELcb4wylZfQ== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 04 Oct 2011 03:57:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:52152 Archived-At: Stephen Berman writes: > On Tue, 04 Oct 2011 08:30:29 +0200 Stefan Reich=F6r wr= ote: > >> Just activate cua mode, select an rectangle and hit DEL or C-d: >> M-x cua-mode >> C-RET >> select rectangle >> DEL >> >> I expect this command to delete the whole rectangle >> >> But it deletes only one character and deactivates the marked >> rectangle > [...] >> In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) >> of 2011-09-12 on 3249CTO >> Windowing system distributor `Microsoft Corp.', version 5.1.2600 >> configured using `configure --with-gcc (4.5) --no-opt' > > I see somewhat different behavior with the above recipe: DEL (backspace > key), deletes the one-column rectangle immediately following the > selected rectangle, and does not deactivate (unhighlight) the latter; > C-d, on the other hand, does delete the selected rectangle. This is on > GNU Emacs 24.0.90.3 (i686-suse-linux-gnu, GTK+ Version 2.22.1) of > 2011-10-04 on escher. Digging further into this problem. There are some modes that bind delete (not BS) to delete-forward-char (e.g.= the *scratch* buffer). When this is the case the rectangle is not deleted. When delete is bound to delete-char then the rectangle is deleted as expect= ed.