Dear Bug Team!
I start XEmacs via 'xemacs -vanilla'
`shell-file-name' is a simple built-in variable.
Value: "C:\\WINDOWS\\system32\\cmd.exe"
`shell-command-switch' (buffer: *Hyper Apropos*, mode: Hyper-Apropos)
value: "/c"
`shell-prompt-pattern' (buffer: *Hyper Apropos*, mode: Hyper-Apropos)
value: "^[^#$%>
]*[#$%>] *"
Then I start (shell) and it starts the cmd fine.
Next, I (setq directory-sep-char ?/) and repeat (shell)
This time the shell buffer simply says:
Process shell finished
and I see that "-i" and ".exe" directories are created in the current
directory.
================================================================
System Info to help track down your bug:
---------------------------------------
OS version:
Microsoft Windows 2000 [Version 5.00.2195]
OS: Windows_NT
XEmacs 21.4.10 \"Military Intelligence (RC4 Windows)\" configured for
`i586-pc-win32'.
Building XEmacs in \"f:\\xemacs\\xemacs-21.4-release\\nt\".
Using compiler \"cl -nologo -W3 -O2 -G5 -ML\".
Installing XEmacs in \"c:\\Program Files\\XEmacs\\XEmacs-21.4.10\".
Package path is \"~\\.xemacs;;c:\\Program
Files\\XEmacs\\site-packages;c:\\Program
Files\\XEmacs\\xemacs-packages\".
Compiling in support for Microsoft Windows native GUI.
Compiling in support for XPM images.
Compiling in support for GIF images.
Compiling in support for PNG images.
Compiling in support for TIFF images.
Compiling in support for JPEG images.
Compiling in support for X-Face message headers.
Compiling in support for toolbars.
Compiling in support for dialogs.
Compiling in support for widgets.
Compiling in support for native sounds.
Compiling in fast dired implementation.
Using portable dumper.
Load-Path Lisp Shadows:
----------------------
(c:\apps\emacs\lib\xemacs\site-packages\lisp\lna\lna-bbdb-init
c:\apps\emacs\lib\xemacs\site-packages\lisp\not-for-now-lisp\lna-bbdb-in
it
c:\apps\emacs\lib\xemacs\xemacs-packages\lisp\ps-print\ps-print
c:\apps\emacs\lib\xemacs\xemacs-packages\lisp\ps-print-nomule\ps-print)
Installed XEmacs Packages:
-------------------------
((xslt-process:version 1.06 :type regular)
(xemacs-devel :version 1.4 :type single-file)
(xemacs-base :version 1.57 :type regular)
(w3 :version 1.21 :type regular)
(vm :version 7.02 :type regular)
(viper :version 1.31 :type regular)
(view-process :version 1.11 :type regular)
(vhdl :version 1.15 :type regular)
(vc-cc :version 1.18 :type regular)
(vc :version 1.3 :type regular)
(tramp :version 1.01 :type regular)
(tpu :version 1.12 :type regular)
(tooltalk :version 1.13 :type regular)
(time :version 1.11 :type regular)
(textools :version 1.12 :type regular)
(text-modes :version 1.36 :type single-file)
(texinfo :version 1.2 :type regular)
(supercite :version 1.19 :type regular)
(strokes :version 1.08 :type regular)
(speedbar :version 1.22 :type regular)
(sounds-wav :version 1.1 :type regular)
(sounds-au :version 1.1 :type regular)
(slider :version 1.13 :type regular)
(sieve :version 1.01 :type regular)
(sh-script :version 1.13 :type regular)
(sgml :version 1.08 :type regular)
(semantic :version 1.11 :type regular)
(scheme :version 1.11 :type regular)
(reftex :version 1.24 :type regular)
(psgml :version 1.26 :type regular)
(ps-print-nomule :version 1.05 :type regular)
(ps-print :version 1.02 :type regular)
(prog-modes
:version
1
.49
:type
single-file)
(pcomplete :version 1.01 :type regular)
(pcl-cvs :version 1.57 :type regular)
(pc :version 1.21 :type single-file)
(os-utils :version 1.26 :type single-file)
(net-utils :version 1.23 :type single-file)
(misc-games :version 1.15 :type single-file)
(mine :version 1.14 :type regular)
(mew :version 1.16 :type regular)
(mailcrypt :version 2.11 :type regular)
(mail-lib :version 1.42 :type regular)
(jde :version 1.31 :type regular)
(ispell :version 1.24 :type regular)
(ilisp :version 1.2 :type regular)
(igrep :version 1.08 :type regular)
(idlwave :version 1.24 :type regular)
(hm--html-menus :version 1.17 :type regular)
(gnus :version 1.58 :type regular)
(gnats :version 1.13 :type regular)
(games :version 1.13 :type regular)
(fsf-compat :version 1.09 :type single-file)
(frame-icon :version 1.09 :type regular)
(footnote :version 1.13 :type regular)
(eudc :version 1.35 :type regular)
(eterm :version 1.13 :type regular)
(eshell :version 1.02 :type regular)
(emerge :version 1.09 :type regular)
(elib :version 1.1 :type single-file)
(eieio :version 1.02 :type regular)
(efs :version 1.27 :type regular)
(edt :version 1.12 :type regular)
(edit-utils :version 1.75 :type single-file)
(ediff :version 1.35 :type regular)
(edebug :version 1.14 :type regular)
(dired :version 1.11 :type regular)
(debug :version 1.14 :type regular)
(crisp :version 1.12 :type regular)
(cookie :version 1.13 :type regular)
(clearcase :version 1.02 :type regular)
(cc-mode :version 1.27 :type regular)
(calendar :version 1.18 :type regular)
(calc :version 1.18 :type regular)
(c-support :version 1.16 :type single-file)
(bbdb :version 1.17 :type regular)
(auctex :version 1.29 :type regular)
(apel :version 1.2 :type regular)
(ada :version 1.1 :type regular)
(Sun :version 1.13 :type regular)
(toolbar-fancy :version 0.06 :type regular))
Features:
--------
(efs-cu find-func view-less view mail-abbrevs xemacsbug shadow
sendmail rfc822 hyper-apropos cus-face shell comint ring
xslt-process-autoloads xemacs-devel-autoloads xemacs-base-autoloads
w3-autoloads vm-autoloads viper-autoloads view-process-autoloads
vhdl-autoloads vc-cc-autoloads vc-autoloads tramp-autoloads
tpu-autoloads tooltalk-autoloads time-autoloads textools-autoloads
text-modes-autoloads texinfo-autoloads supercite-autoloads
strokes-autoloads speedbar-autoloads sounds-wav-autoloads
sounds-au-autoloads slider-autoloads sieve-autoloads
sh-script-autoloads sgml-autoloads semantic-autoloads scheme-autoloads
reftex-autoloads psgml-autoloads ps-print-nomule-autoloads
ps-print-autoloads prog-modes-autoloads pcomplete-autoloads
pcl-cvs-autoloads pc-autoloads os-utils-autoloads net-utils-autoloads
misc-games-autoloads mine-autoloads mew-autoloads mailcrypt-autoloads
mail-lib-autoloads jde-autoloads ispell-autoloads ilisp-autoloads
igrep-autoloads idlwave-autoloads hm--html-menus-autoloads
gnus-autoloads gnats-autoloads games-autoloads fsf-compat-autoloads
frame-icon-autoloads footnote-autoloads eudc-autoloads eterm-autoloads
eshell-autoloads emerge-autoloads elib-autoloads eieio-autoloads
efs-autoloads edt-autoloads edit-utils-autoloads ediff-autoloads
edebug-autoloads dired-autoloads debug-autoloads crisp-autoloads
cookie-autoloads clearcase-autoloads cc-mode-autoloads
calendar-autoloads calc-autoloads c-support-autoloads bbdb-autoloads
auctex-autoloads apel-autoloads ada-autoloads Sun-autoloads
toolbar-fancy-autoloads lisp-autoloads loadhist auto-show fontl-hooks
code-cmds gutter-items menubar-items x-menubar dragdrop mode-motion
mouse itimer auto-save lisp-mode easymenu iso8859-1 page buff-menu
lib-complete help-nomule cus-file derived frame text-props obsolete
cus-start custom widget cl-extra mini-cl cl cl-19 packages backquote
very-early-lisp file-coding mswindows-scrollbars mswindows toolbar
native-sound scrollbar network-streams subprocesses
menu-accelerator-support menubar md5 xemacs gutter tiff png gif jpeg
xface xpm xbm lisp-float-type windows-nt dragdrop-api dialog devices
window-system base64)
Recent keystrokes:
-----------------
C-p C-p C-p C-x k RET button1 button1up C-x k RET button1
button1up C-k C-x k C-p C-p P P P P misc-user misc-user
misc-user C-L C-L C-L C-L C-X C-B C-G C-G C-E C-X K
RET RET C-G C-G C-TAB C-Q button1 button1up button1
button1up button1 button1up misc-user misc-user misc-user
misc-user button1 button1up RET C-V C-X K C-x k RET
C-x k RET C-x C-b C-n C-n C-n C-n C-p C-n f C-x k RET
y e s RET C-p C-n C-n f C-x k RET C-p C-p C-p C-[ x
M-p M-p M-p M-p M-n M-n M-p RET
Recent messages (most recent first):
-----------------------------------
No preceding item in read-command-history
kill-buffer is a primitive function
Quit
key read cannot be inserted in a buffer: #<buttondown-event button1>
Quit
Quit
Loading efs-cu...done
Loading efs-cu...
Loading find-func...done
Loading find-func...
Quit
Quit
Cannot switch buffers in minibuffer window
Cannot switch buffers in minibuffer window
Quit
Quit
Quit
Quit
Quit
M-f1 not defined.
-----Original Message-----
From: Adrian Aichner [mailto:adrian@xemacs.org]
Sent: Thursday, November 28, 2002 12:27 PM
To: latasoy(a)myrealbox.com
Cc: xemacs-winnt(a)xemacs.org
Subject: Re: Seting directory-sep-char causes shell-mode to exit
>>>> "Levent" == Levent Atasoy
<latasoy(a)adelphia.net> writes:
Hi Levent,
please use
Help->Send Bug Report...
or
M-x report-emacs-bug
as suggested in
http://www.xemacs.org/Debug/index.html
This will tell us enough about your XEmacs installation so that we
should be able to help you.
Please also send us your of
shell-command-switch - Switch used to have the shell
execute its command line argument.
* shell-file-name - File name to load inferior shells
from.
shell-prompt-pattern - Regexp to match prompts in the
inferior shell.
Best regards,
Adrian
Levent> I switch back-and-forward between native cmd shell and
cygwin.
Levent> I prefer to use '/' as directory separator because it works
mostly fine
Levent> with cmd as well.
Levent> But, when I set
Levent> (setq directory-sep-char ?/ )
Levent> then native shell mode does not work
Levent> In other words, if I
Levent> 1. start XEmacs as vanilla
Levent> 2. (setq directory-sep-char ?/ )
Levent> 3. M-x shell-mode
Levent> I get:
Levent> A subdirectory or file .exe already exists.
Levent> Error occurred while processing: .exe.
Levent> A subdirectory or file -i already exists.
Levent> Error occurred while processing: -i.
Levent> Process shell exited abnormally with code 1
--
Adrian Aichner
mailto:adrian@xemacs.org
http://www.xemacs.org/