all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 7507@debbugs.gnu.org
Subject: bug#7507: 24.0.50; GDB dialog: default should not be `Yes' if GDB is not installed
Date: Thu, 28 Apr 2016 08:20:37 +0300	[thread overview]
Message-ID: <83fuu6xqai.fsf@gnu.org> (raw)
In-Reply-To: <87bn4ur783.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu,  28 Apr 2016 00:56:44 +0200)

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Thu, 28 Apr 2016 00:56:44 +0200
> Cc: 7507@debbugs.gnu.org
> 
> "Drew Adams" <drew.adams@oracle.com> writes:
> 
> > Why does the question asking whether I want to debug with GDB have `Yes'
> > as the default value if I don't even have GDB installed?  That obliges
> > users to pick up the mouse and click `No' instead of just hitting RET.
> > If you try to answer `Yes' you just get into trouble: That provokes a
> > Microsoft error, letting you send lots of interesting info to MS for
> > `GNU Emacs: The extensible self-documenting text editor'.  I.e., `Yes'
> > => Microsoft dialog box: `Send Error Report' or `Don't Send'.
> 
> When does Emacs ask whether you want to debug something with GDB?  I
> can't recall it ever asking me that...

This is about the Emacs Abort dialog that Emacs displays only on
MS-Windows.

FWIW, I don't think trying to detect whether GDB is installed when
displaying that dialog is a reasonable request.  That dialog is
displayed when Emacs is already in bad trouble, so embarking on a
non-trivial journey trying to find gdb.exe somewhere on the system,
which involves issuing quite a few system calls, doesn't sound like a
good idea.

The standard dialog popped up by Windows in similar situations
includes the "Debug" button even if debugging tools are not installed,
so I think we don't do anything preposterously unreasonable here.





  parent reply	other threads:[~2016-04-28  5:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-28 16:52 bug#7507: 24.0.50; GDB dialog: default should not be `Yes' if GDB is not installed Drew Adams
2016-04-27 22:56 ` Lars Ingebrigtsen
2016-04-28  0:09   ` Drew Adams
2016-04-28  5:20   ` Eli Zaretskii [this message]
2016-04-28  9:38     ` Lars Ingebrigtsen
2016-04-28 11:12       ` Eli Zaretskii
2016-04-28 11:15         ` Lars Ingebrigtsen

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=83fuu6xqai.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=7507@debbugs.gnu.org \
    --cc=larsi@gnus.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.