I am using emacs 24 (built from git version). I started to create a custom theme, but I noticed that the themeβs capabilities are quite limited, especially for Python.
I want to be able to assign different colors to things like
- Single quotes and Double quotes
Underlining doctrines. Therefore, if I have something like
def myfunc(x): """ This is the docstring. >>> # These are the examples >>> print myfunc(x) 1 """ return 1
I want This is the docstring be colored as a string, but I want print myfunc() be colored as Python code (or at least differently). For example, in vim, using any plugin I installed, the doctrines are browned, but the lines are blue.
Highlighting docstrings is different than regular lines.
- Coloring line formatting characters (for example,
"%s" or "%(newstyle_formatting)s" ). - Better handling with r, u or b preceding "or".
Any suggestions for one or all of them?
I could add more things here if I think about them.
source share