zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Zsh Users <zsh-users@zsh.org>
Subject: Re: Separate sections for manuals: what am I missing?
Date: Sun, 5 Apr 2020 18:00:48 -0700	[thread overview]
Message-ID: <CAH+w=7YYgLxrbGfHCkyTvtot8nB==XcZ=LchCybGxE0-sw1=rg@mail.gmail.com> (raw)
In-Reply-To: <20200406002612.GE9554@blackswan.r0t.uk>

On Sun, Apr 5, 2020 at 5:27 PM Dave Woodfall <dave@tty1.uk> 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.

  reply	other threads:[~2020-04-06  1:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-06  0:26 Dave Woodfall
2020-04-06  1:00 ` Bart Schaefer [this message]
2020-04-06  1:02 ` dana
2020-04-06  1:14   ` Dave Woodfall
2020-04-06  1:45     ` dana
2020-04-06  5:26       ` Dave Woodfall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH+w=7YYgLxrbGfHCkyTvtot8nB==XcZ=LchCybGxE0-sw1=rg@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).