emacs: improve intelligent C-f/C-b