From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rolf Ade Newsgroups: gmane.emacs.bugs Subject: bug#70764: 29.1; M-x gdb: don't ask me about debuginfod server if debuginfod is not in context Date: Sat, 04 May 2024 04:00:20 +0200 Message-ID: <87jzkatjyj.fsf@pointsman.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7061"; mail-complaints-to="usenet@ciao.gmane.io" To: 70764@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 04 04:02:04 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s34iy-0001i8-Az for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 May 2024 04:02:04 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s34ia-0005AA-PL; Fri, 03 May 2024 22:01:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s34iZ-00059y-Ec for bug-gnu-emacs@gnu.org; Fri, 03 May 2024 22:01:39 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s34iZ-0005jM-6i for bug-gnu-emacs@gnu.org; Fri, 03 May 2024 22:01:39 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s34iv-0000IA-Sb for bug-gnu-emacs@gnu.org; Fri, 03 May 2024 22:02:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Rolf Ade Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 May 2024 02:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70764 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.17147880711090 (code B ref -1); Sat, 04 May 2024 02:02:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 May 2024 02:01:11 +0000 Original-Received: from localhost ([127.0.0.1]:50457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s34i7-0000HW-Eg for submit@debbugs.gnu.org; Fri, 03 May 2024 22:01:11 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:34192) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s34i3-0000Gw-4E for submit@debbugs.gnu.org; Fri, 03 May 2024 22:01:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s34hU-0004lK-IW for bug-gnu-emacs@gnu.org; Fri, 03 May 2024 22:00:34 -0400 Original-Received: from mail.nepustil.net ([2001:14f8:1:1::8]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s34hR-0005SS-2P for bug-gnu-emacs@gnu.org; Fri, 03 May 2024 22:00:31 -0400 Original-Received: from p5b317896.dip0.t-ipconnect.de ([91.49.120.150]:37910 helo=pointsman2) by mail.nepustil.net with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.95 (FreeBSD)) (envelope-from ) id 1s34eh-00014V-PG; Sat, 04 May 2024 04:00:20 +0200 Received-SPF: pass client-ip=2001:14f8:1:1::8; envelope-from=rolf@pointsman.de; helo=mail.nepustil.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:284398 Archived-At: With 29.1 as well as with trunk(both tested with -Q) if I call M-x gdb I get asked: "Enable querying debuginfod servers for this session? (y or n)" Even if I answer with "n" I get the message: "No symbol \"debuginfod\" in current context." This can't be right. Declining to use a feature should not be answered with a message that it would not be available anyways (what the message seem to tell me). Digging around a bit it turns out there is a variable to customise the behaviour here: gdb-debuginfod-enable-setting. Its default value is 'ask. >From a user perspective it only make sense to be ask about wanting something if this something is avaliable. If it is about the advertising aspect then why not more clear don't ask questions and instead write a message like: "You cannot use debuginfod servers. Consider using this marvelous feature". rolf