From: Phil Pennock <zsh-workers+phil.pennock@spodhuis.org>
To: Peter Stephenson <Peter.Stephenson@csr.com>
Cc: zsh-users@zsh.org
Subject: Re: _screen calls non-existent program
Date: Tue, 19 Oct 2010 19:11:48 -0400 [thread overview]
Message-ID: <20101019231148.GA69899@redoubt.spodhuis.org> (raw)
In-Reply-To: <20101019151344.5104c4fa@pwslap01u.europe.root.pri>
On 2010-10-19 at 15:13 +0100, Peter Stephenson wrote:
> On Tue, 19 Oct 2010 15:52:25 +0200
> Sebastian Stark <seb@biskalar.de> wrote:
> > I think it should be default, at least in the -X case, because in
> > this case -S is used to choose from existing sessions. (see my other
> > email).
>
> Might be easier to add it in all cases and assume the user knows what
> they're doing. We do that kind of thing elsewhere.
There is a problem with some of the parsing at present, don't have time
to fix myself but I'll note it here.
{ screen -dr } is handled as any-sessions, but that's just option
bundling. { screen -d -r } is matching on detached-sessions, but should
be any-sessions. The earlier -d is not changing the state, it's just an
assumption of bundling.
On a related note, "-x" is shown as taking attached-sessions. In fact,
-x is a parameterless option, simply turning on multi-display mode
(multiple clients all connected to the same screen session, possibly on
different windows, but not necessary). So { -x -r }, { -xr }, whatever,
they should all take any-sessions.
So if someone new to completion is encountering issues and wants to
explore, this is a good candidate to tackle, as you'd get to redo the
approach, not merely add or remove a line.
-Phil
prev parent reply other threads:[~2010-10-19 23:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-19 12:21 Sebastian Stark
2010-10-19 12:51 ` Frank Terbeck
2010-10-19 13:00 ` Sebastian Stark
2010-10-19 13:07 ` Mikael Magnusson
2010-10-19 13:48 ` Sebastian Stark
2010-10-19 12:58 ` Peter Stephenson
2010-10-19 13:52 ` Sebastian Stark
2010-10-19 14:13 ` Peter Stephenson
2010-10-19 23:11 ` Phil Pennock [this message]
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=20101019231148.GA69899@redoubt.spodhuis.org \
--to=zsh-workers+phil.pennock@spodhuis.org \
--cc=Peter.Stephenson@csr.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).