all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 16636@debbugs.gnu.org
Subject: bug#16636: 24.3.50; REGRESSION: y/n file dialog is only flashed; input is not read
Date: Tue, 04 Feb 2014 21:20:23 +0200	[thread overview]
Message-ID: <83wqha1y88.fsf@gnu.org> (raw)
In-Reply-To: <f6441b2f-6aa7-44eb-b88c-ebcb4764fc49@default>

> Date: Tue, 4 Feb 2014 10:51:42 -0800 (PST)
> From: Drew Adams <drew.adams@oracle.com>
> Cc: 16636@debbugs.gnu.org
> 
> > For "simple" Yes/No questions, Emacs on Windows uses a message box.
> > For more complex dialogs, it displays a menu, because no one has yet
> > written code that displays Windows dialog boxes for that.
> 
> Out of curiosity, why do we think that one is better than the other?

I guess because it is closer to a real dialog box, with buttons and
such likes.  It's just that no one wrote the code to implement dialogs
on Windows (more accurately, the code is incomplete and disabled), so
we are using cheap and easy replacements.

> I guess the message box is better because you can just hit RET if
> you want the default?  I agree that that is important, but is that
> the only reason to prefer a message box?

I don't know, I wasn't around when that was written.

> > The bug happened because the code which invokes the "simple dialog"
> > was inadvertently deleted.
> 
> I see.  But in that case, shouldn't the menu have been displayed
> normally, in place of the message box?  I would think that the
> problem was the invisible and automatically dismissed menu, not
> the fact that the menu was used instead of a message box.  I feel
> like I must be missing something, but I'm guessing that it's not
> important that I understand.

You are not missing anything.  It is quite possible that a separate
problem still exists that causes menus to pop down without giving the
user a chance to make a selection, in some situations.  Probably some
unexpected event comes in after the menu is displayed and causes it to
pop down.  But I cannot reproduce this after fixing the message box
display, not with your recipe, anyway.  If you see any such problems,
please report them with the recipe to reproduce.





  reply	other threads:[~2014-02-04 19:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <<1af9fb2e-0ce0-430a-a9ee-b13838b88047@default>
     [not found] ` <<838utq3l30.fsf@gnu.org>
2014-02-04 16:30   ` bug#16636: 24.3.50; REGRESSION: y/n file dialog is only flashed; input is not read Drew Adams
2014-02-04 18:21     ` Eli Zaretskii
     [not found]   ` <<9567eef7-8d7e-405c-a656-faefe34c9991@default>
     [not found]     ` <<831tzi3fje.fsf@gnu.org>
2014-02-04 18:51       ` Drew Adams
2014-02-04 19:20         ` Eli Zaretskii [this message]
     [not found] <<f6441b2f-6aa7-44eb-b88c-ebcb4764fc49@default>
     [not found] ` <<83wqha1y88.fsf@gnu.org>
2014-02-04 21:03   ` Drew Adams
2014-02-04  4:07 Drew Adams
2014-02-04 16:21 ` 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=83wqha1y88.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=16636@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /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.