mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Robert P. J. Day" <rpjday@mindspring.com>
To: Jan Engelhardt <jengelh@computergmbh.de>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Use menuconfig objects - Fusion
Date: Sat, 21 Jul 2007 15:15:55 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.64.0707211513170.6770@localhost.localdomain> (raw)
In-Reply-To: <Pine.LNX.4.64.0707212112060.21737@fbirervta.pbzchgretzou.qr>

On Sat, 21 Jul 2007, Jan Engelhardt wrote:

>
> On Jul 21 2007 15:05, Robert P. J. Day wrote:
> >> +menuconfig FUSION
> >...
> >> +if FUSION
> >>
> >>  config FUSION_SPI
> >...
> >> +endif # FUSION
> >
> >  i just *know* i'm going to regret asking this, but is there a
> >compelling reason why the internal contents of a "menuconfig FUBAR"
> >needs to still be surrounded by a "if FUBAR" condition?
>
> Note that if/endif actually translates to a "depends on" for every
> contained object. I prefer the reduced clutter [if/endif] over
> having explicit depends on on every object, since it is redundant.

oh, i absolutely agree with you there.

> >wouldn't it be philosophically cleaner if the internals of a
> >menuconfig structure *automatically* depended on selection of the
> >menuconfig and the "if" part was implicit?
>
> "menuconfig" is not a start marker like "menu" was. Hence it has no
> "stop" marker either. We would need a new object type for that.

http://www.linuxrocket.net/index.cgi?a=MailArchiver&ma=ShowMail&Id=525787

rday
-- 
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================

  reply	other threads:[~2007-07-21 19:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200705102317.l4ANHrUC001117@shell0.pdx.osdl.net>
2007-07-21 18:56 ` Jan Engelhardt
2007-07-21 19:05   ` Robert P. J. Day
2007-07-21 19:14     ` Jan Engelhardt
2007-07-21 19:15       ` Robert P. J. Day [this message]
2007-07-21 19:35         ` Jan Engelhardt
2007-07-21 19:36           ` Robert P. J. Day

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=Pine.LNX.4.64.0707211513170.6770@localhost.localdomain \
    --to=rpjday@mindspring.com \
    --cc=jengelh@computergmbh.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®