From: Mikael Magnusson <mikachu@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh workers <zsh-workers@zsh.org>
Subject: Re: PATCH Re: squeeze-slashes false not working?
Date: Sun, 15 May 2011 20:20:18 +0200 [thread overview]
Message-ID: <BANLkTik2GA3w6axwXqgP_5SyKv68kUGtTw@mail.gmail.com> (raw)
In-Reply-To: <110515111503.ZM8331@torch.brasslantern.com>
On 15 May 2011 20:15, Bart Schaefer <schaefer@brasslantern.com> wrote:
> On May 15, 12:12pm, Mikael Magnusson wrote:
> } Subject: Re: PATCH Re: squeeze-slashes false not working?
> }
> } On 15 May 2011 03:38, Bart Schaefer <schaefer@brasslantern.com> wrote:
> } > This change doesn't fix it for me. If I apply your patch and then set
> } > accept-exact-dirs yes, then //// completes things in the root between
> } > the first and second slashes, but I'm back to /home/// being treated
> } > as /home/. There must be something else going on.
> }
> } No idea what then. With /// (//// takes a bit too long), I get all
> } sorts of stuff completed, dev/disk/by-label/, proc/sys/debug/ etc.
>
> Are you starting from zsh -f and setting ONLY the accept-exact-dirs
> zstyle? Or are you referring to what happens with your full .zshrc?
Oops, that was with my full .zshrc, with zsh -f I get your results.
> } > As an additional observation, even without your patch if I do this:
> } >
> } > % mkdir /tmp/ff /tmp/ffzz
> } > % ls //ff/<TAB>
> } >
> } > I get silent failure. It completes /tmp if either I leave off the
> } > trailing slash, or if there is at least one file in one of the
> } > directories. I can't tell if this is the expected behavior or not.
> }
> } ---- no match for: `arg', `directories', `file', or `corrections'
>
> Yes, again I'm in zsh -f so I don't have any descriptions set up. This
> is what I suspected was the cause.
>
> What's confusing is that if the slash is auto-appended and therefore
> auto-removable, pressing TAB after the trailing slash works the same
> as in the case where you start with no trailing slash.
--
Mikael Magnusson
next prev parent reply other threads:[~2011-05-15 18:20 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-12 17:18 Mikael Magnusson
2011-05-13 18:17 ` Peter Stephenson
2011-05-13 18:23 ` Mikael Magnusson
2011-05-13 18:53 ` Peter Stephenson
2011-05-13 20:07 ` Mikael Magnusson
2011-05-14 5:58 ` PATCH " Bart Schaefer
2011-05-14 18:31 ` Mikael Magnusson
2011-05-14 18:45 ` Mikael Magnusson
2011-05-15 1:38 ` Bart Schaefer
2011-05-15 10:12 ` Mikael Magnusson
2011-05-15 18:15 ` Bart Schaefer
2011-05-15 18:20 ` Mikael Magnusson [this message]
2011-05-15 1:39 ` Bart Schaefer
2011-05-15 9:48 ` Mikael Magnusson
2011-05-15 10:01 ` Mikael Magnusson
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=BANLkTik2GA3w6axwXqgP_5SyKv68kUGtTw@mail.gmail.com \
--to=mikachu@gmail.com \
--cc=schaefer@brasslantern.com \
--cc=zsh-workers@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).