Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1127980imm; Wed, 20 Jun 2018 12:04:37 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJmSIxVZj35r48g3cXkJRgEAfQdwY+K3yyTrzQcjsGizfiydZkDQUc4EYD7hik/SW3FC1ij X-Received: by 2002:a17:902:3381:: with SMTP id b1-v6mr25574052plc.248.1529521477300; Wed, 20 Jun 2018 12:04:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529521477; cv=none; d=google.com; s=arc-20160816; b=ZEuJ2lp2yKVsPW/W5OoPJUbKRtruaHj5Iw7qXgyS6CXyaC0ilNvcrjsxrr6cZemLH6 /SMWDukV/tLEuNfu3u0G56mQ8kggYQ/TpXnlFtxDPW9aK7ZkQfEMUxERliqJMAe7QxM2 GN2HeY+oQwXRjZSG0brhz+gPcLQvW5GuBzGlOqvOnsAzKEHiw8VMH1bbxWf7G4xklMiB oIzoWwQA4ssdZDn0vptpMThweLrSfX6lsoYEMGfXZFPQy/bGrUKkGaaYnGsC0nlsYamw RzFudpIHRMMCOtgmC6E5dm5WqKtrbmaotDW43G+xwlYbiGA21LX67PcKCHlSrw8jOTx4 j10g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:user-agent :references:in-reply-to:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=kCCiANAOyYasVaKWbPNPYRHVOrF9ZuEaZKBevESdTRg=; b=I8ydZLtDOqH6aQ2jUJHUbVQ2kHrTuT5ZC4ZLzZkgbs9aNek0Xx53OIiPfb10W63XfZ csUwpndhCSdMWd9zzFUc92YNJWXGzaogCwCPvmV/UkNP/rz+nc2kG3qKUBlKtox4SExT hByHDxJfRl5OOw5ZDI4l4YnVcPf+oUk4RCX5z73qBpO+jyqWbPUJiWILPi9unAiisA9M sr9Y1WsnhPVRB4KlZp/LoayziLZ2bIJVgP1/BUja8McDt4VftP4kTC9VwgqhYfq44pGa FhIJWFRZwZ66RQjRXS7H7BaHjB9Qs24nL4CYseT3wE6/dfuvbfZP8k0nDlZj/C8hlhRj 39Kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gouders.net header.s=gnet header.b=fFCKowTo; 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 r85-v6si2988113pfa.259.2018.06.20.12.04.23; Wed, 20 Jun 2018 12:04:37 -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=fFCKowTo; 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 S1754671AbeFTTCe (ORCPT + 99 others); Wed, 20 Jun 2018 15:02:34 -0400 Received: from services.gouders.net ([141.101.32.176]:58482 "EHLO services.gouders.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754521AbeFTTCc (ORCPT ); Wed, 20 Jun 2018 15:02:32 -0400 Received: from localhost (ipservice-047-071-023-039.pools.arcor-ip.net [47.71.23.39]) (authenticated bits=0) by services.gouders.net (8.14.8/8.14.8) with ESMTP id w5KItYaA026752 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 20 Jun 2018 20:55:34 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gouders.net; s=gnet; t=1529520935; bh=laQy0EWe+Xb6yOgVdpuGfwQvMc8HH3cwsSww1/lBZL4=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=fFCKowToRT2sGi21MauVVF0mrT6wmgclIoXFBX7yS5A07R3Hg5md7SjlMw8VY72Vd ZuIL4Yt4ohs9kf1MmX54wV0I7Sx9t8wkkwYS9DbxBAhXsFIMOvgLehVaFCuhvLlfA5 wlGJZH/6FOuPMCO2E2+jp1yW3V50fChfDWI5em5E= From: Dirk Gouders To: Randy Dunlap Cc: Masahiro Yamada , Linux Kbuild mailing list , Linux Kernel Mailing List , Segher Boessenkool , Sam Ravnborg Subject: Re: [RFC v8 1/1] mconf: global i-search in menu prompts In-Reply-To: (Randy Dunlap's message of "Wed, 20 Jun 2018 11:21:28 -0700") References: <20180620084217.8597-1-dirk@gouders.net> <20180620084217.8597-2-dirk@gouders.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Date: Wed, 20 Jun 2018 20:55:31 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Randy Dunlap writes: > Hi, > > On 06/20/2018 01:42 AM, Dirk Gouders wrote: >> >> Operation >> --------- >> The TAB key is reserved to toggle the focus between menu and bottons. >> Focus is on the buttons if one of the buttens (the active one) is >> hightlighted, otherwise it is on the menu. >> >> When the focus is on the buttons, mconf operates as before with the >> exception of the TAB key. >> >> When the focus is on the menu, mconf operates in i-search mode and the >> following input has special meaning: >> >> * <\> (backslash) can be used to search for other occurences of an >> already entered string. On empty search strings, nothing happens. >> >> * Any other printable character than backslash and '\n' is appended to >> the current search string and a match is searched for. If a match >> is found, it is immediately navigated to. > > About that paragraph above: I tried to search for "fs-cache", as in: > > config FSCACHE_DEBUG > bool "Debug FS-Cache" > > but i-search does not allow me to enter a '-' character. Seems odd to me. Hi Randy, thanks for all your testing. '-' and '+' previously had the same meaning as , , respectively. If you are on the top menu item and press '-' there is nothing to scroll up so it appears as if the pressed key wasn't processed. I-search should add those characters to the pattern but I broke that two or three versions before when I fixed another issue. I will add this to my list of test cases so this won't happen again. Dirk > Still doing other testing... > > >> * BACKSPACE is used to remove the last character of the search string. >> >> * DEL clears the search string. >> >> * ENTER can be used to enter a submenu. >> >> * ESC ESC exits the current isearch and clears the search string. >> >> * Horizontal arrow keys still cycle between the buttons but also >> switch focus to the buttons. >> >> * Vertical arroy keys navigate the menu items. >> >> At any time, at most one i-search is active and the navigation path to >> the current menu is displayed in the subtitle, the second line in the >> menu window. >> >> Navigation example: >> >> To navigate to options concerning NFS file systems, simply type 'n', >> 'f' and 's'. >> >> Hint: use the 'z' key with focus on buttons to search for invisible >> prompts.