From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751318AbeETHvV (ORCPT ); Sun, 20 May 2018 03:51:21 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:37012 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751094AbeETHvS (ORCPT ); Sun, 20 May 2018 03:51:18 -0400 X-Google-Smtp-Source: AB8JxZpUcO9fKXDt07zm0AwRRMaTQr91f+29bVop7lEYxC2BPiDtzxIzc9hBUgByE/Zfm1momC5rXqSSiSJxcxbIXRQ= MIME-Version: 1.0 In-Reply-To: <1378afb3-2b0e-da7a-5721-a8fa727e4382@infradead.org> References: <3d9be2f2-3fbe-411b-8529-0e0847f01346@infradead.org> <1378afb3-2b0e-da7a-5721-a8fa727e4382@infradead.org> From: Ulf Magnusson Date: Sun, 20 May 2018 09:51:17 +0200 Message-ID: Subject: Re: [ANNOUNCE] Kconfiglib menuconfig implementation To: Randy Dunlap Cc: Linux Kbuild mailing list , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, May 20, 2018 at 6:03 AM, Randy Dunlap wrote: > On 05/19/2018 08:45 PM, Randy Dunlap wrote: >> On 05/08/2018 09:59 AM, Ulf Magnusson wrote: >>> Hello, >>> >>> I've added incremental search for jumping directly to a symbol now. >>> Regular expressions are supported as well. >>> >>> Some screenshots below: >>> >>> https://raw.githubusercontent.com/ulfalizer/Kconfiglib/screenshots/screenshots/ss10.png >>> https://raw.githubusercontent.com/ulfalizer/Kconfiglib/screenshots/screenshots/ss11.png >>> https://raw.githubusercontent.com/ulfalizer/Kconfiglib/screenshots/screenshots/ss13.png >>> >>> The last screenshot shows how things might look after you jump to a >>> symbol. The jumped-to symbol wasn't visible in this case, so show-all >>> mode was turned on automatically. >> >> Hi Ulf, >> >> >> >> Hm, OK, I used the trick that you supplied a few weeks ago and I have the UI now. >> >> ARCH=x86 SRCARCH=x86 KERNELVERSION=`make kernelversion` \ >> Kconfiglib/menuconfig.py >> >> so yes, a real Makefile target would be nice. :) > > I want to see all kconfig symbols that end with "_DEBUG" (so excluding > _DEBUGFS). Using: > > /.*_DEBUG$ > > shows me 6 symbols: > ATH9K_COMMON_DEBUG > DVB_B2C2_FLEXCOP_DEBUG > HAVE_DMA_API_DEBUG > IP_DCCP_TFRC_DEBUG > NFS_DEBUG > PM_SLEEP_DEBUG > > so where are the other (approx.) 176? > see: > $ find . -name Kconfig\* | xargs grep "config.*_DEBUG$" | grep -v \.orig | wc > 182 364 9179 > > > Anyway, something for you to look at. :) > > -- > ~Randy I changed it to search the symbol name and the prompt separately: https://github.com/ulfalizer/Kconfiglib/commit/e0905818ef376c977d0a4540ea72d61b8f554bb5 Should work the way you expected now. It's more intuitive for the prompt too. :) Can just do 'debug$' by the way. No '.*' required. Cheers, Ulf