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


Groups > linux.kernel > #1622461

Re: [PATCH] scripts: kconfig: implement a sort method

From Randy Dunlap <rdunlap@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH] scripts: kconfig: implement a sort method
Date 2017-04-12 20:20 +0200
Message-ID <tvv21-7Rs-7@gated-at.bofh.it> (permalink)
References <tv201-6fx-9@gated-at.bofh.it> <tv9bc-2lS-17@gated-at.bofh.it> <tvlm2-1MB-15@gated-at.bofh.it> <tvt0f-6Bx-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 04/12/17 09:06, Yann E. MORIN wrote:
> Felipe, All,
> 
> On 2017-04-12 10:49 +0300, Felipe Balbi spake thusly:
>>
>> Randy Dunlap <rdunlap@infradead.org> writes:
>>> On 04/11/17 04:12, Felipe Balbi wrote:
>>>> With a growing amount of Kernel configuration, it's
>>>> getting ever more difficult to find anything on
>>>> menuconfig. Because of that, implement mergesort for
>>>> kconfig to make it a little easier for anybody
>>>> building kernels.
>>>
>>> Search works for me, but I don't mind Sort either.
>>

[snip]

> 
> Arguably, the order may also make sense, for example to "group" related
> items. So, <Sort> should be a toggle, so that it is possible to go back
> to the unsorted, original order, IMHO...
> 
>>> Any Help text for Sort?  or is it obvious what it does?  (no)
>> wait, it's not obvious what "Sort" means?
> 
> I guess that what Randy said was that in this context, it is not more
> obvious than Load or Save, and they are documented in the help (but it
> is not obvious how to get the help).

Correct. and true (about how to get to the Help text).

> For example, go on the "General setup" entry, but do not enter the menu.
> Now, select Help: you'll get a bit of help on how to use menuconfig.
> 
> There, Load and Save are documented, in Alternate Configuration Files.
> 
>>> In an 80x25 terminal (window), the < Sort > option wraps around
>>> past column 80.
>> not what I see here [1]
> 
> I see the same as Randy here:
> 
>     $ stty size
>     25 80
> 
>     https://imgur.com/a/ku0sG

For some reason, Felipe's <Select> starts further to the left than mine
or Yann's does.

>>> I haven't looked at the source code (lately), but I think that it
>>> would OK to not have the (extra) spaces inside the <...> brackets.
>>> I.e., instead of
>>>   │        <Select>    < Exit >    < Help >    < Save >    < Load >    < Sort  
>>>    >
>>> just have
>>>   │        <Select>    <Exit>    <Help>    <Save>    <Load>    <Sort>
>>>
>>> Or the <Select> does not need to be indented as much as it is.
>> I changed that for this very reason

I don't see that. Is that part of the patch missing?

> Or just always left-align the line, rather than center it?

OK.


-- 
~Randy

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


Thread

[PATCH] scripts: kconfig: implement a sort method Felipe Balbi <felipe.balbi@linux.intel.com> - 2017-04-11 13:20 +0200
  Re: [PATCH] scripts: kconfig: implement a sort method Randy Dunlap <rdunlap@infradead.org> - 2017-04-11 21:00 +0200
    Re: [PATCH] scripts: kconfig: implement a sort method Felipe Balbi <felipe.balbi@linux.intel.com> - 2017-04-12 10:00 +0200
      Re: [PATCH] scripts: kconfig: implement a sort method "Yann E. MORIN" <yann.morin.1998@free.fr> - 2017-04-12 18:10 +0200
        Re: [PATCH] scripts: kconfig: implement a sort method Randy Dunlap <rdunlap@infradead.org> - 2017-04-12 20:20 +0200

csiph-web