From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: Re: man.el fails with csh (Re: Patch: Re: man.el should avoid "sh") Date: 30 May 2004 16:13:51 +0200 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <20040530.211043.71099567.higamasa@dream.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1085922754 10195 80.91.224.253 (30 May 2004 13:12:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 30 May 2004 13:12:34 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 30 15:12:27 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BUQ71-0000B1-00 for ; Sun, 30 May 2004 15:12:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BUQ79-00036p-B9 for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 May 2004 09:12:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BUQ77-00036h-O8 for bug-gnu-emacs@gnu.org; Sun, 30 May 2004 09:12:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BUQ75-00036H-23 for bug-gnu-emacs@gnu.org; Sun, 30 May 2004 09:12:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BUQ74-000368-VK for bug-gnu-emacs@gnu.org; Sun, 30 May 2004 09:12:30 -0400 Original-Received: from [207.232.27.5] (helo=WST0054) by monty-python.gnu.org with asmtp (Exim 4.34) id 1BUQ6T-0004SQ-S3; Sun, 30 May 2004 09:11:54 -0400 Original-To: Masakazu HIGAKI In-reply-to: <20040530.211043.71099567.higamasa@dream.com> (message from Masakazu HIGAKI on Sun, 30 May 2004 21:10:43 +0900 (JST)) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list 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.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:8079 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:8079 > Date: Sun, 30 May 2004 21:10:43 +0900 (JST) > From: Masakazu HIGAKI > > Man.el has been fixed on 2 May but this fix may not work correctly > when csh is used as default shell or emacs is invoked from csh. Thank you for your report, but in the future, please send bug reports about the CVS version to emacs-pretest-bug@gnu.org (the command "M-x report-emacs-bug" will do that for you automatically). > The fix makes man.el use a shell defined by shell-file-name variable > to invoke external commands in Man-filter-list > but a csh-like shell cannot accept the command lines specified > in Man-filter-list. > > So, please consider: > - introducing a routine to choose a sh-like shell instead of csh-like shells > or > - changing Man-filter-list so that csh-like shells accept I think we simply should change man.el so that it uses shell-file-name only on non-Posix platforms, and otherwise always "/bin/sh".