zsh-users
 help / color / mirror / code / Atom feed
From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh-users@zsh.org
Subject: Re: GLOB_COMPLETE and numbered directories
Date: Fri, 20 Mar 2015 04:16:37 +0000	[thread overview]
Message-ID: <20150320041637.GC5478@tarsus.local2> (raw)
In-Reply-To: <150319182127.ZM8231@torch.brasslantern.com>

Bart Schaefer wrote on Thu, Mar 19, 2015 at 18:21:27 -0700:
> On Mar 19, 11:18pm, Daniel Shahaf wrote:
> }
> 
> [RE completeinword]
> 
> } It seems to work if I use <Left-arrow> to move the cursor, but not if
> } I use <M-b> to move the cursor.  Details:
> } 
> } If I type "cat 1a/iota<Left><Left><Left><Left><Left><Left><TAB>", I get
> } "10a/iota" and "11a/iota" offered below the input line (as in the second
> } <TAB> press in your description).
> } 
> } However, if I type "cat 1a/iota<M-b><Left><Left><TAB>", nothing happens,
> } even if I press <TAB> a few more times.
> 
> I can't reproduce this with "zsh -o globcomplete -o completeinword -f"
> (and then compinit).
> 
> On the other hand <M-b> takes me all the way to "1" so I have to type
> "cat 1a/iota<M-b><Right>" to get to the correct place to TAB.  So you
> must have a diferent binding for M-b or a modified $WORDCHARS.

Neither.  Those results are in:

$ zsh -f
% autoload compinit; compinit; setopt globcomplete completeinword

and then entering "cat 1a/iota" and moving left.  I restarted the shell
before each attempt.  Using 'zsh -f' on zsh-5.0.7-348-gf48457a

Maybe it's a Debian patch to some dependency library?


  reply	other threads:[~2015-03-20  4:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-19  7:32 Daniel Shahaf
2015-03-19  9:16 ` Mikael Magnusson
2015-03-19 23:15   ` Daniel Shahaf
2015-03-19 16:06 ` Bart Schaefer
2015-03-19 23:18   ` Daniel Shahaf
2015-03-20  1:21     ` Bart Schaefer
2015-03-20  4:16       ` Daniel Shahaf [this message]
2015-03-20  1:02   ` Bart Schaefer
2015-03-20  4:25     ` Daniel Shahaf
2015-03-20 16:41       ` 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=20150320041637.GC5478@tarsus.local2 \
    --to=d.s@daniel.shahaf.name \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-users@zsh.org \
    /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).