emacs: using table replace list

Signed-off-by: Micky Ching <mickyching@gmail.com>