Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp5447503imm; Tue, 19 Jun 2018 10:29:37 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLN913SQ17GppF7ZmLbsImLBHJ6KQZyLxkhf6KwgRKUZ58MIIGMCKKiBhMAFijLcACXOX0o X-Received: by 2002:a63:63c4:: with SMTP id x187-v6mr15947519pgb.9.1529429377593; Tue, 19 Jun 2018 10:29:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529429377; cv=none; d=google.com; s=arc-20160816; b=WbCc4jgHhfgc6ZpHmo7Yo0L9PSdUQ5lBDRMKmnvOQw0vEtyKodu9S9xTDz97Otp5Gu 1HVTPtHfjpzGFjGXfDWGOCcAyKPNTxWzt6XzEl+d4GaDWspKIKbUjpSVsOw+2b/dQxG8 36f37BvCDRR3WTBztHVO9hQP9wJRv12QlMv8SOtmOz40753lxrb1XsMYtT0mIialf8Mw 7Ja2EOOrOD8a0Jotf6ngz3wT4jWlc/kr73N0Aazdhl5+f/a0Iu0Srg+Ow9VQQ18w/NpR uZLUzmlQUzNGWRdhXeAw76r14S9TSfzRJ3vQIPT2b4tpXufQw7MJ5hmhY9qNoIfDRcta xo8A== 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:to:subject:dkim-signature :arc-authentication-results; bh=vXnN97+IkJ5WZv0RfUrd/xjNQZ8L/UTHY0kBNocozlM=; b=G0NTK4Q+uqBg0U5ujwCjtS3mA7a4lshlVUXjaLp4NUqB9cyfAbABPQ21O+Kr+6amRI 8dWl85eui4THs6h3CpduDxsx8L10jsZGJy2TZ1QXDbaSczB4LIV7e7v44a3uGIKj+GxJ FY9CHbGoPgjIQvjkok7UCTYdsJRvDCinHjVs9BPE8Gr2RJWWQ63IMUoNEcj1sTOZujew +KSHZNn20QKedOGkIUncwA48F0J33qpZLYi3v+dfozVk0spz6Td8Z2tcQrurGCeRCxOi fmCj12MTUGtsKBfMOwBk3wro7dCBLeSVnWYEJxgycSj77HbD8XlqK73gDw0t1cE3GySZ 6rbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="q/B6cI0y"; 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 p1-v6si184324plb.204.2018.06.19.10.29.23; Tue, 19 Jun 2018 10:29: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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="q/B6cI0y"; 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 S1030258AbeFSR1J (ORCPT + 99 others); Tue, 19 Jun 2018 13:27:09 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:48090 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966646AbeFSR1I (ORCPT ); Tue, 19 Jun 2018 13:27:08 -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:To: Subject:Sender:Reply-To:Cc: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=vXnN97+IkJ5WZv0RfUrd/xjNQZ8L/UTHY0kBNocozlM=; b=q/B6cI0yG9VR37nu1ERFYbhQU YmXMK+dmyGKQVnBX7IY9QTUAMsoTYiAxnfxt7R2sFO5ef3GrKlimauiG2eA2ugxgzY/OulwpdtXNE l0E0YI7kLsXrhZEz0AYX7y0iaobi/dKs8l6kRRG+18rZU+eHx4uXUumQDu5OehUuyd8ocnGpn8ugI RvXxn0LQEZ4eyhrbb8/ptd3UaP4uFLSeaKSjB92ntw4LVPbIwU1ZSkihiweumjWs10PelUDg1m+io p3C6kEfwlH71nHGqUTFu5Jl5h496XFZe1EVVIm2uErmPGcDPpGCG4sW3i7rGxGayBePhy8KRvjfeq cfsB4oRUA==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=dragon.dunlab) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fVKPI-0000SP-K2; Tue, 19 Jun 2018 17:27:04 +0000 Subject: Re: [RFC v7 0/1] mconf: global i-search in menu prompts To: Dirk Gouders , Masahiro Yamada , Linux Kbuild mailing list , Linux Kernel Mailing List , Segher Boessenkool , Sam Ravnborg References: <20180617121534.4809-1-dirk@gouders.net> From: Randy Dunlap Message-ID: <87d68443-ad2c-50e0-ef10-f6a9f349c050@infradead.org> Date: Tue, 19 Jun 2018 10:27:03 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180617121534.4809-1-dirk@gouders.net> 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 06/17/2018 05:15 AM, Dirk Gouders wrote: > Hello, > > Most noticeable changes are that the exact starting position before > doing i-search is now remebered and i-search stays on the current item > if a character was added and the new string also matches this item. Nice. > Also, compiler warnings were eliminated and A_UNDERLINE was replaced > with A_STANDOUT to mark active menu items when the focus is on the > buttons, because I tested mconf on a tty where underlines were not > visible. For a complete list of changes see below. This highlight/standout is good, helpful. > Dirk > > Changes in v7: > > > * Rework i-search instructions text For the (old) menu_instructions[] string: that has a hard time fitting in 80x25 or 80x30 console. I.e., it is being truncated. I had to resize the console to 90x30 to see all of it. Oh well. > * Remember exact starting position in menu > > * Stay on menu item if it matches pattern with a character added > > * Fix print_autowrap for short texts > > * Focus on buttons: use A_STANDOUT for current menu item :) [snip] I like it. thanks, -- ~Randy