all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: mouse click on menu in terminal doesn't work
Date: Tue, 14 Apr 2015 05:45:03 +0300	[thread overview]
Message-ID: <837ftfctsg.fsf@gnu.org> (raw)
In-Reply-To: <552C55F3.60901@eisentraut.org>

> Date: Mon, 13 Apr 2015 19:49:07 -0400
> From: Peter Eisentraut <peter@eisentraut.org>
> 
> 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.



      reply	other threads:[~2015-04-14  2:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-13 23:49 mouse click on menu in terminal doesn't work Peter Eisentraut
2015-04-14  2:45 ` Eli Zaretskii [this message]

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

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

  git send-email \
    --in-reply-to=837ftfctsg.fsf@gnu.org \
    --to=eliz@gnu.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.