zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: PATCH: Re: Completion for mutt
Date: Tue, 15 Feb 2000 13:20:49 +0100 (MET)	[thread overview]
Message-ID: <200002151220.NAA12815@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Ollivier Robert's message of Tue, 15 Feb 2000 12:49:25 +0100


Ollivier Robert wrote:

> > If you want to say that it doesn't complete the right thing after
> > loading the new completion system -- right, there doesn't seem to be a 
> > completion function for these commands.
> 
> I thought the new completion was compatible with the old one (i.e. having
> compctl would still work).

No, only on request nowadays...

> > If you want to say that after loading the new completion system the
> > compctl doesn't seem to be used -- right, see the function _default
> > in the Base subdirectory of the distribution. You can un-comment a
> > call to `compcall' there to make compctl's be used when there is no
> > completion function for a certain command.
> 
> I have uncommented this line but the old mutt completion rule still doesn't
> work.

I just tried, too, and after the fix in the patch below, it works for
me. What does `doesn't work' mean? Does it nothing?

> Now, I just found that what I used to make completion case-independent (see
> below) doesn't work anymore. With dev-16 it was still working.
> 
> compctl -M 'm:{a-z}={A-Z} m:{A-Z}={a-z}'
> 
> Now, I can't complete independantly of the case :-(

This has just changed (and for the new completion system using the
$compmatchers arrays was the preferred way for quite some time because 
that didn't load the compctl module). Now the `compctl -M' you gave
above is used only for compctls. The completion system uses the
_matcher completer, see the compsys manual/info (there is also a bit
of discussion about this going on...).

Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


             reply	other threads:[~2000-02-15 12:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-15 12:20 Sven Wischnowsky [this message]
2000-02-15 12:46 ` Ollivier Robert
2000-02-15 12:22 Sven Wischnowsky
2000-02-15 13:17 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=200002151220.NAA12815@beta.informatik.hu-berlin.de \
    --to=wischnow@informatik.hu-berlin.de \
    --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).