From: Eli Zaretskii <eliz@gnu.org>
To: Jared Finder <jared@finder.org>
Cc: 43756@debbugs.gnu.org, larsi@gnus.org
Subject: bug#43756: Fix for TTY menus mouse interaction
Date: Sat, 03 Oct 2020 10:23:09 +0300 [thread overview]
Message-ID: <83ft6vepsy.fsf@gnu.org> (raw)
In-Reply-To: <094def0cf664c29c513b0686929eb808@finder.org> (message from Jared Finder on Fri, 02 Oct 2020 12:54:54 -0700)
> Date: Fri, 02 Oct 2020 12:54:54 -0700
> From: Jared Finder <jared@finder.org>
> Cc: larsi@gnus.org, 43756@debbugs.gnu.org
>
> > Ah, xterm-mouse-mode. AFAIR, no one has made TTY menus work with
> > xterm-mouse-mode. The first thing to do is to disable tmm-menubar,
> > and then you need to cause a mouse click call menu-bar-open with the
> > 2nd argument set to the X coordinate of the click.
>
> I think this may be getting mixed up with my feature proposal on
> emacs-devel? I did find this bug when working on making the TTY menus
> work with xterm-mouse-mode and they both affect menus. The patches I
> attached in that thread follow the pattern you described.
>
> This bug report is separable from the rest of that feature. It's also
> much smaller, just two lines. :) This fixes the current behavior of the
> command tmm-menubar-mouse, which is bound to <menu-bar> <mouse-1>.
So you are saying that when tmm-menubar-mouse is invoked by mouse
clicks, it shows incorrect menus after "M-x ielm", but only if you
click on the menu items specific to IELM? It sounds like tmm-menubar
has a bug in its translation of the X coordinate of the click to the
menu-bar item, perhaps because it considers only the global menu
keymap.
next prev parent reply other threads:[~2020-10-03 7:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-02 5:56 bug#43756: Fix for TTY menus mouse interaction Jared Finder via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-10-02 14:37 ` Lars Ingebrigtsen
2020-10-02 16:45 ` Jared Finder via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-10-02 19:35 ` Eli Zaretskii
2020-10-02 19:54 ` Jared Finder via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-10-03 7:23 ` Eli Zaretskii [this message]
2020-10-03 17:44 ` Jared Finder via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-10-05 8:24 ` Lars Ingebrigtsen
2020-10-05 14:53 ` Jared Finder via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-10-05 15:03 ` Eli Zaretskii
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=83ft6vepsy.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=43756@debbugs.gnu.org \
--cc=jared@finder.org \
--cc=larsi@gnus.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.