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#6199: Fwd: bug#6199: C-x C-x does not activate mark when cua-mode is on Date: Sun, 16 May 2010 22:22:07 +0200 Message-ID: References: <87632nr738.fsf@kfs-lx.rd.rdm> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1274041624 8057 80.91.229.12 (16 May 2010 20:27:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 16 May 2010 20:27:04 +0000 (UTC) Cc: 6199@debbugs.gnu.org To: "Kim F. Storm" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 16 22:27:03 2010 connect(): No such file or directory 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 1ODkQO-0006Zr-5J for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 May 2010 22:27:02 +0200 Original-Received: from localhost ([127.0.0.1]:43863 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ODkQM-0003jj-MX for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 May 2010 16:26:58 -0400 Original-Received: from [140.186.70.92] (port=39642 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ODkQE-0003iH-Sa for bug-gnu-emacs@gnu.org; Sun, 16 May 2010 16:26:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ODkQA-0000wh-SE for bug-gnu-emacs@gnu.org; Sun, 16 May 2010 16:26:48 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47589) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ODkQA-0000wN-7x for bug-gnu-emacs@gnu.org; Sun, 16 May 2010 16:26:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1ODkMY-0004rF-LW; Sun, 16 May 2010 16:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lennart Borgman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 May 2010 20:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6199 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6199-submit@debbugs.gnu.org id=B6199.127404135518664 (code B ref 6199); Sun, 16 May 2010 20:23:02 +0000 Original-Received: (at 6199) by debbugs.gnu.org; 16 May 2010 20:22: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 1ODkM6-0004qz-O8 for submit@debbugs.gnu.org; Sun, 16 May 2010 16:22:34 -0400 Original-Received: from mail-fx0-f44.google.com ([209.85.161.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ODkM4-0004qu-C8 for 6199@debbugs.gnu.org; Sun, 16 May 2010 16:22:32 -0400 Original-Received: by fxm16 with SMTP id 16so2671846fxm.3 for <6199@debbugs.gnu.org>; Sun, 16 May 2010 13:22:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=Bgv0k/uNi+ztADJB4taYbPgyn8RaGfTeId84TgPlKmo=; b=W1mfVdX2gU/x+T2hggoKsFlH6KHDm687vHmL7IrSIQOJRpmWyxO7T8vEyu76ttfhcX obJd/d1YZ51JTtfNZY4O0xJS2ZFYdVNKOogrK4F/N2k0QuKqy6iUtNFp7wG+/Jou7iO0 zYMb5QtYwu2n+UPO7Fm4Bpag+P/+OKVkJbGsA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=Ix/upmobFJm2ZDFdjWU6moXEZelHi9kBHntBG0Bihl1yLLH72C+TFY9jnO3ryiswqw pjOy15resW329SXdsBH9nF+VlxF1d9zXuxg+v2KTMzhUu3Ucw9GAmXeheLgOCFn4h7d5 U4ozTDlOX18zby45QsLjK7XYdkKz+7tElA7l4= Original-Received: by 10.239.135.82 with SMTP id c18mr404139hbc.30.1274041347192; Sun, 16 May 2010 13:22:27 -0700 (PDT) Original-Received: by 10.239.164.81 with HTTP; Sun, 16 May 2010 13:22:07 -0700 (PDT) In-Reply-To: <87632nr738.fsf@kfs-lx.rd.rdm> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 16 May 2010 16:23: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:36974 Archived-At: On Sun, May 16, 2010 at 9:15 PM, Kim F. Storm wrote: > Hi Lennart > > It is by design - maybe bad design, but it is documented: > > | C-x C-x runs the command cua-exchange-point-and-mark, which is an > | interactive compiled Lisp function in `cua-base.el'. > | > | It is bound to C-x C-x. > | > | (cua-exchange-point-and-mark ARG) > | > | Exchanges point and mark, but don't activate the mark. > | Activates the mark if a prefix argument is given. > > > I suggest that you could make an option cua-exchange-point-and-mark-activate-mark > (default off) that reverses the meaning of the prefix argument. Oh, I see. However reversing the default would let it be a little bit more in line with transient-mark-mode now. That would make it easier for those that want to move between cua-mode on/off. What do you think? (There could still be an option of course.) However there will still be no way change a "shift-style region status" to a "set-mark-command style region status". Beeing able to do that would be quite useful many times. I suggest a small change in cua-set-mark for that. (cua-set-mark is the cua version of set-mark-command.) As it is now cua-set-mark (ie C-space) sets the mark to point if "shift-style region" is active. How about instead converting the shift-style region to a "set-mark-command style region"? > Feel free to make that (tiny) change. > > Kim > >