unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: "Ernest Adrogué" <nfdisco@gmail.com>, help-gnu-emacs@gnu.org
Subject: RE: select text without moving the point in graphical interface
Date: Sun, 8 Dec 2013 14:13:43 -0800 (PST)	[thread overview]
Message-ID: <a364a43b-28c2-4cc8-9a3e-6e08173d9e76@default> (raw)
In-Reply-To: <20131208204158.GA12709@doriath.local>

> Sorry, I wasn't specific enough. I meant selecting text using the mouse.
> 
> In a terminal, the mouse is independent from emacs and it doesn't interfere
> with it in any perceivable way, except when I paste something with a middle
> click.  I think it's the terminal program, and not emacs, who handles the
> mouse inputs.

Yes.  The relevant doc is (emacs) `Text-Only Mouse', which explains
that only some text terminals support mouse clicks.

> In a GUI, it doesn't work the same way - as soon as I click anywhere the
> point moves to that location.  I was wondering if tweaking some options I
> could make GUI emacs behave more or less like when it runs inside a
> terminal.  For example, to be able to select text (using the X cursor)
> without moving emacs's point in the process.

Mouse selection in GUI Emacs is specifically for setting the region
to the selected text.  So no, to have `mouse-1' not set point you
would need to redefine a fair number of things.  In terminal mode,
Emacs does not even recognize the mouse, in the sense that if you do
`C-h k' and then click or drag the mouse, that action is unrecognized.




  reply	other threads:[~2013-12-08 22:13 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-08 19:00 select text without moving the point in graphical interface Ernest Adrogué
2013-12-08 19:11 ` Drew Adams
2013-12-08 19:34   ` Ernest Adrogué
2013-12-08 20:24     ` Drew Adams
2013-12-08 20:41       ` Ernest Adrogué
2013-12-08 22:13         ` Drew Adams [this message]
2013-12-09  1:53           ` Bob Proulx
2013-12-09  3:45           ` Eli Zaretskii
     [not found]           ` <<83fvq2znym.fsf@gnu.org>
2013-12-09  5:17             ` Drew Adams
2013-12-09 16:20               ` Eli Zaretskii
     [not found]               ` <<83bo0qyp1d.fsf@gnu.org>
2013-12-09 18:16                 ` Drew Adams
2013-12-09 18:33                   ` Eli Zaretskii
     [not found]                   ` <<8338m1zxfj.fsf@gnu.org>
2013-12-09 18:59                     ` Drew Adams
2013-12-08 21:25 ` Michael Heerdegen
2013-12-08 22:58   ` Ernest Adrogué
2013-12-09 19:26     ` Michael Heerdegen
2013-12-10 18:58       ` Ernest Adrogué
2013-12-10 19:02         ` Drew Adams
2013-12-10 19:13         ` Michael Heerdegen
2013-12-10 19:26           ` Ernest Adrogué

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=a364a43b-28c2-4cc8-9a3e-6e08173d9e76@default \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=nfdisco@gmail.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).