From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 25691 invoked from network); 22 Jul 2023 23:02:09 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 22 Jul 2023 23:02:09 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1690066929; b=pY/x0qkuHUR87F8N8dd0LjYQOwiTBFaIB/q+RceQoERoznpeNs1NrgI2ZfEW3k8VpYnerEdfs+ w4k5a/dwSwz/nHHHllkdM6oe86uP3paLce3YuqrHq87/4EUJeY/G0zzGfNnn8NybuyggBWQseN D/sc/2TKE6pvvGl+nd76+J+NRuqz3bjN+YKebvYWzdThQ2NsOPoeYxtDIM/ugmwLX3gR+XF3lW W8KddDZRDfVlOfYX2sYXVyH13yCQXj3FRzNZCV5qNjcPfVUMPWngQOPvPlxhU/Z2i9JTRnAD+1 cRt4zeoHV1GMj1CtToi5RFwAdq5nLUzzJgniBaj3HeTkUw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ej1-f45.google.com) smtp.remote-ip=209.85.218.45; dkim=pass header.d=brasslantern-com.20221208.gappssmtp.com header.s=20221208 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1690066929; bh=BbTEY0aQKQoWb9qDYdU7NEcb2AMvrXAg3ivA9hoUdDo=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:To:Subject:Message-ID: Date:From:In-Reply-To:References:MIME-Version:DKIM-Signature:DKIM-Signature; b=R2CWVwavcU6a7QtuY1KlDn9RS8JzV0eimTo7EaEWYV72lDUFXytio0OVNec63QUcn3P30POTuP RW7lT9yZLN/2aqMT6UTnqIdM6t8dZgHU/Svo6TK/SU/Qkg99L/ntOCjLdzuJ0ebHiSMA39slSt hsYykhkzdOPDyBm84evk5066pzRimrBxlIqxBJ/Fd3Y1D/AWAsiwOr8FYs7vSSnM6R1MJlivo3 I6efWU+4xhJN8YOGn+RXjqxzBi7vuzC6tfD+tHvLsqTIJR32IdzydowSHnJQdPiQQZYHmgzHpQ 28m4I3zDl+Se5GvhIoVzwH/KsAIYJM6c35aglv9QAUex4w==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:To:Subject:Message-ID:Date:From:In-Reply-To:References: MIME-Version:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=lZiz+hv5sfLETKapVNDvTCthdnsTOJ5rDE0+6o/55wM=; b=XpX9VDoJDax2OaIStrXZlJ5Ka8 XXKebsPu5cH+lZZCYIMpWgSEuKRDf/YG5tp7Za5sQMOtrtk5Q4K/Wa5UTXvUy/7o0Rl90QDHQXjlb ZuIYt/c+Z4JrjQJK3fUryrEu80YrxUDQZUInTHs+qXjcf8apzb2Y2HeWNxgGrMoIIsgLrpBXPagR7 GzKFQRo2EaH8CMiVRrDjKSuYNp9hXB2qKpul7tL9cgskjvoOQdWXaFRIPevvRNEcviar/7KWIdB6t uyrKTCgfOTzDOdv/1iyGIkN4TXeEu4iS7u/pPmCRcpIqob7mw9woXQTTKoILtInzsgI+AH18REDRm PiWPnv/A==; Received: by zero.zsh.org with local id 1qNLbz-000GF8-OK; Sat, 22 Jul 2023 23:02:07 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ej1-f45.google.com) smtp.remote-ip=209.85.218.45; dkim=pass header.d=brasslantern-com.20221208.gappssmtp.com header.s=20221208 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-ej1-f45.google.com ([209.85.218.45]:46443) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1qNLbJ-000Fus-Jm; Sat, 22 Jul 2023 23:01:30 +0000 Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-993a37b79e2so499030066b.1 for ; Sat, 22 Jul 2023 16:01:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20221208.gappssmtp.com; s=20221208; t=1690066885; x=1690671685; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=lZiz+hv5sfLETKapVNDvTCthdnsTOJ5rDE0+6o/55wM=; b=Ow3MVny7mC5FNoXnCrj3KsSTvBkc1syybXZUrOia/1Yphs7TYb1KZ8q94d7OjsMjGB qkYbEVS/Di5/rk9tjkTGgCQJMKrQRjLmQ1xEJ6lIpJ7uUbJ9AEY3iNMTBVTaXW7rne7P Kz5U/vWtCcQ9vOaGe15Y3VmzZQOl1XPKy9CvsjzSysnOn2wJsgR8nwucuGtvjdB92ac7 ytQQprRxzYsqxy7lnlKM0XbCD0m5fSJWMJb3nq/U7yclNvgX3tCczagGumYQhb8If5dF DXhjhnGPQZEtY+/0GcWxJ1qBRJkNNqxo4obE7r1QVLUAKiY7eQsPDAclN7pvkV5m+/Ho XE4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690066885; x=1690671685; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lZiz+hv5sfLETKapVNDvTCthdnsTOJ5rDE0+6o/55wM=; b=TFs7O6fXrY7W3x4vgyCllJ/bitTafFVsfKVeXgfzHdD8FO5U9G1rmyOQE62Q9I9fzv nKb7Jm1eq6wBT1rbTXRUDwJmX00cTXqRXLrCfxOiGSzGlYKZf7mvmdValcZOuykiCEHc zGW+47LeSLXyLju14pv5tpIJ2Qv3Q/zYYkhHVaIXvrbc0RCCuRO/X7dqY9Jd3t/npsHW reBxniXN4hAFTgRtnMvVIb+jDg7EM4JGy2HlpkNbRMy4JhdbsLPP3wPsIJ7B6KKVrRFC z2sOvuu8xbMzPt6oPg+A6UtNPpCRGHJu1weHxsgspCU/QzaZChFrRsHxgsnSyPgXXNaA 8M/Q== X-Gm-Message-State: ABy/qLb9dz1e+n/cSS1wCG121IasrAmakjg89I6h0BlRcAcifVTJy5Pj hPtLOwCTgRWWE4lCL5uVrvO4eOqqQTZHDWb8aoFl8FxLIVB25IYQ X-Google-Smtp-Source: APBJJlEHmu8BToH0xsH57Jdn8SIh8GjacKQCgiagru0t8hb9sGWqP3VUKu0GE6vm1ZDkbXEyqFnihbcIT061fJxOBSM= X-Received: by 2002:a17:906:8e:b0:997:ea90:96b4 with SMTP id 14-20020a170906008e00b00997ea9096b4mr5339570ejc.61.1690066884653; Sat, 22 Jul 2023 16:01:24 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Bart Schaefer Date: Sat, 22 Jul 2023 16:01:13 -0700 Message-ID: Subject: Re: [PATCH] Add glob qualifier grouping operator to completion To: zsh-workers@zsh.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Seq: 51984 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: On Thu, Jul 20, 2023 at 3:52=E2=80=AFAM Atte Peltom=C3=A4ki = wrote: > > Also improve wording in documentation to make glob qualifier grouping > easier to find by explicit use of terms 'logical OR' and 'logical AND'. Not to rule out applying this patch, but I don't suppose anyone is interested in trying to convert _globquals to use e.g. _sequence so that comma can be treated as a separator instead of as another qualifier? This might require changes in the callers of _globquals. It might also make it more complicated to generate a description for comma in the manner of this patch. While wishlisting, it'd also be nice if typing ")" auto-removed a trailing comma, because an empty OR-condition is not an "unknown file attribute" but renders the whole thing moot.