From: Peter Stephenson <p.w.stephenson@ntlworld.com>
To: zsh-workers@zsh.org
Subject: Re: Backrefs in zstyle patterns
Date: Fri, 1 May 2015 21:51:14 +0100 [thread overview]
Message-ID: <20150501215114.2aaedba7@ntlworld.com> (raw)
In-Reply-To: <150501084552.ZM3199@torch.brasslantern.com>
On Fri, 1 May 2015 08:45:52 -0700
Bart Schaefer <schaefer@brasslantern.com> wrote:
> About a year ago in users/18572, I proposed this:
>
> setopt extendedglob
> zstyle -e '(#b)(:completion:*)' matcher-list \
> 'zstyle -a "word-$CURRENT$match" matcher-list reply'
>
> I'm fairly sure that worked then, but now it doesn't, as in, the pattern is
> never matched, not that $match is incorrect.
See what's going into pattry() in lookupstyle() and whether p->prog
looks different from what you get from a conditional comparison, and
whether it got compiled with extendedglob properly.
pws
prev parent reply other threads:[~2015-05-01 20:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-01 15:45 Bart Schaefer
2015-05-01 20:51 ` Peter Stephenson [this message]
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=20150501215114.2aaedba7@ntlworld.com \
--to=p.w.stephenson@ntlworld.com \
--cc=zsh-workers@zsh.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.
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).