all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* mouse click on menu in terminal doesn't work
@ 2015-04-13 23:49 Peter Eisentraut
  2015-04-14  2:45 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Eisentraut @ 2015-04-13 23:49 UTC (permalink / raw)
  To: help-gnu-emacs

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?



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: mouse click on menu in terminal doesn't work
  2015-04-13 23:49 mouse click on menu in terminal doesn't work Peter Eisentraut
@ 2015-04-14  2:45 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2015-04-14  2:45 UTC (permalink / raw)
  To: help-gnu-emacs

> 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.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-14  2:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-13 23:49 mouse click on menu in terminal doesn't work Peter Eisentraut
2015-04-14  2:45 ` Eli Zaretskii

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.