GNU bug report logs - #64590
Patch: fix gud-go in gdb-mi.el

Previous Next

Package: emacs;

Reported by: Wang Diancheng <dianchengwang <at> gmail.com>

Date: Thu, 13 Jul 2023 04:38:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Wang Diancheng <dianchengwang <at> gmail.com>
Cc: 64590 <at> debbugs.gnu.org
Subject: Re: bug#64590: Patch: fix gud-go in gdb-mi.el
Date: Thu, 13 Jul 2023 11:58:37 +0300
> From: Wang Diancheng <dianchengwang <at> gmail.com>
> Date: Thu, 13 Jul 2023 12:40:58 +0800
> 
> document of gud-go says "Start or continue execution.  Use a prefix to
> specify arguments." but it always prompts for program arguments
> regardless of whether "C-u" is pressed because arg is numeric prefix
> here.

Right, gud-def specifies '(interactive "p")'.

> The attachment is a patch to change gud-go just prompts if
> prefix is not 1.

This will have the subtlety that "C-u 1 C-v" will fail to ask for
program arguments.  Shouldn't we instead look at current-prefix-arg?

Thanks.




This bug report was last modified 2 years and 23 days ago.

Previous Next


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