move the method to chapter02
add some emacs methods