GNU bug report logs - #21521
24.5; pdb default suggested command

Previous Next

Package: emacs;

Reported by: Stefano Pacifico <github <at> pacifico.cc>

Date: Sun, 20 Sep 2015 07:23:01 UTC

Severity: minor

Tags: fixed, patch

Found in version 24.5

Fixed in version 27.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #31 received at 21521 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: 21521 <at> debbugs.gnu.org, Stefano Pacifico <github <at> pacifico.cc>
Subject: Re: bug#21521: 24.5; pdb default suggested command
Date: Thu, 8 Aug 2019 04:40:32 +0200
[Message part 1 (text/plain, inline)]
Noam Postavsky <npostavs <at> gmail.com> writes:
>
> Stefan Kangas <stefan <at> marxist.se> writes:
>
> > +(defcustom gud-pdb-command-name
> > +  (if (executable-find "pdb") "pdb" "python -m pdb")
> >    "File name for executing the Python debugger.
> >  This should be an executable on your path, or an absolute file name."
> >    :type 'string
>
> "python -m pdb" doesn't seem to be "an executable on your path, or an
> absolute file name", so I think the docstring needs updating too
> (assuming this setting does actually work).

You are correct.  The attached patch fixes this and adds a version tag.

Thanks,
Stefan Kangas
[0001-Use-python-m-pdb-when-pdb-is-missing-in-M-x-pdb.patch (application/octet-stream, attachment)]

This bug report was last modified 5 years and 285 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.