zsh-workers
 help / color / mirror / code / Atom feed
From: Oliver Kiddle <opk@u.genie.co.uk>
To: Zsh workers <zsh-workers@sunsite.auc.dk>
Subject: Re: PATCH: _urls, _netscape, a seg fault and new completion thoughts
Date: Wed, 13 Oct 1999 16:34:23 +0100	[thread overview]
Message-ID: <3804A67F.C9F49FDE@u.genie.co.uk> (raw)
In-Reply-To: <199910131417.QAA10816@beta.informatik.hu-berlin.de>

Sven Wischnowsky wrote:
> 
> Partly this was caused by `_netscape' not declaring enough local
> parameters (`line' and `options' were missing). Or more precisely

I hadn't realised the significance of the part about line and options in
the documentation. It should possibly be made very clear in the
_arguments documentation that you need to declare line and opt_args
local.

> > Is there a good reason why I don't get a list of matches when
> > completing inside quotes? This is the general case not anything to do
> > with completing urls etc. e.g. cd 'm<tab> will complete to 'man/ but
> > if I added another directory beginning with m, nothing would happen - no
> > list. 
> Hm, this works for me -- unless you mean `cd man m<TAB>' which of
> course shouldn't work.

I did mean as I said. It still doesn't work (3.1.6-pws-6 on AIX or 3.1.6
on Linux). I tried it also with zsh -f;autoload -U compinit;compinit so
it isn't my setup files preventing it from working. Double quotes have
the same problem as single. Am I possibly missing a required option or
configuration key (or patch since pws-6)? Does anyone else have the same
problem?

One other thought I have relating to the new completion system stems
from the following line which I still have in my .zshrc:

compctl -M 'm:{a-z}={A-Z}'

It might be better if a configuration key was added to give a default
matching control.

The only other compctl line I have left in .zshrc is:
compctl -k '( )' true false
So to completely cleanse my setup of the old completion system I'd also
have to create a function which explicitly completes nothing.

Anyway, thanks Sven for those fixes

Oliver Kiddle


  reply	other threads:[~1999-10-13 15:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-13 14:17 Sven Wischnowsky
1999-10-13 15:34 ` Oliver Kiddle [this message]
1999-10-13 16:09   ` Bart Schaefer
1999-10-13 16:37     ` Bart Schaefer
  -- strict thread matches above, loose matches on Subject: below --
1999-10-14  6:43 Sven Wischnowsky
1999-10-13 14:22 Sven Wischnowsky
1999-10-13 12:11 Oliver Kiddle

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=3804A67F.C9F49FDE@u.genie.co.uk \
    --to=opk@u.genie.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).