Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965698AbXEDHu0 (ORCPT ); Fri, 4 May 2007 03:50:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965706AbXEDHu0 (ORCPT ); Fri, 4 May 2007 03:50:26 -0400 Received: from mailer.gwdg.de ([134.76.10.26]:59958 "EHLO mailer.gwdg.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965698AbXEDHuZ (ORCPT ); Fri, 4 May 2007 03:50:25 -0400 Date: Fri, 4 May 2007 09:46:22 +0200 (MEST) From: Jan Engelhardt To: Trent Piepho cc: Roman Zippel , Sam Ravnborg , Mauro Carvalho Chehab , v4l-dvb maintainer list , Linux Kernel Mailing List Subject: Re: [v4l-dvb-maintainer] [PATCH 35/36] Use menuconfig objects II - DVB In-Reply-To: Message-ID: References: <1178129426.29579.17.camel@localhost> <1178195820.12651.28.camel@localhost> <20070503204942.GB18539@uranus.ravnborg.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Report: Content analysis: 0.0 points, 6.0 required _SUMMARY_ Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1176 Lines: 66 On May 3 2007 18:40, Trent Piepho wrote: > >How about these examples: > >menuconfig FOO >if FOO >config A > depends on FOO >endif >config B >if FOO >config C > depends on FOO >endif This does not work as expected in ncurses-menuconfig either. It does not even need a "menuconfig" object for that, something as simple as config A config B config C depends on A prints it A B C rather than A \_ C B which is why some of my menuconfig patches _move_ C to not come after B. >How does it show the first one, keeping the config entries in the correct >order and put them into the menu at the same time? > >And which of what should the second be show? > >foo >\-bar > \-baz > >or > >foo >|-bar >\-baz > >There is no question with menus, as the menu tree is clearly lexically >defined by the matching menu / endmenu pairs. But menuconfig doesn't work >that way, and it seems like it would make more sense if it did. > Jan -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/