[Bug: 21.4.21] tex-file
Stephen J. Turnbull
stephen at xemacs.org
Wed Apr 23 16:24:59 EDT 2008
Anatoli Kheifets writes:
> Dear Bug Team,
> I came across the following program on windows installation of
> Xemacs 21.4.21
> TeX mode commands tex-buffer, tex-region do not work
> Error message displayed
> Searching for program: No such file or directory, /bin/sh
Probably "/bin/sh" is hard-coded into tex-mode somewhere.
One to solve this is to install Cygwin (http://www.cygwin.com/) and
its bash shell package, and check that the program /bin/sh does exist
(with "ls /bin/sh"). If not, make a link to bash with "ln -s `which
I assume you are using the XEmacs AUCTeX package, since it is listed
in your system configuration. The AUCTeX package is in the process of
being upgraded. If it is a problem with AUCTeX, we'll try to make
sure that it is fixed in the upgrade.
To help us in this process, please confirm that you are using AUCTeX.
visit the TeX file that you had the problem with and type Ctrl-h f
tex-buffer RET. This will describe the function `tex-buffer'. Please
tell us the *full* file name including all directories that the
function was loaded from.
> On the other hand, shell command latex file.tex works OK
Which shell are you using? "echo %SHELL" or "echo $SHELL" should tell
you if you are using a Cygwin or MSYS shell.
More information about the XEmacs-Beta