Helm: user-error: Can't find the ... manpage

Created on 31 Aug 2015  路  3Comments  路  Source: emacs-helm/helm

Hi,
cannot guess what's wrong here:

If I invoke

M-x helm-man-woman

I can choose a man page, it seems be found and processed but finally is not displayed but saying, e.g.:

Invoking man -l /usr/share/man/man1/emacs.1 in the background
Please wait: formatting the -l /usr/share/man/man1/emacs.1 man page...
/usr/share/man/man1/emacs.1 man page formatted
user-error: Can't find the /usr/share/man/man1/emacs.1 manpage

If I choose the same manpage using either

M-x man

or

M-x woman

while starting emacs with -q, the manpage gets rendered and displayed perfectly.

Would be great, if this could be traced down.
emelin

Btw: I followed the recommendation on the helm-webpage by adding this to my .emacs:

(add-to-list 'helm-sources-using-default-as-input 'helm-source-man-pages)

Most helpful comment

Guess you are on OS X, try (setq helm-man-format-switches "%s") and read the docstring of it.

All 3 comments

emelin [email protected] writes:

Hi,
cannot guess what's wrong here:

If I invoke

M-x helm-man-woman

I can choose a man page, it seems be found and processed but finally is not displayed but saying, e.g.:

Invoking man -l /usr/share/man/man1/emacs.1 in the background
Please wait: formatting the -l /usr/share/man/man1/emacs.1 man page...
/usr/share/man/man1/emacs.1 man page formatted
user-error: Can't find the /usr/share/man/man1/emacs.1 manpage

If I choose the same manpage using either

M-x man

or

M-x woman

while starting emacs with -q, the manpage gets rendered and displayed perfectly.

Would be great, if this could be traced down.

Can't reproduce here.
Please try from emacs-helm.sh.

Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997

Guess you are on OS X, try (setq helm-man-format-switches "%s") and read the docstring of it.

Your are absolutely right. So simple and solved!

Thank you so much, for pointing me there!

(Maybe it's worth hinting to that OS X specifics somewhere more prominently.)

Was this page helpful?
0 / 5 - 0 ratings