GNU bug report logs - #10712
$MANPATH is ignored by man.el

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Fri, 3 Feb 2012 17:52:02 UTC

Severity: wishlist

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 10712 in the body.
You can then email your comments to 10712 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#10712; Package emacs. (Fri, 03 Feb 2012 17:52:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to jidanni <at> jidanni.org:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 03 Feb 2012 17:52:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: jidanni <at> jidanni.org
To: bug-gnu-emacs <at> gnu.org
Subject: $MANPATH is ignored by man.el
Date: Fri, 03 Feb 2012 23:17:17 +0800
When prompting for a man page, man.el doesn't offer completions for all
the names that it indeed can successfully find.

E.g., though
(man "Algorithm::GooglePolylineEncoding")
works fine,
you won't get any help typing it in using TAB completion.

That's because $MANPATH is ignored by man.el.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10712; Package emacs. (Fri, 03 Feb 2012 21:10:02 GMT) Full text and rfc822 format available.

Message #8 received at 10712 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 10712 <at> debbugs.gnu.org
Subject: Re: bug#10712: $MANPATH is ignored by man.el
Date: Fri, 03 Feb 2012 16:09:06 -0500
jidanni <at> jidanni.org wrote:

> That's because $MANPATH is ignored by man.el.

It uses man -k (aka apropos). Presumably your MANPATH includes things
that are not in your system's apropos database.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10712; Package emacs. (Fri, 03 Feb 2012 21:21:02 GMT) Full text and rfc822 format available.

Message #11 received at 10712 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 10712 <at> debbugs.gnu.org
Subject: Re: bug#10712: $MANPATH is ignored by man.el
Date: Fri, 03 Feb 2012 16:19:42 -0500
Glenn Morris wrote:

> It uses man -k (aka apropos).

bash_completion, on the other hand, does stat directories from
`man --path', and it's always seemed fast enough to me.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10712; Package emacs. (Mon, 06 Feb 2012 13:38:02 GMT) Full text and rfc822 format available.

Message #14 received at 10712 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 10712 <at> debbugs.gnu.org
Subject: Re: bug#10712: $MANPATH is ignored by man.el
Date: Mon, 06 Feb 2012 08:36:51 -0500
>> It uses man -k (aka apropos).
> bash_completion, on the other hand, does stat directories from
> `man --path', and it's always seemed fast enough to me.

There's no particularly strong reason why we use "man -k" other than
"that's what I started with".  So if you want to change that (after
24.1), that's fine, tho I think it's important to make sure it still
works on macosx.


        Stefan




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10712; Package emacs. (Fri, 07 Aug 2020 10:23:02 GMT) Full text and rfc822 format available.

Message #17 received at 10712 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: jidanni <at> jidanni.org
Cc: 10712 <at> debbugs.gnu.org
Subject: Re: bug#10712: $MANPATH is ignored by man.el
Date: Fri, 07 Aug 2020 12:22:39 +0200
jidanni <at> jidanni.org writes:

> When prompting for a man page, man.el doesn't offer completions for all
> the names that it indeed can successfully find.
>
> E.g., though
> (man "Algorithm::GooglePolylineEncoding")
> works fine,
> you won't get any help typing it in using TAB completion.
>
> That's because $MANPATH is ignored by man.el.

This was reported eight years ago, but when I try, say, `M-x man RET Xt
TAB', I get completions like

XTestCompareCurrentCursorWithWindow(3) 	XTestCompareCursorWithWindow(3)
XTestDiscard(3) 	XTestFakeButtonEvent(3)
XTestFakeKeyEvent(3) 	XTestFakeMotionEvent(3)
XTestFakeRelativeMotionEvent(3) 	XTestGrabControl(3)
XTestQueryExtension(3) 	XTestSetGContextOfGC(3)
XTestSetVisualIDOfVisual(3) 	XtAddActions(3)
XtAddCallback(3) 	XtAddCallbacks(3)
XtAddConverter(3) 	XtAddEventHandler(3)
XtAddExposureToRegion(3) 	XtAddGrab(3)

So I'm guessing that this has been fixed at some point, and I'm closing
this bug report.  If you're still seeing this, please reopen.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 10712 <at> debbugs.gnu.org and jidanni <at> jidanni.org Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 07 Aug 2020 10:24:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10712; Package emacs. (Sun, 09 Aug 2020 06:26:03 GMT) Full text and rfc822 format available.

Message #22 received at 10712 <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: 10712 <at> debbugs.gnu.org
Subject: Re: bug#10712: $MANPATH is ignored by man.el
Date: Sun, 09 Aug 2020 13:46:04 +0800
Yes, seems fixed now.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 06 Sep 2020 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 204 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.