From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15287 invoked by alias); 31 Oct 2013 17:31:03 -0000 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 Received: (qmail 15230 invoked by uid 89); 31 Oct 2013 17:31:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: mtaout22.012.net.il Received: from mtaout22.012.net.il (HELO mtaout22.012.net.il) (80.179.55.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 31 Oct 2013 17:31:01 +0000 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MVJ00800NAGZ500@a-mtaout22.012.net.il> for gdb-patches@sourceware.org; Thu, 31 Oct 2013 19:30:28 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MVJ0089TNARR870@a-mtaout22.012.net.il>; Thu, 31 Oct 2013 19:30:28 +0200 (IST) Date: Thu, 31 Oct 2013 17:31:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH 3/3] Remove varobj_language_string, languages and varobj_languages In-reply-to: <5271C9C4.3080808@codesourcery.com> To: Yao Qi Cc: tromey@redhat.com, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83txfxcpqy.fsf@gnu.org> References: <20131025041525.GC4769@adacore.com> <1382964489-24307-1-git-send-email-yao@codesourcery.com> <1382964489-24307-3-git-send-email-yao@codesourcery.com> <87txg1b54j.fsf@fleche.redhat.com> <526F726B.5070201@codesourcery.com> <83y55cdnua.fsf@gnu.org> <5271C9C4.3080808@codesourcery.com> X-IsSubscribed: yes X-SW-Source: 2013-10/txt/msg00936.txt.bz2 > Date: Thu, 31 Oct 2013 11:08:52 +0800 > From: Yao Qi > CC: , > > On 10/30/2013 12:49 AM, Eli Zaretskii wrote: > >> +found in @ref{Supported Languages,,Supported Languages}. > > I'm curious: why use the same string twice in @ref? What did you want > > to accomplish? > > I thought @ref needs three arguments, so I use the same string twice. No, @ref needs only one argument. What you did has only one use case: when you want the link display something other than the name of the pointed-to node. Then you use the text which you want displayed as the link. Of course, that text should be always different from the node name. > Looks @ref{Supported Languages} works as well. I'd be mightily surprised if it didn't ;-) Thanks.