zsh-workers
 help / color / mirror / code / Atom feed
From: Tanaka Akira <akr@jaist.ac.jp>
To: zsh-workers@sunsite.auc.dk
Subject: Re: completion with prefix which contains meta character.
Date: 06 Jan 2000 23:48:24 +0900	[thread overview]
Message-ID: <rsq66x76ytj.fsf@crane.jaist.ac.jp> (raw)
In-Reply-To: Sven Wischnowsky's message of "Thu, 6 Jan 2000 10:38:34 +0100 (MET)"

In article <200001060938.KAA17703@beta.informatik.hu-berlin.de>,
  Sven Wischnowsky <wischnow@informatik.hu-berlin.de> writes:

> But it should. At least I wanted to get the -P and -S be used
> literally (should be the most powerful, right?).

I agree. It's the most powerful way.

> Since I feel adventurous today, I even documented that.
> 
> And that rembslash() didn't make any sense at all.

Thanks.  Now compadd -P is useful even in these cases.  But I found
similar problem about compset -P.

Z:akr@is27e1u11% Src/zsh -f
is27e1u11% bindkey -e; autoload -U compinit; compinit -D; compdef _tst tst
is27e1u11% _tst () { compset -P '\*' && compadd xxx } 
is27e1u11% tst \*<TAB>

This completes nothing.

is27e1u11% _tst () { compset -P '\\\*' && compadd xxx }   
is27e1u11% tst \*<TAB>

This completes nothing, too.

If compset -P tries to match against unquoted form of prefix, former
should complete xxx.  If it tries to match against quoted form, latter
should complete xxx.  But both completes nothing.
-- 
Tanaka Akira


  reply	other threads:[~2000-01-06 14:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-06  9:38 Sven Wischnowsky
2000-01-06 14:48 ` Tanaka Akira [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-01-07 10:50 Sven Wischnowsky
2000-01-07  9:27 Sven Wischnowsky
2000-01-06 15:03 Sven Wischnowsky
2000-01-06 23:38 ` Tanaka Akira
2000-01-06  8:04 Tanaka Akira

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=rsq66x76ytj.fsf@crane.jaist.ac.jp \
    --to=akr@jaist.ac.jp \
    --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).