zsh-workers
 help / color / mirror / code / Atom feed
From: "Jörg Sommer" <joerg@alea.gnuu.de>
To: zsh-workers@sunsite.dk
Subject: Re: globcomplete desctroys file completion
Date: Thu, 26 Feb 2009 00:24:04 +0000 (UTC)	[thread overview]
Message-ID: <slrngqbo94.u4a.joerg@alea.gnuu.de> (raw)
In-Reply-To: <20090225204844.08a39c17@pws-pc>

Hallo Peter,

Peter Stephenson <p.w.stephenson@ntlworld.com> wrote:
> On Wed, 25 Feb 2009 20:39:49 +0000
> Peter Stephenson <p.w.stephenson@ntlworld.com> wrote:
>> Indeed, comparing with the code in 4.2 (before the $Uopt stuff was added)
>> suggests it should probably be something like the following anyway,
>> though I don't have the set-up to test whether it helps here.
>
> Scratch that, it's simpler---we never want two -s's, we just want to
> ensure $ISUFFIX is there when needed.  This time I do have some evidence
> this is doing better things with GLOBCOMPLETE set than previously.

Now, there's a completion and looks good:

% print -l g*/d*/s*
git/debian/slrn
git/debian/slrn_1.0.0~pre2.orig.tar.gz
git/deborphan/src

(with globcomplete)

% print -l g/d/s<1st TAB>

% print -l git/deb/s<2nd TAB>
                    ^ cursor is here

% print -l git/deb/s<3rd TAB>
default
debian/     deborphan/

% print -l git/debian/slrn/<4th TAB>
default
debian/     deborphan/

% print -l git/debian/slrn_1.0.0\~pre2.orig.tar.gz<5th TAB>
default
debian/     deborphan/

% print -l git/deborphan/src/<6' TAB>
default
debian/     deborphan/

% print -l git/debian/slrn/
default
debian/     deborphan/

Except from that the menu list doesn't match the possible completions,
the completion offers all options. This fixes my problem. Thanks.

Schöne Grüße, Jörg.
-- 
IRC: Der [Prof. Andreas Pfitzmann, TU Dresden] hat gerade vorgeschlagen, sie
  sollen doch statt Trojanern die elektromagnetische Abstrahlung nutzen. Das
  sei nicht massenfähig, ginge ohne Eingriff ins System, sei zielgerichtet,
  und, der Hammer, das funktioniere ja bei Wahlcomputern schon sehr gut.


  reply	other threads:[~2009-02-26  0:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-21 14:18 Jörg Sommer
2009-02-21 19:16 ` Bart Schaefer
2009-02-22  0:57   ` Bart Schaefer
2009-02-25 20:39     ` Peter Stephenson
2009-02-25 20:48       ` Peter Stephenson
2009-02-26  0:24         ` Jörg Sommer [this message]
2009-02-26  1:30         ` Bart Schaefer
2009-02-26  4:12           ` Bart Schaefer
2009-02-26 10:49             ` Peter Stephenson
2009-02-22 20:36   ` Jörg Sommer
2009-02-23  2:25     ` 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=slrngqbo94.u4a.joerg@alea.gnuu.de \
    --to=joerg@alea.gnuu.de \
    --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).