Bugs to be fixed
----------------
+- [ ] notmuch: "reply" should clear unread/new flags.
- [X] transparent images appear in email with horiz lines
- [ ] Replying to w3m/html mail results in unsightly markup in reply
- [ ] converting email parts with external code should be async
- [X] fill:end-re should default to fill:start-re
-- [ ] md-mode should set the fill re-s don't rely on config
-- [ ] config.py should load from $HOME/.config/edlib/config.py
+- [X] md-mode should set the fill re-s don't rely on config - there
+ isn't an md-mode yet!
+- [X] config.py should load from $HOME/.config/edlib/config.py
exec(read())
- [ ] lang-python should put each mode in a separate module
Maybe PyImport_ExecCodeModuleEx() after reading and compile()ing
editor.call("global-load-module", "display-x11-xcb")
editor.call("global-load-module", "lib-x11selection-xcb")
-editor.call("global-set-attr", "config:make-make:/home/git/linux",
- "kmake -k %%")
-editor.call("global-set-attr", "config:make-make:/home/kernels/",
- "smake -k %%")
-editor.call("global-set-attr", "config:make-quilt:/home/kernels/",
- "grep -rnH --exclude-dir=.pc --exclude-dir=O --exclude-dir=M ")
+if 'HOME' in os.environ:
+ path = os.environ['HOME'] + "/.config/edlib/config.py"
+try:
+ with open(path, 'r') as fp:
+ out = fp.read()
+ exec(out)
+except:
+ pass