Subject: Re: bug#45357: [PATCH] * lisp/man.el (Man-getpage-in-background): always use shell-file-name

From: Michael Albinus <[email-masked]>
Date: Tue, 22 Dec 2020 19:50:05 +0100

Eli Zaretskii <[email-masked]> writes:

Hi,

> My problem is more a conceptual one: it is not trivial to replace
> /bin/sh with any other shell, because they work differently.  The
> command in question builds a complex shell command to run, and it
> isn't obvious that any user shell will be able to run it.

That's true. But we could require that shell-file-name points to a Posix
shell, if used in man.el.

Btw, if we were to change man.el, I'd rather propose to use
start-process-shell-command, instead of composing the command manually.

> Could you please elaborate on the specific problems you had and tell
> more about your system configuration where you bumped into these
> problems?

This question still stands, yes.

> Thanks.

Best regards, Michael.