unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#70764: 29.1; M-x gdb: don't ask me about debuginfod server if debuginfod is not in context
@ 2024-05-04  2:00 Rolf Ade
  2024-05-04  7:20 ` Eli Zaretskii
  0 siblings, 1 reply; 12+ messages in thread
From: Rolf Ade @ 2024-05-04  2:00 UTC (permalink / raw)
  To: 70764


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





^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-05-18  8:36 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-04  2:00 bug#70764: 29.1; M-x gdb: don't ask me about debuginfod server if debuginfod is not in context Rolf Ade
2024-05-04  7:20 ` 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

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