From: Mikael Magnusson <mikachu@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: rsync --progress stops completion
Date: Fri, 19 Sep 2014 05:22:22 +0200 [thread overview]
Message-ID: <CAHYJk3TDimAc6WRoirx_3Lsj9p1CEjH7p=R2oqaoHM0AfJn87w@mail.gmail.com> (raw)
In-Reply-To: <140918190130.ZM8366@torch.brasslantern.com>
On 19 September 2014 04:01, Bart Schaefer <schaefer@brasslantern.com> wrote:
> On Sep 18, 9:36am, Bart Schaefer wrote:
>>
>> We could also consider this (I'm not sure what unexpected side-effects
>> there might be, particularly for completers that try multiple calls
>> to _arguments):
>>
>> else
>> + _message "$service cannot parse command line"
>> return 1
>> fi
>
> Indeed, the above causes a spurious warning from "su" completion. So
> I don't think I'll be committing that.
>
> While trying out a few completion functions that use repeated calls to
> _arguments, I encountered some miscellaneous bugs (I didn't try enough
> functions to pretend this is even close to all the bugs that may be
> lurking):
>
> _cryptsetup - offers all options when completing after "-", but will
> only allow one option to appear on the command line, as if all options
> are mutually exclusive.
>
> _quilt - returns 0 even when it finds no completions, breaking the
> zstyle fallback I suggested.
>
> _bzr - complains to stderr if bzr is not in $path
>
> _surfraw - complains to stderr if surfraw is not in $path
>
> The latter two make me think that _call_program should do something
> with stderr -- probably just throw it away, rather than make every
> caller add its own redirection.
If we're collecting _arguments bugs here, I noticed yesterday that while
typeset -<tab>
correctly completes options, typing something after and then going
back to the dash to complete, eg
typeset -<tab> foo is written here
just inserts a = sign.
--
Mikael Magnusson
next prev parent reply other threads:[~2014-09-19 3:22 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-16 15:00 Yuri D'Elia
2014-09-16 15:09 ` Vadim A. Misbakh-Soloviov
2014-09-16 17:50 ` Yuri D'Elia
2014-09-17 0:51 ` Bart Schaefer
2014-09-17 8:08 ` Yuri D'Elia
2014-09-17 15:51 ` Bart Schaefer
2014-09-18 9:42 ` Yuri D'Elia
2014-09-18 16:36 ` Bart Schaefer
2014-09-19 2:01 ` Bart Schaefer
2014-09-19 3:22 ` Mikael Magnusson [this message]
2014-09-19 11:40 ` Oliver Kiddle
2014-09-21 0:48 ` Bart Schaefer
2014-09-20 13:25 ` Yuri D'Elia
2014-09-20 18:20 ` Bart Schaefer
2014-09-21 16:43 ` Yuri D'Elia
2014-09-21 17:20 ` Bart Schaefer
2014-09-21 17:33 ` Yuri D'Elia
2014-09-21 19:38 ` Bart Schaefer
2014-09-21 20:27 ` Yuri D'Elia
2014-09-21 20:37 ` Yuri D'Elia
2014-09-21 22:07 ` Bart Schaefer
2014-09-21 22:29 ` Yuri D'Elia
2014-09-22 6:58 ` Bart Schaefer
2014-09-21 21:08 ` Bart Schaefer
2014-09-21 21:35 ` Yuri D'Elia
2014-09-21 21:54 ` typeset -g (was Re: rsync --progress stops completion) Bart Schaefer
2014-09-21 18:52 ` rsync --progress stops completion Yuri D'Elia
2014-09-21 18:59 ` Yuri D'Elia
2014-09-20 13:20 ` Yuri D'Elia
2014-09-23 14:23 ` Oliver Kiddle
2014-09-23 14:43 ` Peter Stephenson
2014-09-16 15:25 ` Vadim A. Misbakh-Soloviov
2014-09-16 16:28 ` 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='CAHYJk3TDimAc6WRoirx_3Lsj9p1CEjH7p=R2oqaoHM0AfJn87w@mail.gmail.com' \
--to=mikachu@gmail.com \
--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).