From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16269 invoked by alias); 16 Feb 2011 14:15:44 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 28769 Received: (qmail 20634 invoked from network); 16 Feb 2011 14:15:42 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at csr.com does not designate permitted sender hosts) Date: Wed, 16 Feb 2011 13:39:44 +0000 From: Peter Stephenson To: Subject: Re: Bug in user guide Message-ID: <20110216133944.787a3e2c@pwslap01u.europe.root.pri> In-Reply-To: References: <87ei7h2z52.fsf@ft.bewatermyfriend.org> <110210070431.ZM30121@torch.brasslantern.com> <20110215113720.67785fdb@pwslap01u.europe.root.pri> Organization: Cambridge Silicon Radio X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.103.11.49] X-Scanned-By: MailControl A_10_80_00 (www.mailcontrol.com) on 10.71.0.122 On Wed, 16 Feb 2011 21:33:07 +0800 cheer_xiao wrote: > 6.4.1 of User Guide > (http://zsh.sourceforge.net/Guide/zshguide06.html#l154) said > > There's an easy way of finding out what context you are in: at the > point where you want to complete something, instead type `^Xh', and it > will tell you. > > But it doesn't work here on my box. Nor was I able to find a > pre-binded keystroke to perform this action. (I tried keybind | egrep > '(context|completion)' .) Any hints? The binding is to _complete_help; see Completion/Base/Widget/_complete_help. It should be set up by default when compinit is run, though what happens after that is another matter. -- Peter Stephenson Software Engineer Tel: +44 (0)1223 692070 Cambridge Silicon Radio Limited Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom