04.05.2009 16:12

Awesome and org-mode

Desktop Screenshot Opening articles concentrated on my favorite software, so both Awesome WM and Emacs org-mode were introduced. These days I worked on connecting the two, and I'm very happy with the results.

Org-mode article discussed connecting org with remember mode for quick notes taking. On my desktop Emacs always has a dedicated tag and often when I want to note something I'm on another tag. It happened that by the time I switch tags and initiate remember the idea is half gone. Other people thought about this one too, and I found an article on the emacs-fu website that proposed a nice solution. With a few custom functions and using Emacs server (or daemon with Emacs 23) I can spawn a nice little remember frame to grab my note. Especially good tip was that you can also grab the clipboard contents automatically. The results you can see on the screenshot above. It's amazing how well it fits into awesome. I also took this chance to sort out my .emacs as it was turning into a mess.

While you have the screenshot open, observe the widget directly above the remember frame, one with the calendar icon. That's my org-mode widget showing the number of pending items from the agenda, which will also spawn the org-agenda view on a mouse click. Idea for that widget came from the org-awesome module which also makes use of the notification system to actually show the pending items. I don't use notifications and I use wicked for my widgets so I had to do some modifications to fit those requirements. The code can be found in my rc.lua.


Written by anrxc | Permalink | Filed under desktop, work, code, emacs