From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6281 invoked from network); 2 Dec 2005 16:59:58 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.0 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 2 Dec 2005 16:59:58 -0000 Received: (qmail 16902 invoked from network); 2 Dec 2005 16:59:46 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 2 Dec 2005 16:59:46 -0000 Received: (qmail 7358 invoked by alias); 2 Dec 2005 16:59:39 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9737 Received: (qmail 7349 invoked from network); 2 Dec 2005 16:59:39 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 2 Dec 2005 16:59:39 -0000 Received: (qmail 15919 invoked from network); 2 Dec 2005 16:59:39 -0000 Received: from vms040pub.verizon.net (206.46.252.40) by a.mx.sunsite.dk with SMTP; 2 Dec 2005 16:59:37 -0000 Received: from candle.brasslantern.com ([71.116.81.225]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0IQV00160R3PDUU0@vms040.mailsrvcs.net> for zsh-users@sunsite.dk; Fri, 02 Dec 2005 10:57:26 -0600 (CST) Received: from candle.brasslantern.com (IDENT:schaefer@localhost [127.0.0.1]) by candle.brasslantern.com (8.12.11/8.12.11) with ESMTP id jB2GvPru013285 for ; Fri, 02 Dec 2005 08:57:25 -0800 Received: (from schaefer@localhost) by candle.brasslantern.com (8.12.11/8.12.11/Submit) id jB2GvOHW013284 for zsh-users@sunsite.dk; Fri, 02 Dec 2005 08:57:24 -0800 Date: Fri, 02 Dec 2005 16:57:23 +0000 From: Bart Schaefer Subject: Re: _expand_word_and_keep of 'keeper suite' doesn't work In-reply-to: <87ek4wigsb.fsf@trews52.bothi.fi> To: "Zsh Users' List" Message-id: <1051202165723.ZM13283@candle.brasslantern.com> MIME-version: 1.0 X-Mailer: Z-Mail (5.0.0 30July97) Content-type: text/plain; charset=us-ascii References: <87iru9i1h6.fsf@trews52.bothi.fi> <1051201160536.ZM12180@candle.brasslantern.com> <87ek4wigsb.fsf@trews52.bothi.fi> Comments: In reply to Hannu Koivisto "Re: _expand_word_and_keep of 'keeper suite' doesn't work" (Dec 2, 12:39am) On Dec 2, 12:39am, Hannu Koivisto wrote: } Subject: Re: _expand_word_and_keep of 'keeper suite' doesn't work } } Bart Schaefer writes: } } > What are your zstyle settings? } } These: Hmm, none of those should have an adverse effect. Try this: autoload -U zed Run "zed -f _complete_debug" Scroll down to the line that reads "_main_complete" Replace that with "_expand_word_and_keep" Type ctrl-x ctrl-w to save Now, set up an expansion of the sort that fails to work as expected, but instead of your usual expand-word binding, type ctrl-x ? (yes, that's ctrl-x followed by a question mark). This should produce a trace file of the commands executed by the completion system, which you can examine to see whether "compadd -J" is ever being called. If you can't see what's wrong, post it somewhere accessible (or at worst, mail it to zsh-users) so we can have a look. Make sure it doesn't contain any sensitive data, first, of course.