Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp7123702imm; Sun, 20 May 2018 19:23:11 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq1MFaR/H8XhJvMVd2vFba3oX49Jfcc68Kp7QMYjAhnSSzPQmopf0jZCboQkBDjKrznGFsg X-Received: by 2002:a17:902:2804:: with SMTP id e4-v6mr18441069plb.153.1526869391125; Sun, 20 May 2018 19:23:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526869391; cv=none; d=google.com; s=arc-20160816; b=yzthPPkdGVmmeJ0txBt6Wi3AcZlYNZAA20qn17eUtgmNDBRHsjRlcz2geuFbM6nm5f 8+QVWxTsAC40ENv9it+FayNddT9Um04LppogbTJgUzj1riTkIOVFLwEysobzRofXXFgk FlZ0VNL9KLer/uNQ/369nnd+7FT0YGc+nt9/ICSz0UARin9P6ipZUjjZeYTSFW+nX/vf V8NVmMcdhfRtTTnU7h+zaK4hTr/b4PMnhGokLN527Ft4ouTHjUnB16iOANz8/R94M+g6 qxY1joX+2G77Yw2nUNbo5SWxmKYOCZHIHUVRMUAmszbF+1bPH0t6fYCA+rxhLB5uk6Pl WPPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=bkWshcp9vxpiCu3AZSoonoAlzW+3gtTEabYWi6j75/Y=; b=xTB55TLmqELX6CDCNQ4AojoLi3A3G/7sEL8wVdaNjPVhnDC2LtlOexi7HwXIjubcDY yYQg0R+TtO0IURslIqGeIQbuTqf6cM9cAVqRYxKeeYjSb2AbI9ocJeXVNHrB35mhfjZp z47oJdA9LE9Dm/seLD+qPkKuMb7NiixubjPYeCx+0u6NyLPIMlp3Uk3983PD0CD7R5WF lbPWPsC5zc57C22Y3BZcA5Mpupzcc1hzKQ/IG/ApnJRPmYLTXekxeRFJyxk+NxGcYD2K eWK5sCpg2Fc6XONqiKWz0PQkzmlRv8PJGTcZNqnO7gMG2V0K+xPJWqsvGtfKutFX1Fk7 LcsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=kduIU9HI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 73-v6si5557809pgc.535.2018.05.20.19.22.43; Sun, 20 May 2018 19:23:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=kduIU9HI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752648AbeEUCWc (ORCPT + 99 others); Sun, 20 May 2018 22:22:32 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:35698 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751745AbeEUCWa (ORCPT ); Sun, 20 May 2018 22:22:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=bkWshcp9vxpiCu3AZSoonoAlzW+3gtTEabYWi6j75/Y=; b=kduIU9HIWNqFBJn4lUUxy+JbW GJwl1DAL4dereGNGK6h3KbolZocIb8hFPJAhIugGu6lcRicKyhh7pt30QTtu0ECoBoKkYRHFUU4Tu eCXyntvEQCAG4IL+gvY/czXAKMAKKBRZJvc+AeLkwnhIkVzT4ViU1TCAcT1mVwbU/5XPG+vSuobqY WJ33vI5EnvWmzhP9k+Ji6klJcDb0soYvrRbD1o851Pha8q8+UulEtltRykkBqQvsNQFB18tB+WZq1 8jlGM3t5Cg7dkIGpw+o3DbORD2Gd+DPtngVqXxQiM7iGpqtdQidaCQnXw3o53qplemeQptgmo+kZb wEiRWnlng==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fKaT0-0007mv-8o; Mon, 21 May 2018 02:22:30 +0000 Subject: Re: [ANNOUNCE] Kconfiglib menuconfig implementation To: Ulf Magnusson Cc: Linux Kbuild mailing list , Linux Kernel Mailing List References: <3d9be2f2-3fbe-411b-8529-0e0847f01346@infradead.org> <1378afb3-2b0e-da7a-5721-a8fa727e4382@infradead.org> From: Randy Dunlap Message-ID: <63c7222b-b324-2cca-b4f9-3e07cd59780b@infradead.org> Date: Sun, 20 May 2018 19:22:29 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/20/2018 12:51 AM, Ulf Magnusson wrote: > 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. :) Yes, and a user shouldn't need to know about the implementation details. > Can just do 'debug$' by the way. No '.*' required. Yep, I had already figured that out. thanks, -- ~Randy