Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1363059imm; Fri, 8 Jun 2018 14:57:38 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJURmwXAmZIahrBDIGbtoDYOgGsWA793ve2ny/4IMizYli3bpxgi1b6I861RpzoRe5ISEZb X-Received: by 2002:a63:6186:: with SMTP id v128-v6mr6767776pgb.35.1528495058802; Fri, 08 Jun 2018 14:57:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528495058; cv=none; d=google.com; s=arc-20160816; b=C+Nv3VEAgiuGaFq+pZb69yKd9mkPaS/fsoNiCHMi0BHOFB52O+iThtNDVJDcKH1CTe OUxkt4CThcyp28r5z0yZBphYgFRX6EyXnJlSFKOtqBBULBMLbh6iGk7WR+9Fm+i6u/70 oMEgwBB82bgPYhzhOR/zHHY2WBdF1IfjhXnhEzCPxR2y9lonjy4bv6v9GNJslAQ93Emn UTzFlp1eDIY3jQ4I2ys7irfxWm2wx7QtFBQkTpr5rP5T+thfAa9KBerPsttOU+YivkB2 kiff6EnTuzz84Es/RnVFHZDm9qmZA5B6GhDDNFa5qdSknLYtg3fmwFGuOw2DbkV+GdyD 4Hmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=lK6QNF9sEC70oXc+nxXYp9shFc24q35kkjgTS7kAKHM=; b=KKRDSEM1sVuJQH0nu/z8xZbYVq8BZjHinEpWy+4GtxYXNJ6FhWYNYMRwjNHZUS2+y1 /Lp0cXp6CxyMQmBDoOF20caXkKuUVXi8OpwEKPVxgg3KhrMO9HX5VBs3RVcroQKCEcp4 7hLz/YDF98tcTIELWCxZ4FceKtG/oRCsyk5fthS/3Qv2813wRryFc2jQZdP/et912S31 Fh7+zZvPUS4tu2ZrzIceOEkOk4/0UTazxFJkw6ZFVM7la00pQj39PNCrgjgoh0417Qdv Z0ejC/yj2cVvrQXSYidH+3pS+2s8gOunx6uCHK4PWB7wpdi+zsLshnJURIGPnRqsCK+X oPBQ== ARC-Authentication-Results: i=1; mx.google.com; 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 r3-v6si57104631plb.336.2018.06.08.14.57.24; Fri, 08 Jun 2018 14:57:38 -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; 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 S1752881AbeFHV5B (ORCPT + 99 others); Fri, 8 Jun 2018 17:57:01 -0400 Received: from asavdk3.altibox.net ([109.247.116.14]:39477 "EHLO asavdk3.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752756AbeFHV47 (ORCPT ); Fri, 8 Jun 2018 17:56:59 -0400 Received: from ravnborg.org (unknown [158.248.196.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by asavdk3.altibox.net (Postfix) with ESMTPS id 5F54420054; Fri, 8 Jun 2018 23:56:56 +0200 (CEST) Date: Fri, 8 Jun 2018 23:56:55 +0200 From: Sam Ravnborg To: Dirk Gouders 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 Message-ID: <20180608215655.GB28473@ravnborg.org> References: <20180608184606.5029-1-dirk@gouders.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180608184606.5029-1-dirk@gouders.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=dqr19Wo4 c=1 sm=1 tr=0 a=ddpE2eP9Sid01c7MzoqXPA==:117 a=ddpE2eP9Sid01c7MzoqXPA==:17 a=kj9zAlcOel0A:10 a=hvHml8rP7Vaw8gOLeoUA:9 a=CjuIK1q_8ugA:10 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Sam