Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp634894imm; Fri, 8 Jun 2018 02:43:53 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJi/voMIi7dV7myvcqGYITDOpnVbHYzIHZZK7700OxbpunIufq7Q6g/MPdKcQk2FjurxrP+ X-Received: by 2002:a62:ec5b:: with SMTP id k88-v6mr5192066pfh.85.1528451033734; Fri, 08 Jun 2018 02:43:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528451033; cv=none; d=google.com; s=arc-20160816; b=FHIel9/jeK3IJlXfPmos8Ff7Jc42AMo/kyZqgr0gOT6xJj/gPCiFz2zaYhjx6h321l qpZepifxU/rxYMTq51KCGbJeX4w+Z20E7cad6lNhgHspwHHZX99cW3229vndPYbWbe2R En8PCMb+x79djvaEOVHHflAU7nqFLPxULiPrmk52ApgCSELmPZaVVEiry8SPc/aEFS/L GtKEGSh/mC4A1EXwfhfDhWdXu9P2s7A0oqs92SHs7jD9uvL76mQB/d2SMxsvTHWRXFNZ 9lCS3Y34d79aBY8sLPBe83oDWdDKNZU02Wa0TkLXuAI4Mttf7ER07+78Kj1n0lmp+1vW BBQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=MmDeWUeRB7JwSiK/uGLaceLCrO+AWmfGF/DMMf5DBgs=; b=ipF3MQQJkWPOmvOdbegrQ5gBXolFq3xmCzEx0JPJ3YX29J4IzP9EJ4UelCaK/sDcCr EL3vtQY+fxdRraKBiXeakzi60kao2LuSgSS8qi94lo1Yumm0zQgoZxbX8RttRiEYaJLD /+XgmENv4VSVyuY7IG1WFGCfa2UpkGGq7jg4IQ9eC+mVNa90ghwbjuzetYGOCf+cJPE9 FPYWecbPCJEZLrhoq8f35Qn8VU/yl/K0WgYEuF79SokyU4PrE1z2sWieU1yB64tAMM/M 4eqQwKFnrVfu19C7NcPD+V2WG0hQhMmFzQgXCVzAitOjy5mV+vQXPrzJCDBufqCwsrvX ep+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gouders.net header.s=gnet header.b=JDRtZliz; 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 e6-v6si11971082pgr.208.2018.06.08.02.43.39; Fri, 08 Jun 2018 02:43:53 -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=@gouders.net header.s=gnet header.b=JDRtZliz; 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 S1751265AbeFHJnE (ORCPT + 99 others); Fri, 8 Jun 2018 05:43:04 -0400 Received: from services.gouders.net ([141.101.32.176]:47098 "EHLO services.gouders.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751025AbeFHJnB (ORCPT ); Fri, 8 Jun 2018 05:43:01 -0400 Received: from lena.gouders.net ([193.175.198.193]) (authenticated bits=0) by services.gouders.net (8.14.8/8.14.8) with ESMTP id w589a3UU027525 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Fri, 8 Jun 2018 11:36:13 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gouders.net; s=gnet; t=1528450574; bh=PAtvejQWAKrxIc4EJKKteVD4TSG1CWcUEJEfDesklQU=; h=From:To:Cc:Subject:Date; b=JDRtZlizwAiS5OiW3oJ2MO0Y2X0aJnv4CzO5D480nJhcRDpxCQqs0XkHn+LRZyA5S BrqGXCLY58hmbn1BYeo7MhBL+iXIecdW2fUjEiwhanFckBA4BX5gbWZ2UzA2JibmeB vMeCm8rb8y/61ZAGLLy6GibaTkB0i6THZP7mblCI= From: Dirk Gouders To: Masahiro Yamada , Randy Dunlap , Linux Kbuild mailing list , Linux Kernel Mailing List , Segher Boessenkool , Sam Ravnborg Cc: Dirk Gouders Subject: [RFC v3 0/1] Emacs-like isearch for mconf. Date: Fri, 8 Jun 2018 11:35:45 +0200 Message-Id: <20180608093546.7687-1-dirk@gouders.net> X-Mailer: git-send-email 2.16.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, v2 went out incomplete, without the patch. Better so, because it would have just wasted people's time. For v4 I am planning to implement Sam's idea to kind of being in a permanent isearch when not using special keys. Changes in v3: * Use current git tree to make the patch apply. * Eliminate debugging output to stderr. Changes in v2: * Additionally to CTRL-s, \ can be used to start isearch. * Raw mode is off by default an can be enabled by an environment variable MENUCONFIG_RAW_MODE. * I also added a variable for toggling raw mode but did not implement anything else. * The isearch indicator is now displayed as soon as isearch is started. * Any key except \, CTRL-s, alphanumeric characters and space terminates isearch and -- except ESC ESC -- is further processed, e.g. ENTER terminates isearch and is then used to navigate into a submenu. * Problems with mismatches and matches above the current position were fixed. Dirk Gouders (1): Emacs-like isearch for mconf. Documentation/kbuild/kconfig.txt | 18 +++- scripts/kconfig/lxdialog/dialog.h | 6 ++ scripts/kconfig/lxdialog/menubox.c | 171 +++++++++++++++++++++++++++++++++++++ scripts/kconfig/lxdialog/util.c | 14 +++ scripts/kconfig/mconf.c | 47 ++++++++++ 5 files changed, 254 insertions(+), 2 deletions(-) -- 2.16.4