From mboxrd@z Thu Jan 1 00:00:00 1970 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=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: (qmail 20071 invoked from network); 6 Apr 2020 01:01:42 -0000 Received-SPF: pass (primenet.com.au: domain of zsh.org designates 203.24.36.2 as permitted sender) receiver=inbox.vuxu.org; client-ip=203.24.36.2 envelope-from= Received: from ns1.primenet.com.au (HELO primenet.com.au) (203.24.36.2) by inbox.vuxu.org with UTF8ESMTPZ; 6 Apr 2020 01:01:42 -0000 Received: (qmail 5859 invoked by alias); 6 Apr 2020 01:01:35 -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: 24755 Received: (qmail 7795 invoked by uid 1010); 6 Apr 2020 01:01:35 -0000 X-Qmail-Scanner-Diagnostics: from mail-ot1-f51.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.2/25772. spamassassin: 3.4.4. Clear:RC:0(209.85.210.51):SA:0(-1.9/5.0):. Processed in 1.777079 secs); 06 Apr 2020 01:01:35 -0000 X-Envelope-From: schaefer@brasslantern.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.210.51 as permitted sender) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=nz13t0CyHr3Zv7j+adwrmbTY7LYN++3c0HnDOaMYzI8=; b=AYkXdpAOT/Ig2aSC4tPqNMRcNd+ThxseMssOrOzeb4xTX0MirDI3Tm01nOsnNSW2eM 761Fr2QVHRttypwzBXtwhOdzvy/hZak98QKbwn+y7sxnYubEN/oJcO7Q3TQ7OSPLMBJu P779rGbUCP9vFnsAHovn20vdRAqZeeKnRgSss1sN91YsgrzfCCEVMtcX6yq7T5GJBp1B c7tHmOvCW+nM3nTPz4ccqzyi5Tp2q9F+qQMWAeXJcM5aTfAz7YaunU0Wjoo77AX2z/98 Mt85DNJNUj+Jt0gIIXYtvx4T/Jj+GttDlzAcSFJO1s99ym5Wws8ryrd4Bpeg/2tAJ5+4 zqog== X-Gm-Message-State: AGi0PuaGqRiN8LOWYPosKG3BPq0d534LTtufEwEjQAOtazZVbvp2F+mI 2lVrj5iX4rlaMoBq8O1w1hgs9SD7j6p++j6hs7PzopLNUUs= X-Google-Smtp-Source: APiQypIVt94uFUyR/To7HbSguBRd8BDCAAcL4VIt9hP/89+E2kXem/W1cXISxzJbuW4KF2UMksJGinGQBkBquPitfo4= X-Received: by 2002:a9d:bf5:: with SMTP id 108mr16483568oth.260.1586134859364; Sun, 05 Apr 2020 18:00:59 -0700 (PDT) MIME-Version: 1.0 References: <20200406002612.GE9554@blackswan.r0t.uk> In-Reply-To: <20200406002612.GE9554@blackswan.r0t.uk> From: Bart Schaefer Date: Sun, 5 Apr 2020 18:00:48 -0700 Message-ID: Subject: Re: Separate sections for manuals: what am I missing? To: Zsh Users Content-Type: text/plain; charset="UTF-8" On Sun, Apr 5, 2020 at 5:27 PM Dave Woodfall wrote: > > Do I need to add some other option so that I get can get e.g. > printf(3)? Completion operates on a single word under normal circumstances. In order to get the manual from section 3, you have to place the section number in the word preceding the one you are currently completing. Although it's not impossible to get completion to insert "3 printf" or "--sections=3 printf", that's replacing one word with two, which potentially messes up menu completion etc. later. That is, pressing TAB repeatedly won't do what you expect any longer.