From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#11191: C-x C-x does not activate the selection anymore with cua-selection-mode Date: Mon, 9 Apr 2012 13:06:33 +0200 Message-ID: References: <87vclapdk6.fsf@gnu.org> <4F82C14D.7000100@cua.dk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1333969695 31933 80.91.229.3 (9 Apr 2012 11:08:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 9 Apr 2012 11:08:15 +0000 (UTC) Cc: Dan Nicolaescu , 11191@debbugs.gnu.org, Chong Yidong To: Kim Storm Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 09 13:08:14 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SHCSC-0002JR-U8 for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Apr 2012 13:08:13 +0200 Original-Received: from localhost ([::1]:56701 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SHCSC-0002DK-85 for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Apr 2012 07:08:12 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SHCS9-0002DF-E4 for bug-gnu-emacs@gnu.org; Mon, 09 Apr 2012 07:08:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SHCS7-0006Qd-OV for bug-gnu-emacs@gnu.org; Mon, 09 Apr 2012 07:08:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49816) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SHCS7-0006QY-IB for bug-gnu-emacs@gnu.org; Mon, 09 Apr 2012 07:08:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SHCT0-0004ih-4o for bug-gnu-emacs@gnu.org; Mon, 09 Apr 2012 07:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lennart Borgman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Apr 2012 11:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11191 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11191-submit@debbugs.gnu.org id=B11191.133396968218074 (code B ref 11191); Mon, 09 Apr 2012 11:09:02 +0000 Original-Received: (at 11191) by debbugs.gnu.org; 9 Apr 2012 11:08:02 +0000 Original-Received: from localhost ([127.0.0.1]:46353 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SHCS1-0004hF-UB for submit@debbugs.gnu.org; Mon, 09 Apr 2012 07:08:02 -0400 Original-Received: from mail-lb0-f172.google.com ([209.85.217.172]:53563) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SHCS0-0004h4-L4 for 11191@debbugs.gnu.org; Mon, 09 Apr 2012 07:08:01 -0400 Original-Received: by lbok13 with SMTP id k13so1531848lbo.3 for <11191@debbugs.gnu.org>; Mon, 09 Apr 2012 04:07:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=OExR4KtU4xRccgXwHxRb3YuHnmVWt3o7fUGUzcsmff0=; b=Xaa4mF2oUKO87AaTwcOzW5nkNMhUgz6jnJD9Q9N0FCpLNCe/scDrIFm17sQ0yEQaJm z1zzI/+osTUJyHfjeZZA7ZleRsutzJGdSqi1EsC1ZnOv+b2fPeKp3LWRNfGwB/6z5fU2 5qau7HHshUGHV1NJIdWbvHoiMR/FWiZWl1R+ZpJcgrBw960RITiTFcupoM/LXHxxty6L hqmxLnJFfV7kPWjpalaF6GTm2nKqmeEg856uhxgWOx2V5mIep8G0fVMFvr7sGxDSzl5M 03Lxg/ypEOMb6jiKGlI2/FlHpNgjhPLr7Jv4C2bkBL6144cJVXXSrDqu4dt0uqCpzq9Z ArZQ== Original-Received: by 10.152.146.39 with SMTP id sz7mr10955412lab.3.1333969624063; Mon, 09 Apr 2012 04:07:04 -0700 (PDT) Original-Received: by 10.112.74.232 with HTTP; Mon, 9 Apr 2012 04:06:33 -0700 (PDT) In-Reply-To: <4F82C14D.7000100@cua.dk> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:58633 Archived-At: On Mon, Apr 9, 2012 at 13:00, Kim Storm wrote: > On 04/09/2012 07:50 AM, Dan Nicolaescu wrote: >> >> Chong Yidong =C2=A0writes: >> >>> Dan Nicolaescu =C2=A0writes: >>> >>> [recipe edited] >>> >>>> emacs -Q >>>> M-x cua-selection-mode RET >>>> M-< >>>> C-SPC C-f C-f C-f C-g >>>> C-x C-x >>>> >>>> now the selection should be active, but it is not. >>>> This worked in emacs-23.3, so this is a regression. >>> >>> Looks like this change was made deliberately: >>> >>> =C2=A0 revno: 102844 >>> =C2=A0 committer: Kim F. Storm >>> =C2=A0 branch nick: trunk >>> =C2=A0 timestamp: Fri 2011-01-14 16:06:17 +0100 >>> =C2=A0 message: >>> =C2=A0 * emulation/cua-base.el (cua--init-keymaps): >>> =C2=A0 Remap exchange-point-and-mark in cua-global-keymap. >>> >>> The docstring of `cua-exchange-point-and-mark' says it does not activat= e >>> the mark. >>> Kim, could you confirm that this was the intention? >> >> >> In emacs-22.3 and 23.3 it does activate the mark. >> C-x C-x also activates the mark in the trunk without >> cua-selection-mode. >> >> Wouldn't it be better that instead of changing something that has been >> present in two major releases and is consistent with the default behavio= r, >> to change the docstring? >> > > The current behaviour is "by design" > > Personally, I find it very annoying if C-x C-x activates the mark with > cua-mode - as it becomes very > hard to enter another C-x C-x to cancel it (it actually requires three C-= x > typed rapidly -- otherwise > it will delete the region. =C2=A0That is why cua-exchange-point-and-mark = doesn't > activate the mark > by default. I agree that it would be very annoying if C-x C-x activates the region when cua-mode is on!