Skip to content
Takafumi Arakaki edited this page Aug 23, 2012 · 3 revisions

Tips/Troubleshooting

Better background color in MuMaMo

(custom-set-faces
   '(mumamo-background-chunk-major
     ((((class color) (min-colors 88) (background dark)) nil))))

See also: https://github.com/tkf/zeroein/blob/master/zeroein.el

Other way to do it:

(setq mumamo-background-colors nil)

See also: Issue #60: With mumamo, background color changes · tkf/emacs-ipython-notebook (thanks to @rhstanton)

MuMaMo is too noisy with python-mode.el

(setq python-saved-check-command nil)

See also: Issue #54: Problem with single quote in markdown cell · tkf/emacs-ipython-notebook (thanks to @rhstanton)

Flymake ("Invalid file-name" error)

You can get "Invalid file-name" error if you have something like the following in your Emacs setting.

(add-hook 'python-mode-hook 'flymake-find-file-hook)  ; or
(add-hook 'python-mode-hook 'flymake-mode)

This may solves your problem:

(add-hook 'python-mode-hook (lambda () (if (buffer-file-name)
                                           (flymake-mode))))

See also: Issue #12: mumamo compatibility problems with emacs-for-python · tkf/emacs-ipython-notebook (thanks to @gabrielelanaro)