From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 236bdad3 for ; Wed, 16 Oct 2019 00:26:20 +0000 (UTC) Received: (qmail 24154 invoked by alias); 16 Oct 2019 00:26:11 -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: List-Unsubscribe: X-Seq: 24350 Received: (qmail 18152 invoked by uid 1010); 16 Oct 2019 00:26:11 -0000 X-Qmail-Scanner-Diagnostics: from mail-io1-f54.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.0/25601. spamassassin: 3.4.2. Clear:RC:0(209.85.166.54):SA:0(-1.9/5.0):. Processed in 2.315623 secs); 16 Oct 2019 00:26:11 -0000 X-Envelope-From: dana@dana.is 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.166.54 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dana-is.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=kXZ1YdI+11CFQ8Qs1TF8KD0kIoxb/T6I/M4dXo71xqg=; b=qg7tIbpBOBfNahZqLdezNTWGHg3yjBKbIKi3HhBq98OoYGez27jhJITeT84aDC9UAG NqcPuvOBVoP18g/oKaO3/P4wd2ivk6KWvU+Ei0wr3r6WxpdpW4u3UWQdZbfco/2CUwQ5 vFWOoPLlZCORVUhNqow7YiYU2WhXGbsK31AAQLVeYSx6+58J0HNiYogoZjJyUDVW+yUz WTYQpa0tqg11c+AzWzbJhKcl/k7vgQWVDv1XtjK1N82beco2HL+vlOWRiZkQNdhodZta enDlBwK/qI3fenQPjxYQZ/BQjok7BRfBR2n+Mvjy1dhzO2r4mA1qUu74n0CCPokHoy3y U5CQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=kXZ1YdI+11CFQ8Qs1TF8KD0kIoxb/T6I/M4dXo71xqg=; b=iT+gGnNGYWy1nqU9pEWn/UF/3NdpxLp+7+3LF9l/50eohdJRJZVEGsy1xhgcqGiMBf wgowV9kZ6ARidxbjrTyEjuxdTN7LeAOROPTgCELC8EEI/p8IfPvq7KztjgK11DcRJHrr MxXOsXRHSRSwo9i/8lvGy+9/UWD11Lab98gZbhbegXic2MtGBCes8mk8WWljO5lJSnzn WZOCRr4XNnWC3wD42u11TvgAwc0Hgqm2OVgNf0Ufj9bYKYUSkrgjU+LYEeGVNE7VDWBn C/ZutZI2kFosuAAqhe7OAptQ1CyrUEB1Stk56uAE8QXtfirO3A172NuWcuixLRSYUi4G m2ZQ== X-Gm-Message-State: APjAAAXOgTodu0tOjyooIrZ7e0FEuhUotBxQNkPzZ9B0gGndVVHD8SgL n0Hnah6q2lSd8PFoKuqblOMizXKj0w6dXQ== X-Google-Smtp-Source: APXvYqy2jtAPnZuarB4Eql3740nwUlWMZ96hm86QoVKCaC0Zr/8+FUN3TNPcQZTmmcU3hxWw2o5DRg== X-Received: by 2002:a02:3541:: with SMTP id y1mr35272096jae.65.1571185535150; Tue, 15 Oct 2019 17:25:35 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: menu select suggestion From: dana In-Reply-To: <1ACCA23A-15B5-4186-811A-3B4A5692C952@easesoftware.com> Date: Tue, 15 Oct 2019 19:25:33 -0500 Cc: zsh-users@zsh.org Content-Transfer-Encoding: quoted-printable Message-Id: <31896CB0-DB88-45F0-9FE3-B90685BC2D29@dana.is> References: <1ACCA23A-15B5-4186-811A-3B4A5692C952@easesoftware.com> To: Perry Smith X-Mailer: Apple Mail (2.3445.104.11) On 15 Oct 2019, at 12:32, Perry Smith wrote: > Is there a section in the man pages or the manual that describes the > various user interfaces? The completion documentation is spread across several different pages. zshoptions describes the shell options that control completion (you may = be interested in menu_complete, which affects the tab behaviour you = mentioned): http://zsh.sourceforge.net/Doc/Release/Options.html#Completion-2 zshcompsys describes the styles (settings) that control completion, = including the `menu` one you mentioned (try Ctrl+F `menu completion`), amongst = other things: http://zsh.sourceforge.net/Doc/Release/Completion-System.html zshmodules describes the zsh/complist module, which provides some of the fancier completion functionality (including menu selection): = http://zsh.sourceforge.net/Doc/Release/Zsh-Modules.html#The-zsh_002fcompli= st-Module Those three probably answer whatever questions you have about the actual = UI, but there are also a few others: zshcompwid describes how compadd and widgets work: http://zsh.sourceforge.net/Doc/Release/Completion-Widgets.html zshzle describes ZLE, which is the line editor that handles key bindings = and widget definitions: = http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Zsh-Line-Edito= r zshcompctl describes the old completion system (compctl). You should = never use this, so i won't bother linking it, but if you come across it in your = studies, that's what it is. The complex nature of the documentation reflects the fact that the = completion system is spread across several different components, and the way they = all fit together, and the terminology they use, can be confusing. For example, = AFAIK, the menu_complete option doesn't really have anything to do with the = menu completion we're talking about here, and menu selection is yet another = thing. I definitely can't claim to understand all of it myself dana