Posts Tagged ‘Emacs’

A quick pop-up shell for emacs

Posted: October 12, 2011 in Emacs, Emacs Lisp
Tags:

Some file managers provide a shortcut to quickly embed some terminal that’s initialized with the current directory as cwd. Wouldn’t that be cool to have in emacs? For example, you edit some file, and then you want to quickly commit it. Using the code below, you can do that like this: Edit the file and [...]

I’ve switched to another tiling window manager called awesome and it’s really like its name suggests. It’s more a window manager framework that can be programmed in lua to create a window manager that does exactly what you want it to do. Awesome has a lua library called naughty for displaying notifications. Now my idea [...]

I use Carsten Dominik’s great emacs package org-mode for project planning, appointments and TODOs (org-mode homepage). One cool feature is that it integrates nicely with the remember package. So when an idea comes into my mind I need to remember for later, I hit M-x org-remember RET which presents me a buffer with a custom [...]

I have my emacs running as server and two small wrapper scripts ec and et which connect to it with emacsclient (either creating a new frame or opening a terminal frame). Because I want to do all my system administration (editing files in /etc/) with emacs and don’t want to start another emacs instance as [...]

The following code binds RET in calendar mode to a function that opens an org agenda buffer for that day (or better that week). (defun th-calendar-open-agenda () (interactive) (let* ((calendar-date (or ;; the date at point in the calendar buffer (calendar-cursor-to-date) ;; if there’s none, use the curren date (calendar-current-date))) (day (time-to-days (encode-time 1 1 [...]