[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Configuring win32 Emacs for ipython?
From: |
Sivaram Neelakantan |
Subject: |
Configuring win32 Emacs for ipython? |
Date: |
Sun, 30 Jun 2013 12:26:26 +0530 |
User-agent: |
Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (windows-nt) |
I have the following for the default python mode bundled with Emacs,
what settings should I add for ipython support? This is for a Windows
Emacs 24.3.
The code snippets below works in sending the python code to the python
interpreter and printing the results.
--8<---------------cut here---------------start------------->8---
(setq python-python-command "C:\\Anaconda\\python")
;; no idea why popup is not being read;put path to load
(add-to-list 'load-path "/cygdrive/c/gnu/elisp/auto-complete/lib/popup/")
(add-to-list 'load-path "/cygdrive/c/gnu/elisp/auto-complete/")
(require 'auto-complete)
(add-hook 'python-mode-hook
(function (lambda ()
(hs-minor-mode t)
(local-set-key (quote [f7]) (quote hs-hide-block))
(local-set-key (quote [S-f7]) (quote hs-show-block))
(local-set-key [f8] (quote hs-show-all))
(auto-complete-mode 1)
(ruler-mode t)
(paren-toggle-matching-quoted-paren 1)
(paren-toggle-matching-paired-delimiter 1))))
;;;;
--8<---------------cut here---------------end--------------->8---
sivaram
--
- Configuring win32 Emacs for ipython?,
Sivaram Neelakantan <=