From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Aaron Meurer <asmeurer@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Mouse support does not work
Date: Tue, 10 Jan 2012 22:29:00 +0100 [thread overview]
Message-ID: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> (raw)
In-Reply-To: <CAKgW=6KA2+eFNn+T4Dog-HCR-DJPHv6yiMhfnCCMm7p4Z3bpUw@mail.gmail.com>
Am 10.1.2012 um 10:18 schrieb Aaron Meurer:
> I can't get mouse support to work in emacs. I've tried various
> things, but neither scrolling nor any kind of clicking or selection
> does anything. I'm using iTerm2 in Mac OS X. I believe it should be
> supported, as mouse support works perfectly in vim. I've tried M-x
> mouse-wheel-mode, M-x mouse-sel-mode, and I've tried putting all kinds
> of things in .emacs as suggested by various sites, but nothing has
> worked.
For me not even scrolling in vim/vi works... (could you describe how you achieve this?)
The function mouse-wheel-mode is a toggle. If it's off, then you can type C-h k and then operate the mouse wheel or scroll via the trackpad. In the echo-area ("mini-buffer") you can see that GNU Emacs reports having received multiple <mouse-4> or <mouse-5> events. The function mouse-sel-mode is also a toggle – which I think is not very useful (I have it set off).
In GNU Emacs you have to load the xt-mouse "package":
(require 'xt-mouse)
and then switch that mode on:
(xterm-mouse-mode)
It will allow you to select windows (buffers) with the mouse cursor by clicking into one and clicking into the menu bar will show you in a buffer the contents of the selected menu and enable you to make a choice. Clicking onto a file name in dired-mode will open that file for editing in a new window (buffer). GNU Emacs will also receive mouse scroll events. In my rather dumb setup the <mouse-4> and <mouse-5> events are mot bound to any function so that I cannot scroll... (and also in a default setup they're not bound to anything)
This works in xterm – but not in Apple's Terminal. Hopefully if works in iTerm2!
--
Greetings
Pete
War springs from unseen and generally insignificant causes.
– Anonymous
next prev parent reply other threads:[~2012-01-10 21:29 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
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 [this message]
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=93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE \
--to=peter_dyballa@web.de \
--cc=asmeurer@gmail.com \
--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).