From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: mouse click on menu in terminal doesn't work Date: Tue, 14 Apr 2015 05:45:03 +0300 Message-ID: <837ftfctsg.fsf@gnu.org> References: <552C55F3.60901@eisentraut.org> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1428979524 25924 80.91.229.3 (14 Apr 2015 02:45:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Apr 2015 02:45:24 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 14 04:45:13 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Yhqqe-00009A-Ce for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Apr 2015 04:45:12 +0200 Original-Received: from localhost ([::1]:53997 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yhqqd-00012J-Ho for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Apr 2015 22:45:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37390) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhqqS-00011t-B0 for help-gnu-emacs@gnu.org; Mon, 13 Apr 2015 22:45:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YhqqN-0000iE-Cy for help-gnu-emacs@gnu.org; Mon, 13 Apr 2015 22:45:00 -0400 Original-Received: from mtaout24.012.net.il ([80.179.55.180]:53514) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhqqN-0000hM-51 for help-gnu-emacs@gnu.org; Mon, 13 Apr 2015 22:44:55 -0400 Original-Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0NMR00F00YY8AX00@mtaout24.012.net.il> for help-gnu-emacs@gnu.org; Tue, 14 Apr 2015 05:36:15 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NMR007S2Z8FRC70@mtaout24.012.net.il> for help-gnu-emacs@gnu.org; Tue, 14 Apr 2015 05:36:15 +0300 (IDT) In-reply-to: <552C55F3.60901@eisentraut.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.180 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:103705 Archived-At: > Date: Mon, 13 Apr 2015 19:49:07 -0400 > From: Peter Eisentraut > > I'm using Emacs 24.5 from OS X Homebrew in iTerm2. > > I start > > emacs -q > > then run > > (xterm-mouse-mode 1) > > in the scratch buffer. Then I can use the mouse to click around in the > buffer and the mouse moves. If I split the frame, I can also click to > switch between windows. So Emacs can clearly see my mouse clicks. > > The NEWS for Emacs 24.4 contain this item: > > > ** Support for menus on text-mode terminals. > > If the terminal supports a mouse, clicking on the menu bar, or on > > sensitive portions of the mode line or header line, will drop down the > > menu defined at that position. > > My understanding of this is that if I click on say "File" in the menu, > that menu opens, just like if I press F10. But what instead happens is > that I get a *Completions* buffer in a split frame. (I suppose this is > from the function tmm-menubar.) > > Any idea why this doesn't work? Because xterm-mouse-mode wasn't yet made to support this feature. You need a GPM mouse or something similar.