bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

man.el should avoid "sh"


From: Max Polk
Subject: man.el should avoid "sh"
Date: Fri, 16 Apr 2004 14:20:33 -0400 (EDT)

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.3.1 (i386-msvc-nt5.1.2600)
 of 2003-03-27 on buffy
configured using `configure --with-msvc (12.00)'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

Running emacs in Windows, by typing "M-x man ls" I get an error message
that "sh" is not found.

Here's a minor fix for man.el, line 618:

-            (start-process manual-program buffer "sh" "-c"
+            (start-process manual-program buffer shell-file-name "-c"

This replaces the hard-coded "sh" with the variable shell-file-name.  Notice
that just below this shell-file-name is used and not "sh" so maybe it got
fixed in one place but not the other.

My shell-file-name happens to be "c:/cyg/bin/bash.exe".

I don't believe this is a PATH issue, even if it is, "sh" should still
probably be avoided.

Thanks,  Max Polk






reply via email to

[Prev in Thread] Current Thread [Next in Thread]