public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ciaran McCreesh <ciaran.mccreesh@googlemail.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] USE dependencies
Date: Sun, 4 Jan 2009 16:08:45 +0000	[thread overview]
Message-ID: <20090104160845.40a17677@snowcone> (raw)
In-Reply-To: <8b4c83ad0901040804v2e87a7bdn2066f8a7e928c800@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 934 bytes --]

On Sun, 4 Jan 2009 21:34:18 +0530
"Nirbheek Chauhan" <nirbheek.chauhan@gmail.com> wrote:
> How about this:
> 
> New syntax            Expanded syntax
>                 Extension of
> --------------------------------------------------------------------------------------------------------
> pkg[foo?bar]           foo? ( cat/pkg[bar] ) !foo? ( cat/pkg )
>          cat/pkg[foo?]
> pkg[!foo?bar]          foo? ( cat/pkg ) !foo? ( cat/pkg[bar] )
>          cat/pkg[foo?]
> pkg[foo=bar]           foo? ( cat/pkg[bar] ) !foo? ( cat/pkg[-bar] )
>       cat/pkg[foo=]
> pkg[!foo=bar]          foo? ( cat/pkg[-bar] ) !foo? ( cat/pkg[bar] )
>       cat/pkg[!foo=]
> 
> IMO, this is simple enough to understand, and use :)

It's utterly useless. Unlike the existing shortcut forms, what you're
after isn't widely enough used to warrant its own shortcut. Use the
expanded form and have done with it.

-- 
Ciaran McCreesh

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2009-01-04 16:08 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-04 13:54 [gentoo-dev] USE dependencies Christian Faulhammer
2009-01-04 15:34 ` Nirbheek Chauhan
2009-01-04 15:46   ` Tomáš Chvátal
2009-01-04 15:56     ` Ciaran McCreesh
2009-01-04 16:04     ` Nirbheek Chauhan
2009-01-04 16:08       ` Ciaran McCreesh [this message]
2009-01-04 16:48         ` Nirbheek Chauhan
2009-01-04 16:58           ` David Leverton
2009-01-05  8:31             ` Nirbheek Chauhan
2009-01-05  8:40               ` Nirbheek Chauhan
2009-01-04 16:59           ` Ciaran McCreesh

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=20090104160845.40a17677@snowcone \
    --to=ciaran.mccreesh@googlemail.com \
    --cc=gentoo-dev@lists.gentoo.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