From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#45357: [PATCH] * lisp/man.el (Man-getpage-in-background): always use shell-file-name Date: Tue, 22 Dec 2020 17:14:23 +0200 Message-ID: <83zh25rhyo.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27349"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 45357@debbugs.gnu.org To: Nika Otiashvili Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 22 16:15:20 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1krjNe-0006wA-QT for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Dec 2020 16:15:18 +0100 Original-Received: from localhost ([::1]:47384 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krjNd-0003or-82 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Dec 2020 10:15:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60030) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krjNO-0003oS-5I for bug-gnu-emacs@gnu.org; Tue, 22 Dec 2020 10:15:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39141) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1krjNN-0006lB-SX for bug-gnu-emacs@gnu.org; Tue, 22 Dec 2020 10:15:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1krjNN-0001N9-NI for bug-gnu-emacs@gnu.org; Tue, 22 Dec 2020 10:15:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Dec 2020 15:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45357 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 45357-submit@debbugs.gnu.org id=B45357.16086500855238 (code B ref 45357); Tue, 22 Dec 2020 15:15:01 +0000 Original-Received: (at 45357) by debbugs.gnu.org; 22 Dec 2020 15:14:45 +0000 Original-Received: from localhost ([127.0.0.1]:50687 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1krjN7-0001MQ-0f for submit@debbugs.gnu.org; Tue, 22 Dec 2020 10:14:45 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1krjN3-0001MA-96 for 45357@debbugs.gnu.org; Tue, 22 Dec 2020 10:14:43 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:59592) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krjMy-0006dG-1P; Tue, 22 Dec 2020 10:14:36 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4864 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1krjMx-0002CX-Em; Tue, 22 Dec 2020 10:14:35 -0500 In-Reply-To: (message from Nika Otiashvili on Mon, 21 Dec 2020 23:24:13 +0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:196575 Archived-At: > From: Nika Otiashvili > Date: Mon, 21 Dec 2020 23:24:13 +0400 > > First time sending a patch to bug-gnu-emacs, not sure if this is the > correct format. > Please indicate any errors I made in my formatting of the email or the > attached patch file. In terms of formatting the patch, I see no problems with your submission. 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. OTOH, every Posix system I know about does have /bin/sh, so I'm curious what kind of system did you see where /bin/sh is absent. And finally, I don't think I understand the issue with .bashrc etc.: if you launch /bin/sh, it is not supposed to process these init files, they are processed by bash, zsh, and other shells. Could you please elaborate on the specific problems you had and tell more about your system configuration where you bumped into these problems? Thanks.