zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.dk
Subject: insert-tab default
Date: Fri, 17 Aug 2001 11:48:34 +0200	[thread overview]
Message-ID: <15228.59506.385187.402442@gargle.gargle.HOWL> (raw)
In-Reply-To: <2837.998039990@csr.com>


Peter Stephenson wrote:

>   insert-tab
>   
>        The default value of this style is `true' unless when completing
>        inside the vared builtin command, where it defaults to `false'.
> 
> This appears to be `untrue'.  You need to set it to use it.  I don't know
> which is right.  It seems to work if I redefine complete-word as a trivial
> widget which runs zle .complete-word.

Oops.  That's from:

  zstyle -s ":completion:${curcontext}:" insert-tab tmp || tmp=no

in _main_complete.  Should we change the code or the docs?

> By the way, I was having some problem with another apparently trivial
> widget, expand-or-complete() { zle .expand-or-complete; }, which frequently
> made the shell crash.  Unfortunately, it doesn't do this with the default
> settings and I haven't traced what was doing it.

Hm, can't reproduce that.  Will keep trying...


Bye
  Sven

P.S.: longest=( ${(M)array:#${~${(O@)array//?/?}[1]}} )

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


  reply	other threads:[~2001-08-17  9:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-17  9:19 Peter Stephenson
2001-08-17  9:48 ` Sven Wischnowsky [this message]
     [not found] <15228.59487.241930.695@gargle.gargle.HOWL>
     [not found] ` <8501.998042232@csr.com>
2001-08-17 10:32   ` 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=15228.59506.385187.402442@gargle.gargle.HOWL \
    --to=wischnow@informatik.hu-berlin.de \
    --cc=zsh-workers@sunsite.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).