Start shell (Perl, Python, Ruby, bean shell, groovy) in several dynamic languages in Emacs)

Source: Internet
Author: User
(Defun Python-shell ()
"Make a python shell"
(Interactive)
(Switch-to-buffer (make-comint "Python" "Python" nil "-I ")))
(Defun groovy-shell ()
"Make a groovy shell"
(Interactive)
(Switch-to-buffer (make-comint "groovy" "policysh" Nil )))
(Defun Perl-shell ()
"Make a Perl dB shell"
(Interactive)
(Switch-to-buffer (make-comint "Perl" "Perl" nil "-d-e ''")))
(Require 'Ruby-mode)
(Require 'inf-Ruby)
(Require 'jde)

If you are an Emacs user, These customizations are quite necessary ..
No shell control capability
Compared with the comint of Emacs ~ (Think about Emacs's built-in search, mark system, and macro system)
Not only PERL/Python/xxxx, but this method can be used to easily edit strong Emacs texts.
Function is applied to any interactive shell.

In addition, I am nagging about the following:
Through use, I think the python-shell performance is the best (after adding-I)
The second is run-Ruby in the INF-Ruby module.
The most beloved Perl, with no built-in shell, can only be replaced by PDB,
In this way, the value of the expression is not as fierce as the first two, so it is the third ~

The fourth place is jde-bsh-run. (Print (X) is used to print every line)
The last one is the famous groovy, because every time after go, all bindings
Bean shell is also disgusting ~~~

These shells feel inferior to Erlang. El .. But because small e is not very red,
Don't mention her.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.