Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp6207288imm; Sat, 19 May 2018 20:51:59 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrsyKVNKMQDGZmejMr8GnxmCm0ks++2fAXtOShrCND2x85sIPSj19ZP+qz1SYja+LL7rLeI X-Received: by 2002:a17:902:7883:: with SMTP id q3-v6mr15696075pll.71.1526788319267; Sat, 19 May 2018 20:51:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526788319; cv=none; d=google.com; s=arc-20160816; b=v+iqclao3DJWT7K1HQoSnRL3g1Erb9LWCfpn6nQgBhoQsZJTOy0ij8O3Z4648PGAxl AIHvVEFR0FwlWfSLFuZVnBIUHcwpLtyP/TWRX2oQQowqxZTieTN5wirol+X08r682VsB JM/bReKTAPPa1l4gh5RdoGd4w2+qgwAM5J218uobjPEnYsB3oFtTRBBtpXobTmD6iZ/r 6AiLz3+x4wFs+rfu8zqYBjFp6M16tHfTTee1PKS8olR1zK60icIMfkbFmoZj3Lrj/5lt 7qRAyVD85AoRBAWWQGPT162oJh3Bk7VHWCuHaCJTDONE7iqkbX21kBf7JPjLQshZgSWD hvXA== 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:references:cc:to:from:subject:dkim-signature :arc-authentication-results; bh=zI0lzIUYo9nMa0OxAhV+vyLDSLunCc5cUn3+inltXqQ=; b=fZwV+r0c38SHUmIiUKwY6V6NWlM/jJw2okxBIVCfqbyAsxcubixN56U1Ijqcfv5s4F 1bn5L2QavEqK0lYoIutjNiOyYnAX5p9fTcRGeCZS5D61/HfXM06kdaJ649NQN2SR1XPP 5CYI8Za5ChMi7QdzZF6WW8DWIfvL/Go7Lg/kqJqKFRH1VSewFq0Hs2c65+Htrhh5jZVP LApIi3FmErzh8KWed7JEHUI5b3o/Tf27VYlPn8G8vbI7qI6WdOSZjUMXTILOQ4XE5+QX FNlVAISqtkYhJPmGBps7aP3J9vC2h83O2Q6FhDNQcj15vATQO2u5Qo0SOYLWvUEd+UKG h4zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=dgtR5XAi; 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 u189-v6si1155518pgb.247.2018.05.19.20.51.44; Sat, 19 May 2018 20:51:59 -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=dgtR5XAi; 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 S1752553AbeETDvf (ORCPT + 99 others); Sat, 19 May 2018 23:51:35 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:42920 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752459AbeETDvc (ORCPT ); Sat, 19 May 2018 23:51:32 -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:References:Cc:To:From: 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=zI0lzIUYo9nMa0OxAhV+vyLDSLunCc5cUn3+inltXqQ=; b=dgtR5XAi6KOjdQgxFAPj+IJ7O 68Ywwb5UxgWxmgJwZhWbK8PC4tf7dtUOl63kV+dXbPXJxUj+DCffe8eJhmD4ELwHnlHww05YgqTu2 YKuhT69rq9/aesivbK23ybYSaaH3geIY591Jh+t6KvwBrIce0Bft//1ePv947xgf5C1vnKKhbj2jD ZiJ7YgToz2m7GHkqxha4O9bxPDri/O2sGF+cNcRE8Te3w7s5lYwZGg2N3r19p4YvSzMhMpGgP3Of7 rxvTKPKTrhBUIoP2w8WjqrpTSyJXuBRVcHQPCuSPUc0JTzjoW7brZHtzEmNlYOxVZOtf60QvQo8xA QBdnkFeaw==; 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 1fKFNb-0007DY-Ox; Sun, 20 May 2018 03:51:31 +0000 Subject: Re: [ANNOUNCE] Kconfiglib menuconfig implementation From: Randy Dunlap To: Ulf Magnusson Cc: Linux Kbuild mailing list , Linux Kernel Mailing List References: <3d9be2f2-3fbe-411b-8529-0e0847f01346@infradead.org> Message-ID: <3c56dfdf-d196-da34-35db-42b3675039dd@infradead.org> Date: Sat, 19 May 2018 20:51:30 -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/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. :) Enter: / (search) then: * (Bang) [this was just an unlucky typo on my part] Traceback (most recent call last): File "/home/rdunlap/scripts/menuconfig.py", line 1447, in _jump_to_dialog for regex in s.split()] File "/home/rdunlap/scripts/menuconfig.py", line 1447, in for regex in s.split()] File "/usr/lib64/python3.4/re.py", line 223, in compile return _compile(pattern, flags) File "/usr/lib64/python3.4/re.py", line 294, in _compile p = sre_compile.compile(pattern, flags) File "/usr/lib64/python3.4/sre_compile.py", line 568, in compile p = sre_parse.parse(p, flags) File "/usr/lib64/python3.4/sre_parse.py", line 780, in parse p = _parse_sub(source, pattern, 0) File "/usr/lib64/python3.4/sre_parse.py", line 377, in _parse_sub itemsappend(_parse(source, state)) File "/usr/lib64/python3.4/sre_parse.py", line 586, in _parse raise error("nothing to repeat") sre_constants.error: nothing to repeat During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/rdunlap/scripts/menuconfig.py", line 2389, in menuconfig(Kconfig("Kconfig" if len(sys.argv) < 2 else sys.argv[1])) File "/home/rdunlap/scripts/menuconfig.py", line 340, in menuconfig print(curses.wrapper(_menuconfig)) File "/usr/lib64/python3.4/curses/__init__.py", line 94, in wrapper return func(stdscr, *args, **kwds) File "/home/rdunlap/scripts/menuconfig.py", line 483, in _menuconfig _jump_to_dialog() File "/home/rdunlap/scripts/menuconfig.py", line 1466, in _jump_to_dialog bad_re = e.msg AttributeError: 'error' object has no attribute 'msg' -- ~Randy