Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp6348360imm; Sun, 20 May 2018 00:53:13 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo23uVGV5i8b1zQXJ0E5ZAzRLTb6eKKfYvpG/eWC/afDe2ZVabQCky1xuNOLxSvFL4fuF6x X-Received: by 2002:a17:902:aa04:: with SMTP id be4-v6mr16084933plb.20.1526802793244; Sun, 20 May 2018 00:53:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526802793; cv=none; d=google.com; s=arc-20160816; b=HByy1WgqFHyHhiWcGDTsjQ/Kh4klx80ooKst5ZF4wxqSM+oqXoGG53/hjAYcpowDOu QJRxg5/KwBUegKKHWUtw4RuNcHciaesf3y7LVQV4KA6uAQ7ElaWYj49FPe22Nu65hPCF 8tL+mnmBxwFTX0S9geEx4ncH809Ke02dYbl+pR5J/FwCgmdjTfEQCHq+KHU6QXKqOVL4 xTZcjpTwNyfje31q4VI9dce4NbE2PDtTpZe97b511X5uMPlbcw5dgHWLksJQyTbVmDZe FnvTyzS60cDuNzcndNG01zIKqfNqnedpfVIi0pccR7w1kK569rJaSfeKbVExppTbKPS+ gjTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=xWIx51GOWs6g2Vh6X0jkdAwR+yVPZlF51H4kuqqtKVk=; b=M2xuas77rnpZbYW5zMKIQc3YNAi3GyEBcB7oZm+zEjZJMi/WEUaR03kh3WAWkFoPXZ sUJz51PTZs02PSVsJ7QfMspVDtZQFFzHBrA5nV+Tacc1LdWid4HT5sAKkOin+1xDl1g9 iz99sAeq5WZtJe7jnzT3PdlbVISr3R3XuNhuUmUrvyYZFBsK2Dg6TlZTHcVWGR2kDlt5 Ua22RJ8HGCA4WUdoiiw9wsU1a/A2fSPNIDdzx3eJwZZZvk1bBVOTkQ9EjgV/v7wxK6q2 XwIBJGhPn9k1kisYkGTRztKdiX3k1oRU7vSh0aRZrlp9PPfQgupL6CB11Peej5X55glr NmdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fQrFWhrD; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m1-v6si11349844pfe.79.2018.05.20.00.52.45; Sun, 20 May 2018 00:53:13 -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=pass header.i=@gmail.com header.s=20161025 header.b=fQrFWhrD; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751292AbeETHvV (ORCPT + 99 others); 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 Received: by mail-oi0-f68.google.com with SMTP id w123-v6so10555914oia.4; Sun, 20 May 2018 00:51:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=xWIx51GOWs6g2Vh6X0jkdAwR+yVPZlF51H4kuqqtKVk=; b=fQrFWhrD3lpMS6JpQV0mpReBYvHmrVK7bOzH9OhqNx2IYNWotsGjCfZYBTa261FPge pMutNDa87mPpRYi6KXJ/VH7/xGXb6fA9tN5/43TkPK0j5QrKDDQ1fScHp68xTP0Exypz zQ37LdUvFNE8xIkBedyXSGK1MZC46K3d3A43T/yMZTsYvQiRUht+rWWPJaeGCLVPb8rb WLu9kdV7sIRyuo/bebSUtld+QgN4tizPnVwSYtYrJmbbK+zeAA7sCQtKlgPm4aZkkMQD KAy4ClgGfzAdymYXGER99+EX/v0Ax7rqldFBiZKHTRowvh8SHfna9cPoNNC5hsTdI0O/ tQJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=xWIx51GOWs6g2Vh6X0jkdAwR+yVPZlF51H4kuqqtKVk=; b=H11IFFVouY7srg+279jCkXLjFqF+UAir2gMxiNSZirmEMKdIQcmpTYKMo/cDUMGPnW MTCGzzD3M0qg/avFVINU47yVkVfmBbQEiEaJsG8ESMSfXqqhXsOUapedXhEbz3eQuR7W PpbvpX65CRb/lVcOOPqtXjgYSXMG82zQFOEfOZPsu1tXA9Hbg8zBG2ZJGOFkEssSDhyF lwQZajwDkVjuefJai0Kzj+NcviNY0PTyN9apRfk0zWdGwU2AnMP7yELAhxklPANhuOLm JbQguvKnSPyk2RCNbnpU3ETh6AArf9cALvXnyzekZOGuxnxVKFeThVSuBi0q6JxayDY5 qGMg== X-Gm-Message-State: ALKqPwfkhrvvXMY8JlB9VD953VoviFOOsu64MuC7/hqhJbSClcwMg8qe ZoLL9GhE6q065gK3sGkuUpsyhrrQqC4oFYqQmwX1MkN7 X-Received: by 2002:aca:e5ca:: with SMTP id c193-v6mr9729588oih.44.1526802677884; Sun, 20 May 2018 00:51:17 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:185:0:0:0:0:0 with HTTP; Sun, 20 May 2018 00:51:17 -0700 (PDT) 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 Precedence: bulk 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