From owner-ntemacs-users@june  Sun Sep  8 16:45:35 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Mon" " 9" "September" "1996" "08:51:50" "+1000" "James Macnicol" "cmpeng7@chrome.anu.edu.au" nil "23" "AUC-TeX && 19.33" "^From:" nil nil "9" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.7.5/7.2ju) with SMTP id QAA28802 for <voelker@june.cs.washington.edu>; Sun, 8 Sep 1996 16:45:34 -0700
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id QAA15533 for <voelker@joker.cs.washington.edu>; Sun, 8 Sep 1996 16:45:31 -0700
Received: from chrome.anu.edu.au. (chrome.anu.edu.au [150.203.166.79]) by june.cs.washington.edu (8.7.5/7.2ju) with ESMTP id PAA25773 for <ntemacs-users@cs.washington.edu>; Sun, 8 Sep 1996 15:51:54 -0700
Received: from mute.anu.edu.au. (mute [150.203.166.81]) by chrome.anu.edu.au. (8.7.3/8.7.3) with ESMTP id IAA10797 for <ntemacs-users@cs.washington.edu>; Mon, 9 Sep 1996 08:51:52 +1000 (EST)
Received: (from cmpeng7@localhost) by mute.anu.edu.au. (8.7.3/8.7.3) id IAA10190 for ntemacs-users@cs.washington.edu; Mon, 9 Sep 1996 08:51:51 +1000 (EST)
Message-Id: <199609082251.IAA10190@mute.anu.edu.au.>
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
From: James Macnicol <cmpeng7@chrome.anu.edu.au>
To: ntemacs-users@cs.washington.edu
Subject: AUC-TeX && 19.33
Date: Mon, 9 Sep 1996 08:51:50 +1000 (EST)

Hello,

	I have just upgraded from version 19.30 of emacs (on W95) to
19.33.  I had the AUC-TeX enhanced LaTeX editing package running
happily with 19.30 however after I did the upgrade things don't work
right.  I must manually load the package by changing the mode of the
scratch buffer by typing "M-x latex-mode" then load the file I want
to edit.  It does not work if you simply try to load the file first.
It complains about not being able to find tex.el.  This is weird since
I assume my load path is set up correctly or else I couldn't load it
under any circumstances.

	Anyone know what's wrong?



Thanks.


--
James Macnicol
J.Macnicol@student.anu.edu.au
http://goblet.anu.edu.au/~m9305357/home.html

From owner-ntemacs-users@june  Wed Sep  4 07:51:23 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Wed" " 4" "September" "1996" "15:33:31" "+0200" "Holger Mueller" "holger@vtx.muc.bmw.de" nil "56" "Re \"spawning child process: invalid argument\" in NT emacs 19.34" "^From:" nil nil "9" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.7.5/7.2ju) with SMTP id HAA13517 for <voelker@june.cs.washington.edu>; Wed, 4 Sep 1996 07:51:23 -0700
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id HAA16787 for <voelker@joker.cs.washington.edu>; Wed, 4 Sep 1996 07:51:20 -0700
Received: from scf.bmw.de (scf.bmw.de [192.109.190.5]) by june.cs.washington.edu (8.7.5/7.2ju) with SMTP id GAA10382 for <ntemacs-users@cs.washington.edu>; Wed, 4 Sep 1996 06:57:15 -0700
Received: from mailhub.muc by scf.bmw.de (AIX 4.1/UCB 5.64/4.03)           id AA48878; Wed, 4 Sep 1996 15:57:14 +0200
Received: from bmwsys.muc by mailhub.muc; Wed, 4 Sep 96 15:55:40 +0200
Received: from vtx.muc by bmwsys.muc (4.1/SMI-4.1) 	id AA28013; Wed, 4 Sep 96 15:57:13 +0200
Received: by vtx.muc (940816.SGI.8.6.9/930416.SGI) 	 id PAA16069; Wed, 4 Sep 1996 15:33:31 +0200
Message-Id: <199609041333.PAA16069@vtx.muc>
From: Holger Mueller <holger@vtx.muc.bmw.de>
To: ntemacs-users@cs.washington.edu
Cc: ckwang@umich.edu
Subject: Re "spawning child process: invalid argument" in NT emacs 19.34
Date: Wed, 4 Sep 1996 15:33:31 +0200

I had the same problems a few weeks ago. 
I got the following help from Ulrich Poetter:

------- Start of forwarded message -------
Date: 	Wed, 21 Aug 1996 16:42:25 +0200
From: Ulrich Poetter <poetter@em.uni-frankfurt.de>
X-Mailer: Mozilla 3.0b5aGold (WinNT; I)
Mime-Version: 1.0
To: Holger Mueller <holger@vtx.muc.bmw.de>
Subject: Re: problems with auctex
References: <199608210828.KAA14102@vtx.muc>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Holger Mueller wrote:
> 
> Hello!
> 
> I have installed NT Emacs 19.31 on my Win95. Furthermore I installed
> AUC-TeX 9.5a completely. So far, it works pretty good. But if I try to
> execute TeX/LaTeX via ->Command ->LaTeX (with an open TeX Buffer!) I get
> the error message "Spawing child process: invalid argument". I receive
> the same error message, if I try to start the Emacs server with "M-x
> server-start".  My "SHELL" environment variable is set to "command".
> 
> I don't know if this stuff is not yet implemented in this Emacs version
> for Win95, because I haven't read this mailing list since month.
> 
> I don't know whats it problem with it, so pleeeeease help!
> 
> Thanx Holger

The problem stems from a wrong setting of the shell options in auctex
when using NTemacs. auctex assumes "/bin/sh" unless (system-type) is
ms-dos. But (system-type) in NTemacs is windows-nt. To overcome the
problem put the following in your .emacs or tex-site:
(setq TeX-shell "YOUR-SHELL")
(setq TeX-shell-command-option "/C") ;if you use command ord cmd
You also have to change the function
TeX-directory-absolute-p in tex.el. In its definition change the
(memq ..) line to include windows-nt and recompile.
Hope that helps
Uli

------- End of forwarded message -------

Hope that helps too
Holger

-- 
==================================================================
Holger Mueller                          Telefon:  +49 89 382-48852
BMW AG Muenchen, Abt. EW-1                  Fax:  +49 89 382-48847
80788 Muenchen                            Email: holger@vtx.bmw.de
Germany          http://www.emk.e-technik.th-darmstadt.de/~mueller
==================================================================

From owner-ntemacs-users@june  Tue Nov 12 08:14:15 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Tue" "12" "November" "1996" "08:15:49" "-0700" "John Jones" "jj@spline.la.asu.edu" nil "50" "Re: Spawning child processes under Windows 95" "^From:" nil nil "11" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.7.6/7.2ju) with SMTP id IAA15971 for <voelker@june.cs.washington.edu>; Tue, 12 Nov 1996 08:14:15 -0800
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id IAA27038 for <voelker@joker.cs.washington.edu>; Tue, 12 Nov 1996 08:14:13 -0800
Received: from spline.la.asu.edu (spline.la.asu.edu [129.219.44.112]) by june.cs.washington.edu (8.7.6/7.2ju) with SMTP id HAA13154 for <ntemacs-users@cs.washington.edu>; Tue, 12 Nov 1996 07:18:43 -0800
Received: (from jj@localhost) by spline.la.asu.edu (8.6.9/8.6.9) id IAA06052; Tue, 12 Nov 1996 08:15:49 -0700
Message-Id: <199611121515.IAA06052@spline.la.asu.edu>
In-Reply-To: <9611120657.AA02955@bkmf3>
References: <9611120657.AA02955@bkmf3>
Reply-To: jj@asu.edu
Mime-Version: 1.0 (generated by tm-edit 7.93)
Content-Type: text/plain; charset=US-ASCII
From: John Jones <jj@spline.la.asu.edu>
To: ntemacs-users@cs.washington.edu
Subject: Re: Spawning child processes under Windows 95
Date: Tue, 12 Nov 1996 08:15:49 -0700

Eyssele Helmut writes:

 > Hallo ntemacs-users, I am installing the package AUC-TeX
 > in ntemacs 19.34 under Windows 95.  After some
 > customizations in the AUC-TeX *.el files I could run
 > latex from emacs with the command C-c C-c LaTeX
 > interactive (I use the mikTeX package from Christian
 > Schenk). But when I start the previewer YAP (yet another
 > previewer) with the command C-c C-c View and try after-
 > wards running latex again I get from emacs:

 > 	Spawning child process: resource temporarily unavailable

 > Does the emacs can create only one subprocess by calling
 > command.com?  When not, does anyone know, how one can
 > start more than one subshell?

I don't use auctex, but I don't think that is part of the
problem.  You should change your view command to "start yap"
in place of "yap".  That is the NT way of running a
background process.  I haven't tried this with yap since I
use dviwin (which is much better, IMHO).

  I also went into tex-mode.el and made a few changes.  It
assumes that certain commands should be run in the
background and puts an "&" at the end of the line.  NT
didn't like that, so I took it out.  Ideally, it should
check for a NT-or-Unix variable and prepend with
start/append & accordingly.

  I also found that map-ynp.el needed a little fixing.  If
you run (la)tex on a file from the menu-bar with buffers
unsaved, it gives an error message.  The problem is that it
wants to pop-up a dialog box to ask about saving buffers,
and pop-ups are not supported yet in ntemacs.  If you change
map-ynp.el(c) to work around this (i.e., to never pop up a
dialog), you need to reload it from .emacs; it seems to be
preloaded into the executable.  This will be moot with the
next version which will support pop-ups, right?
 

                                 John Jones


---------------------------------------------------------------
Department of Mathematics               Office:  PSA 729
Arizona State University                Phone:   965-3725
Tempe, AZ    85287-1804                 FAX:     965-8119
URL: http://math.la.asu.edu/~jj         e-mail:  JJ@asu.edu
---------------------------------------------------------------

From owner-ntemacs-users@june  Tue Nov 12 16:24:22 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Tue" "12" "November" "1996" "15:43:29" "-0800" "Roger Germundsson" "germund@isl.stanford.edu" nil "35" "AucTeX and Emacs" "^From:" nil nil "11" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.7.6/7.2ju) with SMTP id QAA00272 for <voelker@june.cs.washington.edu>; Tue, 12 Nov 1996 16:24:22 -0800
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id QAA01946 for <voelker@joker.cs.washington.edu>; Tue, 12 Nov 1996 16:24:21 -0800
Received: from coffee.Stanford.EDU (coffee.Stanford.EDU [36.60.0.11]) by june.cs.washington.edu (8.7.6/7.2ju) with ESMTP id PAA26286 for <ntemacs-users@cs.washington.edu>; Tue, 12 Nov 1996 15:31:30 -0800
Received: from kronecker.stanford.edu (kronecker.Stanford.EDU [36.60.0.26]) by coffee.Stanford.EDU (8.7.6/8.7.1) with SMTP id PAA17534; Tue, 12 Nov 1996 15:31:26 -0800 (PST)
Message-ID: <32890BA1.2E8F@isl.stanford.edu>
Reply-To: germund@ISL.Stanford.EDU
Organization: Stanford University
X-Mailer: Mozilla 3.0Gold (Win95; I)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Roger Germundsson <germund@ISL.Stanford.EDU>
To: ntemacs-users@cs.washington.edu
Subject: AucTeX and Emacs
Date: Tue, 12 Nov 1996 15:43:29 -0800

I've been using AucTeX for a number of years and I 
really like the environment. However lately I've 
changed to the Windows95 OS (for laptop) and have 
encountered some problems. Most things work, but 
running LaTeX and Dvi Viewers etc does not seem to 
work. 

I'm running AucTeX (version: 9.2y) and (NT) Emacs
(version: 19.31). When I try to run C-c C-c LaTeX
I get the following message:

        Spawning child process: Invalid argument

The corresponding line in the tex-site.el file looks 
like: 

(list "LaTeX" "latex \\nonstopmode\\input{%t}" 'TeX-run-LaTeX nil t)

I've removed the quotes around the command arguments as 
was suggested in the prototype tex-site.el file. In case I
don't remove these quotes I get the following error 
message: 

        Wrong type argument: stringp, nil

Any ideas on how to fix this would be welcome. I can 
run latex and friends in a shell within Emacs with 
no problems, but then I miss out on the really useful 
debugging mode of AucTeX. 

Thanks in advance, 

Roger Germundsson
Information Systems Lab
Stanford University

From owner-ntemacs-users@june  Thu Nov 14 01:09:01 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Thu" "14" "November" "1996" "09:14:14" "+0100" "Eyssele Helmut" "eyssele@bk.bosch.de" nil "191" "Re: Spawning child processes under Windows 95" "^From:" nil nil "11" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.7.6/7.2ju) with SMTP id BAA07645 for <voelker@june.cs.washington.edu>; Thu, 14 Nov 1996 01:09:01 -0800
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id BAA26157 for <voelker@joker.cs.washington.edu>; Thu, 14 Nov 1996 01:08:58 -0800
Received: from si6624.bosch.de (si6624.bosch.de [193.141.57.1]) by june.cs.washington.edu (8.7.6/7.2ju) with SMTP id AAA05329 for <ntemacs-users@cs.washington.edu>; Thu, 14 Nov 1996 00:15:16 -0800
Received: by si6624.bosch.de (5.65/rg-150294); 	id AA14337; Thu, 14 Nov 96 09:17:04 +0100
Received: from bkh0001.bk.bosch.de by si4640.si.bosch.de with SMTP id AA09659   (5.67b8+/IDA-1.5-DNgate-2.0-11 for ntemacs-users@cs.washington.edu); Thu, 14 Nov 1996 09:15:28 GMT
Received: from bkmf3.bk.bosch.de by bkh0001.bk.bosch.de with SMTP 	(1.38.193.4/16.2) id AA04302; Thu, 14 Nov 1996 09:17:48 +0100
Received: by bkmf3 (5.x/SMI-SVR4) 	id AA03400; Thu, 14 Nov 1996 09:14:14 +0100
Message-Id: <9611140814.AA03400@bkmf3>
X-Sun-Charset: US-ASCII
X-Charset: ISO_8859-1
X-Char-Esc: 29
From: eyssele@bk.bosch.de (Eyssele Helmut)
To: ntemacs-users@cs.washington.edu
Subject: Re: Spawning child processes under Windows 95
Date: Thu, 14 Nov 1996 09:14:14 +0100

First thanks to all, who have answered my question.

I think too, that auctex isn't part of my problem. But nevertheless
for all, who want to make TeX with ntemacs, here is the address, where
you can get the newest release 9.5a:

	ftp://ftp.iesd.auc.dk/pub/emacs-lisp/auctex.tar.gz

To use the auctex package in your emacs, you have to customize the file
tex-site.el by copying and changing the customization part of tex.el into
tex-site.el. I did this as follows (here only the changed parts):

  (defvar TeX-lisp-directory "d:/emacs/lisp/auctex/"
   "*The directory where the AUC TeX lisp files are located.")

  ;; Change this to point to the place where the TeX macros are stored
  ;; at yourt site.
  (defvar TeX-macro-global '("e:/texmf/tex/")
    "*Directories containing the sites TeX macro files and style files.

  ;; This is the major configuration variable.  Most sites will only
  ;; need to change the second string in each entry, which is the name
  ;; of a command to send to the shell.  If you use other formatters
  ;; like AMSLaTeX or AMSTeX, you can add those to the list.  See
  ;; TeX-expand-list for a description of the % escapes

  (defvar TeX-command-list
    ;; You may have to remove the single quotes around the command
    ;; arguments if you use DOS.
    (list (list "TeX" "tex '\\nonstopmode\\input %t'" 'TeX-run-TeX nil t) 		  (list "TeX Interactive" "tex %t" 'TeX-run-interactive nil t)
	  (list "LaTeX" "%l '\\nonstopmode\\input{%t}'"
	        'TeX-run-LaTeX nil t)
	  (list "LaTeX Interactive" "%l %t" 'TeX-run-interactive nil t)
	  (list "LaTeX2e" "latex '\\nonstopmode\\input{%t}'"
	        'TeX-run-LaTeX nil t)
	  (if (or window-system (getenv "DISPLAY"))
	      (list "View" "%v " 'TeX-run-background t nil)
	    (list "View" "dvi2tty -q -w 132 %s " 'TeX-run-command t nil))
	  (list "Print" "%p " 'TeX-run-command t nil)
	  (list "Queue" "%q" 'TeX-run-background nil nil)
	  (list "File" "dvips %d -o %f " 'TeX-run-command t nil)
	  (list "BibTeX" "bibtex %s" 'TeX-run-BibTeX nil nil)
	  (list "Index" "makeindex %s" 'TeX-run-command nil t)
	  (list "Check" "lacheck %s" 'TeX-run-compile nil t)
	  (list "Spell" "<ignored>" 'TeX-run-ispell nil nil)
	  (list "Other" "" 'TeX-run-command t t)
	  ;; Not part of standard TeX.
	  (list "Makeinfo" "makeinfo %t" 'TeX-run-compile nil t)
	  (list "AmSTeX" "amstex '\\nonstopmode\\input %t'"
	        'TeX-run-TeX nil t))
    "*List of commands to execute on the current document.

  Each element is a list, whose first element is the name of the command
  as it will be presented to the user.  

  The second element is the string handed to the shell after being
  expanded. The expansion is done using the information found in
  TeX-expand-list. 

  The third element is the function which actually start the process.
  Several such hooks has been defined:

  TeX-run-command: Start up the process and show the output in a
  separate buffer.  Check that there is not two commands running for the
  same file.  Return the process object. 

  TeX-run-format: As TeX-run-command, but assume the output is created
  by a TeX macro package.  Return the process object. 

  TeX-run-TeX: For TeX output.

  TeX-run-LaTeX: For LaTeX output.

  TeX-run-interactive: Run TeX or LaTeX interactively.

  TeX-run-BibTeX: For BibTeX output.

  TeX-run-compile: Use `compile' to run the process.  

  TeX-run-shell: Use `shell-command' to run the process.

  TeX-run-discard: Start the process in the background, discarding its
  output.

  TeX-run-background: Start the process in the background, show output
  in other window.

  TeX-run-dviout: Special hook for the Japanese dviout previewer for
  PC-9801.

  To create your own hook, define a function taking three arguments: The
  name of the command, the command string, and the name of the file to
  process.  It might be useful to use TeX-run-command in order to
  create an asynchronous process.

  If the fourth element is non-nil, the user will get a chance to
  modify the expanded string.

  The fifth element is obsolete and ignored.")

  ;; You may want special options to the view command depending on the
  ;; style options.  Only works if parsing is enabled.

  (defvar TeX-view-style '(("^a5$" "yap %d -paper a5")
			   ("^landscape$" "yap %d -paper a4r -s 4")
			   ;; The latest xdvi can show embedded postscript.
			   ;; If you don't have that, uncomment next line.
			   ;; ("^epsf$" "ghostview %f")
			   ;; ey: xdvi durch yap ersetzt
			   ("." "yap %d"))
    "*List of style options and view options.

  If the first element (a regular expresion) matches the name of one of
  the style files, any occurrence of the string %v in a command in
  TeX-command-list will be replaced with the second element.  The first
  match is used, if no match is found the %v is replaced with the empty
  string.")

I have only the intension to latex and view, not to print etc. Therefore
I only customized these two commands. When you look at the View command
you will see, that there is called TeX-run-background, which is defined
in tex-buf.el. To make it run in ntemacs I had to customize tex-buf.el
too. I made this by overload the definitions in tex-buf.el in my _emacs:

  ;; Customizing tex-buf.el:

  (defvar TeX-process-asynchronous (not (eq system-type '(ms-dos windows-nt)))
    "*Use asynchronous processes.")	;; included in this list _^

  (defvar TeX-shell
    (if (memq system-type '(ms-dos emx windows-nt))
        shell-file-name		    ;; ^_ included in this list
      "C:\\WINDOWS\\COMMAND.COM")   ;; "/bin/sh" changed
    "Name of shell used to parse TeX commands.")

  (defvar TeX-shell-command-option  ;; v- included in this list
    (cond ((eq system-type '(ms-dos windows-nt))
	   (if (boundp 'shell-command-option)
	       shell-command-option
	     "/c"))
	  (t				;Unix & EMX (Emacs 19 port to OS/2)
	   "-c"))
    "Shell argument indicating that next argument is the command.")

  ;; End of Site Customization.

In tex-buf.el TeX-run-background is defined as

  (defun TeX-run-background (name command file)
    "Start process with second argument, show output when and if it arrives."
    (save-excursion
      (set-buffer (get-buffer-create "*TeX background*"))
      (erase-buffer))
    (let ((process (start-process (concat name " background")
				  nil TeX-shell
				  TeX-shell-command-option command)))
      (if TeX-after-start-process-function
	  (funcall TeX-after-start-process-function process))
      (set-process-filter process 'TeX-background-filter)
      (process-kill-without-query process)))

With these changes the commands "View" and "LaTeX interactive" run fine,
but with the limitation, that when I call the command "View" and let the
YaP window open ntemacs says after the command "LaTeX interactive":

	Spawning child process: resource temporarily unavailable

John Jones wrote:

 > You should change your view command to "start yap"
 > in place of "yap".  That is the NT way of running a
 > background process.

Until yet I didn't find out, where I can put "start yap" in the tex-buf.el
file. I think the problem is that ntemacs calls yap in the subshell
command.com and then has no resources free to call a second subshell.
Auctex is designed to call the commands yap and latex in subshells (normally
/bin/sh) and now one must find out how this can be realized in windows 95
and windows nt.

Has anyone an idea?

Thanks,
			Helmut EYSSELE
      __   ______	Bosch Telecom GmbH
     / /  / ____/	Abt. UC-RF/EBG
    / /__/ /__		71520 Backnang, GERMANY
   / ___  ___/		  EMAIL: eyssele@bk.bosch.de
  / /  / /___		    and: helmut.eyssele@bk.bosch.de
 /_/  /_____/		  PHONE: +49-7191-13-2795
___________________________________________________________

From mahmud@sunwise.UWaterloo.ca  Wed Sep 18 08:50:10 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Wed" "18" "September" "1996" "11:49:52" "EDT" "Mahmud Ashrafizaadeh" "mahmud@sunwise.uwaterloo.ca" nil "41" "Emacs on W95???" "^From:" nil nil "9" nil nil nil nil]
	nil)
Received: from sunwise.UWaterloo.ca.fluidnet (sunwise.uwaterloo.ca [129.97.46.41]) by june.cs.washington.edu (8.7.5/7.2ju) with SMTP id IAA08147 for <voelker@cs.washington.edu>; Wed, 18 Sep 1996 08:50:09 -0700
Received: by sunwise.UWaterloo.ca.fluidnet (4.1/SMI-4.1) 	id AA17738; Wed, 18 Sep 96 11:49:53 EDT
Message-Id: <9609181549.AA17738@sunwise.UWaterloo.ca.fluidnet>
X-Mailer: ELM [version 2.3 PL11]
From: mahmud@sunwise.UWaterloo.ca (Mahmud Ashrafizaadeh)
To: voelker@cs.washington.edu
Subject: Emacs on W95???
Date: Wed, 18 Sep 96 11:49:52 EDT


 Dear Geoff Voelker:
 
 I have installed Emacs for win32 on a couple of our PC's and I 
 am running into some problems!
 I looked at the readme file and I noticed that it is O.K. with 
 you if people ask you their problems with the program directly. 
 I hope it is still O.k. and I am not disturbing your work.

 First of all, the Emacs itself seems to work fine but here are
 the problems:
 (a) On some PC's if we try to run any of the commands in the TeX
     menu (e.g. tex file, tex view) while editting a latex or tex 
     file it hungs! nothing works any more and you cannot even
     exit emacs or kill it!

 (b) On some other PC's this part works, so we are able to run
     tex on a file but when we exit Emacs and want to shut down
     the computer W95 complains that some programs are still 
     running and should be terminated before shutting down the 
     system and the system hungs here and we have to turn off
     the computer manually!
     There is another problem on these PC's which is similar 
     to the problem in part (a). If we spell check the buffer
     (we have installed ispell) and then try to run tex from the
     menu then Emacs hungs and nothing works (same as part (a).

  Are we missing something?
  Is there anything we can do to fix these problems?

 Since I don't want to bother you again, let me ask you one more
 question.
  How do I add an item to a menu? (In particular I want to add
  dvips to my tex menu).

 Many thanks in advance.

 mahmud Ashrafizaadeh
 Dept. of Mech. Eng.,
 Univ. of Waterloo, Ont.,
 Canada 

