19866
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
1
|
19868
|
2 REM Here begins debug.bat.in
|
19866
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
3
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
4 REM Set OS specific values.
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
5 REM none needed
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
6
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
7 REM Use new proxy shell by default.
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
8 set SHELL=%emacs_dir%\bin\cmdproxy.exe
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
9
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
10 set EMACSLOADPATH=%emacs_dir%\site-lisp;%emacs_dir%\lisp
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
11 set EMACSDATA=%emacs_dir%\etc
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
12 set EMACSPATH=%emacs_dir%\bin
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
13 set EMACSLOCKDIR=%emacs_dir%\lock
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
14 set INFOPATH=%emacs_dir%\info
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
15 set EMACSDOC=%emacs_dir%\etc
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
16 set TERM=CMD
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
17
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
18 REM The variable HOME is used to find the startup file, ~\_emacs. Ideally,
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
19 REM this will not be set in this file but should already be set before
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
20 REM this file is invoked. If HOME is not set, use some generic default.
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
21
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
22 set HOME_SAVE=%HOME%
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
23 set HOME_EXISTS=yes
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
24 set HOME_DEFAULT=C:\
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
25 set HOME=
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
26 if "%HOME%" == "%HOME_SAVE%" set HOME_EXISTS=no
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
27 if "%HOME_EXISTS%" == "yes" set HOME=%HOME_SAVE%
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
28 if "%HOME_EXISTS%" == "no" set HOME=%HOME_DEFAULT%
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
29 if "%HOME_EXISTS%" == "no" echo HOME is not set! Using %HOME% as a default...
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
30
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
31 start msdev -nologo %emacs_dir%\bin\emacs.exe %1 %2 %3 %4 %5 %6 %7 %8 %9
|