GNU bug report logs -
#13160
24.3.50; [PATCH] man page completion support beyond man-db
Previous Next
Reported by: Wolfgang Jenkner <wjenkner <at> inode.at>
Date: Wed, 12 Dec 2012 19:25:02 UTC
Severity: wishlist
Tags: patch
Found in version 24.3.50
Done: Stefan Monnier <monnier <at> iro.umontreal.ca>
Bug is archived. No further changes may be made.
Full log
Message #14 received at 13160 <at> debbugs.gnu.org (full text, mbox):
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
>
> different `man' construct their MANPATH from different places).
Yes. There's a bit in woman.el to attempt it and even
/etc/manpath.conf. But that misses aliases when the page lists two
names in its NAME part. In debian there's normally symlinks for such,
but it's possible they're only in the man index extracted by "lexgrog".
I reckoned it better to ask "man" what pages it knows, if it can give
its index in a reasonable way. The "whatis" program might be an
alternative, or it might be the same.
Wolfgang Jenkner <wjenkner <at> inode.at> writes:
>
> boot-scripts (7) [boot] - General description of boot sequence
Some version of man-db printed that for me, but the aliases or the
output have changed now.
> +(defvar Man-keyword-completion-twiddle
> + (cond
> + ;; man-db-* or man-*.
> + ((memq system-type '(gnu gnu/linux gnu/kfreebsd))
> + "^")
> + (t
> + ""))
You'd much prefer to avoid that. For a start `system-type' is probably
unreliable to distinguish the flavour of man. The outputs look close
enough / different enough for a single parse/split/etc.
> +tset, reset (1) - establish or restore terminal characteristics"
Thanks, I'll see if I can recognise some of those for my stuff too.
This bug report was last modified 12 years and 136 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.