help-emacs-windows
[Top][All Lists]
Advanced

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

Re: [h-e-w] EmacsW32 cmd-shell starts fail


From: Nguyen Anh Phu
Subject: Re: [h-e-w] EmacsW32 cmd-shell starts fail
Date: Tue, 11 Aug 2009 08:54:22 +0700

Hi Lennart,

Did you find out the problem? Could you give me some directions deal
with this one?

Thanks in advance,

Best regards,

On Thu, Aug 6, 2009 at 8:12 AM, Nguyen Anh Phu<address@hidden> wrote:
> Hi Lennart,
>
> On Thu, Aug 6, 2009 at 5:58 AM, Lennart
> Borgman<address@hidden> wrote:
>> On Wed, Aug 5, 2009 at 7:29 PM, Nguyen Anh Phu<address@hidden> wrote:
>>> Hi Lennart,
>>> I'm sorry for late reply.
>>
>> No problem.
>>
>>
>>> On Tue, Aug 4, 2009 at 12:58 PM, Lennart
>>> Borgman<address@hidden> wrote:
>>>> On Mon, Aug 3, 2009 at 3:19 AM, Nguyen Anh Phu<address@hidden> wrote:
>>>>> Hi all,
>>>>>
>>>>> I've just installed Emacs-23-CvsP090630-EmacsW32-1.58 and everything
>>>>> seems to work well except one thing that I cannot start cmd-shell,
>>>>> error message say: Wrong type argument: char-or-string-p, nil
>>>>
>>>> Hi Nguyen,
>>>>
>>>> How do you try to start the cmd shell? Do you mean that you do "M-x 
>>>> cmd-shell"?
>>>
>>> Yes, I tried to do "M-x cmd-shell".
>>>
>>>>
>>>> In that case please note that cmd-shell is not a command defined in
>>>> Emacs. It is defined in w32shell.el that comes with EmacsW32.
>>>>
>>>> However it should work. It works for me. Can you turn on
>>>> debug-on-error and see if you can get a back trace with more
>>>> information?
>>>
>>> I'm not sure how to get back trace?
>>> I enabled global debug-on-error (in .emacs), then issue command "M-x
>>> cmd-shell", in mini buffer it just says "Wrong type argument: listp,
>>> "d:/apps/Emacs/EmacsW32/gnuwin32/bin/""
>>> "D:/apps/Emacs" is where I installed EmacsW32
>>>
>>> Clicking on that mini buffer, it show other text as below:
>>>
>>> Adding d:/apps/Emacs/EmacsW32/lisp/ to load-path
>>> For information about GNU Emacs and the GNU system, type C-h C-a.
>>> Wrong type argument: listp, "d:/apps/Emacs/EmacsW32/gnuwin32/bin/"
>>
>> I can't reproduce this. Could you please do
>>
>>    f1 v load-path RET
>>
>> to show the value of the variable load-path? Please tell me what the
>> value you see in the help buffer is.
>
> Here it is:
> ====================================
> load-path is a variable defined in `C source code'.
> Its value is
> ("d:/apps/Emacs/EmacsW32/nxhtml/util/" "d:/apps/Emacs/EmacsW32/lisp/"
> "d:/apps/Emacs/emacs/site-lisp" "D:/apps/Emacs/emacs/../site-lisp"
> "D:/apps/Emacs/emacs/lisp" "d:/apps/Emacs/emacs/lisp/calc"
> "d:/apps/Emacs/emacs/lisp/calendar"
> "d:/apps/Emacs/emacs/lisp/emacs-lisp"
> "d:/apps/Emacs/emacs/lisp/emulation" "d:/apps/Emacs/emacs/lisp/erc"
> "d:/apps/Emacs/emacs/lisp/eshell" "d:/apps/Emacs/emacs/lisp/gnus"
> "d:/apps/Emacs/emacs/lisp/international"
> "d:/apps/Emacs/emacs/lisp/language" "d:/apps/Emacs/emacs/lisp/mail"
> "d:/apps/Emacs/emacs/lisp/mh-e" "d:/apps/Emacs/emacs/lisp/net"
> "d:/apps/Emacs/emacs/lisp/nxml" "d:/apps/Emacs/emacs/lisp/org"
> "d:/apps/Emacs/emacs/lisp/play" "d:/apps/Emacs/emacs/lisp/progmodes"
> "d:/apps/Emacs/emacs/lisp/textmodes" "d:/apps/Emacs/emacs/lisp/url"
> "d:/apps/Emacs/emacs/lisp/obsolete" "D:/apps/Emacs/emacs/leim")
>
>
> Documentation:
> *List of directories to search for files to load.
> Each element is a string (directory name) or nil (try default directory).
> Initialized based on EMACSLOADPATH environment variable, if any,
> otherwise to default specified by file `epaths.h' when Emacs was built.
> ====================================
>>
>>
>>
>>> Here is my .emacs file:
>>>
>>> ==========================================
>>> (custom-set-variables
>>>  ;; custom-set-variables was added by Custom.
>>>  ;; If you edit it by hand, you could mess it up, so be careful.
>>>  ;; Your init file should contain only one such instance.
>>>  ;; If there is more than one, they won't work right.
>>>  '(debug-on-error t))
>>> (custom-set-faces
>>>  ;; custom-set-faces was added by Custom.
>>>  ;; If you edit it by hand, you could mess it up, so be careful.
>>>  ;; Your init file should contain only one such instance.
>>>  ;; If there is more than one, they won't work right.
>>>  )
>>> ==========================================
>>
>> Thanks, nothing wrong there that I can see.
>>
>>
>>
>>>> Could you also try just "M-x shell"?
>>>>
>>>
>>> "M-x shell" works fine, i got Windows's cmd shell after entering that 
>>> command.
>>>
>>> Thanks,
>>>
>>> --
>>> Nguyen Anh Phu
>>>
>>
>
> --
> Nguyen Anh Phu
>



-- 
Nguyen Anh Phu




reply via email to

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