Lately I’ve been doing a lot of work on automating my life. It’s been a lot of fun! I’ve been using Python and Jupyter a lot to create scripts to make myself more productive. I have been customising my notebook to create an optimal work environment. I’ve been setting up my Emacs environment to make it more effective. It’s been nice having the space to do this!
Today I discovered the sheer awesomeness that is Emacs with EIN. This lets my Emacs environment to to Jupyter Notebooks. Through it, I have the power of Emacs Python completion and editing while writing iPython functions. It works really well! I can display matplotlib graphs inline in my Emacs buffer. There is even symbolic computation via the sympy package! Bliss!
I have created the following bit of Emacs Lisp that generates my daily productivity graph and displays it in it’s very own emacs buffer. You can kill the buffer by pressing the ‘q’ key.
I’ve just had a frustrating 15 minutes trying to get a custom “Info” directory working with Emacs on my Mac. I like to have my own texinfo files in a
~/my/doc/info directory. Unfortunately, I was having a hard job getting Emacs to incorporate the directory whenever I hit
Bryan Morris has a post about how he has set up Emacs using org-mode to implement a Kanban board. He uses table mode within org-mode, and hyper-linking to link items within the table, to actual org-mode tasks. To me, this setup seems a little clunky, so I thought I’d describe my current system.
I have been meaning to blog more for ages. I have had a blog on the internet since early 1990 in one form or other, but I just tend to do sporadic blogging. Every so often I get fired up with communicating and write some blog posts, and then my enthusiam wanes for a while, and my writing tails off.
Emacs on my Macbook Pro uses the “alt” key (the one to the left of the “cmd” key) to be the Alt (meta) key when doing things like Alt-Backspace to delete backwards by word. This is quite annoying for me as I naturally try and use the command key for this. To fix this put the following in your .emacs file.
(setq mac-command-modifier 'meta)
DEVONthink has the annoying habit of starting up if I try to complete a bit of text in Emacs on my Mac. By default DEVONthink is bound in the “Services” menu to Apple-Slash (Command-Slash). To fix this, open up “/Applications/DEVONthink Pro.app/Contents/Info.plist” in Emacs. Do a search for “NSKeyEquivalent” until you see an entry that looks like this:
Continue reading “DEVONthink and Emacs Completion”