unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.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 11:38:32 +0200	[thread overview]
Message-ID: <8737q6hy3r.fsf@gnus.org> (raw)
In-Reply-To: <83fuu6xqai.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 28 Apr 2016 08:20:37 +0300")

Eli Zaretskii <eliz@gnu.org> 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'.

[...]

> 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.

But presumably Emacs has to do the `executable-find' thing to call gdb,
anyway?  And ending up in a situation where we're offering to send a bug
report to Microsoft sounds less than optimal...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2016-04-28  9:38 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
2016-04-28  9:38     ` Lars Ingebrigtsen [this message]
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8737q6hy3r.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=7507@debbugs.gnu.org \
    --cc=eliz@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 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).