From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9103 invoked by alias); 13 Sep 2016 19:49:24 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 21896 Received: (qmail 4965 invoked from network); 13 Sep 2016 19:49:24 -0000 X-Qmail-Scanner-Diagnostics: from mail-lf0-f42.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.215.42):SA:0(0.0/5.0):. Processed in 0.367948 secs); 13 Sep 2016 19:49:24 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE, SPF_PASS,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: jesper.nygards@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.215.42 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=MlaWYUCeMudvxYTj6WyLWrGuaJN1JsioYn3FsqthRiM=; b=wy3VoQEdCDA3mjLwANCMbk88zookd4ILJdZlLZo2pkPn4ca7zHcbEPByRJWYZE809x PKYfPK10WUNuHvW3u6BEWls49I+FZCBW5UdsI1tJ1VulGNdRz3omUv84zr8Zj+VR0/Ud AmyGvPrvgEaiTAoT9klccdqct7Za8uK/MgZ58z+iDyrpUapFBjG5dkHlTRZlKpTQ5O20 7u69I06mPS4GLNCeca453ibDKGnBP8tUTmPldEY3ktYg03Lf11jcFIM6OIfU0OukqREN 5Suwen+te0Qy2NSOnk8z80FNuwflP5DV1+PFDXjLZRw+v39mygE9rfY1tmk/drn7J2T0 xHrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=MlaWYUCeMudvxYTj6WyLWrGuaJN1JsioYn3FsqthRiM=; b=QypCwJs7ZqjDEtV1W5wxqSL5A5j84WlblZQL/1EYLGGsYvCgHnOlTKXHABOaFLgVrw y8e/GedMGMCdYG5uTiO+1kk/Mr/96IpJDTD6FgNDRORKI5bO0bXztLtDvVG7ERGbpuup rMiV3Ig2dSckO7KS1d8q300W3BL7WnE/ItL1EWwSUsuH2fk/zw0mvH9exoz55n4ytCf8 FFzyqsDGt7eMsdJphrZADnfytzrz/upoqCkU/4PDmyNkKdZzpVmKYsKr68lUTVQNKrkS gjJQ6sK7O1jPRi52fOWeomnrM/QnSivcrxdRlJqmz3PgUt9YiJJLoLA2J4aQeQGc0WKq M0eQ== X-Gm-Message-State: AE9vXwN/vw97ySNyjVDOUVuLp/a7FRT0KWm/Zz3m+uGWcTGJjUjUDF0UaBUH4xTII7SRrplzXnqPMIuIc4IFeQ== X-Received: by 10.25.212.5 with SMTP id l5mr6967399lfg.73.1473794287443; Tue, 13 Sep 2016 12:18:07 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <75335.1473713583@hydra.kiddle.eu> From: =?UTF-8?Q?Jesper_Nyg=C3=A5rds?= Date: Tue, 13 Sep 2016 21:18:06 +0200 Message-ID: Subject: Re: Three questions about a completer To: Zsh Users Content-Type: multipart/alternative; boundary=001a11412922f9b52f053c68781e --001a11412922f9b52f053c68781e Content-Type: text/plain; charset=UTF-8 Sorry, this was an oversight on my part. When reducing the problem, I had worked with a minimal .zshrc, and removed even the lines autoload -U compinit compinit So now, at least, I get the completion to trigger. However, I still have the same problem: hitting alt-e for menu-complete works, and hitting alt-E for reverse-menu-complete works as well, but switching direction doesn't: zsh puts a space after the alternative on the command line, indicating that there is only one matching alternative. And I interpret that to mean that it takes whatever happens to be on the command line after the initial menu-complete, and tries to match that against the list it gets from the invocation of reverse-menu-complete. Naturally, only the alternative already on the command line matches. So I suppose the problem is to make zsh realize it is calling "the same" completer, only reversing the direction of the listing. Is this possible to do? --001a11412922f9b52f053c68781e--