I want emacs for python to be customizable and less-intrusive, it provides various customization that overlap with the emacs-starter-kit package.
Various Ideas
Idea 1
Split the package in:
- epy-python.el (python settings and libraries)
- epy-completion.el (completion settings)
- epy-editing.el (generic editing settings)
- epy-keybindings.el (keybindings)
It should also include the path manipulation with something like epy-load.el
It should also include a shortcut for all packages, with epy-init.el (so this not break the old behaviour, and this is an highly desiderable feature).
And prepare another version for the emacs-for-python integration with emacs-starter-kit in a separate repository.
Problems : not easy to conciliate with emacs-starter-kit in a really integrated manner, I have to mantain two separate repositories and they can be easily out of sync.
Workarounds: It's possible to solve this problem using some scripts and a beautiful modularity.
Idea 2
Split the package in:
- starter-kit-python.el [starter-kit-ropemacs.el]
- starter-kit-completion.el
- epy-editing.el
- epy-keybindings.el
In this way it's easier the integration with emacs-starter-kit, since it's sufficient to copy-paste the starter-kit-files (and move the libraries properly).
Problems : it's a bit ugly for configuration in .emacs, for example:
(require 'starter-kit-python) ;; instead of (require 'epy-python)
(require 'epy-editing)
Accepted Solution
Idea 1 seems really better, I'll do some script to mirror it.
To complete the reorganization:
- Cleaning tasks
- flymake has to be a bit revisited
- Adaptation
- Makefile has to be rewritten with the new organization
- Write a script that port the stuff to emacs-starter-kit repository