all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Politz <politza@fh-trier.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Ctrl-x Ctrl-x (exchange-point-and-mark)
Date: Mon, 10 May 2010 23:01:28 +0200	[thread overview]
Message-ID: <874oifa2tz.fsf@fh-trier.de> (raw)
In-Reply-To: mailman.10.1273520565.11383.help-gnu-emacs@gnu.org

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


       reply	other threads:[~2010-05-10 21:01 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.10.1273520565.11383.help-gnu-emacs@gnu.org>
2010-05-10 21:01 ` Andreas Politz [this message]
2010-05-10 19:42 Ctrl-x Ctrl-x (exchange-point-and-mark) Harry Putnam
2010-05-10 20:34 ` Sean Sieger
2010-05-11 10:53   ` Harry Putnam
2010-05-11 11:47     ` Richard Riley
2010-05-11 13:21       ` Harry Putnam
2010-05-11 14:06         ` Tim Visher
2010-05-11 22:02           ` Harry Putnam
2010-05-13 14:43             ` Tim Visher
2010-05-14  1:30               ` Harry Putnam
2010-05-11 14:07         ` Sean Sieger
     [not found]   ` <mailman.3.1273575216.918.help-gnu-emacs@gnu.org>
2010-05-11 11:38     ` Barry Margolin
2010-05-16  9:47   ` Uday S Reddy
2010-05-10 21:10 ` Štěpán Němec
2010-05-16 10:50 ` Uday S Reddy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874oifa2tz.fsf@fh-trier.de \
    --to=politza@fh-trier.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.