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

Previous Next

Package: emacs;

Reported by: Nika Otiashvili <nikaoto <at> gmail.com>

Date: Mon, 21 Dec 2020 20:42:02 UTC

Severity: normal

Tags: notabug, patch

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Nika Otiashvili <nikaoto <at> gmail.com>, 45357 <at> debbugs.gnu.org
Subject: bug#45357: [PATCH] * lisp/man.el (Man-getpage-in-background): always use shell-file-name
Date: Tue, 22 Dec 2020 19:50:05 +0100
Eli Zaretskii <eliz <at> gnu.org> 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.




This bug report was last modified 4 years and 209 days ago.

Previous Next


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