Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1575352

Re: [PATCH 1/2] kconfig/mconf: add jumping tip in title of search result textbox

Path csiph.com!1.us.feeder.erje.net!2.us.feeder.erje.net!feeder.erje.net!2.eu.feeder.erje.net!border1.nntp.ams1.giganews.com!nntp.giganews.com!news.mixmin.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod
From "Du, Changbin" <changbin.du@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] kconfig/mconf: add jumping tip in title of search result textbox
Date Tue, 07 Feb 2017 04:20:02 +0100
Message-ID <t84tY-5Bi-5@gated-at.bofh.it> (permalink)
References <t7MdH-1Vy-3@gated-at.bofh.it> <t7MdH-1Vy-1@gated-at.bofh.it> <t7Qhj-4M3-5@gated-at.bofh.it>
X-Extloop1 1
X-Ironport-Av E=Sophos;i="5.33,344,1477983600"; d="asc'?scan'208";a="1091665852"
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wq9mPyueHGvFACwf"
Content-Disposition inline
User-Agent Mutt/1.5.24 (2015-08-30)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 74
Organization linux.* mail to news gateway
X-Original-Cc mmarek@suse.com, corbet@lwn.net, yann.morin.1998@free.fr, linux-kbuild@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org
X-Original-Date Tue, 7 Feb 2017 11:10:33 +0800
X-Original-Message-ID <20170207031033.GB32621@intel.com>
X-Original-References <20170206074648.23896-1-changbin.du@intel.com> <20170206074648.23896-2-changbin.du@intel.com> <87a89zbkb0.fsf@intel.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1575352

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Mon, Feb 06, 2017 at 02:00:51PM +0200, Jani Nikula wrote:
> On Mon, 06 Feb 2017, changbin.du@intel.com wrote:
> > From: Changbin Du <changbin.du@intel.com>
> >
> > Prompt user how to quickly jump to the item he/she is interested in.
> 
> :o
> 
> All these years. I... I didn't know. Thanks!
>
aha, me too! You know, back to the top menu then look into step by
step...

> > Signed-off-by: Changbin Du <changbin.du@intel.com>
> > ---
> >  scripts/kconfig/mconf.c | 8 ++++----
> >  1 file changed, 4 insertions(+), 4 deletions(-)
> >
> > diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c
> > index 315ce2c..23d5681 100644
> > --- a/scripts/kconfig/mconf.c
> > +++ b/scripts/kconfig/mconf.c
> > @@ -443,10 +443,10 @@ static void search_conf(void)
> >  
> >  		res = get_relations_str(sym_arr, &head);
> >  		set_subtitle();
> > -		dres = show_textbox_ext(_("Search Results"), (char *)
> > -					str_get(&res), 0, 0, keys, &vscroll,
> > -					&hscroll, &update_text, (void *)
> > -					&data);
> > +		dres = show_textbox_ext(
> > +				_("Search Results (type the number to jump)"),
> > +				(char *)str_get(&res), 0, 0, keys, &vscroll,
> > +				&hscroll, &update_text, (void *)&data);
> 
> It would be even better and discoverable if this could be turned into a
> dialog menu, so that you could navigate the search results using arrow
> keys and hit enter to choose. But this is already an improvement.
> 
Yes, that will have a better experience. :)

> >  		again = false;
> >  		for (i = 0; i < JUMP_NB && keys[i]; i++)
> >  			if (dres == keys[i]) {
> 
> -- 
> Jani Nikula, Intel Open Source Technology Center

-- 
Thanks,
Changbin

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] kconfig/mconf: add jumping tip in title of search result textbox changbin.du@intel.com - 2017-02-06 08:50 +0100
  Re: [PATCH 1/2] kconfig/mconf: add jumping tip in title of search result textbox Jani Nikula <jani.nikula@linux.intel.com> - 2017-02-06 13:10 +0100
    Re: [PATCH 1/2] kconfig/mconf: add jumping tip in title of search  result textbox "Du, Changbin" <changbin.du@intel.com> - 2017-02-07 04:20 +0100

csiph-web