From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Mouse support does not work Date: Tue, 10 Jan 2012 22:29:00 +0100 Message-ID: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1326230961 6822 80.91.229.12 (10 Jan 2012 21:29:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 10 Jan 2012 21:29:21 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Aaron Meurer Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 10 22:29:16 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RkjFp-0003Vj-Oa for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Jan 2012 22:29:13 +0100 Original-Received: from localhost ([::1]:60708 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkjFp-0005zk-4p for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Jan 2012 16:29:13 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:37565) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkjFk-0005zU-Iz for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 16:29:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkjFj-0005M4-Lo for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 16:29:08 -0500 Original-Received: from fmmailgate04.web.de ([217.72.192.242]:48289) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkjFj-0005Le-Dd for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 16:29:07 -0500 Original-Received: from moweb001.kundenserver.de (moweb001.kundenserver.de [172.19.20.114]) by fmmailgate04.web.de (Postfix) with ESMTP id E8BBA70A0FD2 for ; Tue, 10 Jan 2012 22:29:00 +0100 (CET) Original-Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb002) with ESMTPA (Nemesis) id 0M89jd-1Sg9Bl2PhJ-00vRD8; Tue, 10 Jan 2012 22:29:00 +0100 In-Reply-To: X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:mYBcv+8AtjcK5vBOFatgAjM9AkrXLYOhcXfHvBJ3/X3 bnGs5gUaq/6Kp30ZNTDstzM+dUx/n2TupIf31mLHaFzoTmY5gO GGwAKuRfgkkvZAxEAbPpKLgsHfAE7E+Ye60ecWkKW4xaoDNBZE Qaql6eXuFv/z290FX1yPRoXq5T0L6g88voxrzZOjWqjDUeguGd DZfBJ0Hu3g+RX02p7qa4A== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.242 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83440 Archived-At: 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 or events. The function = mouse-sel-mode is also a toggle =96 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 and = 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 =96 but not in Apple's Terminal. Hopefully if works = in iTerm2! -- Greetings Pete War springs from unseen and generally insignificant causes. =96 Anonymous