all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Darren Hoo <darren.hoo@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Input for TTY menus
Date: Fri, 18 Oct 2013 16:38:59 +0300	[thread overview]
Message-ID: <83zjq6n1fw.fsf@gnu.org> (raw)
In-Reply-To: <CAJ+QY_EbesOO6jAjm-inBvE1afqWwTzuGiEqx0FEgpWO9qErkg@mail.gmail.com>

> Date: Fri, 18 Oct 2013 18:39:21 +0800
> From: Darren Hoo <darren.hoo@gmail.com>
> Cc: emacs-devel <emacs-devel@gnu.org>
> 
> > Can you try the patch below, and see if it fixes the menu-bar issue
> > with GPM, and does not cause any adverse effects on the rest of GPM
> > mouse functionality?
> 
> The patch works, neat really.

Thanks for testing.  I committed the change.

> I think there's one more improvement  can be made.
> 
> for example click on the menu Options,  Click on the letter O or click on
> letter i the position of the dropdown menu is different. please refer to the
> screenshots attached,  I think the calculation of the position of the  the
> drop down menu should always start from the first letter of the menu.

That's how non-toolkit menus always worked: the menu is popped on the
same place where you click the mouse.  Personally, I rather like this,
but that's because I'm used to it.

If someone wants to work on changing that for clicks on the menu bar
(note that this should still work as it does for clicks on the text
area or elsewhere on the frame), I won't object, but I won't work on
this myself, sorry.

> I wonder how it works on windows

The same.  It also works the same on X when no toolkits are used, and
even on MS-DOS.

> (having some trouble setting up the build environment, are there any
> downloadable nightly builds?)

  https://sourceforge.net/projects/emacs-bin/files/snapshots/

> and whether the behaviour cross platform is consistent.

It is, as long as Emacs itself is creating the menus.  Toolkits don't
behave like that.



  reply	other threads:[~2013-10-18 13:38 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-19 13:38 Input for TTY menus Eli Zaretskii
2013-09-19 13:52 ` Masatake YAMATO
2013-09-19 14:33 ` Stefan Monnier
2013-09-19 15:47   ` Eli Zaretskii
2013-09-19 19:21     ` Stefan Monnier
2013-09-23 13:18       ` Eli Zaretskii
2013-09-23 14:43         ` Stefan Monnier
2013-09-21 14:56   ` Eli Zaretskii
2013-10-17  5:34 ` Darren Hoo
2013-10-17 15:49   ` Eli Zaretskii
2013-10-18  4:55     ` Darren Hoo
2013-10-18  6:49       ` Eli Zaretskii
2013-10-18  7:37         ` Darren Hoo
2013-10-18  9:13           ` Eli Zaretskii
2013-10-18 10:39             ` Darren Hoo
2013-10-18 13:38               ` Eli Zaretskii [this message]
2013-10-18 13:40               ` Eli Zaretskii
2013-10-19 18:38                 ` Darren Hoo
2013-10-19 18:58                 ` Darren Hoo
2013-10-19 19:07                   ` Darren Hoo
2013-10-20  9:32                     ` Jan Djärv
2013-10-18 14:11         ` Eli Zaretskii
2013-10-18 15:12           ` Stefan Monnier
2013-10-18 15:28             ` Eli Zaretskii
2013-10-18 18:17               ` Stefan Monnier
2013-10-19  8:40             ` Eli Zaretskii
2013-10-19 13:45               ` Stefan Monnier
2013-10-18 17:41         ` chad
2013-10-18 17:43           ` chad
2013-10-18 18:14           ` Eli Zaretskii
2013-10-18 19:26             ` Jan Djärv
2013-10-18 20:04             ` Stefan Monnier
2013-10-19  7:35               ` Eli Zaretskii
2013-10-19  9:43                 ` Eli Zaretskii
2013-10-19 13:40                   ` Stefan Monnier
2013-10-19 14:45                     ` Eli Zaretskii
2013-10-19 15:25                       ` Stefan Monnier
2013-10-19 16:32                         ` Eli Zaretskii
2013-10-19  8:58             ` Jan Djärv
2013-10-19  9:01               ` 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=83zjq6n1fw.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=darren.hoo@gmail.com \
    --cc=emacs-devel@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.