zsh-users
 help / color / mirror / code / Atom feed
From: Zefram <zefram@dcs.warwick.ac.uk>
To: Harres@UWyo.Edu (John Harres)
Cc: zsh-users@math.gatech.edu
Subject: Re: grouping in patterns in extended compctl
Date: Mon, 24 Feb 1997 20:11:33 +0000 (GMT)	[thread overview]
Message-ID: <21287.199702242011@stone.dcs.warwick.ac.uk> (raw)
In-Reply-To: <199702241633.JAA02090@horseman.uwyo.edu> from "John Harres" at Feb 24, 97 09:33:09 am

John Harres wrote:
>   'c[-2,add][-2,delete][-2,modify][-2,query] c[-1,volume] s[-] , s[-m_]' -k volparams -- sc
>
>Unfortunately, what need to do with the second pattern set is say:
>
>if two words ago was one of 'add delete modify, or query', and one word ago
>was 'volume' and the current word starts with - or -m_, then match with any
>of the volparams array.  Unfortunately, the default precedence appears to and
>the c[-1,volume] and s[-] before the or'ing of s[-] , s[-m_].  Suggestions?

You could repeat the "c[-2,...] c[-1,volume]" part after the comma.

>This could end up being one of the longest compctl's ever built!

Have you looked at the gcc compctl in Misc/compctl-examples?

>                                                                  Which brings
>up another question:  what's the max length of one of these?

How much memory do you have?

-zefram


  reply	other threads:[~1997-02-24 20:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-02-24 16:33 John Harres
1997-02-24 20:11 ` Zefram [this message]
1997-02-24 20:31   ` John Harres
1997-02-24 23:43     ` Zefram

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=21287.199702242011@stone.dcs.warwick.ac.uk \
    --to=zefram@dcs.warwick.ac.uk \
    --cc=Harres@UWyo.Edu \
    --cc=zsh-users@math.gatech.edu \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).