From: Tassilo Horn <tassilo@member.fsf.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Mouse support does not work
Date: Tue, 10 Jan 2012 22:00:47 +0100 [thread overview]
Message-ID: <87y5tfgtmo.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: 83fwfne7ia.fsf@gnu.org
Eli Zaretskii <eliz@gnu.org> writes:
>> For me, mouse commands in an emacs inside an xterm have no effect at
>> all.
>
> Not even if you load xt-mouse?
Oh, nice. But it seems loading is not enough but you have to enable
xterm-mouse-mode, too.
M-: (require 'xt-mouse) RET
M-x xterm-mouse-mode RET
Then, mouse scrolling, clicking, and even selection work fine in both
xterm as well as GNOME terminal.
And of course, it's also documented in the fine manual. :-)
,----[ (info "(emacs)Text-Only Mouse") ]
| Some text-only terminals support mouse clicks in the terminal window.
|
| In a terminal emulator which is compatible with `xterm', you can use
| `M-x xterm-mouse-mode' to give Emacs control over simple uses of the
| mouse--basically, only non-modified single clicks are supported. The
| normal `xterm' mouse functionality for such clicks is still available
| by holding down the `SHIFT' key when you press the mouse button. Xterm
| Mouse mode is a global minor mode (*note Minor Modes::). Repeating the
| command turns the mode off again.
|
| In the console on GNU/Linux, you can use `M-x gpm-mouse-mode' to
| enable mouse support. You must have the gpm server installed and
| running on your system in order for this to work.
`----
> But this doesn't necessarily say anything about iTerm2, whatever that
> is. If no one wrote code for supporting mouse on that terminal, like
> we have for xterm and for GPM, then no, it won't work.
BTW, while GNOME terminal works just fine, using emacs in an xterm is a
huge mess for me. C-h generates a DEL, and M-<x> is just x for any key
<x>, and probably there's more...
Bye,
Tassilo
next prev parent reply other threads:[~2012-01-10 21:00 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-10 9:18 Mouse support does not work Aaron Meurer
2012-01-10 17:24 ` Tassilo Horn
2012-01-10 18:29 ` Eli Zaretskii
2012-01-10 21:00 ` Tassilo Horn [this message]
2012-01-10 21:32 ` Peter Dyballa
2012-01-11 8:04 ` Tassilo Horn
2012-01-11 22:12 ` Peter Dyballa
2012-01-12 7:22 ` Tassilo Horn
2012-01-12 9:44 ` Peter Dyballa
2012-01-12 9:56 ` Tassilo Horn
2012-01-12 10:06 ` Peter Dyballa
2012-01-10 21:31 ` Peter Dyballa
2012-01-10 21:29 ` Peter Dyballa
2012-01-10 22:06 ` Aaron Meurer
2012-01-10 22:31 ` Peter Dyballa
2012-01-10 22:50 ` Aaron Meurer
2012-01-10 23:26 ` Peter Dyballa
2012-01-11 12:50 ` Aaron Meurer
2012-01-11 14:24 ` Drew Adams
2012-01-11 14:37 ` Drew Adams
2012-01-11 15:28 ` Aaron Meurer
2012-01-11 19:10 ` Drew Adams
2012-01-11 21:14 ` Aaron Meurer
2012-01-14 16:45 ` Aaron Meurer
2012-01-14 16:53 ` Drew Adams
2012-01-14 17:26 ` Aaron Meurer
2012-01-14 17:37 ` Drew Adams
2012-01-14 17:49 ` Aaron Meurer
2012-01-14 18:20 ` Drew Adams
2012-01-14 19:55 ` Aaron Meurer
2012-01-14 20:08 ` Drew Adams
2012-01-14 20:32 ` Aaron Meurer
2012-01-14 21:00 ` Drew Adams
2012-01-15 0:01 ` Aaron Meurer
2012-01-15 0:55 ` Peter Dyballa
2012-01-15 0:58 ` Drew Adams
2012-01-15 15:19 ` Peter Dyballa
2012-01-15 1:13 ` Aaron Meurer
2012-01-15 15:28 ` Peter Dyballa
2012-01-15 15:47 ` Aaron Meurer
2012-01-15 16:30 ` Peter Dyballa
2012-01-16 18:22 ` Aaron Meurer
2012-01-14 17:46 ` Aaron Meurer
2012-01-10 23:44 ` Peter Dyballa
2012-01-11 6:31 ` Jonathan Groll
2012-01-11 6:15 ` Jonathan Groll
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=87y5tfgtmo.fsf@thinkpad.tsdh.de \
--to=tassilo@member.fsf.org \
--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.
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).