From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23518 invoked from network); 16 Jan 2008 21:04:15 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE autolearn=ham version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 16 Jan 2008 21:04:15 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 93661 invoked from network); 16 Jan 2008 21:04:08 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 16 Jan 2008 21:04:08 -0000 Received: (qmail 10822 invoked by alias); 16 Jan 2008 21:04:03 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24401 Received: (qmail 10810 invoked from network); 16 Jan 2008 21:04:02 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 16 Jan 2008 21:04:02 -0000 Received: from virusfilter.dotsrc.org (bifrost [127.0.0.1]) by spamfilter.dotsrc.org (Postfix) with ESMTP id 9928680307F6 for ; Wed, 16 Jan 2008 22:03:56 +0100 (CET) Received: from hu-out-0506.google.com (hu-out-0506.google.com [72.14.214.237]) by bifrost.dotsrc.org (Postfix) with ESMTP for ; Wed, 16 Jan 2008 22:03:56 +0100 (CET) Received: by hu-out-0506.google.com with SMTP id 28so1176092hug.11 for ; Wed, 16 Jan 2008 13:03:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; bh=3L+P77Y+uL9d5U8xzo0nZQkzhT0ub442lSWvdva1blA=; b=m5+N938Ms6/INvlxdCth51wFwrsDCW/eDSUbH7+TkxFhhmYFGjlDUymuOI5RogVejdFf07KaSVhtmlaKK37Z72+HU24M64bjVroF3eMVWIKNrHo6I1bRyIgSZiOcrM35CwZguLjoDRifwyn0zyoE4NvkyztfYHl/5bijWZOn700= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=qRnuokVfy10M8GjdwKyWa29QdbOe8puwNz7NaaGeNCROT9N9tP/cZB63DKxa9mUz7FdqPk9djIGiKulAHqiNJdgYKv2MybovLbsSjY51t3TzE+WuuatU2eMw3aFfT6OKP1pgE3bJ54kQqOq/8N8MA7dEOzpdD1i3FDngr9wuRXQ= Received: by 10.82.174.20 with SMTP id w20mr2232349bue.28.1200517435404; Wed, 16 Jan 2008 13:03:55 -0800 (PST) Received: by 10.82.174.9 with HTTP; Wed, 16 Jan 2008 13:03:55 -0800 (PST) Message-ID: <20a807210801161303m5c1d7d85o6ad5cbdee79b25c@mail.gmail.com> Date: Wed, 16 Jan 2008 16:03:55 -0500 From: "Vin Shelton" Sender: ethersoft@gmail.com To: "=?ISO-8859-1?Q?J=F6rg_Sommer?=" Subject: Re: Accept filename completion Cc: zsh-workers@sunsite.dk In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_18526_32776847.1200517435398" References: <237967ef0801140855w7d989540red9eeb7f83edca76@mail.gmail.com> X-Google-Sender-Auth: b2da2ed4024f02d9 X-Virus-Scanned: ClamAV using ClamSMTP ------=_Part_18526_32776847.1200517435398 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Jan 16, 2008 2:12 PM, J=F6rg Sommer wrote: > Hi Mikael, > > "Mikael Magnusson" wrote: > > On 14/01/2008, J=F6rg Sommer wrote: > >> Hi, > >> > >> how do I tell zsh that I take a completion? When I complete > >> /usr/s I get /usr/sbin. Pressing TAB again gives me > /usr/share, > >> but I want to see the files in /usr/sbin. How to do this? > > > > Press / > > That's not really useful when you complete something else than > directories. It there really nothing else than stop the completion and > start a new one? If I understand what you mean, perhaps accept-and-menu-complete does what you want? ls hello. hello.C hello.cpp hello.exe* hello.obj* then another yields: ls hello.C M-x accept-and-menu-complete yields: ls hello.C hello.cpp HTH, Vin ------=_Part_18526_32776847.1200517435398 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

On Jan 16, 2008 2:12 PM, J=F6rg Sommer &= lt;joerg@alea.gnuu.de> wrote:<= br>
Hi Mikael,

"Mikael Magnus= son" <mikachu@gmail.com>= ; wrote:
> On 14/01/2008, J=F6rg Sommer < joerg@alea.gnuu.de> wrote:
>> Hi,
>>
>> h= ow do I tell zsh that I take a completion? When I complete
>> /usr= /s<TAB><TAB> I get /usr/sbin. Pressing TAB again gives me /usr/= share,
>> but I want to see the files in /usr/sbin. How to do this?
&= gt;
> Press /<tab>

That's not really use= ful when you complete something else than
directories. It there really n= othing else than stop the completion and
start a new one?

If I understand what you mean, pe= rhaps accept-and-menu-complete does what you want?

ls hello.<TAB&= gt;
hello.C     hello.cpp   hello.exe*&nbs= p; hello.obj*

then another <TAB> yields:

ls hello.C

M-x accept-and-menu-complete yields:

ls he= llo.C hello.cpp
   
 HTH,
  Vin

------=_Part_18526_32776847.1200517435398--