From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs 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 Message-ID: <8737q6hy3r.fsf@gnus.org> References: <77F0EF3B1EE7429F9E6A298D109B3962@us.oracle.com> <87bn4ur783.fsf@gnus.org> <83fuu6xqai.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1461836366 19645 80.91.229.3 (28 Apr 2016 09:39:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Apr 2016 09:39:26 +0000 (UTC) Cc: 7507@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 28 11:39:13 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aviPe-0001iZ-IE for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Apr 2016 11:39:10 +0200 Original-Received: from localhost ([::1]:47455 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aviPd-00087d-Qv for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Apr 2016 05:39:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aviPa-00085O-9W for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2016 05:39:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aviPW-0003G2-8x for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2016 05:39:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aviPW-0003Fp-64 for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2016 05:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1aviPV-0003SN-Ss for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2016 05:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Apr 2016 09:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7507 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7507-submit@debbugs.gnu.org id=B7507.146183631813256 (code B ref 7507); Thu, 28 Apr 2016 09:39:01 +0000 Original-Received: (at 7507) by debbugs.gnu.org; 28 Apr 2016 09:38:38 +0000 Original-Received: from localhost ([127.0.0.1]:51147 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aviP8-0003Rk-ER for submit@debbugs.gnu.org; Thu, 28 Apr 2016 05:38:38 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:33425) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aviP6-0003Rb-Su for 7507@debbugs.gnu.org; Thu, 28 Apr 2016 05:38:38 -0400 Original-Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1aviP2-0007lp-Rb; Thu, 28 Apr 2016 11:38:35 +0200 In-Reply-To: <83fuu6xqai.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 28 Apr 2016 08:20:37 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:117017 Archived-At: Eli Zaretskii 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