zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: "Zsh Hackers' List" <zsh-workers@sunsite.dk>
Subject: Re: Regression in braces completion
Date: Sat, 11 Oct 2008 21:32:49 -0700	[thread overview]
Message-ID: <081011213249.ZM29979@torch.brasslantern.com> (raw)
In-Reply-To: <20a807210810111932r1b32b746l3cca788a383e84ed@mail.gmail.com>

On Oct 11, 10:32pm, Vin Shelton wrote:
}
} $ ls abc{d<TAB>  ==>
} $ ls abcdef{
} 
} which is not correct.

Hmm.  Looking at _complete_debug output, "abc{d" has already become
"abcdef" before the first completer is even called.  In fact, it has
become that before _setup is even called.  Here we are, barely into
_main_complete:

: _main_complete:49:if; [[ automenu-unambiguous == tab* ]]
: _main_complete:59:if; [[ -z '' ]]
: _main_complete:60:then if; [[ -o equals ]]
: _main_complete:60:then if cmdand; compset -P 1 '='
: _main_complete:62:then elif; [[ abcdef != */* && a == \~ ]]
: _main_complete:70; _setup default

That's $PREFIX on line 62 and the curly brace is already missing.


  reply	other threads:[~2008-10-12  4:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-12  2:32 Vin Shelton
2008-10-12  4:32 ` Bart Schaefer [this message]
2008-10-12  7:10   ` Bart Schaefer
2008-10-12 19:42     ` Peter Stephenson
2008-10-12 22:47       ` Bart Schaefer
2008-10-13  9:04         ` Peter Stephenson
2008-10-13 15:43           ` Bart Schaefer
2008-10-13 16:27             ` Peter Stephenson
2008-10-13 16:56               ` Bart Schaefer
2008-10-14  4:37               ` PATCH (?) " Bart Schaefer
2008-10-14  8:45                 ` Peter Stephenson
2008-10-15  1:34                   ` Vin Shelton

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=081011213249.ZM29979@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --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).