From: "Bart Schaefer" <schaefer@brasslantern.com>
To: Wayne Davison <wayned@users.sourceforge.net>,
Zsh Workers <zsh-workers@sunsite.dk>, Clint Adams <clint@zsh.org>
Subject: Re: _rsync duplicated options in completion
Date: Thu, 16 May 2002 17:10:40 +0000 [thread overview]
Message-ID: <1020516171040.ZM19537@candle.brasslantern.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0205151349520.26901-100000@phong.blorf.net>
In-Reply-To: <20020516021810.GA32147@dman.com>
On May 15, 1:52pm, Wayne Davison wrote:
} Subject: _rsync duplicated options in completion
}
} I've noticed that the _rsync completer duplicates most (all?) of the
} options. For instance, if I type "--include-f<TAB>" it lists one with
} a description and one without, but won't complete the option name any
} further.
The problem is that the `--' argument to _arguments is causing the
output from `rsync --help' to be merged with the long list of options
provided in the completion function itself. Instead of recognizing
that there are overlaps, every option is being presented twice.
There additionally seems to be a navigation problem with menu selection.
Complete after `rsync --' (so that all combinations of options are in
the menu) and then begin scrolling down. On an 80-column terminal, you
ventually come to a place where a blank line appears in the display. If
you scroll down across this, you can't scroll back up again; rather you
have to cycle off the bottom to get back to the top.
On May 15, 10:18pm, Clint Adams wrote:
}
} Perhaps the -- stuff should be removed if it can't coexist well.
Clearly there's a bug that needs fixing, probably related to the code
to coalesce identical descriptions for the same option.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
next prev parent reply other threads:[~2002-05-16 17:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-15 20:52 Wayne Davison
2002-05-16 2:18 ` Clint Adams
2002-05-16 17:10 ` Bart Schaefer [this message]
2002-05-18 16:46 ` Wayne Davison
2002-05-21 7:43 ` PATCH: " Sven Wischnowsky
2002-05-23 12:18 ` Sven Wischnowsky
2002-05-21 7:37 ` Sven Wischnowsky
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=1020516171040.ZM19537@candle.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=clint@zsh.org \
--cc=wayned@users.sourceforge.net \
--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).