[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#6199: Fwd: bug#6199: C-x C-x does not activate mark when cua-mode is
Kim F. Storm
bug#6199: Fwd: bug#6199: C-x C-x does not activate mark when cua-mode is on
Sun, 16 May 2010 22:31:06 +0200
Gnus/5.13 (Gnus v5.13) Emacs/23.1.97 (gnu/linux)
Lennart Borgman <address@hidden> writes:
> On Sun, May 16, 2010 at 9:15 PM, Kim F. Storm <address@hidden> 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
>> (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.)
I think only very few users "move between cua-mode on/off".
But you can change the default if you like.
> 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 never missed that possibility, but YMMV.
> 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"?
That would be ok with me.
Kim F. Storm <address@hidden> http://www.cua.dk