better and user friendly IDE recommended?

Michael Weylandt michael.weylandt at gmail.com
Sun Mar 9 20:01:07 EDT 2014



On Mar 9, 2014, at 19:58, Michael Weylandt <michael.weylandt at gmail.com> wrote:

> On Mar 9, 2014, at 19:22, Martin Schöön <martin.schoon at gmail.com> wrote:
>> What you don't get as far as I can see is code completion,
>> syntax highlighting etc since Emacs is doing this with
>> respect to Orgmode and not the programming language you
>> use.
> 
> Put 
> 
> (setq org-src-fontify-natively t)
> 
> In your ~/.emacs or ~/.emacs.d/init.el file for syntax highlighting. 
> 
> To get the 'regular' code editing, move point into a BEGIN_SRC block and type "C-c ' " (Control-C followed by single quote). That will give you your normal python setup in a sub-buffer. Getting Python autocompletion in Emacs is a bit tricky, but there are many options. 

For Python, you'll also want

(setq org-src-preserve-indentation t)


More information about the Python-list mailing list