[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ctrl-x Ctrl-x (exchange-point-and-mark)
From: |
Andreas Politz |
Subject: |
Re: Ctrl-x Ctrl-x (exchange-point-and-mark) |
Date: |
Wed, 08 Dec 2010 15:07:45 -0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Harry Putnam <reader@newsguy.com> writes:
> I see there are no customizing option matching
> `exchange-point-and-mark' (Ctrl-x Ctrl-x)
>
> I wondered if I can do anyghing about the current behavior where when
> the exchange is made, the area in between is selected and highlighted.
>
> I don't want to turn off the newish behavior of how regions are
> selected, where it takes two strikes of spc bar to turn it off. I
> know there is a way to turn that off, but wondered if I might be able
> to ditch that un-wanted behavior some other way.
You could invert the meaning of the prefix arg with some advice.
(defadvice exchange-point-and-mark (before negate-interactive-arg activate)
"Logically negate the interactive ARG."
(interactive
(list (not current-prefix-arg))))
-ap
- Re: Ctrl-x Ctrl-x (exchange-point-and-mark),
Andreas Politz <=