From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#10106: 23.2; how to pass command arguments to gud-go Date: Tue, 10 May 2022 06:24:16 +0200 Message-ID: <87fslikob3.fsf@gnus.org> References: <877h2spg7e.fsf@linux-4qi7.site> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8677"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 10106@debbugs.gnu.org, Eli Zaretskii To: giecrilj@stegny.2a.pl (Krzysztof =17belechowski) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 10 06:25:33 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1noHRF-000283-1q for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 May 2022 06:25:33 +0200 Original-Received: from localhost ([::1]:39612 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1noHRD-0004LK-KK for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 May 2022 00:25:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53446) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1noHQk-0004Kz-KL for bug-gnu-emacs@gnu.org; Tue, 10 May 2022 00:25:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37888) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1noHQk-0006bF-9e for bug-gnu-emacs@gnu.org; Tue, 10 May 2022 00:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1noHQk-0007eV-4o for bug-gnu-emacs@gnu.org; Tue, 10 May 2022 00:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 May 2022 04:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10106 X-GNU-PR-Package: emacs Original-Received: via spool by 10106-submit@debbugs.gnu.org id=B10106.165215668329387 (code B ref 10106); Tue, 10 May 2022 04:25:02 +0000 Original-Received: (at 10106) by debbugs.gnu.org; 10 May 2022 04:24:43 +0000 Original-Received: from localhost ([127.0.0.1]:60018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1noHQR-0007du-A3 for submit@debbugs.gnu.org; Tue, 10 May 2022 00:24:43 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:50330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1noHQA-0007dA-S0 for 10106@debbugs.gnu.org; Tue, 10 May 2022 00:24:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=5QUOPWv61aLLclRfMxjm61kKtChen/MCdt93lwTp4/8=; b=OlxELFMcxPFFIu0CuWxMierIuX zX9ijWb9k/PYtlYW4Eppk4Rnga5lTO6NVKhb08gb3lTUa7WeZHcQHXoSGBHmb0tq++hFRlmJzXUi9 H9/vcSaq/4PuBH63dULdknLCRrYxJwOBeK6mk+bmWEbwvQ4YKhG8gAUvu3xVT9pbtSgM=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1noHQ1-0006NE-Dv; Tue, 10 May 2022 06:24:19 +0200 X-Now-Playing: Joni Mitchell's _Miles of Aisles_: "Cactus Tree" In-Reply-To: <877h2spg7e.fsf@linux-4qi7.site> (Krzysztof's message of "Tue, 22 Nov 2011 12:08:37 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:231812 Archived-At: giecrilj@stegny.2a.pl (Krzysztof =17belechowski) writes: > ls C-u > > The command, when invoked under C-u, should ask for command line > arguments to pass to the program. > > Example interaction: > *Minibuffer* Run with arguments: -l (I'm going through old bug reports that unfortunately weren't resolved at the time.) I'm not quite sure I understand the request, but you just want to be able to type in further switches to be used here? ;; TODO Why arg here? (gud-def gud-go (gud-call (if gdb-active-process (gdb-gud-context-command "-exec-continue") "-exec-run") arg) nil "Start or continue execution.") That seems easy enough to add, I guess. > Also, please add a keyboard binding for gud-go (e.g. C-c !) There's: gud-until is an interactive compiled Lisp function. It is bound to C-x C-a C-u. So perhaps something else under C-x C-a? I don't use these functions a lot myself, so I don't really have much of an opinion on either requests. Perhaps Eli has an opinion here; added to the CCs. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no