unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: [abraham@dina.kvl.dk: Re: validation of widgets doesn't work correct when Set is pressed with mouse (emacs 21.1)]
       [not found] <200202262013.g1QKDiw16692@aztec.santafe.edu>
@ 2002-02-27  0:07 ` Jason Rumney
  0 siblings, 0 replies; only message in thread
From: Jason Rumney @ 2002-02-27  0:07 UTC (permalink / raw)
  Cc: Geert Ribbers, emacs-devel


> > 2. In my case the error-message must have been shown so short that
> > I fail to see it, overwritten as it is by the button-message
> > It has been shown since I find it in the *messages* buffer.
> > So this second point could be a problem for emacs on windows then, maybe?
> 
> I suspect this is MS Windows specific.

The problem appears to be caused by the fact that pop-up menus are not
asynchronous on MS Windows.  There appear to be multiple problems
involved, the one I haven't solved yet is that the nil help_echo event
that is supposed to clear the button's help_echo before the menu pops
up, does not actually get processed until after the menu selection has
been made.  I think it is that event that is clearing the minibuffer.

The sequence of events appears to be this:

  help text for "State" button displayed.

  pop-up menu activated.

  menu item chosen.

  error message displayed.

  help text cleared.


The current code in show_help_echo only handles the case where the
error message is displayed before the help text.  It might be
possible to solve this by making any messages immediately clear help
text, and have show_help_echo recognize when it has already been
cleared.


-- 
Jason Rumney


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-02-27  0:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200202262013.g1QKDiw16692@aztec.santafe.edu>
2002-02-27  0:07 ` [abraham@dina.kvl.dk: Re: validation of widgets doesn't work correct when Set is pressed with mouse (emacs 21.1)] Jason Rumney

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).