zsh-workers
 help / color / mirror / code / Atom feed
From: Tanaka Akira <akr@jaist.ac.jp>
To: zsh-workers@sunsite.auc.dk
Subject: Re: Completion problems.
Date: 07 Aug 1999 03:53:42 +0900	[thread overview]
Message-ID: <rsq907orb9l.fsf@crane.jaist.ac.jp> (raw)
In-Reply-To: Sven Wischnowsky's message of "Wed, 4 Aug 1999 11:37:32 +0200 (MET DST)"

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

> I see two ways to go: 1) completely change the completion code to
> report strings in unquoted form or 2) add a parameter expansion
> modifier which does something like the opposite of `:q'.
> Unfortunately, 1) is extremly hard and error-prone.

I think that (1) is right way though I didn't know it's extremly hard
because I'm not know the code internal well.

(2) is good and it is required for implementation of completers if (1)
is realized. But it is also useful for current completers. Thanks.

> I don't understand you here, sorry. Oh, after reading further: do you
> suggest something like the `opposite-of-:q'-thing or a builtin to work 
> on quoted/unquoted strings?

Yes.
# Sorry for my bad English.

> Also: changing a'#' to a\# is intentional and was discussed -- see
> 6400 and follow-ups (especially 6460 for this example). 

Ok, I understand. I didn't think match specs.  But... is this
intentional?

Z:akr@is27e1u11% zsh-3.1.6-pws-1 -f
is27e1u11% autoload -U compinit; compinit -D; compdef _tst tst
is27e1u11% _tst () { compset -P '*/'; compadd tst }
is27e1u11% var=val
is27e1u11% tst 'a'$var/<TAB>

-> 

is27e1u11% tst 'a$var/tst' 

# My reply may be slow, since I'm bit busy now, 
-- 
Tanaka Akira


  parent reply	other threads:[~1999-08-06 18:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-04  9:37 Sven Wischnowsky
1999-08-04 17:00 ` Bart Schaefer
1999-08-06 18:53 ` Tanaka Akira [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-08-09  9:58 Sven Wischnowsky
1999-08-05 10:56 Sven Wischnowsky
1999-08-04  7:36 Sven Wischnowsky
1999-08-02 10:58 Sven Wischnowsky
1999-08-02 18:03 ` Tanaka Akira
1999-07-27  9:53 Tanaka Akira
1999-04-27 16:12 completion problems Sven Wischnowsky
1999-04-28 20:32 ` Tanaka Akira
1999-04-28 21:45   ` Vin Shelton
1999-04-27 14:26 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=rsq907orb9l.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).