[Tutor] GNU Emacs and Python

Alexander Etter rhettnaxel at gmail.com
Tue Nov 1 12:31:07 CET 2011


On Oct 31, 2011, at 15:31, Tim Johnson <tim at akwebsoft.com> wrote:

> * Rinu Boney <rinu.matrix at gmail.com> [111031 07:03]:
>> I Use Windows.I Already Know C/C++ which makes python syntax seem very easy.
>> Maybe Setting Up Emacs With Python Will Make Me Productive.
>> I Have Eclipse With PyDev.
>> Why Is There Not A Pythonic Emacs?
>  Rinu, by this time I believe that Alan has addressed your question
>  above. He has also (wisely) provided caveats regarding the
>  difficulty of learning emacs itself. 
> 
>  I'll take a reverse of Alan's comments, not to contradict him, but
>  to give a possible different perspective:
> 
>  If you learn to use emacs with python, you will essentially be
>  learning *two* programming languages: Python _and_ elisp, which is
>  the internal programming language of emacs. Emacs is essentially
>  an elisp interpreter. There may be advantages to learning two
>  languages simultaneously. 
> 
>  This will take time. A lot of time. Do you have the time? Will you
>  be compensated for the time? :) having two additional programming
>  languages "under your belt" may be considered compensation.
> 
>  In case you do not know this: Emacs has the ability to run the
>  python or language-your-choice interpreter asynchronous within the
>  editor, in it's own window. There could be great advantages to
>  this. I have in the past, written elisp code that allows me two
>  write code in one window and have it evaluated in the 'python
>  window' or 'language-of-your-choice window'.
> 
>  I'll reiterate what I said earlier, I no longer use emacs, but
>  have great respect for it. I use vim linked against the python
>  binary so that I can use python code to enhance my (hand-rolled)
>  "IDE". <grin> I much prefer python code to elisp code.
> 
>  I hope my comments are of some help. I'm sure that you have been
>  well informed as to what you would be getting youself into. :)
>  regards
> -- 
> Tim 

Rinu, I use emacs. I use Python and C++. I'm also a university student. Last semester I learned python 2.7 using IDLE, and continued with IDLE while I searched for alternatives over the summer. I didn't find what I was looking for. Say, just a few weeks ago I started my C++ course and switched to emacs since the professor was using it. I tried it, read the easy to understand documentation, and I am so productive, jubilant, and satisfied with GNU Emacs. It's extensible beyond immediate comprehension; like a sunflower it starts as a seed, sprouts leaves, etc; I'm elaborating the infinite usability of emacs. 

There is a learning curve. One may find a learning curve with everything in existence, whereas I repudiate one discouraging another for the aforementioned. 
Those who desire the power of emacs seek it. 
Tim, do you use GNU Emacs?
From what literature I've encountered including a wikipedia page I believe there is a satiric starwars-like cold-war feud between users of vi and emacs. 
I'm neutral and won't judge an entity or patronize one for their use of free will. 
I'm happy. Forgive me if I appear too anything. 
Good Day. 
Alexander Etter




More information about the Tutor mailing list