mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rdunlap@xenotime.net>
To: Jan Engelhardt <jengelh@linux01.gwdg.de>
Cc: akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: menuconfig search (Re: [rfc] fix Kconfig, hotplug_cpu is needed for swsusp)
Date: Sat, 8 Apr 2006 19:29:59 -0700	[thread overview]
Message-ID: <20060408192959.1fa9f401.rdunlap@xenotime.net> (raw)
In-Reply-To: <Pine.LNX.4.61.0604081030201.21887@yvahk01.tjqt.qr>

On Sat, 8 Apr 2006 10:42:46 +0200 (MEST) Jan Engelhardt wrote:

> >> I find it very confusing to use, since it returns too verbose text to skim 
> >> through. Probably the search function should be split into "only search 
> >> titles[*]" and "search description too".
> >
> >Re verbosity:  do you know that menuconfig search (/) takes regular
> >expressions?
> 
> Regexes are not mentioned in the "Help" menu.

It is mentioned in the Help text after one enters '/'.

  │ Search for CONFIG_ symbols and display their relations.                 │
  │ Regular expressions are allowed.                                        │
  │ Example: search for "^FOO"                                              │


> >That could help someone limit the amount of output
> >from it.
> >Can you give an example of being too verbose?
> 
> / UNIX
>  Symbol: UNIX [=y]
>  Prompt: Unix domain sockets
>    Defined at net/unix/Kconfig:5
>    Depends on: NET
>    Location:
>      -> Networking
>        -> Networking support (NET [=y])
>          -> Networking options
> 
>  Symbol: UNIXWARE_DISKSLICES ...
>   ...
> 
> 
> What would be more useful:
>  UNIX
>    Unix domain sockets
>    Networking > Networking Support > Networking options
> 
>  UNIXWARE_DISKSLICES
>    Unixware slices support
>    File systems > Advanced ...
> 
> I.e. strip the Defined and Depends lines and crunch the Location lines inasfar
> as that the full width of the window is used (break at col 70).

I don't see any need to limit it to 70 columns wide.  It knows how to
scroll left/right (using arrow keys).

 
>  DEEP_FS
>    Just a symbol
>    File systems > Advanced filesystems > Very advanced filesystems >\n
>    Extremely advanced filesystems > Deep filesystem
> 
> 
> >I have just modified menuconfig search to make displaying the
> >Selects: and Selected by: output be an option (actually it's a
> >different search command (\) to not see those lines.
> >Would that help any regarding verbosity?
> 
> At the moment, entering e.g. UNIX in both the / and \ menus return the very 
> same output. Bug?
> 
> The \ should include everything what the original / had, plus the symbol
> description ("Say Y here if ....").

Nope, the only thing that the "reduced" search excludes atm is SELECT info.
>From my original email, as you quoted above, the less-verbose '\' search
only eliminates the Selects: and Selected by: output, and the UNIX
config symbols don't have any SELECT info.

I don't know if we are converging any, but I made a new patch:
  http://www.xenotime.net/linux/patches/menuconfig-search2b.patch

This one changes the default '/' search to NOT be verbose and the
new, extended '\' search to be verbose.  The non-verbose search omits
Selects:, Selected by:, and Location: information.

---
~Randy

  reply	other threads:[~2006-04-09  2:27 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-29 22:08 [rfc] fix Kconfig, hotplug_cpu is needed for swsusp Pavel Machek
2006-03-29 22:47 ` Andrew Morton
2006-03-29 23:09   ` Ashok Raj
2006-03-29 23:36     ` Nigel Cunningham
2006-03-29 23:47       ` Ashok Raj
2006-03-29 23:53         ` Nigel Cunningham
2006-03-30  0:12           ` Ashok Raj
2006-03-30  0:32             ` Nigel Cunningham
2006-03-30  0:13           ` Andrew Morton
2006-03-30  0:18             ` Nigel Cunningham
2006-03-30  3:01               ` Nigel Cunningham
     [not found]                 ` <20060330030657.GA10405@mars.ravnborg.org>
2006-03-30 10:11                   ` Roman Zippel
2006-03-30  8:24           ` Jan Engelhardt
2006-04-04  5:15             ` menuconfig search (Re: [rfc] fix Kconfig, hotplug_cpu is needed for swsusp) Randy.Dunlap
2006-04-04  6:01               ` Alexey Dobriyan
2006-04-04 15:12                 ` Randy.Dunlap
2006-04-08  8:42               ` Jan Engelhardt
2006-04-09  2:29                 ` Randy.Dunlap [this message]
2006-04-11 11:18                   ` Jan Engelhardt
2006-03-30  8:41         ` [rfc] fix Kconfig, hotplug_cpu is needed for swsusp Pavel Machek
2006-03-30 16:17           ` Rafael J. Wysocki
2006-03-29  0:30             ` Pavel Machek
2006-04-01 23:55               ` Ashok Raj
2006-03-30  3:24     ` Andrew Morton
2006-03-30 13:00       ` Ashok Raj
2006-03-30 13:17         ` Pavel Machek
2006-03-30 13:05       ` Eric W. Biederman
2006-03-30  8:30     ` Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060408192959.1fa9f401.rdunlap@xenotime.net \
    --to=rdunlap@xenotime.net \
    --cc=akpm@osdl.org \
    --cc=jengelh@linux01.gwdg.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®