zsh-workers
 help / color / mirror / code / Atom feed
From: Alexandre Duret-Lutz <duret_g@epita.fr>
To: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
Cc: zsh-workers@math.gatech.edu
Subject: Re: completion after //
Date: 20 Jan 2000 11:21:11 +0100	[thread overview]
Message-ID: <mvb1z7dyrfs.fsf@phobos.lrde.epita.fr> (raw)
In-Reply-To: Sven Wischnowsky's message of "Thu, 20 Jan 2000 10:23:47 +0100 (MET)"

>>> "Sven" == Sven Wischnowsky <wischnow@informatik.hu-berlin.de> writes:

[...]

 Sven>> ls ./////f{o/b/b/p<TAB>

 Sven> gives:

 Sven>> ls ./foo/bar/{baz/plop/

 Sven> I don't see a solution. But maybe it's seldom enough. Maybe we should
 Sven> add a comment about this in the docs.

[...]

I will try later not to rewrite PREFIX and SUFFIX but only the copies
of these used by _path_files.  Then,_path_files should complete
as if there no sequence of slashes, but since the line won't be modified,
I suppose the braces won't move.

Index: Doc/Zsh/compsys.yo
--- Doc/Zsh/compsys.yo Thu, 20 Jan 2000 10:18:01 +0100 Alexandre
+++ Doc/Zsh/compsys.yo Thu, 20 Jan 2000 11:10:30 +0100 Alexandre
@@ -1167,9 +1167,10 @@
 if it is set to tt(..), only `tt(..)' will be added.
 )
 item(tt(squeeze-slashes))(
-If set to `true', sequences of slashes (such as tt(foo//bar)) will 
-be rewritten with a single slash (tt(foo/bar)) when completing
-directory names.
+If set to `true', sequences of slashes (like in `tt(foo//bar)') will be
+rewritten with a single slash (`tt(foo/bar)') when completing directory
+names.  Using this style can confuse tt(zsh) if slashes get squeezed 
+before braces completion (e.g. when trying to complete `tt(//{etc)').
 )
 item(tt(stop))(
 If set to `true', the tt(_history_complete_word) bindable

-- 
Alexandre Duret-Lutz


  reply	other threads:[~2000-01-20 10:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-20  9:23 Sven Wischnowsky
2000-01-20 10:21 ` Alexandre Duret-Lutz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-01-21 13:55 Sven Wischnowsky
2000-01-19 16:42 Sven Wischnowsky
2000-01-20  9:12 ` Alexandre Duret-Lutz
2000-01-19  9:51 completion after ../ Tanaka Akira
2000-01-19 11:17 ` completion after // Alexandre Duret-Lutz

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=mvb1z7dyrfs.fsf@phobos.lrde.epita.fr \
    --to=duret_g@epita.fr \
    --cc=wischnow@informatik.hu-berlin.de \
    --cc=zsh-workers@math.gatech.edu \
    /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).