From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from conssluserg-04.nifty.com ([210.131.2.83]:57648 "EHLO conssluserg-04.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751198AbdJDJTh (ORCPT ); Wed, 4 Oct 2017 05:19:37 -0400 Received: from mail-qt0-f177.google.com (mail-qt0-f177.google.com [209.85.216.177]) (authenticated) by conssluserg-04.nifty.com with ESMTP id v949JKUV005648 for ; Wed, 4 Oct 2017 18:19:21 +0900 Received: by mail-qt0-f177.google.com with SMTP id d13so17243781qta.5 for ; Wed, 04 Oct 2017 02:19:21 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20170920142619.co2d6onsntz2ynjt@x230> References: <20170223131008.13705-1-pvorel@suse.cz> <20170403093545.ebn5lawttpfwbpbl@x230> <20170920142619.co2d6onsntz2ynjt@x230> From: Masahiro Yamada Date: Wed, 4 Oct 2017 18:18:39 +0900 Message-ID: Subject: Re: [PATCH v3 1/1] kconfig: menuconfig make "selected by:" readable Content-Type: text/plain; charset="UTF-8" Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Petr Vorel Cc: Petr Vorel , Linux Kbuild mailing list , Paul Bolle , Michal Marek , "Yann E. MORIN" Hi Petr, 2017-09-20 23:26 GMT+09:00 Petr Vorel : > Hi Masahiro, > >> Hi Petr, > >> 2017-04-03 18:35 GMT+09:00 Petr Vorel : >> > Hi, > >> >> rev_dep expressions can get rather unwieldy, especially if a symbol is >> >> selected by more than a handful of other symbols. Ie, it's possible to >> >> have near endless expressions like: >> >> A && B && !C || D || F && (G || H) || [...] > >> >> Chop these expressions into actually readable chunks: >> >> - A && B && !C >> >> - D >> >> - F && (G || H) >> >> - [...] > >> >> Ie, transform the top level "||" tokens into newlines and prepend each >> >> line with a minus. This makes the "Selected by:" blurb much easier to >> >> read. > >> >> This also prevents trimming too long lines. > >> >> Based on patch from Paul Bolle. > > >> > Any comment on this patch, please? > > >> I noticed you added me in the To: list. > Thank you for your comments. > I'm sorry, it took me rather long time to reply. > >> Basically I think this patch is a nice idea, >> but I am not a Kconfig maintainer. Sorry. >> (I could pick up a really trivial one via kbuild tree somehow, >> but I want this one to be handled by a person with expertise in the area.) > >> Yann E. MORIN is the Kconfig maintainer, but he has been >> silent for a few years. I guess Kconfig needs a new maintainer. > Well, Yann is still listed in MAINTAINERS file, even he's inactive (according to the date > of his git tree). > > >> Please take my comment just as a Kconfig user's point of view. > >> The git-log only mentions "select", but I notice this patch >> also changes "depends on" format in a bit different way. > >> For example, > >> General setup ---> >> Kernel compression mode (Gzip) ---> > > >> shows its help like this: > >> Depends on: HAVE_KERNEL_GZIP [=y] >> - HAVE_KERNEL_BZIP2 [=n] >> - HAVE_KERNEL_LZMA [=y] >> - HAVE_KERNEL_XZ [=y] >> - HAVE_KERNEL_LZO [=y] >> - HAVE_KERNEL_LZ4 [=y] > >> (the first dependency in the same line in the "Depends on") > > You're right, I overlooked it. Do you think it makes sense use it also for "Depends on" > section? Yeah, I guess printing it in a consistent way will be better. -- Best Regards Masahiro Yamada