From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25437 invoked from network); 3 Sep 2004 14:52:37 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 3 Sep 2004 14:52:37 -0000 Received: (qmail 24183 invoked from network); 3 Sep 2004 14:52:29 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 3 Sep 2004 14:52:29 -0000 Received: (qmail 15453 invoked by alias); 3 Sep 2004 14:51:43 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7965 Received: (qmail 15438 invoked from network); 3 Sep 2004 14:51:42 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 3 Sep 2004 14:51:42 -0000 Received: (qmail 22795 invoked from network); 3 Sep 2004 14:50:43 -0000 Received: from rproxy.gmail.com (HELO mproxy.gmail.com) (64.233.170.199) by a.mx.sunsite.dk with SMTP; 3 Sep 2004 14:50:42 -0000 Received: by mproxy.gmail.com with SMTP id 74so2489rnl for ; Fri, 03 Sep 2004 07:50:40 -0700 (PDT) Received: by 10.38.59.69 with SMTP id h69mr26513rna; Fri, 03 Sep 2004 07:50:40 -0700 (PDT) Received: by 10.38.125.19 with HTTP; Fri, 3 Sep 2004 07:50:40 -0700 (PDT) Message-ID: Date: Fri, 3 Sep 2004 07:50:40 -0700 From: Felix Rosencrantz Reply-To: Felix Rosencrantz To: zsh-users@sunsite.dk Subject: completion for printf-style format strings Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=-0.0 required=6.0 tests=BAYES_40 autolearn=no version=2.63 X-Spam-Hits: -0.0 Does anyone have code to perform completion of printf-style format strings? I think it was suggested that it might be possible to do with _regex_arguments. but not sure if there is an example somewhere or a utility function. I'm not sure if such completion would help reduce typing, but being able to get a context based listing of possible values could help skip a trip to the documentation.. -FR.