unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Rolf Ade <rolf@pointsman.de>
To: 70764@debbugs.gnu.org
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	[thread overview]
Message-ID: <87jzkatjyj.fsf@pointsman.de> (raw)


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





             reply	other threads:[~2024-05-04  2:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-04  2:00 Rolf Ade [this message]
2024-05-04  7:20 ` bug#70764: 29.1; M-x gdb: don't ask me about debuginfod server if debuginfod is not in context Eli Zaretskii
2024-05-04 13:32   ` Rolf Ade
2024-05-04 13:33   ` Rolf Ade
     [not found]   ` <54b3a581-8e00-4bf1-9051-5b826cd9c306@pointsman.de>
2024-05-04 14:11     ` Eli Zaretskii
2024-05-04 14:23       ` Eli Zaretskii
2024-05-04 15:54         ` Rolf Ade
2024-05-04 15:42       ` Rolf Ade
2024-05-04 16:12         ` Eli Zaretskii
2024-05-04 16:26           ` Rolf Ade
2024-05-04 17:07             ` Eli Zaretskii
2024-05-18  8:36               ` Eli Zaretskii

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=87jzkatjyj.fsf@pointsman.de \
    --to=rolf@pointsman.de \
    --cc=70764@debbugs.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).