From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10172 invoked by alias); 8 Jul 2009 13:36:41 -0000 Received: (qmail 10161 invoked by uid 22791); 8 Jul 2009 13:36:41 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 08 Jul 2009 13:36:35 +0000 Received: (qmail 32624 invoked from network); 8 Jul 2009 13:36:33 -0000 Received: from unknown (HELO orlando) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 8 Jul 2009 13:36:33 -0000 From: Pedro Alves To: "Pierre Muller" Subject: Re: [RFA] Add "inf" alias for "info" Date: Wed, 08 Jul 2009 13:36:00 -0000 User-Agent: KMail/1.9.10 Cc: gdb-patches@sourceware.org References: <000001c9ffce$8b9b81e0$a2d285a0$@u-strasbg.fr> <200907081423.14012.pedro@codesourcery.com> <000301c9ffcf$ecec6bc0$c6c54340$@u-strasbg.fr> In-Reply-To: <000301c9ffcf$ecec6bc0$c6c54340$@u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200907081436.35386.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-07/txt/msg00241.txt.bz2 On Wednesday 08 July 2009 14:28:05, Pierre Muller wrote: > > > =A0 The proposed patch add "inf" as an alias > > > of "info", saving the hassle of retyping "info" > > > after the message above. > >=20 > > Why not type just "i"? =A0It is already an alias for "info", and, > > it's shorter anyway =3D=3D> less hassle. >=20 > =A0 No really good reasons but, > I used "inf " for years and didn't know "i " worked, > I discovered it while writing the patch! > =A0 But I am too used to "inf " to be able to switch to "i " > easily! I'm sure that you'll now get used to "i" in no time, now that you know it. This revealed an interesting issue. The 'Ambiguous command "inf reg": inferior, info.' ... message doesn't indicate the aliases of each alternative command. Neither does "help info" mention "i". Maybe it should. (btw, "i" + "inf" would leave "in" in a weird spot) --=20 Pedro Alves