zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>,
	zsh-workers@sunsite.auc.dk
Subject: Re: Time for an obscure completion question
Date: Tue, 11 Apr 2000 16:21:58 +0000	[thread overview]
Message-ID: <1000411162158.ZM5029@candle.brasslantern.com> (raw)
In-Reply-To: <200004110936.LAA04342@beta.informatik.hu-berlin.de>

On Apr 11, 11:36am, Sven Wischnowsky wrote:
} Subject: Re: Time for an obscure completion question
}
} Bart Schaefer wrote:
} 
} > foodatthe/    *at/ba
} 
} I changed the completion code to at least partly handle the mixture of 
} pattern-matching and match-specs some time ago. The patch comments out 
} the match-spec-number test in _match. With that you get `foodatthe/ba' 

That'll be close enough; thanks.

} > but [after C-x h] if I hit TAB the argument
} > gets erased and I'm left with
} > 
} > zsh% cd 
} >         ^ cursor here

This one is fixed now.

} > A similar thing happens here:
} > 
} > zsh% cd *at/ba<TAB><C-e><TAB><TAB><TAB>
} > zsh% cd  
} >          ^cursor
} > 
} > The first TAB gives "foodatthe/ba" and lists two completions; I hit C-e to
} > break out of menu completion (is there a better way?) and TAB again which
} > gives me the correction "foodatthe/Bar/" and again lists two completions.
} > Hit TAB again and there's a feep; hit TAB a third time and the argument
} > vanishes, replaced by a space.  I would have expected it to just keep on
} > feeping at me for as long as I bang on tab.
} 
} Both should be fixed now.

This second one still happens to me.  I've set a few more styles; what I
get now is:

zagzig[72] cd *at/ba<TAB><TAB>
zagzig[72] cd foodatthe/Bar/
Completing `local directories', `directories in cdpath', or `corrections'

There are no completions beneath the verbose output there.  At this point
if I hit TAB a third time, "foodatthe/Bar/" becomes " ".  I tried unsetting
cdpath, but that just changes the message to:

Completing `directory' or `corrections'

Here's the entire list of styles again:

zstyle :completion::complete:cd:: tag-order local-directories path-directories
zstyle ':completion:*' completer _oldlist _expand _complete _match _ignored _approximate _prefix
zstyle ':completion:*' file-sort modification reverse
zstyle ':completion:*' format 'Completing %d'
zstyle ':completion:*' group-name ''
zstyle ':completion:*' ignore-parents parent pwd ..
zstyle ':completion:*' list-colors ''
zstyle ':completion:*' match-original both
zstyle ':completion:*' matcher-list '' 'r:|[._-,]=* r:|=*' 'm:{a-zA-Z}={A-Za-z} r:|[._-,]=* r:|=*' 'r:|[._-,]=* r:|=* l:|=*'
zstyle ':completion:*' max-errors 2 numeric
zstyle ':completion:*' menu 'select=6'
zstyle ':completion:*' original true
zstyle ':completion:*' verbose true

And completion-related options (kshoptionprint format):

noalwayslastprompt    off
alwaystoend           on
noautolist            off
noautomenu            off
noautoparamkeys       off
noautoparamslash      off
noautoremoveslash     off
bashautolist          off
nobeep                off
chasedots             off
chaselinks            off
completealiases       off
completeinword        on
globcomplete          off
nolistambiguous       off
nolistbeep            off
listpacked            off
listrowsfirst         off
nolisttypes           off
magicequalsubst       off
menucomplete          off

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


  reply	other threads:[~2000-04-11 16:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-11  9:36 Sven Wischnowsky
2000-04-11 16:21 ` Bart Schaefer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-04-11  0:49 Bart Schaefer

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=1000411162158.ZM5029@candle.brasslantern.com \
    --to=schaefer@candle.brasslantern.com \
    --cc=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).