Pragmatic Paddy

August 6, 2008

modding bs.el for emacs

Filed under: emacs, keyboard, programming, unix — Paddy Mullen @ 1:19 pm

I use bs.el to switch between buffers in emacs.  I have bs-cycle-next mapped to C-Tab and bs-cycle-previous mapped to C-Shift-Tab .  The problem is when I quickly page through my buffers, the buffer list that shows up in the mini window rotates and the current buffer doesn’t show up in the list,

1-2-3-4-5 c-tab

2-3-4-5-6 c-tab

3-4-5-6-1
the position of buffers doesn’t remain the same, which makes it hard to quickly go to the desired buffer.  I wanted behaviour like this

(6) 1 2 3 4 5

6   (1)  2  3 4 5

6   1  (2)  3 4 5

With the included file, bs.el now behaves in the way I prefer.   This is the first serious lisp programming I have ever done, also the first mod I have made to emacs.

http://paddymullen.com/upload/try2-bsmods.el

TODO: figure out font-face-lock to get the current buffer highlighted instead of surrounded with pipes ||

June 29, 2008

I bought a 30 inch screen

Filed under: OS X, programming — Paddy Mullen @ 3:50 pm

May 4, 2008

Giving up the ghost, gracefully

Filed under: startups — Paddy Mullen @ 12:27 pm

March 29, 2008

smart people

Filed under: Uncategorized — Paddy Mullen @ 10:18 am

March 25, 2008

Axemen on the history channel

Filed under: Uncategorized — Paddy Mullen @ 1:50 pm

March 19, 2008

The advertising club of New York

Filed under: Uncategorized, startups — Paddy Mullen @ 10:55 am

March 15, 2008

The nvidia article that actually helped me

Filed under: unix — Paddy Mullen @ 8:31 pm

March 11, 2008

F1 is coming back

Filed under: formula 1 — Paddy Mullen @ 2:14 am

It’s an apple thing you wouldn’t understand

Filed under: OS X — Paddy Mullen @ 2:03 am

February 26, 2008

Meeting Tim O’Reilly

Filed under: finance, financial tech, startups, tech scene — Paddy Mullen @ 12:44 pm
« Newer PostsOlder Posts »

Powered by WordPress