unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#21528: 25.0.50; gud tries to guess what file we're debugging, which can take a long time
@ 2015-09-21  2:50 Dima Kogan
  2015-09-21  7:04 ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Dima Kogan @ 2015-09-21  2:50 UTC (permalink / raw)
  To: 21528

Hi. Currently when the user invokes any gud-based mode ('M-x pdb' for
instance) the minibuffer pops up with a suggested command. This command
tries to guess what you're trying to debug based on some pretty
arbitrary heuristics. This is in 'gud-query-cmdline' in gud.el

These heuristics include looking at each file in the current directory
to find the most recent executable file. In my experience this almost
never is what I want. If I'm doing remote debugging with tramp and the
current directory has many files in it, then emacs can sit there for a
very long time before opening the minibuffer, while it looks at all the
files in the remote directory. I think this delay changes this behavior
from not-useful to harmful, and I think it should be removed. Thoughts?





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

end of thread, other threads:[~2022-01-24 13:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-21  2:50 bug#21528: 25.0.50; gud tries to guess what file we're debugging, which can take a long time Dima Kogan
2015-09-21  7:04 ` Eli Zaretskii
2015-09-21  7:39   ` Dima Kogan
2015-09-21  7:59     ` Eli Zaretskii
2015-09-21  9:03       ` Dima Kogan
2015-09-21  9:43         ` Eli Zaretskii
2015-09-21 18:24           ` Dima Kogan
2022-01-24 13:56       ` Lars Ingebrigtsen

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