M-x Kelsin


Tag: emacs

Projectile and Global in Emacs

Today I started using my Mac at work for java programming. When moving from windows to mac I also wanted to ditch IntelliJ and start using Emacs for java programming. This will definitely require a bunch of custom Emacs helpers in order to help navigate large projects.

Install Cask and Pallet to manage Emacs Packages

The package management that is built into emacs has gotten a lot better over the past few years (While I’ve been away) and the Melpa repository of packages is outstanding. Tonight I decided to take the next step and use some packages that help organize and keep my packages up to date: Cask and Pallet. You can see a commit of my changes on github.

Emacs with Lion Fullscreen support (not working)

I finally got around to play with full screen apps in lion and love it. Of course the one thing missing from my current setup is Emacs full screen support.

Javadoc in Emacs

I recently wanted an easier way to look up Java class documentation from Emacs and found this project: Javadoc-Help

Customizing Work Keyboard

I got my Geekhack keys today and installed them tonight on my work (tenkeyless) and sc2 keyboards.

Progress with the Kinesis

So the new keyboard is not working out so great but probably due to bad decisions I’ve made along the way.

New work layout


Last week I finally ordered a Kinesis keyboard off of Amazon. When I got it I also made the horrible decision to try dvorak! Its going slowly to say the least.

Regardless I love the keyboard! Enter and backspace were made to be under your thumbs for sure. As you can see in the photo I'm also trying out a trackball. Havn't used one of those in years.

My plan for emacs is not to do anything. I'm just going to use standard keybindings for now. Emacs bindings are already not based on key location so I'm not worried. I'll make a new post if I make any config changes.

Nxml for ERB

Being unsatisfied with most erb solutions in Emacs I’ve been using nxml-mode for editing erb and just dealing with it complaining about erb sections. I love nxml-mode for xml/html in general and don’t like doing any editing without it.

I’ve tried using MMM or MoMaMu or whatever it’s called that’s included with nxhtml mode and it just doesn’t do it for me. YA-Snippet with Nxml mode is plenty for me.

Recently I found a blog post that makes sense to try out: More Valid Than You

Since I compiled Emacs custom for Mac OS X (If I haven’t blogged about that I need to!) it was easy to apply that patch to my source tree and compile it.

This at least makes Nxml-mode not hi-light every erb section as invalid. It still chokes sometimes but it’s much better. If I move to anything else I’ll blog about it :)

Emacs as a fast $EDITOR

I’ve been using vim as my $EDITOR setting for quite some time, and recently started using emacsclient. Two things about this setup bothered me. First I would have to switch to my emacs workspace in Xmonad in order to reach the editor, and when working on svn or git commits my cursor would be where it was last time I edited a commit. Not wanting to change the way Xmonad keeps emacs windows appearing on the same workspace or the way emacs saves my cursor position I found a way around both problems.

Switching Linux's Again: Ubuntu -> Debian

Just switched my company laptop from Ubuntu to Debian. I switch Linux’s a lot. Right now I’m doing it cause I ran into some nasty bug’s on Ubuntu. I’m sure I will be installing Ubuntu on lots of machines soon anyway, especially in April.

My work laptop's desktop as of 02-22-2009The first bug came when I first installed Intrepid. I ran into the bug where the kernel fills my logs with errors from the wireless driver. Having your root partition fill up does some weird things. Around this point I installed Hardy again to get on a more stable platform. I recently tried to update to Intrepid again (this bug was solved in a recent kernel) but ran into other issues. Just small ones.

Then I read the Lenny release announcement on Valentines day, so that set this in motion. I can’t read release notes without wanting to install something.

My work laptop is a Lenovo (IBM) Thinkpad X61s. I love this machine for work and the install went smoothly. I havn’t had trouble with installing Linux in a long time. I did hit this bug with ncmpc, but I normally disable ipv6 anyway. A quick edit of /etc/modprobe.d/aliases and /etc/hosts to comment out ipv6 stuff and I’m all set. I really want to get into Debian packaging so I might use Lenny as a reason to do so. I’ve already told myself that I will stick to stable software as much as possible for work, and use my home Desktop and Laptop to experiment with different software.

Drcox Emacs 02-22-2009I’m using my compiled xmonad from my home directory at the moment (Had cabal install everything in .cabal on Ubuntu) but when I get ghc running again I will post about it.

After that I’ve installed the sid version of emacs (along with ttf-bitstream-vera, haskell-mode, ruby-elisp and emacs-goodies-el) so that I can use emacs 23 (I rely on a lot of features from 23, the least of which is nice fonts!). I’ve also installed mpd (with mpc, sonata and ncmpc, my xmonad config relies on this). My XMonad key bindings for audio keys work again (they didn’t on Intrepid, just simple windows manager keybindings that run mpc).

The one other thing I had to do to get my system back was make sure option “XkbOptions” “ctrl:nocaps” was in the keyboard driver section of the xorg.conf file. Can’t live with my Caps-Lock key not being another Left-Control!