unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 20106-done@debbugs.gnu.org
Subject: bug#20106: 25.0.50 pdb shuns init
Date: Sun, 15 Dec 2019 21:11:46 +0100	[thread overview]
Message-ID: <878sndfiwt.fsf@marxist.se> (raw)
In-Reply-To: <875znfrb30.fsf@mouse.gnus.org> (Lars Ingebrigtsen's message of "Fri, 02 Aug 2019 14:44:19 +0200")

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Andreas Röhler <andreas.roehler@easy-emacs.de> writes:
>
>> gud.el
>>
>> While gud-query-cmdline would accept the file-name to debug as argument
>>
>> (defun gud-query-cmdline (minor-mode &optional init)
>>
>> don't see how to hand it over from pdb
>>
>>  (defun pdb (command-line)
>>   "[...]"
>>   (interactive
>>    (list (gud-query-cmdline 'pdb)))
>
> (I'm going through old bug reports that unfortunately have not received
> any responses yet.)
>
> (defun pdb (command-line)
>   "Run pdb on program FILE in buffer `*gud-FILE*'.
> The directory containing FILE becomes the initial working directory
> and source-file directory for your debugger."
>   (interactive
>    (list (gud-query-cmdline 'pdb)))
>
> That's a confusing doc string.  I think it means to say that it'll
> prompt for a pdb command line, and that command line will include a file
> name?  Testing seems to say that that's the case, and I'll adjust the
> doc string in Emacs 27.
>
> But I'm not quite sure what you want to have done here.  Do you want to
> pass a file name to `gud-query-cmdline'?  That's what INIT in that
> function is used for, but I'm not sure that really makes much sense --
> when used interactively, you're prompted for the entire command, and
> when called noninteractively, you can just pass in whatever command you
> want, including the file.

More information was requested, but none was given within 19 weeks, so
I'm closing this bug.  If this is still an issue, please reply to this
email (use "Reply to all" in your email client) and we can reopen the
bug report.

Best regards,
Stefan Kangas





      reply	other threads:[~2019-12-15 20:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-14  9:47 bug#20106: 25.0.50 pdb shuns init Andreas Röhler
2019-08-02 12:44 ` Lars Ingebrigtsen
2019-12-15 20:11   ` Stefan Kangas [this message]

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=878sndfiwt.fsf@marxist.se \
    --to=stefan@marxist.se \
    --cc=20106-done@debbugs.gnu.org \
    --cc=larsi@gnus.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).