Subject: Re: bug#5347: 23.1; M-x man: misreports absent man(1) as absent manpage.

From: "Trent W. Buck" <[email-masked]>
Date: Sun, 10 Jan 2010 15:30:38 +1100

Eli Zaretskii wrote:
>> I realize that.  This issue is because M-x man RET foo RET reports
>>     error in process sentinel: Can't find the foo manpage
>> but it should report something like
>>     error in process sentinel: Can't find man(1)
>
> It cannot know.

I don't understand why.  Surely it can (executable-find "man") or even
simply check the exit status (which will be 126 or 127 if man isn't
executable).