Vimpulse bug report: vimpulse-end-of-previous-word fails on punctuation

egarrulo egarrulo at gmail.com
Wed Dec 15 00:31:01 CET 2010


Hello,

I've found a bug into `vimpulse-end-of-previous-word', which is bound to 
"gb".

The bug happens when previous word is a symbol, like this into an Emacs 
Lisp buffer (| is point):

(defu|n

If I hit "gb", point does not move.  I've read implementation of 
`vimpulse-end-of-previous-word', and my understanding is that here:

     (unless (vimpulse-beginning-of-Word-p)
       (viper-backward-Word 1)) ;; Point oves at the beginning of "defun"
     (viper-backward-Word val) ;; Here point is on the (
     (viper-end-of-Word '(1 . ?r)) ;; This makes point move to end of 
"defun"

This bug is still present in Git repository.

Tested with "emacs -Q" followed by "(require 'vimpulse)".

Software:
- GNU Emacs 23.2.1
- Debian GNU/Linux.

Thank you for your attention.
Elena



More information about the implementations-list mailing list