all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Cc: Eli Zaretskii <eliz@gnu.org>, rms@gnu.org, emacs-devel@gnu.org
Subject: Re: Menu help text not shown when using keyboard
Date: Mon, 24 Oct 2005 13:48:38 +0200	[thread overview]
Message-ID: <435CCA16.8010903@student.lu.se> (raw)
In-Reply-To: <ur7abmjaq.fsf@jasonrumney.net>

Jason Rumney wrote:

>"Richard M. Stallman" <rms@gnu.org> writes:
>
>  
>
>>    If you are using the keyboard to navigate the menus then you currently 
>>    get no information about the help text that are associated with the menu 
>>    entries.
>>
>>Would you like to try to implement this?  I think you need to find the
>>right code in xmenu.c, and make it call show_help_echo.
>>    
>>
>
>The menu selection code is called asynchronously (at least on
>Windows). So calling show_help_echo directly is not possible. You have
>to call kbd_buffer_store_help_event (frame, help), and somehow arrange
>for it to use the minibuffer rather than popping up a tooltip at the
>mouse position.
>  
>
Would the way to go be to change kbd_buffer_store_help_event to take new 
parameters? Then we could also arrange to get rid of the timeout for 
certain messages. For menu help text shown in the echo area I see no 
need for a timeout. It does not seem to behave that way in other 
applications and I think it could be rather confusing if it behaves 
differently in Emacs.

I also noticed a small bug. If the menu entry does not have a help text 
then the echo area is not cleared. Try for example "Emacs FAQ" in the 
help menu.

BTW: I always thinks it is difficult to understand in what thread some 
code is supposed to be run. Would it not be good with some notation in 
the comments for this? Or is there some simple way to get this 
information now?

  reply	other threads:[~2005-10-24 11:48 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-23 13:10 Menu help text not shown when using keyboard Lennart Borgman
2005-10-23 16:28 ` Eli Zaretskii
2005-10-23 17:17   ` Lennart Borgman
2005-10-23 22:47     ` Eli Zaretskii
2005-10-23 23:04       ` Lennart Borgman
2005-10-23 23:48       ` Lennart Borgman
2005-10-24  8:01         ` Jason Rumney
2005-10-24  9:26           ` Eli Zaretskii
2005-10-24  1:00 ` Richard M. Stallman
2005-10-24  8:05   ` Jason Rumney
2005-10-24 11:48     ` Lennart Borgman [this message]
2005-10-24 13:42       ` Jason Rumney
  -- strict thread matches above, loose matches on Subject: below --
2005-10-24  9:58 LENNART BORGMAN

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=435CCA16.8010903@student.lu.se \
    --to=lennart.borgman.073@student.lu.se \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=rms@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.