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

[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


From: Lennart Borgman
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

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 
> 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
>
>





reply via email to

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