emacs-ipython-notebook/lisp/debug-ein.el

72 lines
2.2 KiB
EmacsLisp
Raw Normal View History

2012-05-07 14:41:15 +02:00
;;; debug-ein.el --- Debug ein.el
;; Copyright (C) 2012- Takafumi Arakaki
2012-07-01 20:18:05 +02:00
;; Author: Takafumi Arakaki <aka.tkf at gmail.com>
2012-05-07 14:41:15 +02:00
;; This file is NOT part of GNU Emacs.
;; debug-ein.el is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; debug-ein.el is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with debug-ein.el. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; emacs -Q -L path/to/nxhtml/util/ -l debug-ein.el
;;; Code:
(add-to-list 'load-path (file-name-directory load-file-name))
(require 'ein)
2012-05-15 20:48:27 +02:00
(require 'ein-dev)
2012-05-31 23:54:43 +02:00
(ein:dev-start-debug)
2012-05-14 18:47:08 +02:00
(ein:notebooklist-open)
2012-05-31 23:54:43 +02:00
;;; Extra stuff
2012-05-07 14:41:15 +02:00
(require 'markdown-mode nil t)
(require 'rst nil t)
2012-05-16 02:57:38 +02:00
(declare-function ein:ac-config "ein-ac")
(declare-function global-auto-complete-mode "auto-complete")
(when (featurep 'auto-complete)
(global-auto-complete-mode t)
2012-07-23 20:49:16 +02:00
(setq ein:use-auto-complete-superpack t))
2012-05-16 02:57:38 +02:00
(declare-function ein:smartrep-config "ein-smartrep")
(when (featurep 'smartrep)
2012-07-23 20:49:16 +02:00
(setq ein:use-smartrep t))
(custom-set-faces
;; Turn off background color for mumamo major chunk, to see
;; highlighting of prompt and stderr.
'(mumamo-background-chunk-major
((((class color) (min-colors 88) (background dark)) nil)))
;; '(mumamo-background-chunk-submode1
;; ((((class color) (min-colors 88) (background dark)) nil)))
)
;; Suppress this warning when using mumamo:
;; Warning: `font-lock-syntactic-keywords' is an obsolete variable (as of 24.1);
;; use `syntax-propertize-function' instead.
;; See: http://stackoverflow.com/a/5470584/727827
(when (and (equal emacs-major-version 24)
(equal emacs-minor-version 1))
(eval-after-load "bytecomp"
'(add-to-list 'byte-compile-not-obsolete-vars
'font-lock-syntactic-keywords)))
2012-05-07 14:41:15 +02:00
;;; debug-ein.el ends here