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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 64590 in the body.
You can then email your comments to 64590 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#64590; Package emacs. (Thu, 13 Jul 2023 04:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Wang Diancheng <dianchengwang <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 13 Jul 2023 04:38:02 GMT) Full text and rfc822 format available.

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

From: Wang Diancheng <dianchengwang <at> gmail.com>
To: bug-gnu-emacs <bug-gnu-emacs <at> gnu.org>
Subject: Patch: fix gud-go in gdb-mi.el
Date: Thu, 13 Jul 2023 12:40:58 +0800
[Message part 1 (text/plain, inline)]
Hi,
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. The attachment is a patch to change gud-go just prompts if
prefix is not 1.
[gud-go.patch (text/x-patch, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#64590; Package emacs. (Thu, 13 Jul 2023 08:59:01 GMT) Full text and rfc822 format available.

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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#64590; Package emacs. (Fri, 14 Jul 2023 03:03:02 GMT) Full text and rfc822 format available.

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

From: Wang Diancheng <dianchengwang <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 64590 <at> debbugs.gnu.org
Subject: Re: bug#64590: Patch: fix gud-go in gdb-mi.el
Date: Fri, 14 Jul 2023 11:06:32 +0800
[Message part 1 (text/plain, inline)]
Eli Zaretskii <eliz <at> gnu.org> 于2023年7月13日周四 16:58写道:
>
> > 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.

Yes, I think it's a good idea. the patch is updated as that.

> Thanks.
[gud-go-v2.patch (text/x-patch, attachment)]

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 15 Jul 2023 08:43:02 GMT) Full text and rfc822 format available.

Notification sent to Wang Diancheng <dianchengwang <at> gmail.com>:
bug acknowledged by developer. (Sat, 15 Jul 2023 08:43:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Wang Diancheng <dianchengwang <at> gmail.com>
Cc: 64590-done <at> debbugs.gnu.org
Subject: Re: bug#64590: Patch: fix gud-go in gdb-mi.el
Date: Sat, 15 Jul 2023 11:42:36 +0300
> From: Wang Diancheng <dianchengwang <at> gmail.com>
> Date: Fri, 14 Jul 2023 11:06:32 +0800
> Cc: 64590 <at> debbugs.gnu.org
> 
> Eli Zaretskii <eliz <at> gnu.org> 于2023年7月13日周四 16:58写道:
> >
> > > 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.
> 
> Yes, I think it's a good idea. the patch is updated as that.

Thanks, installed on the emacs-29 branch, and closing the bug.

With this contribution, you have exhausted the amount of changes we
can accept from you without a copyright assignment.  Would you like to
start the legal paperwork of assigning to the FSF the copyright for
your changes, so that we could in the future accept more contributions
from you without limitations?  If yes, I will send you the form to
fill.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#64590; Package emacs. (Mon, 17 Jul 2023 09:04:01 GMT) Full text and rfc822 format available.

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

From: Wang Diancheng <dianchengwang <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 64590-done <at> debbugs.gnu.org
Subject: Re: bug#64590: Patch: fix gud-go in gdb-mi.el
Date: Mon, 17 Jul 2023 17:07:18 +0800
Eli Zaretskii <eliz <at> gnu.org> 于2023年7月15日周六 16:42写道:
>
> > From: Wang Diancheng <dianchengwang <at> gmail.com>
> > Date: Fri, 14 Jul 2023 11:06:32 +0800
> > Cc: 64590 <at> debbugs.gnu.org
> >
> > Eli Zaretskii <eliz <at> gnu.org> 于2023年7月13日周四 16:58写道:
> > >
> > > > 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.
> >
> > Yes, I think it's a good idea. the patch is updated as that.
>
> Thanks, installed on the emacs-29 branch, and closing the bug.
>

Thanks.

> With this contribution, you have exhausted the amount of changes we
> can accept from you without a copyright assignment.  Would you like to
> start the legal paperwork of assigning to the FSF the copyright for
> your changes, so that we could in the future accept more contributions
> from you without limitations?  If yes, I will send you the form to
> fill.

My copyright assignment has been in progress.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 14 Aug 2023 11:24:09 GMT) Full text and rfc822 format available.

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

Previous Next


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