This worked for me in edgy, but I also had to apply the patch from here:

http://www.forcix.cx/work_environment/emacscvs.html

to get the resulting emacs to run like "debian" emacs, i.e., running...