From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 125916 invoked by alias); 4 Apr 2019 09:56:22 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 125903 invoked by uid 89); 4 Apr 2019 09:56:22 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=0.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=online X-HELO: mail-ed1-f44.google.com Received: from mail-ed1-f44.google.com (HELO mail-ed1-f44.google.com) (209.85.208.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 04 Apr 2019 09:56:20 +0000 Received: by mail-ed1-f44.google.com with SMTP id d26so1587441ede.10 for ; Thu, 04 Apr 2019 02:56:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=H4b9h67dn2MHlVrSxnHCgt154JUW/OUUdEJgdeoHq2Y=; b=Earw8+4k29QfmM05Pew4hFwVfdK0h/uyqRFelBOt6zWRbLi4UJwKXHH4JsG4yEdlSk vCt90kalcAr/vrezYB8Zu1HdnGahePR9nS8yFh3eUW/nHmMojbwdSLpso47QC1HV49SF 4qvVFRzMcKki9U9vHHNVlUdVDIL0hLAuPkBiAzbgsw/+UVAp4FTn+SXT6nIxIQnmF8BM u41WZzI5LvpYu1bhIIEBwbtZGTvbaej5baKxB1FzUvtkJy8b3vDi8dgfShUv9pYg3Z/j OksSl08dLBGlKHHiA/ojtho4m5nM/RBtcKAYad2npuxaBbhQUiK32BuD+sipYyZS3TNY TtrQ== MIME-Version: 1.0 From: Peter Olsson Date: Thu, 04 Apr 2019 09:56:00 -0000 Message-ID: Subject: Show name of compiler options when linking To: gcc@gcc.gnu.org Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2019-04/txt/msg00052.txt.bz2 Hello, I often want to link to specific compiler options in your online docs but the problem is that the named anchors are placed after the name of the option so when the link is clicked it will only show the description. Example: https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wshadow Will show the description for -Wshadow but not the name -Wshadow itself. I think it would be very useful to be able to link in such a way that the name of the option also becomes visible. If this somehow breaks backwards compatibility you could introduce new ones that refers to the name and let the old ones refer to the description like it is today. Best Regards, Peter A big fan