Re: [PATCH] Menuconfig search changes - pt. 3

From: Roman Zippel
Date: Fri Sep 17 2004 - 11:26:53 EST


Hi,

On Wed, 15 Sep 2004, Yuval Turgeman wrote:

> > This still prints duplicate information, look at how
> > ConfigMainWindow::setHelp() in qconf.cc does it. Your function should have
> > pretty much the same structure, e.g.
>
> I don't understand - duplicate information of what ?
> Can you perhaps give me an example (it seems to me that i am actually
> doing what qconf is doing... printing all the P_SELECT of the all the
> properties, printing the dependencies and the reverse dependencies) ?

try the following:

config FOO
bool "foo1"
select BAR

config FOO
bool "foo2"

config BAR
bool "bar"

> > here you should iterate over all properties and print the info about it.
>
> The search prints out plenty of info already - what info do you think
> is missing ?

defaults are missing. Don't concentrate too much on the menu structure
(it's only relevant for the prompts), if you want to print information
about a symbol, you have to primarily work with the properties.

bye, Roman
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/