zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: yet another match-spec-cursor bug
Date: Wed, 3 May 2000 10:51:11 +0200 (MET DST)	[thread overview]
Message-ID: <200005030851.KAA23423@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Felix Rosencrantz's message of Tue, 2 May 2000 22:14:36 -0700 (PDT)


Felix Rosencrantz wrote:

> Sven Wischnowsky wrote:
> >I've tried quite a bit now, but can't reproduce it. And you didn't
> >give us much information, did you? ;-) For example, I guess you have a 
> >`r:[^A-Z0-9]||[A-Z0-9]=*', right?
> >
> >So, can you reproduce it with `zsh -f'?
> 
> Sorry not to provide more details.  I was thinking the problem might be
> closely related to the original patch.

It may be... although I'm not sure.

> I am able to get the same intermittent problem with "zsh -f".
> myprompt@ zsh -f
> host% mkdir j ; touch j/build.out{,1,2} ; cd j
> host% bindkey -e; autoload -U compinit; compinit -D
> host% zstyle ':completion:*:complete:*' matcher-list 'm:{a-zA-Z}={A-Za-z} 
> r:|[.,_-]=* r:[^A-Z0-9]||[A-Z0-9]=* r:[A-Z0-9]||[^A-Z0-9]=* r:[^0-9]||[0-9]=*'
> host% more bui<TAB>

Both `r:[^A-Z0-9]||[A-Z0-9]=*' and `r:[^0-9]||[0-9]=*' doesn't seem to 
make much sense, does it?

> If I try completing "bui", I rarely I get only "build" or  more often I get the
> following sequence after hitting tab:
>    bui --> build.out[] --> build[.]out --> build.out[] --> build.out1[]
>          --> build.out2[]
> 
> Most times I get the correct behavior.  Though within several attempts I get
> the
> described incorrect behavior.  

That's bad news: not always repeatable. I've tried it for quite some
time now and still can't reproduce it. I'll continue to try...

The fact that you don't always get it makes me think that it may be a
problem with an not-initialised variable or memory block. Do you have
configured with mem-debug?

What really irritates me is that it doesn't go into menu-completion on 
the second TAB. Hm.

Bye
 Sven


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


             reply	other threads:[~2000-05-03  8:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-03  8:51 Sven Wischnowsky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-05-05  5:53 Felix Rosencrantz
2000-05-04 14:52 Sven Wischnowsky
2000-05-03  5:14 Felix Rosencrantz
2000-05-02 11:39 Sven Wischnowsky
2000-05-02  5:18 Felix Rosencrantz
2000-04-28 12:40 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=200005030851.KAA23423@beta.informatik.hu-berlin.de \
    --to=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).