zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
To: zsh-workers@sunsite.auc.dk (Zsh hackers list)
Subject: Correction oddity
Date: Thu, 16 Aug 2001 00:50:08 +0100	[thread overview]
Message-ID: <20010815235013.940CD14284@pwstephenson.fsnet.co.uk> (raw)

Can anybody (I can think of one possible candidate) explain what's going
on here?  I'm getting it with `appletviewer name<TAB>' (since this will
try to complete URLs and attempt to correct anything you type to the
appropriate form) which is using _java for completion, which is in turn
calling _urls.  This is from a completion debugging trace; I've wrapped
it by hand where the backslash is:

compadd:13:> compadd -M m:{a-zA-Z}={A-Za-z} -M corrections \
-X Completing corrections -M r:|[_-]=* r:|=* -D equal -
compadd:compadd:13: unknown match specification character `c'

Where did that -M before `corrections' come from?  That should be a -J,
I believe.  I've looked at the compadd function defined in _approximate,
the _urls function (we're at line 74,

    while _next_label prefixes expl 'URL prefix' -S '' "$@"; do

which looks innocuous) and thus far am none the wiser.  The matcher list
looks like

zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|[.,_-]=** r:|=**'

as you could probably guess.

I can send more detail but it's awfy large and I hope it's reproducible.
-- 
Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
Work: pws@csr.com
Web: http://www.pwstephenson.fsnet.co.uk


             reply	other threads:[~2001-08-15 22:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-15 23:50 Peter Stephenson [this message]
2001-08-16  0:16 ` Peter Stephenson
2001-08-16  8:05   ` PATCH: " Sven Wischnowsky

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=20010815235013.940CD14284@pwstephenson.fsnet.co.uk \
    --to=pws@pwstephenson.fsnet.co.uk \
    --cc=zsh-workers@sunsite.auc.dk \
    /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).