From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#61453: It is annoying to have to type 'print foo' before each .gdbinit command. Date: Sun, 12 Feb 2023 18:56:44 +0000 Message-ID: References: <83mt5jghej.fsf@gnu.org> <83k00ngeu8.fsf@gnu.org> <83fsbbgcra.fsf@gnu.org> <838rh2hmbh.fsf@gnu.org> <831qmuhgyk.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23832"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, 61453-done@debbugs.gnu.org, control@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 12 19:57:25 2023 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 1pRHXR-00063q-2Z for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Feb 2023 19:57:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pRHX7-0005j8-IZ; Sun, 12 Feb 2023 13:57:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pRHX5-0005hx-M6 for bug-gnu-emacs@gnu.org; Sun, 12 Feb 2023 13:57:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pRHX5-0007eT-3e for bug-gnu-emacs@gnu.org; Sun, 12 Feb 2023 13:57:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pRHX4-0005IY-WE for bug-gnu-emacs@gnu.org; Sun, 12 Feb 2023 13:57:03 -0500 Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Feb 2023 18:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 61453 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Mail-Followup-To: 61453@debbugs.gnu.org, acm@muc.de, acm@muc.de Original-Received: via spool by 61453-done@debbugs.gnu.org id=D61453.167622821420340 (code D ref 61453); Sun, 12 Feb 2023 18:57:02 +0000 Original-Received: (at 61453-done) by debbugs.gnu.org; 12 Feb 2023 18:56:54 +0000 Original-Received: from localhost ([127.0.0.1]:46756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRHWw-0005I0-19 for submit@debbugs.gnu.org; Sun, 12 Feb 2023 13:56:54 -0500 Original-Received: from mx3.muc.de ([193.149.48.5]:34178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRHWs-0005HW-KO for 61453-done@debbugs.gnu.org; Sun, 12 Feb 2023 13:56:51 -0500 Original-Received: (qmail 13385 invoked by uid 3782); 12 Feb 2023 19:56:44 +0100 Original-Received: from acm.muc.de (pd953a525.dip0.t-ipconnect.de [217.83.165.37]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 12 Feb 2023 19:56:44 +0100 Original-Received: (qmail 11188 invoked by uid 1000); 12 Feb 2023 18:56:44 -0000 Content-Disposition: inline In-Reply-To: <831qmuhgyk.fsf@gnu.org> X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:255436 Archived-At: tags 61453 wontfix quit Hello, Eli. On Sun, Feb 12, 2023 at 20:33:07 +0200, Eli Zaretskii wrote: > > Date: Sun, 12 Feb 2023 18:23:36 +0000 > > Cc: 61453@debbugs.gnu.org, acm@muc.de > > From: Alan Mackenzie > > > Which is why we also have "pr". > > OK, but that doesn't help with the annoyance in xpr and friends. > > Anybody typing an expression with spaces into xpr can continue to use > > print followed by xpr without arguments. For the usual case, when > > there's exactly one argument, my patch resolves the annoyance. It now > > handles the $argc > 1 case as an error. > > So, why not install this patch in master, now? > I don't like it, sorry. It is not clean enough, and it goes against > the overall consistency of the commands we have in src/.gdbinit. That's a shame. We should be able to do better with this sort of thing. > You can always have any commands you want in your own ~/.gdbinit. Yes, but that doesn't help other people. I'm closing the bug as won't fix. I'll also commit a fix for that other bug I mentioned earlier. -- Alan Mackenzie (Nuremberg, Germany).