GNU bug report logs -
#5578
23.1.92; M-x man should consider $MANPATH when making completions
Previous Next
Reported by: jidanni <at> jidanni.org
Date: Sat, 13 Feb 2010 23:49:01 UTC
Severity: normal
Done: jidanni <at> jidanni.org
Bug is archived. No further changes may be made.
Full log
Message #14 received at 5578 <at> debbugs.gnu.org (full text, mbox):
On Sun, Feb 14, 2010 at 02:12:31PM +0800, jidanni <at> jidanni.org wrote:
> $ man -w whoami
> /usr/share/man/man1/whoami.1.gz
> $ man -k whoami
> whoami (1) - print effective userid
> $ man -w sa-update
> /home/jidanni/.spamassassin-tree/man/man1/sa-update.1p
> $ man -k sa-update
> $
>
> Well, OK, but to change things, the user must probably fiddle with
> /etc/manpath.config and run roots cronjob, when all he wants to do is
> expand the names and not look at the definitions...
Not at all. Run mandb as your ordinary user and then 'man -k' will
work.
You may only care about the names, but if M-x man currently searches
definitions as well then that means a number of users have almost
certainly got used to that, and 'man -k' seems like a reasonable way to
do that kind of thing. Having to make sure the database is up to date
seems like a not unreasonable price to pay, given that user manual
hierarchies are comparatively rare.
--
Colin Watson [cjwatson <at> debian.org]
This bug report was last modified 15 years and 97 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.