all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: nljlistbox2@gmail.com, 20813@debbugs.gnu.org
Subject: bug#20813: 25.0.50; desktop file exists warning in dialog box instead of in minibuffer
Date: Mon, 22 Jun 2015 22:07:38 -0400	[thread overview]
Message-ID: <jld20n89ed.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <838ubknzs7.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 16 Jun 2015 05:38:16 +0300")

Eli Zaretskii wrote:

>> It seems that last-nonmenu-event (which y-or-no-p consults) is now nil
>> during startup, whereas it used to be 0.
>
> Perhaps because Qnil is now zero, and some variable defined 'static'
> and left uninitialized?

Anyway, nil seems like a reasonable default. I can't see that it was
intentionally 0 before.

Perhaps y-or-n-p and yes-or-no-p should also test that last-input-event
is non-nil before creating a dialog box?





  reply	other threads:[~2015-06-23  2:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-14 18:18 bug#20813: 25.0.50; desktop file exists warning in dialog box instead of in minibuffer N. Jackson
2015-06-16  1:15 ` Glenn Morris
2015-06-16  2:38   ` Eli Zaretskii
2015-06-23  2:07     ` Glenn Morris [this message]
2015-06-23 14:51       ` Eli Zaretskii
2015-06-23 18:03         ` Glenn Morris

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=jld20n89ed.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=20813@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=nljlistbox2@gmail.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.