Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1761417imm; Sat, 9 Jun 2018 00:51:07 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIScJE+xGiVqdXl3M4aRqgEPs6ROWbSCSw5QoD9GLeTCBrR/teZEOWzkz3RFnVN2BVhL/WY X-Received: by 2002:a65:6690:: with SMTP id b16-v6mr7924413pgw.326.1528530667499; Sat, 09 Jun 2018 00:51:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528530667; cv=none; d=google.com; s=arc-20160816; b=ILBD09GQhcaldA89ufSSvRzKDyC/cg6ZH+ljx+XwXcoeOk4SKBz7A3+O8NQx9k2zfW ZrQNJibTTUen2GUXCyVryV3RCNzEGSvrrGCms0CH2AWnT+1DsPpHsiGUrqk7N1yuTEI1 7rF+qqtr2aE29V72xaH23Pj18QtM0vOoPkas02K86Wrtxqb09aWKUUJJYTzcAh4sWRPZ 0G64b+J6nYceBskw79w7AwexCbYZmUxAN2SXUPVo7l49tOGXJamRAtjB90RLIALMCm7d rMqyTgPHmRPPBxCtCVFtgCkP0DYye5kXpRsKjD1BQt/Zw4TW+3IJ0fm7tE0alOpCt2bi XjtA== 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=x5qqx7V4g1H9wbWdmwJBF1caXVEi5kj76ZBm5/OBM8s=; b=fO3UkpgZICqmokhWc+Fe24hsvrS0FCO4DvasQ4ofAJm0vE/EBcOFV+/5vlo5ZWhYuy eK41SgWR0kgU4xBF8JL1PoVFHem6OwG5wWQGcV3YZoPyYl4q2jQ9ldOoOQGw4XU6ZG0D MIiz6fSVrw07xdqqiOhUk8UD9H6AksDcycEB2Mn5428qpSWTvktLhwHnNb2pRuLcF3Hp gMRF2BgKE8ViDikbtytUiKQ7NyYFbBZj1TTJqsM2UOj1EGOaLXgVULEAdit8VGplrQ/b iL7I/fzwuBSlOU0ZIrnGQ6Rbs0fIDyMexG8hZZWeEkSka8FjesYzaWihGEB7NcjJRmD2 nSNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gouders.net header.s=gnet header.b=gOpkyI9p; 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 h1-v6si5077229pgs.221.2018.06.09.00.50.51; Sat, 09 Jun 2018 00:51:07 -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=gOpkyI9p; 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 S1753193AbeFIHtT (ORCPT + 99 others); Sat, 9 Jun 2018 03:49:19 -0400 Received: from services.gouders.net ([141.101.32.176]:46112 "EHLO services.gouders.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751751AbeFIHtR (ORCPT ); Sat, 9 Jun 2018 03:49:17 -0400 Received: from localhost (ltea-047-066-004-082.pools.arcor-ip.net [47.66.4.82]) (authenticated bits=0) by services.gouders.net (8.14.8/8.14.8) with ESMTP id w597eTQh006010 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 9 Jun 2018 09:40:29 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gouders.net; s=gnet; t=1528530030; bh=6EuxRHhsRDd+latK7IjAnTp99PB0cDF0juX3KXWpsjs=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=gOpkyI9pU9Byf92w/dnJHbjZkdYwp0gUvF1DuBLFofkt+GkvyVvTzETt1wIyLxwJM HRoCqhQNzggolOQ/p/UD61S9YliLAT7fpHnTZlJQmtyEccjGG57UwJpRtCNbemeNnG MLjwJA2S4qGmagcgjYB+KVYv7GgrytBnBnb1ydQ0= From: Dirk Gouders To: Sam Ravnborg Cc: Masahiro Yamada , Randy Dunlap , Linux Kbuild mailing list , Linux Kernel Mailing List , Segher Boessenkool Subject: Re: [RFC v4 0/1] i-search functionality for mconf In-Reply-To: <20180608215655.GB28473@ravnborg.org> (Sam Ravnborg's message of "Fri, 8 Jun 2018 23:56:55 +0200") References: <20180608184606.5029-1-dirk@gouders.net> <20180608215655.GB28473@ravnborg.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Date: Sat, 09 Jun 2018 09:40:27 +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 Sam Ravnborg writes: > Hi Dirk. > > On Fri, Jun 08, 2018 at 08:46:05PM +0200, Dirk Gouders wrote: >> Hello, >> >> this version is a prototype of the idea, Sam suggested -- I hope I >> undestood it correctly. >> >> This is a remarkable change to mconf in it's behavior; mainly it now >> differentiates two focuses and operates differently, depending on the >> focus. When the focus is on the menu, mconf is in i-search mode, for >> a detailed description see 1/1. >> >> As stated earlier, this is just a prototype, documentation is missing >> and the code is not ready for a real commit. > > When trying this out it started to work as envisioned. > But somehw I manage to get stuck in the menus and cannot navigate to > the buttons. > > Consider to remove the old short-cut for the menus. > (Most/all the first_alph thingy in menubox.c) > That will avoid two confliting navigations principles and likely > make the code simpler to read. > > I am not sure, but maybe you can get rid of all the hotkey > support in print_item with this change too. Hi Sam, thank you (and also to Randy) for having a look at it. Next, I will prepare a patch, more thorougly tested, documentation included and with hotkey support removed. You are right, trying to support two navigation principles makes everything too complex and I was too eager to keep as much of today's functionality as possible. Dirk