How do I enable "native" scrolling for Emacs? I have two MacBooks running Emacs (both 24.3). On one of them, I get same smooth, native scrolling like I do in Chrome, Finder, or whatever, but not on the other one.

To make it work a bit better, I set up scrolling so that it only scrolls one line at a time. The proper one scrolls pixel-by-pixel, and with the acceleration I'm used to.

Both of these computers use the same set of dotfiles (which you can browse here), e.g. Emacs - including the stuff about scrolling - is configured in exactly the same way.

Not sure if it matters, but one of these MacBooks (the one that works properly) is a 15" Retina one, the other is an older (mid 2009) model.

I have tried Emacs for OSX and emacs-app from Macports, both of them have the problem.

What am I missing?
I still have no idea how I managed to get it working on the Retina MBP, but I found this version of Emacs which supports native scrolling, much nicer full-screen mode, and more.