bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11191: C-x C-x does not activate the selection anymore with cua-sele


From: Dan Nicolaescu
Subject: bug#11191: C-x C-x does not activate the selection anymore with cua-selection-mode
Date: Mon, 09 Apr 2012 01:50:12 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

Chong Yidong <cyd@gnu.org> writes:

> Dan Nicolaescu <dann@gnu.org> writes:
>
> [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:
>
>   revno: 102844
>   committer: Kim F. Storm <storm@cua.dk>
>   branch nick: trunk
>   timestamp: Fri 2011-01-14 16:06:17 +0100
>   message:
>   * emulation/cua-base.el (cua--init-keymaps):
>   Remap exchange-point-and-mark in cua-global-keymap.
>
> The docstring of `cua-exchange-point-and-mark' says it does not activate
> 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 behavior,
to change the docstring?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]