I like to know how I can run cpan to install modules using emacs? I often do that on command line now.
Update: I had asked this because I get the message "warning: extra args ignored after '-e'" when I use M-x shell to run it. I still need help.
I like to know how I can run cpan to install modules using emacs? I often do that on command line now.
Update: I had asked this because I get the message "warning: extra args ignored after '-e'" when I use M-x shell to run it. I still need help.
As far as I know, there is no tight integration of CPAN into Emacs, so going through shell
will probably be your best bet. If you use w3m-el
, you may also find this useful:
(add-to-list 'w3m-search-engine-alist '("cpan" "http://search.cpan.org/search?query=%s&n=100"))
From within any w3m buffer, I use this and a few keystrokes (C-u S RET cpan RET <search-term>
) to find CPAN modules.
I just ran into the same thing and google found this workaround (from http://www.mail-archive.com/[email protected]/msg04015.html) :
cmd /c "foo.bat arg1 arg2 arg3"
This seems like an awkward hack, but it works.