all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Barry Margolin <barmar@alum.mit.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: Mouse cut moves point
Date: Thu, 03 Jan 2013 19:28:13 -0500	[thread overview]
Message-ID: <barmar-5BC3CA.19281303012013@news.eternal-september.org> (raw)
In-Reply-To: mailman.16636.1357253037.855.help-gnu-emacs@gnu.org

In article <mailman.16636.1357253037.855.help-gnu-emacs@gnu.org>,
 Bob Proulx <bob@proulx.com> wrote:

> In emacs running as a graphics window the act of cutting text moves
> the point.  Typing in text and then using the mouse to cut and paste
> means also needing to tediously move the point back to where I was
> typing (before the cut action) so that I can paste it.
> 
> Is there a way to configure emacs under X so that cutting text with a
> mouse drag does not move the point?
> 
> This is something that has always been this way.  It has not ever
> changed as far as I know.  But it has always been inconvenient.  I had
> such excellent luck with my last question that I decided it was time
> to ask this related question too. :-)

Emacs's model of marking text is that the region is the area between the 
mark and point. So it's not possible to mark a region without setting 
point to one end of it.

But isn't this also how most GUI text editors and word processors work? 
When you swipe an area of text the insertion point disappears. But if 
you cut and then start typing, you'll see that it has moved to where the 
marked text was.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


       reply	other threads:[~2013-01-04  0:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.16636.1357253037.855.help-gnu-emacs@gnu.org>
2013-01-04  0:28 ` Barry Margolin [this message]
2013-01-04  1:25   ` Mouse cut moves point Bob Proulx
2013-01-04  2:16     ` Bob Proulx
2013-01-03 22:43 Bob Proulx

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=barmar-5BC3CA.19281303012013@news.eternal-september.org \
    --to=barmar@alum.mit.edu \
    --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.