zsh-workers
 help / color / mirror / code / Atom feed
From: "Greg J. Badros" <gjb@moa.cs.duke.edu>
To: Zoltan Hidvegi <hzoli@cs.elte.hu>
Cc: zsh-workers@math.gatech.edu
Subject: Semantics of compctl -X
Date: Thu, 22 Aug 1996 19:35:19 -0400 (EDT)	[thread overview]
Message-ID: <Pine.SOL.3.93.960822185659.29379C-100000@moa.cs.duke.edu> (raw)
In-Reply-To: <199608222110.XAA16315@bolyai.cs.elte.hu>

It seems that the behaviour of -X "Explanation" compctl flag has changed
since 2.5.03.  It used to work like this:

compctl -X "Testing" howdy
howdy <tab>

- would give :  "Testing"

Now, in Zsh3, however, it appears to *not* echo anything unless it's got
something to complete.

My relevant options are autolist, automenu, completealiases.  In
particular, the old behaviour seems to be used by some of the example
completions:

compctl -k '(if of conv ibs obs bs cbs files skip file seek count)' \
	-S '=' -x 's[if=], s[of=]' -f - 'C[0,conv=*,*] n[-1,,], s[conv=]' \
	-k '(ascii ebcdic ibm block unblock lcase ucase swap noerror \
sync)' \
	-q -S ',' - 'n[-1,=]' -X '<number>'  -- dd

Where -X '<number>' won't appear for me.

Am I doing something noticeable wrong?  From the code it looks like the
behaviour has changed, but then this example completion seems wrong.  I'd
like the old behaviour to be an option, as well.

Greg J. Badros
http://www.cs.duke.edu/~gjb



  reply	other threads:[~1996-08-22 23:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-21 16:39 bug in 3.0.0? Matt Liggett
1996-08-21 19:14 ` Bart Schaefer
1996-08-22 21:10   ` Zoltan Hidvegi
1996-08-22 23:35     ` Greg J. Badros [this message]
1996-08-23 17:57       ` Semantics of compctl -X Zoltan Hidvegi

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=Pine.SOL.3.93.960822185659.29379C-100000@moa.cs.duke.edu \
    --to=gjb@moa.cs.duke.edu \
    --cc=hzoli@cs.elte.hu \
    --cc=zsh-workers@math.gatech.edu \
    /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).