(setenv "GPG_AGENT_INFO" nil) (require 'password-cache) (require 'epa-file) (epa-file-enable) (setq password-cache-expiry (* 15 60)) (setq epa-file-cache-passphrase-for-symmetric-encryption t)
Automating my life
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!
Emacs and Jupyter
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!
Displaying a Productivity Chart in Emacs
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.
Getting a custom Info directory working with Emacs
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 Ctl-h i
.
Continue reading “Getting a custom Info directory working with Emacs”
Emacs and Kanban
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.
Blogging Process
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 cmd-key on Mac
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)