I am new to lisp and having hard time configuring emacs for ipython. Part of my .emacs file looks like this:
;; Python mode settings
(require 'python-mode)
(add-to-list 'load-path "~/.emacs.d/elpa/")
(let ((default-directory "~/.emacs.d/elpa/"))
(normal-top-level-add-to-load-path '("."))
(normal-top-level-add-subdirs-to-load-path))
(autoload 'python-mode "python-mode" "Python Mode." t)
(add-to-list 'auto-mode-alist '("\\.py$\\'" . python-mode))
(add-to-list 'interpreter-mode-alist '("python" . python-mode))
(require 'ipython)
I run emacs --debug -init
from command line window and get the following error message when emacs is launched:
Debugger entered--Lisp error: (wrong-type-argument listp "-i")
nconc("-i" ("-colors" "LightBG"))
eval-buffer(#<buffer *load*-610080> nil "c:/Users/xxxx/AppData/Roaming/.emacs.d/elpa/python-mode-20150616.2346/ipython.el" nil t) ; Reading at buffer position 9523
load-with-code-conversion("c:/Users/xxxx/AppData/Roaming/.emacs.d/elpa/python-mode-20150616.2346/ipython.el" "c:/Users/xxxx/AppData/Roaming/.emacs.d/elpa/python-mode-20150616.2346/ipython.el" nil t)
require(ipython)
This might be something that should be very obvious, but not sure how to fix this to be honest. It'd be very helpful if you can point me in the right direction. Thanks.